:root {
    --primary: #1E293B;
    --primary-light: #334155;
    --primary-dark: #0F172A;
    --accent: #FFFFFF;
    --accent-light: #F8FAFC;
    --background-primary: #000000;
    --background-secondary: #0F172A;
    --background-tertiary: #1E293B;
    --background-card: #334155;
    --text-primary: #FFFFFF;
    --text-secondary: #E2E8F0;
    --text-muted: #94A3B8;
    --border-primary: #475569;
    --border-accent: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

html, body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #000000;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

*::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none; /* WebKit */
}

body {
    overflow-x: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
    transition: all 0.3s ease;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 32px;
    height: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.1);
}

.logo:hover {
    transform: scale(1.1) rotate(2deg);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.4)) brightness(1.2);
}

.site-name {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.site-name:hover {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-xl);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.025em;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--background-tertiary);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

.hero-section {
    padding: 2rem 3rem 3rem;
    text-align: center;
    background: transparent;
    position: relative;
    z-index: 10;
    margin-bottom: 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out;
    transform: translateY(0);
    text-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    margin-top: 0;
    animation: fadeInUp 1s ease-out 0.2s both;
    transform: translateY(20px);
    opacity: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.main-container {
    min-height: 100vh;
    padding-top: 70px;
    display: flex;
    flex-direction: column;
}
.launch-container {
    display: inline-block;
    position: relative;
    animation: fadeInUp 1s ease-out 0.4s both;
    transform: translateY(20px);
    opacity: 0;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 700;
    padding: 1.125rem 3.5rem;
    border: none;
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(30, 41, 59, 0.4), 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    min-width: 260px;
    letter-spacing: -0.025em;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.primary-btn::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.6s ease-out;
}

.primary-btn:hover::before {
    left: 100%;
}

.primary-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 40px rgba(30, 41, 59, 0.6), 0 8px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    border-color: rgba(255, 255, 255, 0.2);
}

.primary-btn:active {
    transform: translateY(-1px) scale(1.01);
    transition: all 0.1s ease;
}

.online-indicator {
    position: absolute;
    bottom: -8px;
    right: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.95), rgba(22, 163, 74, 0.95));
    color: white;
    padding: 0.625rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    min-width: 100px;
    z-index: 10;
    animation: float 3s ease-in-out infinite;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.online-indicator:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.5), 0 4px 15px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, rgba(34, 197, 94, 1), rgba(22, 163, 74, 1));
}

.online-dot {
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    animation: pulse-glow 2s infinite;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.loading-pulse {
    animation: loadingPulse 1.5s ease-in-out infinite alternate;
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: loading-spin 0.8s ease-in-out infinite;
}

/* Online indicator text styling */
.online-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.025em;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.online-count-display {
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    margin-right: 0.25rem;
}

/* Offline state styling */
.online-indicator.offline {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.9), rgba(75, 85, 99, 0.9));
    box-shadow: 0 6px 20px rgba(107, 114, 128, 0.3), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.online-indicator.offline .online-dot {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
}

/* Error state styling */
.online-indicator.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), rgba(220, 38, 38, 0.9));
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3), 0 2px 8px rgba(0, 0, 0, 0.3);
}

@keyframes loading-spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes loadingPulse {
    from { opacity: 0.5; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.content-section {
    padding: 3rem 3rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 5;
    background: transparent;
}
.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.full-width-card {
    grid-column: 1 / -1;
    margin-bottom: 2.5rem;
}

.feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-content {
    flex-grow: 1;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 500;
}

.card-link {
    margin-top: auto;
}

.feature-card, .news-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 4px 15px rgba(0, 0, 0, 0.3);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(30, 41, 59, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::after, .news-card:hover::after {
    opacity: 1;
}

.feature-card:hover, .news-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.15);
    background: rgba(30, 41, 59, 0.8);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(30, 41, 59, 0.6), 0 2px 8px rgba(0, 0, 0, 0.3);
    color: white;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.05em;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover .card-icon, .news-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(30, 41, 59, 0.7);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.card-content {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 500;
}

.card-content p {
    margin-bottom: 1.25rem;
}

.card-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: auto;
    padding: 0.5rem 0;
    border-radius: var(--radius-md);
    position: relative;
}

.card-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transition: width 0.3s ease;
}

.card-link:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.card-link:hover::after {
    width: 100%;
}

.news-item {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.news-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateX(12px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.1);
}

.news-item:hover::before {
    left: 100%;
}

.news-date {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.news-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.news-excerpt {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 40px;
    height: 40px;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 1px;
    transition: all 0.3s ease;
}

.hamburger:hover span {
    background: var(--text-primary);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform-origin: left;
    transform: scaleX(0);
    z-index: 9999;
    transition: transform 0.3s ease;
}

/* Enhanced focus states for accessibility */
.nav-link:focus,
.primary-btn:focus,
.card-link:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

::selection {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

::-moz-selection {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

/* Premium footer with unified background */
.footer {
    background: rgba(0, 0, 0, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5rem 3rem 3rem;
    margin-top: 6rem;
    text-align: center;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--accent);
}

.footer-bottom {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    border-top: 1px solid var(--border-primary);
    padding-top: 2rem;
}

/* Mobile responsive design for professional layout */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .navbar {
        padding: 0 1.5rem;
        height: 60px;
    }

    .navbar-right {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0 0 20px 20px;
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
    }

    .navbar-right.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }

    .main-container {
        padding-top: 60px;
    }

    .hero-section {
        padding: 2rem 2rem 4rem;
    }

    .hero-title {
        font-size: 2.75rem;
        font-weight: 900;
        margin-bottom: 2rem;
        line-height: 1.25;
    }

    .hero-subtitle {
        font-size: 1.25rem;
        font-weight: 500;
        margin-bottom: 3rem;
    }

    .section-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-section {
        padding: 4rem 2rem;
    }

    .feature-card, .news-card {
        padding: 2.5rem;
    }

    .primary-btn {
        padding: 1rem 3rem;
        font-size: 1.125rem;
        font-weight: 700;
        min-width: 240px;
    }

    .online-indicator {
        bottom: -4px;
        right: -4px;
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
        min-width: 70px;
    }

    .footer {
        padding: 4rem 2rem 2.5rem;
    }

    .footer-links {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
        font-weight: 900;
        margin-bottom: 1.75rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1.125rem;
        font-weight: 500;
        margin-bottom: 2.5rem;
        line-height: 1.6;
    }

    .primary-btn {
        padding: 0.875rem 2.5rem;
        font-size: 1rem;
        font-weight: 700;
        min-width: 200px;
    }

    .online-indicator {
        bottom: -3px;
        right: -3px;
        padding: 0.35rem 0.5rem;
        font-size: 0.65rem;
        min-width: 60px;
    }

    .card-header {
        gap: 1rem;
    }

    .card-icon {
        width: 42px;
        height: 42px;
        font-size: 1.375rem;
        font-weight: 800;
    }

    .card-title {
        font-size: 1.25rem;
        font-weight: 700;
    }

    .feature-card, .news-card {
        padding: 1.75rem;
    }
}

@media (max-width: 1024px) {
    .section-grid {
        gap: 1.5rem;
    }
}

/* Enhanced spacing and layout improvements */
.section-grid {
    margin-bottom: 3rem;
}

.feature-card:last-child {
    margin-bottom: 0;
}

/* Enhanced card layouts for better visual organization */
.news-card .news-item:last-child {
    margin-bottom: 0;
}

/* Improved button spacing */
.card-link {
    margin-top: auto;
}

/* Better content hierarchy */
.card-content p:last-child {
    margin-bottom: 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hide old content div that's causing layout issues */
.content {
    display: none;
}

/* Performance optimizations */
.feature-card,
.news-card,
.primary-btn {
    will-change: transform;
}

/* Loading states */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent);
    animation: loading-spin 0.8s ease-in-out infinite;
}

.loading-pulse {
    animation: loading-pulse 1.5s ease-in-out infinite;
}

@keyframes loading-spin {
    to { transform: rotate(360deg); }
}

@keyframes loading-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Enhanced button loading states */
.primary-btn {
    position: relative;
    overflow: hidden;
}

.primary-btn .btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.primary-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.primary-btn.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Lazy loading images */
img[data-src] {
    filter: blur(5px);
    transition: filter 0.3s;
}

img[data-src].loaded {
    filter: blur(0px);
}

/* Performance hint for browsers */
.background-canvas {
    content-visibility: auto;
    contain-intrinsic-size: 100vw 100vh;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    background: rgba(30, 41, 59, 1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Smooth animations for reduced motion users */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
