:root {
/* Enhanced color palette with more nuanced tones */
--primary-color: #6366f1;
--primary-dark: #4f46e5;
--primary-light: #818cf8;
--secondary-color: #a855f7;
--secondary-dark: #9333ea;
--secondary-light: #c084fc;
--background-color: #f8fafc;
--card-bg: #ffffff;
--text-color: #334155;
--text-muted: #64748b;
--text-light: #94a3b8;
--border-color: #e2e8f0;
--border-focus: #cbd5e1;
--success-color: #10b981;
--warning-color: #f59e0b;
--danger-color: #ef4444;
--info-color: #3b82f6;
/* Refined layout variables */
--header-height: 4.5rem;
--footer-height: 3.5rem;
--content-max-width: 1280px;
--border-radius-sm: 0.25rem;
--border-radius: 0.5rem;
--border-radius-lg: 0.75rem;
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
--shadow: 0 4px 6px rgba(15, 23, 42, 0.08);
--shadow-md: 0 8px 16px rgba(15, 23, 42, 0.08);
--shadow-lg: 0 12px 24px rgba(15, 23, 42, 0.12);
--transition-fast: 0.15s ease;
--transition: 0.3s ease;
}
/* Base Styles with improved typography */
body {
font-family: 'DM Sans', sans-serif;
background-color: var(--background-color);
color: var(--text-color);
line-height: 1.7;
min-height: 100vh;
display: flex;
flex-direction: column;
margin: 0;
padding-top: var(--header-height);
font-size: 16px;
letter-spacing: 0.015em;
}
.container {
width: 100%;
max-width: var(--content-max-width);
margin: 0 auto;
padding: 0 1.5rem;
flex: 1;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 700;
line-height: 1.3;
margin-top: 1.5em;
margin-bottom: 0.75em;
color: #1e293b;
}
h1 {
font-size: 2.5rem;
letter-spacing: -0.02em;
}
h2 {
font-size: 2rem;
letter-spacing: -0.015em;
}
h3 {
font-size: 1.5rem;
letter-spacing: -0.01em;
}
p {
margin-top: 0;
margin-bottom: 1.25rem;
}
a {
color: var(--primary-color);
text-decoration: none;
transition: color var(--transition-fast);
position: relative;
}
a:hover {
color: var(--primary-dark);
}
a.underline-effect {
display: inline-block;
}
a.underline-effect::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -2px;
left: 0;
background-color: var(--primary-color);
transition: width var(--transition);
}
a.underline-effect:hover::after {
width: 100%;
}
/* Enhanced Header Styles */
.site-header {
background-color: var(--card-bg);
box-shadow: var(--shadow);
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
height: var(--header-height);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
height: 100%;
}
.logo a {
font-size: 1.75rem;
font-weight: 800;
color: var(--primary-color);
display: flex;
align-items: center;
transition: transform var(--transition-fast);
}
.logo a:hover {
transform: scale(1.03);
}
.logo i {
margin-right: 0.75rem;
font-size: 1.85rem;
}
.nav-links {
display: flex;
gap: 2rem;
list-style: none;
margin: 0;
padding: 0;
}
.nav-links li a {
position: relative;
font-weight: 500;
padding: 0.5rem 0;
}
.nav-links li a::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: 0;
left: 0;
background-color: var(--primary-color);
transition: width var(--transition);
}
.nav-links li a:hover::after {
width: 100%;
}
.nav-links li a.active::after {
width: 100%;
}
/* Improved Button Styles */
.btn {
cursor: pointer;
padding: 0.75rem 1.5rem;
border: none;
border-radius: var(--border-radius);
font-weight: 600;
transition: all var(--transition);
font-size: 0.95rem;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
letter-spacing: 0.01em;
position: relative;
overflow: hidden;
}
.btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(
90deg,
rgba(255, 255, 255, 0) 0%,
rgba(255, 255, 255, 0.2) 50%,
rgba(255, 255, 255, 0) 100%
);
transition: left 0.8s ease;
}
.btn:hover::before {
left: 100%;
}
.btn-primary {
background-image: linear-gradient(to right, var(--primary-color), var(--primary-dark));
color: white;
box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}
.btn-primary:hover {
background-image: linear-gradient(to right, var(--primary-dark), var(--secondary-dark));
transform: translateY(-2px);
box-shadow: 0 4px 14px rgba(99, 102, 241, 0.5);
}
.btn-primary:active {
transform: translateY(0);
}
.btn-secondary {
background-image: linear-gradient(to right, var(--secondary-color), var(--secondary-dark));
color: white;
box-shadow: 0 2px 10px rgba(168, 85, 247, 0.4);
}
.btn-secondary:hover {
background-image: linear-gradient(to right, var(--secondary-dark), var(--primary-dark));
transform: translateY(-2px);
box-shadow: 0 4px 14px rgba(168, 85, 247, 0.5);
}
.btn-outline-primary {
background-color: transparent;
border: 2px solid var(--primary-color);
color: var(--primary-color);
}
.btn-outline-primary:hover {
background-color: var(--primary-color);
color: white;
transform: translateY(-2px);
}
.btn-outline-secondary {
background-color: transparent;
border: 2px solid var(--border-color);
color: var(--text-color);
}
.btn-outline-secondary:hover {
background-color: var(--border-color);
transform: translateY(-2px);
}
.btn-sm {
padding: 0.35rem 0.75rem;
font-size: 0.85rem;
}
.btn-lg {
padding: 0.85rem 2rem;
font-size: 1.1rem;
}
.btn-block {
display: flex;
width: 100%;
}
.btn-icon {
width: 2.5rem;
height: 2.5rem;
padding: 0;
border-radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
}
/* Enhanced Footer Styles */
.site-footer {
background-color: var(--card-bg);
border-top: 1px solid var(--border-color);
padding: 1.5rem 0;
margin-top: 3rem;
height: var(--footer-height);
}
.footer-content {
display: flex;
justify-content: space-between;
align-items: center;
}
.footer-links {
display: flex;
gap: 2rem;
list-style: none;
margin: 0;
padding: 0;
}
.footer-links a {
color: var(--text-muted);
transition: color var(--transition-fast);
}
.footer-links a:hover {
color: var(--primary-color);
}
.copyright {
color: var(--text-muted);
font-size: 0.9rem;
}
/* Improved Card Styles */
.paper-card {
background-color: var(--card-bg);
border-radius: var(--border-radius-lg);
box-shadow: var(--shadow);
padding: 2rem;
margin-bottom: 2rem;
transition: transform var(--transition), box-shadow var(--transition);
border: 1px solid rgba(226, 232, 240, 0.8);
}
.paper-card:hover {
transform: translateY(-5px);
box-shadow: var(--shadow-md);
}
.card-header {
margin-bottom: 1.5rem;
padding-bottom: 1rem;
border-bottom: 1px solid var(--border-color);
}
.card-footer {
margin-top: 1.5rem;
padding-top: 1rem;
border-top: 1px solid var(--border-color);
}
/* Enhanced Form Styles */
.form-group {
margin-bottom: 1.75rem;
}
label {
display: block;
margin-bottom: 0.5rem;
font-weight: 600;
color: var(--text-muted);
font-size: 0.95rem;
}
.form-control {
width: 100%;
padding: 0.85rem 1rem;
border: 1px solid var(--border-color);
border-radius: var(--border-radius);
font-family: inherit;
font-size: 1rem;
background-color: white;
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-control:focus {
outline: none;
border-color: var(--primary-light);
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.form-select {
width: 100%;
padding: 0.85rem 1rem;
border: 1px solid var(--border-color);
border-radius: var(--border-radius);
font-family: inherit;
font-size: 1rem;
background-color: white;
transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 1rem center;
background-size: 1rem;
padding-right: 2.5rem;
}
.form-select:focus {
outline: none;
border-color: var(--primary-light);
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.form-check {
display: flex;
align-items: center;
gap: 0.75rem;
margin-bottom: 0.75rem;
cursor: pointer;
}
.form-check-input {
appearance: none;
width: 1.25rem;
height: 1.25rem;
border: 2px solid var(--border-color);
border-radius: 0.25rem;
background-color: white;
cursor: pointer;
transition: background-color var(--transition-fast), border-color var(--transition-fast);
position: relative;
}
.form-check-input:checked {
background-color: var(--primary-color);
border-color: var(--primary-color);
}
.form-check-input:checked::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 0.5rem;
height: 0.5rem;
background-color: white;
border-radius: 1px;
}
.form-check-label {
margin: 0;
font-weight: 500;
cursor: pointer;
}
.input-group {
display: flex;
position: relative;
}
.input-group > .form-control {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
flex: 1;
}
.input-group > .btn {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.input-group-text {
display: flex;
align-items: center;
padding: 0.75rem 1rem;
background-color: #f1f5f9;
color: var(--text-muted);
border: 1px solid var(--border-color);
border-radius: var(--border-radius);
font-size: 0.95rem;
}
.input-group > :first-child {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.input-group > :last-child {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
/* Improved Paste View Styles */
.paste-header {
display: flex;
flex-direction: column;
gap: 0.75rem;
margin-bottom: 2rem;
}
.paste-title {
font-size: 1.75rem;
font-weight: 700;
color: #1e293b;
margin: 0;
}
.paste-meta {
display: flex;
flex-wrap: wrap;
gap: 1.5rem;
font-size: 0.925rem;
color: var(--text-muted);
}
.paste-meta-item {
display: flex;
align-items: center;
gap: 0.5rem;
}
.paste-meta-item i {
color: var(--primary-light);
}
.paste-actions {
display: flex;
gap: 0.75rem;
margin-top: 1.5rem;
}
.paste-content {
margin-top: 2rem;
overflow-x: auto;
border-radius: var(--border-radius);
border: 1px solid var(--border-color);
}
.plain-content pre {
margin: 0;
padding: 1.5rem;
background-color: #f8fafc;
border-radius: var(--border-radius);
overflow-x: auto;
}
.plain-content code {
font-family: 'Fira Code', monospace;
font-size: 0.95rem;
line-height: 1.6;
white-space: pre-wrap;
}
.html-content {
padding: 1rem;
}
/* Enhanced Like Button Animation */
.like-button {
background: none;
border: none;
color: var(--danger-color);
cursor: pointer;
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem;
transition: transform 0.2s, color 0.3s;
font-weight: 600;
border-radius: var(--border-radius);
}
.like-button:hover {
transform: scale(1.1);
color: #dc2626;
}
.like-button.liked {
color: #dc2626;
}
.like-button i {
transition: transform 0.3s ease;
}
.like-button:hover i {
transform: scale(1.2);
}
.hearts-container {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 9999;
}
.floating-heart {
position: absolute;
bottom: 100px;
color: var(--danger-color);
font-size: 1.5rem;
pointer-events: none;
animation: float-up 2s ease-out forwards, fade-out 2s ease-out forwards;
}
@keyframes float-up {
0% { transform: translateY(0) scale(1); }
50% { transform: translateY(-100px) scale(1.5); }
100% { transform: translateY(-200px) scale(1); }
}
@keyframes fade-out {
0% { opacity: 1; }
80% { opacity: 0.7; }
100% { opacity: 0; }
}
/* Enhanced Modal Styles */
.modal-backdrop {
background-color: rgba(15, 23, 42, 0.7);
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
}
.modal-content {
background-color: var(--card-bg);
border: none;
border-radius: var(--border-radius-lg);
box-shadow: var(--shadow-lg);
overflow: hidden;
}
.modal-header {
border-bottom: 1px solid var(--border-color);
padding: 1.25rem 1.5rem;
}
.modal-title {
font-weight: 700;
color: #1e293b;
margin: 0;
}
.modal-body {
padding: 2rem 1.5rem;
}
.modal-footer {
border-top: 1px solid var(--border-color);
padding: 1.25rem 1.5rem;
display: flex;
justify-content: flex-end;
gap: 0.75rem;
}
.modal-close {
background: none;
border: none;
font-size: 1.5rem;
line-height: 1;
color: var(--text-muted);
cursor: pointer;
transition: color var(--transition-fast);
}
.modal-close:hover {
color: var(--text-color);
}
/* Enhanced Home Page Styles */
.hero-section {
margin: 3rem 0 4rem;
position: relative;
overflow: hidden;
padding: 3rem 0;
}
.hero-section::before {
content: '';
position: absolute;
width: 300px;
height: 300px;
border-radius: 50%;
background: linear-gradient(to right, var(--primary-light), var(--secondary-light));
opacity: 0.1;
top: -150px;
right: -100px;
filter: blur(40px);
z-index: -1;
}
.hero-section::after {
content: '';
position: absolute;
width: 250px;
height: 250px;
border-radius: 50%;
background: linear-gradient(to right, var(--secondary-light), var(--primary-light));
opacity: 0.1;
bottom: -100px;
left: -50px;
filter: blur(40px);
z-index: -1;
}
.hero-section h1 {
font-size: 3rem;
font-weight: 800;
margin-bottom: 1.5rem;
background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
line-height: 1.2;
}
.hero-section p {
font-size: 1.25rem;
color: var(--text-muted);
max-width: 600px;
margin-bottom: 2rem;
}
.features-section {
margin: 4rem 0;
position: relative;
}
.features-section h2 {
text-align: center;
margin-bottom: 3rem;
font-weight: 700;
}
.feature-card {
background-color: var(--card-bg);
border-radius: var(--border-radius-lg);
box-shadow: var(--shadow);
padding: 2rem;
text-align: center;
height: 100%;
transition: all var(--transition);
position: relative;
overflow: hidden;
border: 1px solid rgba(226, 232, 240, 0.8);
}
.feature-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 5px;
background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
opacity: 0;
transition: opacity var(--transition);
}
.feature-card:hover {
transform: translateY(-10px);
box-shadow: var(--shadow-md);
}
.feature-card:hover::before {
opacity: 1;
}
.feature-icon {
font-size: 2.5rem;
color: var(--primary-color);
margin-bottom: 1.5rem;
transition: transform var(--transition);
display: inline-block;
}
.feature-card:hover .feature-icon {
transform: scale(1.1);
}
.feature-title {
font-size: 1.25rem;
font-weight: 700;
margin-bottom: 1rem;
color: #1e293b;
}
.recent-pastes h2 {
margin-bottom: 2rem;
position: relative;
display: inline-block;
}
.recent-pastes h2::after {
content: '';
position: absolute;
bottom: -10px;
left: 0;
width: 50px;
height: 3px;
background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
border-radius: 3px;
}
/* Enhanced Alert styles */
.alert {
padding: 1.25rem;
border-radius: var(--border-radius);
margin-bottom: 1.5rem;
display: flex;
align-items: flex-start;
gap: 1rem;
position: relative;
overflow: hidden;
}
.alert-icon {
font-size: 1.5rem;
flex-shrink: 0;
}
.alert-content {
flex: 1;
}
.alert-title {
font-weight: 700;
margin-top: 0;
margin-bottom: 0.5rem;
}
.alert-message {
margin: 0;
}
.alert-success {
background-color: rgba(209, 250, 229, 0.5);
color: #065f46;
border-left: 4px solid var(--success-color);
}
.alert-danger {
background-color: rgba(254, 226, 226, 0.5);
color: #b91c1c;
border-left: 4px solid var(--danger-color);
}
.alert-warning {
background-color: rgba(255, 247, 237, 0.5);
color: #9a3412;
border-left: 4px solid var(--warning-color);
}
.alert-info {
background-color: rgba(224, 242, 254, 0.5);
color: #0369a1;
border-left: 4px solid var(--info-color);
}
/* Enhanced Spinner */
.spinner-border {
display: inline-block;
width: 2rem;
height: 2rem;
border: 0.25rem solid currentColor;
border-right-color: transparent;
border-radius: 50%;
animation: spinner-border 0.75s linear infinite;
}
.spinner-grow {
display: inline-block;
width: 2rem;
height: 2rem;
background-color: currentColor;
border-radius: 50%;
opacity: 0;
animation: spinner-grow 0.75s linear infinite;
}
@keyframes spinner-border {
to { transform: rotate(360deg); }
}
@keyframes spinner-grow {
0% { transform: scale(0); opacity: 0; }
50% { opacity: 1; }
100% { transform: scale(1); opacity: 0; }
}
/* Enhanced Code editor specific styles */
.code-editor {
font-family: 'Fira Code', monospace;
border-radius: var(--border-radius);
overflow: hidden;
box-shadow: var(--shadow);
border: 1px solid var(--border-color);
}
.code-editor-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.75rem 1rem;
background-color: #1e293b;
color: white;
}
.code-editor-title {
font-weight: 600;
font-size: 0.95rem;
}
.code-editor-actions {
display: flex;
gap: 0.5rem;
}
.code-editor-action {
background: none;
border: none;
color: #94a3b8;
cursor: pointer;
width: 1.5rem;
height: 1.5rem;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: all var(--transition-fast);
}
.code-editor-action:hover {
color: white;
background-color: rgba(255, 255, 255, 0.1);
}
/* Utility classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-success { color: var(--success-color); }
.text-danger { color: var(--danger-color); }
.text-warning { color: var(--warning-color); }
.text-info { color: var(--info-color); }
.text-muted { color: var(--text-muted); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }
.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-3 { padding-bottom: 1rem; }
.pb-4 { padding-bottom: 1.5rem; }
.pb-5 { padding-bottom: 2rem; }
.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 1rem; }
.pt-4 { padding-top: 1.5rem; }
.pt-5 { padding-top: 2rem; }
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.align-items-center { align-items: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }
.gap-5 { gap: 2rem; }
/* Enhanced Glassmorphism Elements */
.glass-card {
background: rgba(255, 255, 255, 0.7);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-radius: var(--border-radius-lg);
border: 1px solid rgba(255, 255, 255, 0.2);
box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
padding: 2rem;
}
/* Enhanced Responsive adjustments */
@media (max-width: 992px) {
.container {
padding: 0 1rem;
}
.hero-section h1 {
font-size: 2.5rem;
}
}
@media (max-width: 768px) {
.hero-section h1 {
font-size: 2rem;
}
.hero-section p {
font-size: 1.1rem;
}
.footer-content {
flex-direction: column;
gap: 1.5rem;
text-align: center;
}
.footer-links {
justify-content: center;
}
.paste-meta {
flex-direction: column;
gap: 0.75rem;
}
.btn-lg {
padding: 0.75rem 1.5rem;
}
}
@media (max-width: 576px) {
.nav-links {
gap: 1rem;
}
.hero-section {
padding: 2rem 0;
}
.paper-card {
padding: 1.5rem;
}
.paste-actions {
flex-wrap: wrap;
}
}
/* Enhanced dark mode support */
@media (prefers-color-scheme: dark) {
:root {
--background-color: #0f172a;
--card-bg: #1e293b;
--text-color: #e2e8f0;
--text-muted: #94a3b8;
--text-light: #cbd5e1;
--border-color: #334155;
--border-focus: #475569;
}
h1, h2, h3, h4, h5, h6 {
color: #f1f5f9;
}
.form-control, .form-select {
background-color: #1e293b;
color: #e2e8f0;
border-color: #334155;
}
.form-control:focus, .form-select:focus {
border-color: var(--primary-color);
}
.input-group-text {
background-color: #334155;
color: #94a3b8;
border-color: #334155;
}
.btn-outline-secondary {
border-color: #475569;
color: #e2e8f0;
}
.btn-outline-secondary:hover {
background-color: #475569;
}
.plain-content pre {
background-color: #1e293b;
}
.alert-success {
background-color: rgba(6, 78, 59, 0.2);
}
.alert-danger {
background-color: rgba(153, 27, 27, 0.2);
}
.alert-warning {
background-color: rgba(146, 64, 14, 0.2);
}
.alert-info {
background-color: rgba(3, 105, 161, 0.2);
}
.glass-card {
background: rgba(30, 41, 59, 0.7);
border: 1px solid rgba(30, 41, 59, 0.3);
}
}
/* Premium Purple Dark Theme for Pastebin Application
Created: May 2025
Features: Smooth animations, hover effects, cursor tracking, and skeleton loading
*/
/* ===== FONTS & VARIABLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
:root {
--primary: #9333ea; /* Main purple color */
--primary-light: #a855f7; /* Lighter purple for hovers */
--primary-dark: #7e22ce; /* Darker purple for active states */
--primary-gradient: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
--primary-glow: 0 0 15px rgba(147, 51, 234, 0.5);
--accent: #f472b6; /* Pink accent */
--accent-dark: #db2777; /* Darker accent */
--dark: #121212; /* Main dark background */
--dark-lighter: #1e1e1e; /* Slightly lighter dark for cards */
--dark-medium: #2d2d2d; /* Medium dark for hover states */
--dark-gradient: linear-gradient(135deg, #121212 0%, #1e1e1e 100%);
--text-primary: #f3f4f6; /* Main text color */
--text-secondary: #9ca3af; /* Secondary text color */
--shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.2);
--shadow-md: 0 10px 15px rgba(0, 0, 0, 0.3);
--shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.4);
--card-radius: 12px; /* Border radius for cards */
--button-radius: 8px; /* Border radius for buttons */
--transition-fast: 0.2s ease;
--transition-medium: 0.3s ease;
--transition-slow: 0.5s ease;
}
/* ===== GLOBAL STYLES ===== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
background-color: var(--dark);
color: var(--text-primary);
line-height: 1.6;
overflow-x: hidden;
min-height: 100vh;
position: relative;
}
body::before {
content: "";
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: radial-gradient(circle at top right, rgba(147, 51, 234, 0.1), transparent 40%),
radial-gradient(circle at bottom left, rgba(244, 114, 182, 0.05), transparent 40%);
z-index: -1;
pointer-events: none;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: var(--dark);
}
::-webkit-scrollbar-thumb {
background: var(--primary-dark);
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--primary);
}
/* Text selection */
::selection {
background-color: var(--primary);
color: white;
}
/* ===== CURSOR EFFECT ===== */
.cursor-glow {
position: fixed;
width: 30px;
height: 30px;
border-radius: 50%;
background: rgba(147, 51, 234, 0.3);
pointer-events: none;
transform: translate(-50%, -50%);
z-index: 9999;
filter: blur(5px);
opacity: 0;
transition: opacity 0.3s ease, width 0.2s ease, height 0.2s ease;
}
/* ===== CONTAINER ===== */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 2rem 1.5rem;
}
/* ===== HERO SECTION ===== */
.hero-section {
position: relative;
padding: 6rem 0 4rem;
overflow: hidden;
}
.hero-section::before {
content: '';
position: absolute;
top: -10%;
right: -10%;
width: 500px;
height: 500px;
background: radial-gradient(circle, rgba(147, 51, 234, 0.2) 0%, transparent 70%);
z-index: -1;
animation: pulse 8s infinite alternate;
}
@keyframes pulse {
0% {
opacity: 0.5;
transform: scale(1);
}
100% {
opacity: 0.7;
transform: scale(1.2);
}
}
.hero-section h1 {
font-size: 3.5rem;
font-weight: 700;
margin-bottom: 1.5rem;
line-height: 1.2;
background: linear-gradient(to right, var(--text-primary), var(--primary-light));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
animation: textShine 3s infinite alternate;
}
@keyframes textShine {
from {
background-position: 0 0;
}
to {
background-position: 200% 0;
}
}
.hero-section .lead {
font-size: 1.25rem;
margin-bottom: 2rem;
color: var(--text-secondary);
max-width: 90%;
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.75rem 1.5rem;
font-weight: 600;
border-radius: var(--button-radius);
text-decoration: none;
transition: all var(--transition-medium);
position: relative;
overflow: hidden;
cursor: pointer;
border: none;
outline: none;
}
.btn-primary {
background: var(--primary-gradient);
color: white;
box-shadow: var(--shadow-md), var(--primary-glow);
}
.btn-primary::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.7s ease;
}
.btn-primary:hover {
transform: translateY(-3px);
box-shadow: var(--shadow-lg), 0 0 20px rgba(147, 51, 234, 0.6);
}
.btn-primary:hover::before {
left: 100%;
}
.btn-lg {
font-size: 1.1rem;
padding: 1rem 2rem;
}
.img-fluid {
max-width: 100%;
height: auto;
transition: transform var(--transition-medium);
animation: float 6s infinite ease-in-out;
filter: drop-shadow(0 10px 15px rgba(147, 51, 234, 0.25));
}
@keyframes float {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-15px);
}
}
/* ===== FEATURES SECTION ===== */
.features-section {
padding: 5rem 0;
position: relative;
}
.features-section h2 {
text-align: center;
font-size: 2.5rem;
margin-bottom: 3rem;
position: relative;
display: inline-block;
left: 50%;
transform: translateX(-50%);
}
.features-section h2::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 50px;
height: 4px;
background: var(--primary);
border-radius: 2px;
}
.feature-card {
background: var(--dark-gradient);
border-radius: var(--card-radius);
padding: 2rem;
height: 100%;
transition: transform var(--transition-medium), box-shadow var(--transition-medium);
position: relative;
overflow: hidden;
z-index: 1;
box-shadow: var(--shadow-sm);
}
.feature-card::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, transparent 0%, rgba(147, 51, 234, 0.05) 100%);
z-index: -1;
}
.feature-card::after {
content: "";
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: linear-gradient(165deg, transparent, rgba(147, 51, 234, 0.1), transparent);
transform: rotate(45deg);
opacity: 0;
transition: opacity var(--transition-medium);
}
.feature-card:hover {
transform: translateY(-10px);
box-shadow: var(--shadow-md), 0 0 20px rgba(147, 51, 234, 0.15);
}
.feature-card:hover::after {
animation: cardGlare 1.5s forwards;
}
@keyframes cardGlare {
0% {
opacity: 0;
top: -50%;
left: -50%;
}
20% {
opacity: 0.2;
}
100% {
opacity: 0;
top: 150%;
left: 150%;
}
}
.feature-icon {
font-size: 2.5rem;
color: var(--primary);
margin-bottom: 1.5rem;
display: inline-block;
background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.feature-card h3 {
font-size: 1.5rem;
margin-bottom: 1rem;
color: var(--text-primary);
}
.feature-card p {
color: var(--text-secondary);
margin-bottom: 0;
}
.row {
display: flex;
flex-wrap: wrap;
margin-right: -15px;
margin-left: -15px;
}
.col-md-4 {
position: relative;
width: 100%;
padding-right: 15px;
padding-left: 15px;
flex: 0 0 33.333333%;
max-width: 33.333333%;
margin-bottom: 2rem;
}
.col-md-6 {
position: relative;
width: 100%;
padding-right: 15px;
padding-left: 15px;
flex: 0 0 50%;
max-width: 50%;
}
.align-items-center {
align-items: center;
}
/* ===== RECENT PASTES ===== */
.recent-pastes {
padding: 4rem 0;
position: relative;
}
.recent-pastes h2 {
text-align: center;
font-size: 2.5rem;
margin-bottom: 3rem;
position: relative;
display: inline-block;
left: 50%;
transform: translateX(-50%);
}
.recent-pastes h2::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 50px;
height: 4px;
background: var(--primary);
border-radius: 2px;
}
.table-responsive {
display: block;
width: 100%;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
border-radius: var(--card-radius);
background: var(--dark-lighter);
box-shadow: var(--shadow-md);
}
.table {
width: 100%;
border-collapse: collapse;
}
.table th,
.table td {
padding: 1rem;
text-align: left;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
transition: background-color var(--transition-fast);
}
.table th {
background-color: rgba(147, 51, 234, 0.1);
color: var(--text-primary);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
font-size: 0.85rem;
}
.table tr {
transition: background-color var(--transition-fast), transform var(--transition-fast);
}
.table tr:hover {
background-color: rgba(147, 51, 234, 0.05);
transform: translateX(5px);
}
.table a {
color: var(--primary-light);
text-decoration: none;
transition: color var(--transition-fast);
position: relative;
display: inline-block;
}
.table a::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -3px;
left: 0;
background-color: var(--primary);
transition: width var(--transition-medium);
}
.table a:hover {
color: var(--accent);
}
.table a:hover::after {
width: 100%;
}
/* ===== SKELETON LOADING ANIMATION ===== */
@keyframes skeletonLoading {
0% {
background-position: -200px 0;
}
100% {
background-position: calc(200px + 100%) 0;
}
}
.skeleton {
animation: skeletonLoading 1.5s infinite linear;
background: linear-gradient(90deg, var(--dark-medium) 25%, var(--dark-lighter) 50%, var(--dark-medium) 75%);
background-size: 200px 100%;
border-radius: 4px;
display: inline-block;
line-height: 1;
width: 100%;
}
.skeleton-text {
height: 12px;
margin-bottom: 0.5rem;
width: 100%;
}
.skeleton-text:last-child {
margin-bottom: 0;
width: 80%;
}
.skeleton-card {
height: 280px;
width: 100%;
border-radius: var(--card-radius);
}
.skeleton-circle {
height: 50px;
width: 50px;
border-radius: 50%;
}
/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
.col-md-4 {
flex: 0 0 50%;
max-width: 50%;
}
.hero-section h1 {
font-size: 2.8rem;
}
}
@media (max-width: 768px) {
.col-md-6 {
flex: 0 0 100%;
max-width: 100%;
}
.col-md-4 {
flex: 0 0 100%;
max-width: 100%;
}
.hero-section {
padding: 4rem 0 3rem;
text-align: center;
}
.hero-section .lead {
max-width: 100%;
}
.hero-section img {
margin-top: 3rem;
}
.hero-section h1 {
font-size: 2.5rem;
}
}
@media (max-width: 576px) {
.container {
padding: 1.5rem 1rem;
}
.hero-section h1 {
font-size: 2rem;
}
.btn-lg {
padding: 0.8rem 1.5rem;
font-size: 1rem;
}
.features-section h2,
.recent-pastes h2 {
font-size: 2rem;
}
}
/* ===== ANIMATIONS & EFFECTS ===== */
/* Fade-in animation for page load */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.container > * {
animation: fadeIn 0.6s ease forwards;
}
.features-section {
animation-delay: 0.2s;
}
.recent-pastes {
animation-delay: 0.4s;
}
/* Custom page transition */
.page-transition {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: var(--dark);
z-index: 9999;
transform: scaleY(0);
transform-origin: top;
transition: transform 0.6s ease;
}
.page-transition.active {
transform: scaleY(1);
}
/* Smooth scroll */
html {
scroll-behavior: smooth;
}
/* For JavaScript - cursor effect */
/* Add this to your JS file: