:root {
    /* Colors - Premium Dark Theme */
    --color-bg-body: #030303;
    --color-bg-surface: rgba(20, 20, 20, 0.6);
    --color-bg-surface-hover: rgba(30, 30, 30, 0.8);
    --color-text-primary: #ffffff;
    --color-text-secondary: #a1a1aa;
    --color-text-muted: #52525b;

    /* Accents - Modern Blue/Purple Gradient */
    --color-accent-primary: #3b82f6;
    --color-accent-secondary: #8b5cf6;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.15);

    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2.25rem;
    --font-size-4xl: 3.5rem;
    --font-size-huge: 5rem;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    --container-width: 1240px;

    /* Effects */
    --radius-sm: 6px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --radius-full: 9999px;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 50px -12px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);

    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --blur-backdrop: 20px;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-body);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.08), transparent 25%);
    background-attachment: fixed;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Utilities */
.overline {
    display: block;
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: var(--color-accent-primary);
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(90deg, var(--color-accent-primary), var(--color-accent-secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-align: center;
    letter-spacing: -0.02em;
    line-height: 1.1;
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: var(--font-size-sm);
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-text-primary);
    color: var(--color-bg-body);
    font-weight: 600;
}

.btn-primary:hover {
    background: #e2e2e2;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--color-border);
    color: var(--color-text-primary);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    border-color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: var(--font-size-xs);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: all var(--transition-smooth);
}

.header.scrolled {
    background-color: rgba(3, 3, 3, 0.8);
    backdrop-filter: blur(var(--blur-backdrop));
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 0%, #a1a1aa 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-text-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Selector Dropdown */
.lang-selector {
    display: none;
    position: relative;
}

@media (min-width: 768px) {
    .lang-selector {
        display: block;
    }
}

.lang-btn {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    min-width: 120px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.lang-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.lang-item:hover, .lang-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-primary);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: all var(--transition-fast);
}

.mobile-menu-btn.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-body);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
    backdrop-filter: blur(20px);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

/* Mobile Menu Close Button */
.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 1002;
    line-height: 1;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
}

/* Mobile Nav List — centered */
.mobile-nav-list {
    text-align: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-link {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    display: block;
    text-align: center;
}

.mobile-nav-link:hover {
    color: var(--color-text-primary);
}

/* Mobile Auth Buttons (inside overlay) */
.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    width: 100%;
    max-width: 260px;
}

.mobile-auth-buttons .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.95rem;
}

/* Mobile Language Selector */
.mobile-lang {
    display: flex;
    gap: 16px;
    margin-top: 28px;
}

.mobile-lang a {
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    transition: all 0.3s;
}

.mobile-lang a.active {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/background.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    opacity: 0.7;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

/* Hero Title Fix */
.hero-title {
    font-size: var(--font-size-huge);
    line-height: 1.05;
    margin-bottom: var(--spacing-md);
    color: #ffffff;
    /* background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%); */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    padding-bottom: 0.2rem;
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--color-text-secondary);
    max-width: 640px;
    margin: 0 auto var(--spacing-lg);
    font-weight: 300;
}

/* ... (rest of styles) ... */

/* Dashboard Styles - Refactored for Stability */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    padding-top: 80px;
    position: relative;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

.sidebar {
    width: 280px;
    /* Fixed width */
    background: var(--color-bg-surface);
    border-right: 1px solid var(--color-border);
    padding: 32px;
    position: sticky;
    /* Sticky instead of fixed */
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
    flex-shrink: 0;
    /* Don't shrink */
    z-index: 10;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-text-muted);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

/* About Section */
.about {
    padding: var(--spacing-xl) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: var(--spacing-lg);
}

.about-card {
    background: var(--color-bg-surface);
    backdrop-filter: blur(10px);
    padding: 48px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all var(--transition-smooth);
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--color-bg-surface-hover);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-text-primary);
}

.about-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: 12px;
    font-weight: 600;
}

.about-card p {
    color: var(--color-text-secondary);
    font-size: var(--font-size-base);
}

/* Professions */
.professions {
    padding: var(--spacing-xl) 0;
}

.professions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: var(--spacing-lg);
}

.profession-card {
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(var(--blur-backdrop));
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.profession-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.profession-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-25deg);
    transition: none;
    /* Reset for mouse leave */
    pointer-events: none;
}

.profession-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(var(--color-primary-rgb), 0.3);
    background: rgba(30, 30, 30, 0.8);
    border-color: var(--color-primary);
}

.profession-card:hover::after {
    left: 150%;
    transition: left 0.7s ease-in-out;
}

.profession-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text-primary);
}

.profession-card p {
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

.item-hidden {
    display: none;
}

/* Favorite Button */
.btn-fav {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    padding: 8px;
    color: var(--color-text-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-fav:hover {
    transform: scale(1.15);
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.btn-fav.active {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    animation: heartPulse 0.4s cubic-bezier(0.17, 0.89, 0.32, 1.49);
}

.btn-fav.fav-animating {
    animation: heartPulse 0.4s cubic-bezier(0.17, 0.89, 0.32, 1.49);
}

@keyframes heartPulse {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(0.95); }
    75% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* Favorite Toast Notification */
.fav-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fav-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.fav-toast .toast-icon {
    font-size: 1.1rem;
}

/* Support & Partnership */
.support,
.partnership {
    padding: var(--spacing-xl) 0;
}

.support-content {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8), rgba(10, 10, 10, 0.9));
    padding: 64px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    box-shadow: var(--shadow-md);
}

.section-title-left {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .support-content {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
    }

    .support-action {
        width: 100%;
    }

    .support-action .btn {
        width: 100%;
    }

    /* Mobile Navigation */
    .nav-list {
        display: none;
    }

    /* Hide desktop auth buttons on mobile — they live in mobile menu now */
    .auth-buttons {
        display: none;
    }

    /* Compact header actions on mobile */
    .header-actions {
        gap: 10px;
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1002;
    }

    .mobile-menu-btn .bar {
        width: 100%;
        height: 3px;
        background-color: var(--color-text-primary);
        transition: all 0.3s linear;
        border-radius: 10px;
    }

    .mobile-menu {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        z-index: 1001;
        transform: translateY(-100%);
        transition: transform 0.4s ease-in-out;
        gap: 0;
    }

    .mobile-menu.active {
        transform: translateY(0);
    }

    .mobile-nav-link {
        font-size: var(--font-size-2xl);
        color: var(--color-text-primary);
        font-weight: 500;
    }

    /* Dashboard Layout */
    .dashboard-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: static;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        margin-bottom: 20px;
    }

    /* Grids & Misc */
    .professions-grid,
    .about-grid {
        grid-template-columns: 1fr !important;
    }

    .error-glitch {
        font-size: 5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Animations */
/* Animations - Controlled by JS */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

.fade-in-up.js-hidden {
    opacity: 0;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-on-scroll {
    transform: translateY(40px);
    transition: 0.8s ease-out;
}

.reveal-on-scroll.js-hidden {
    opacity: 0;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.5s;
}

.delay-5 {
    transition-delay: 0.7s;
}

/* Footer */
.footer {
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--color-border);
    background: #000;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.footer-links a:hover {
    color: var(--color-text-primary);
}

.copyright {
    color: var(--color-text-muted);
    font-size: var(--font-size-xs);
}

/* Forms & Inputs */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: white;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.08);
}

/* Dashboard Styles */
.dashboard-wrapper {
    padding-top: 80px;
    min-height: 100vh;
    padding-bottom: 40px;
    position: relative;
    overflow-x: hidden;
}

.dashboard-header {
    margin-bottom: 40px;
}

.dashboard-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.sidebar {
    width: 280px;
    background: rgba(30, 30, 30, 0.4);
    /* Slightly lighter for contrast */
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    /* Stronger shadow */
    border-radius: var(--radius-lg);
    padding: 24px;
    position: sticky;
    top: 100px;
    flex-shrink: 0;
    height: auto;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    z-index: 10;
}

.empty-state {
    text-align: center;
    padding: 60px 40px;
    background: rgba(20, 20, 20, 0.3);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--color-border);
    color: var(--color-text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.empty-icon {
    width: 64px;
    height: 64px;
    color: var(--color-text-muted);
    opacity: 0.5;
    margin-bottom: 8px;
}

/* Dashboard Header Actions */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 24px;
}

.dashboard-header .welcome-text {
    margin-bottom: 4px;
}


.sidebar-menu a {
    display: block;
    padding: 14px 20px;
    margin-bottom: 8px;
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text-primary);
    transform: translateX(4px);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* Responsive Dashboard */
@media (max-width: 1024px) {
    .dashboard-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: relative;
        top: 0;
        margin-bottom: 32px;
        max-height: none;
    }
}

/* Modal & Misc */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #121212;
    padding: 40px;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    position: relative;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-text-secondary);
    background: none;
    border: none;
}

.support-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--color-text-primary);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s;
    z-index: 900;
}

.support-float-btn:hover {

    transform: scale(1.1);
}

/* Auth Pages */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding-top: 100px;
}

.auth-card {
    width: 100%;
    max-width: 400px;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    border-radius: 16px;
}

.auth-card .section-title {
    font-size: 2rem; 
    margin-bottom: 2rem;
}

.alert {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert-danger {
    background: rgba(220, 38, 38, 0.2);
    border: 1px solid rgba(220, 38, 38, 0.5);
    color: #fca5a5;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10b981;
    color: #10b981;
}

/* Partnership Section */
.partnership-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.partnership-desc {
    max-width: 600px;
    margin-bottom: 30px;
    color: var(--color-text-secondary);
}

/* 404 Error Page */
.error-page-wrapper {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.error-content {
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(var(--blur-backdrop));
    -webkit-backdrop-filter: blur(var(--blur-backdrop));
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 64px 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.error-glitch {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    animation: floating 4s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.error-title {
    font-size: var(--font-size-2xl);
    color: var(--color-text-primary);
    margin-bottom: 16px;
    font-weight: 600;
}

.error-desc {
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    font-size: var(--font-size-base);
    line-height: 1.6;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

}

/* Admin Dashboard & Support Styles */
.split-view {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    height: calc(100vh - 140px);
    padding: 20px;
}

.ticket-list {
    background: var(--color-bg-surface);
    border-right: 1px solid var(--color-border);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.ticket-item {
    padding: 15px;
    border-bottom: 1px solid var(--color-border);
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
}

.ticket-item:hover,
.ticket-item.active {
    background: rgba(255, 255, 255, 0.05);
}

.ticket-subject {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.ticket-meta {
    font-size: 0.8em;
    color: var(--color-text-secondary);
}

.chat-area {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--color-bg-surface);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    padding: 10px 15px;
    border-radius: 8px;
    max-width: 70%;
    line-height: 1.4;
}

.message.user {
    align-self: flex-start;
    background: #2a2a2a;
}

.message.admin {
    align-self: flex-end;
    background: var(--color-primary);
    color: white;
}

.reply-box {
    padding: 20px;
    border-top: 1px solid var(--color-border);
    background: rgba(0, 0, 0, 0.2);
}

.reply-form {
    display: flex;
    gap: 10px;
}

.status-tabs {
    padding: 0 20px;
    margin-top: 20px;
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 5;
}

.tab-btn {
    padding: 8px 16px;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.tab-btn.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.badge-count {
    background: var(--color-primary);
    color: white;
    font-size: 0.7em;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
}

.ticket-header-actions {
    padding: 15px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.1);
}

.admin-container {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--color-bg-surface);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.admin-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th, 
.admin-table td {
    padding: 10px;
    border-bottom: 1px solid var(--color-border);
}

.admin-table-wrapper {
    background: var(--color-bg-surface);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    margin-top: 20px;
}