        /* ============================================
           CSS CUSTOM PROPERTIES
           ============================================ */
        :root {
            /* Typography — V2 Dealroom/Linear style */
            --font-heading: 'Syne', 'Space Grotesk', sans-serif;
            --font-body: 'DM Sans', sans-serif;

            /* Dark Mode (Default) — V2 palette */
            --bg-primary: #070B12;
            --bg-card: #0D1420;
            --bg-card-hover: #111927;
            --bg-surface: #0D1420;
            --bg-navbar: rgba(7, 11, 18, 0.85);
            --bg-sidebar: #0A0F18;

            /* Text — V2 */
            --text-primary: #EEF2FF;
            --text-secondary: #7A90B0;
            --text-muted: #3D5270;

            /* Accent Colors — V2 */
            --accent: #00D68F;
            --accent-hover: #00F0A0;
            --accent-subtle: rgba(0, 214, 143, 0.12);
            --accent-glow: rgba(0, 214, 143, 0.25);
            --secondary: #6366F1;
            --secondary-subtle: rgba(99, 102, 241, 0.12);
            --tertiary: #F59E0B;
            --tertiary-subtle: rgba(245, 158, 11, 0.12);

            /* Status */
            --success: #00D68F;
            --warning: #F59E0B;
            --danger: #EF4444;
            --info: #6366F1;

            /* Borders & Surfaces — V2: no box-shadow, border only */
            --border-color: #1A2535;
            --dot-color: #1A2535;
            --border-primary: #1A2535;
            --border-hover: #2A3D55;
            --border-subtle: #111927;
            --shadow-color: rgba(0, 0, 0, 0.3);

            /* Gradients */
            --gradient-accent: linear-gradient(135deg, #00D68F, #00B87A);
            --gradient-secondary: linear-gradient(135deg, #6366F1, #4F46E5);
            --gradient-tertiary: linear-gradient(135deg, #F59E0B, #D97706);
            --gradient-danger: linear-gradient(135deg, #EF4444, #DC2626);
            --gradient-mesh: radial-gradient(ellipse at 50% 0%, rgba(0, 214, 143, 0.07) 0%, transparent 50%);

            /* Chart Colors */
            --chart-text: #7A90B0;
            --chart-grid: rgba(255, 255, 255, 0.04);

            /* Dimensions */
            --navbar-height: 58px;
            --sidebar-width: 280px;

            /* Transitions — V2 cubic-bezier */
            --transition-fast: 0.15s ease;
            --transition-base: 0.28s cubic-bezier(.4,0,.2,1);
            --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

            /* ========== TYPOGRAPHY SCALE ========== */
            --text-4xl: 2.5rem;
            --text-3xl: 2rem;
            --text-2xl: 1.5rem;
            --text-xl: 1.25rem;
            --text-lg: 1.1rem;
            --text-base: 0.95rem;
            --text-sm: 0.85rem;
            --text-xs: 0.75rem;
            --text-2xs: 0.65rem;

            /* ========== SPACING SCALE ========== */
            --space-1: 0.25rem;
            --space-2: 0.5rem;
            --space-3: 0.75rem;
            --space-4: 1rem;
            --space-5: 1.25rem;
            --space-6: 1.5rem;
            --space-8: 2rem;
            --space-10: 2.5rem;
            --space-12: 3rem;
            --space-16: 4rem;

            /* ========== RADIUS SCALE ========== */
            --radius-sm: 6px;
            --radius-md: 10px;
            --radius-lg: 14px;
            --radius-xl: 16px;
            --radius-2xl: 20px;
            --radius-full: 9999px;

            /* ========== SHADOWS ========== */
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
            --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
            --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
            --shadow-xl: 0 16px 40px rgba(0,0,0,0.15);

            /* ========== Z-INDEX ========== */
            --z-dropdown: 100;
            --z-sticky: 200;
            --z-navbar: 1000;
            --z-sidebar: 1100;
            --z-modal: 1200;

            /* ========== BREAKPOINTS (as comments for reference) ========== */
            /* sm: 640px, md: 768px, lg: 1024px, xl: 1280px */
        }

        /* ============================================
           LIGHT MODE OVERRIDES
           ============================================ */
        [data-theme="light"] {
            --bg-primary: #F4F7FB;
            --bg-card: #FFFFFF;
            --bg-card-hover: #EDF1F7;
            --bg-surface: #EDF1F7;
            --bg-navbar: rgba(244, 247, 251, 0.88);
            --bg-sidebar: #FFFFFF;

            --text-primary: #0D1420;
            --text-secondary: #4A6180;
            --text-muted: #9AB0C8;

            --accent-subtle: rgba(0, 214, 143, 0.1);
            --accent-glow: rgba(0, 214, 143, 0.15);
            --secondary-subtle: rgba(99, 102, 241, 0.1);
            --tertiary-subtle: rgba(245, 158, 11, 0.1);

            --border-color: #E1E8F0;
            --dot-color: rgba(180, 195, 210, 0.3);
            --border-primary: #E1E8F0;
            --border-hover: #A8C0D6;
            --border-subtle: #EDF1F7;
            --shadow-color: rgba(0, 0, 0, 0.06);

            --chart-text: #4A6180;
            --chart-grid: rgba(0, 0, 0, 0.05);

            --gradient-mesh: radial-gradient(ellipse at 50% 0%, rgba(0, 214, 143, 0.05) 0%, transparent 50%);
        }

        /* ============================================
           RESET & BASE
           ============================================ */
        *, *::before, *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            -webkit-text-size-adjust: 100%;
            overflow-x: hidden;
        }

        body {
            font-family: var(--font-body);
            font-weight: 400;
            font-size: 15px;
            line-height: 1.6;
            background: var(--bg-primary);
            background-image: radial-gradient(circle, var(--dot-color) 1px, transparent 1px);
            background-size: 32px 32px;
            color: var(--text-primary);
            min-height: 100vh;
            overflow-x: hidden;
            max-width: 100vw;
            transition: background-color 0.4s ease, color 0.4s ease;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* V2 Scrollbar */
        ::-webkit-scrollbar { width: 5px; }
        ::-webkit-scrollbar-track { background: transparent; }
        ::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 3px; }
        ::-webkit-scrollbar-thumb:hover { background: var(--border-hover); }

        /* Skip to Content */
        .skip-to-content {
            position: absolute;
            top: -100%;
            left: 50%;
            transform: translateX(-50%);
            background: var(--accent);
            color: #fff;
            padding: 0.75rem 1.5rem;
            border-radius: 0 0 10px 10px;
            font-weight: 600;
            font-size: 0.85rem;
            z-index: 9999;
            transition: top 0.2s ease;
            text-decoration: none;
        }
        .skip-to-content:focus {
            top: 0;
        }

        /* Animated gradient mesh background */
        body::before {
            content: '';
            position: fixed;
            inset: 0;
            background: var(--gradient-mesh);
            pointer-events: none;
            z-index: 0;
            animation: meshShift 20s ease-in-out infinite alternate;
        }

        @keyframes meshShift {
            0% {
                background: var(--gradient-mesh);
            }
            50% {
                background: radial-gradient(ellipse at 70% 30%, rgba(0, 212, 170, 0.06) 0%, transparent 50%),
                             radial-gradient(ellipse at 20% 70%, rgba(67, 97, 238, 0.05) 0%, transparent 50%),
                             radial-gradient(ellipse at 60% 60%, rgba(247, 183, 49, 0.03) 0%, transparent 50%);
            }
            100% {
                background: radial-gradient(ellipse at 40% 80%, rgba(0, 212, 170, 0.06) 0%, transparent 50%),
                             radial-gradient(ellipse at 90% 50%, rgba(67, 97, 238, 0.05) 0%, transparent 50%),
                             radial-gradient(ellipse at 30% 20%, rgba(247, 183, 49, 0.03) 0%, transparent 50%);
            }
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: var(--font-heading);
            font-weight: 700;
            line-height: 1.2;
            color: var(--text-primary);
        }

        a {
            color: var(--accent);
            text-decoration: none;
            transition: color var(--transition-fast);
        }

        a:hover {
            color: var(--accent-hover);
        }

        img {
            max-width: 100%;
            height: auto;
        }

        /* ============================================
           CUSTOM SCROLLBAR
           ============================================ */
        ::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }

        ::-webkit-scrollbar-track {
            background: transparent;
        }

        ::-webkit-scrollbar-thumb {
            background: var(--accent);
            border-radius: 3px;
            opacity: 0.6;
        }

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

        /* Firefox scrollbar */
        * {
            scrollbar-width: thin;
            scrollbar-color: var(--accent) transparent;
        }

        /* ============================================
           NAVBAR
           ============================================ */
        .navbar-pulse {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: var(--navbar-height);
            background: var(--bg-navbar);
            backdrop-filter: blur(16px) saturate(1.6);
            -webkit-backdrop-filter: blur(16px) saturate(1.6);
            border-bottom: 1px solid var(--border-color);
            z-index: 1050;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 1.5rem;
            transition: all var(--transition-base);
        }

        .navbar-pulse.scrolled {
            border-bottom-color: var(--border-hover, #2A3D55);
        }

        /* Left group: hamburger + logo */
        .nav-left {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .hamburger-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 38px;
            height: 38px;
            background: transparent;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            color: var(--text-primary);
            font-size: 1.05rem;
            cursor: pointer;
            transition: all var(--transition-base);
            flex-shrink: 0;
        }

        .hamburger-btn:hover {
            background: var(--accent-subtle);
            border-color: var(--accent);
            color: var(--accent);
        }

        .hamburger-btn:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        /* Logo */
        .logo-link {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            text-decoration: none;
            flex-shrink: 0;
        }

        .logo-img {
            height: 48px;
            width: auto;
            margin: -8px 0;
            transition: opacity var(--transition-fast);
        }

        .logo-link:hover .logo-img {
            opacity: 0.8;
        }

        /* Switch logo versions for dark/light mode */
        .logo-dark { display: block; }
        .logo-light { display: none; }
        [data-theme="dark"] .logo-dark { display: none; }
        [data-theme="dark"] .logo-light { display: block; }

        @keyframes pulse-dot {
            0%, 100% {
                transform: scale(1);
                opacity: 1;
                box-shadow: 0 0 6px var(--accent-glow);
            }
            50% {
                transform: scale(1.5);
                opacity: 0.7;
                box-shadow: 0 0 16px var(--accent-glow), 0 0 30px rgba(0, 212, 170, 0.15);
            }
        }

        /* Desktop nav links (center-right) */
        .nav-center {
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .nav-link-item {
            font-family: var(--font-body);
            font-weight: 500;
            font-size: 0.78rem;
            letter-spacing: 0.01em;
            color: var(--text-secondary);
            text-decoration: none;
            padding: 0.4rem 0.5rem;
            border-radius: 6px;
            position: relative;
            transition: color var(--transition-fast);
            white-space: nowrap;
        }

        .nav-link-item::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 50%;
            width: 0;
            height: 1.5px;
            background: var(--accent);
            transition: width 0.3s ease, left 0.3s ease;
            border-radius: 1px;
        }

        .nav-link-item:hover {
            color: var(--text-primary);
        }

        .nav-link-item:hover::after {
            width: 60%;
            left: 20%;
        }

        .nav-link-item:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        /* Nav dropdown */
        .nav-dropdown {
            position: relative;
        }

        .nav-dropdown-toggle {
            font-family: var(--font-body);
            font-weight: 500;
            font-size: 0.82rem;
            letter-spacing: 0.01em;
            color: var(--text-secondary);
            text-decoration: none;
            padding: 0.4rem 0.75rem;
            border-radius: 6px;
            position: relative;
            transition: color var(--transition-fast);
            white-space: nowrap;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 0.3rem;
            background: none;
            border: none;
        }

        .nav-dropdown-toggle i.fa-chevron-down {
            font-size: 0.55rem;
            transition: transform 0.25s ease;
        }

        .nav-dropdown:hover .nav-dropdown-toggle i.fa-chevron-down,
        .nav-dropdown.active .nav-dropdown-toggle i.fa-chevron-down {
            transform: rotate(180deg);
        }

        .nav-dropdown-toggle::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 50%;
            width: 0;
            height: 1.5px;
            background: var(--accent);
            transition: width 0.3s ease, left 0.3s ease;
            border-radius: 1px;
        }

        .nav-dropdown:hover .nav-dropdown-toggle,
        .nav-dropdown.active .nav-dropdown-toggle {
            color: var(--text-primary);
        }

        .nav-dropdown:hover .nav-dropdown-toggle::after,
        .nav-dropdown.active .nav-dropdown-toggle::after {
            width: 60%;
            left: 20%;
        }

        .nav-dropdown-menu {
            position: absolute;
            top: calc(100% + 0.4rem);
            left: 50%;
            transform: translateX(-50%) translateY(4px);
            min-width: 180px;
            background: var(--bg-primary);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            padding: 0.4rem;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
            z-index: 1100;
        }

        .nav-dropdown:hover .nav-dropdown-menu,
        .nav-dropdown.active .nav-dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }

        .nav-dropdown-menu a {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            padding: 0.55rem 0.75rem;
            font-family: var(--font-body);
            font-size: 0.8rem;
            font-weight: 500;
            color: var(--text-secondary);
            text-decoration: none;
            border-radius: 7px;
            transition: background 0.15s ease, color 0.15s ease;
        }

        .nav-dropdown-menu a i {
            font-size: 0.75rem;
            width: 18px;
            text-align: center;
            color: var(--text-muted);
            transition: color 0.15s ease;
        }

        .nav-dropdown-menu a:hover {
            background: var(--bg-secondary);
            color: var(--text-primary);
        }

        .nav-dropdown-menu a:hover i {
            color: var(--accent);
        }

        /* Right group: theme toggle + CTA */
        .nav-right {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        /* Theme toggle */
        /* Language visibility */
        .lang-fr { display: none; }
        html[data-lang="fr"] .lang-fr { display: block; }
        html[data-lang="fr"] .lang-en { display: none; }

        .lang-toggle {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            background: transparent;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            color: var(--text-secondary);
            cursor: pointer;
            transition: all var(--transition-base);
            font-size: 0.7rem;
            font-weight: 700;
            font-family: var(--font-heading);
            letter-spacing: 0.5px;
            flex-shrink: 0;
        }
        .lang-toggle:hover {
            background: var(--secondary-subtle);
            border-color: var(--secondary);
            color: var(--secondary);
        }

        .theme-toggle {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            background: transparent;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            color: var(--text-secondary);
            cursor: pointer;
            transition: all var(--transition-base);
            font-size: 0.95rem;
            flex-shrink: 0;
        }

        .theme-toggle:hover {
            background: var(--accent-subtle);
            border-color: var(--accent);
            color: var(--accent);
        }

        .theme-toggle:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        .theme-toggle i {
            transition: transform 0.4s ease;
        }

        .theme-toggle:hover i {
            transform: rotate(30deg);
        }

        /* Join CTA button */
        .btn-join {
            font-family: var(--font-heading);
            font-weight: 600;
            font-size: 0.8rem;
            letter-spacing: 0.02em;
            color: #0a0e1a;
            background: var(--accent);
            border: none;
            padding: 0.45rem 1.1rem;
            border-radius: 8px;
            cursor: pointer;
            transition: all var(--transition-base);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            white-space: nowrap;
        }

        .btn-join:hover {
            background: var(--accent-hover);
            color: #0a0e1a;
        }
        @media (hover: hover) {
            .btn-join:hover {
                transform: translateY(-1px);
                box-shadow: 0 4px 20px rgba(0, 212, 170, 0.3);
            }
        }

        .btn-join:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        .btn-join:active {
            transform: translateY(0);
        }
        .btn-join-short {
            display: none;
        }

        /* Floating Profile Button */
        .floating-profile {
            position: fixed;
            bottom: 1.5rem;
            right: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.6rem;
            padding: 0.45rem 1rem 0.45rem 0.45rem;
            border-radius: 50px;
            background: var(--bg-card);
            border: 1px solid var(--border-primary);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
            text-decoration: none;
            z-index: 1050;
            transition: all var(--transition-base);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }
        .floating-profile:hover {
            border-color: var(--accent);
            box-shadow: 0 8px 32px rgba(0, 214, 143, 0.2);
            transform: translateY(-2px);
        }
        .floating-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--accent);
        }
        .floating-avatar-placeholder {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--accent), var(--secondary));
            color: #fff;
            font-family: var(--font-heading);
            font-size: 0.9rem;
            font-weight: 700;
        }
        .floating-name {
            font-family: var(--font-body);
            font-weight: 600;
            font-size: 0.85rem;
            color: var(--text-primary);
            white-space: nowrap;
        }

        /* ============================================
           SIDEBAR
           ============================================ */
        .sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--sidebar-width);
            height: 100vh;
            background: var(--bg-sidebar);
            border-right: 1px solid var(--border-color);
            z-index: 1060;
            transform: translateX(-100%);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            overflow-x: hidden;
        }

        .sidebar.active {
            transform: translateX(0);
            box-shadow: 8px 0 40px var(--shadow-color);
        }

        .sidebar-header {
            padding: 1.25rem 1.5rem;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: space-between;
            min-height: var(--navbar-height);
            flex-shrink: 0;
        }

        .sidebar-brand {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .sidebar-brand-text {
            font-family: var(--font-heading);
            font-weight: 700;
            font-size: 1.1rem;
            color: var(--text-primary);
        }

        .sidebar-close {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            background: transparent;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            color: var(--text-secondary);
            cursor: pointer;
            transition: all var(--transition-base);
            font-size: 0.85rem;
        }

        .sidebar-close:hover {
            background: rgba(255, 107, 107, 0.1);
            border-color: var(--danger);
            color: var(--danger);
        }

        .sidebar-label {
            font-family: var(--font-heading);
            font-size: 0.65rem;
            font-weight: 600;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            color: var(--text-muted);
            padding: 1.25rem 1.5rem 0.5rem;
        }

        .sidebar-nav {
            flex: 1;
            padding: 0.5rem 0;
        }

        .sidebar-link {
            display: flex;
            align-items: center;
            gap: 0.85rem;
            padding: 0.65rem 1.5rem;
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 0.88rem;
            font-weight: 500;
            transition: all var(--transition-base);
            position: relative;
            border-left: 2px solid transparent;
        }

        .sidebar-link i {
            width: 20px;
            text-align: center;
            font-size: 0.95rem;
            flex-shrink: 0;
            transition: color var(--transition-fast);
        }

        .sidebar-link:hover {
            color: var(--text-primary);
            background: var(--accent-subtle);
            border-left-color: var(--accent);
        }

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

        .sidebar-link:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: -2px;
        }

        .sidebar-link.active {
            color: var(--accent);
            background: var(--accent-subtle);
            border-left-color: var(--accent);
            box-shadow: inset 0 0 20px rgba(0, 212, 170, 0.03);
        }

        .sidebar-link.active i {
            color: var(--accent);
            filter: drop-shadow(0 0 4px var(--accent-glow));
        }

        .sidebar-footer {
            padding: 1rem 1.5rem;
            border-top: 1px solid var(--border-color);
            flex-shrink: 0;
        }

        .sidebar-footer-text {
            font-size: 0.72rem;
            color: var(--text-muted);
            line-height: 1.5;
        }

        /* ============================================
           OVERLAY
           ============================================ */
        .overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            z-index: 1055;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
            cursor: pointer;
        }

        .overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* ============================================
           MAIN CONTENT
           ============================================ */
        .main-content {
            position: relative;
            z-index: 1;
            margin-top: var(--navbar-height);
            padding: 2rem 1.5rem;
            min-height: calc(100vh - var(--navbar-height));
            animation: pageEnter 0.5s ease both;
        }

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

        /* ============================================
           UTILITY CLASSES - CARDS
           ============================================ */
        .pulse-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 1.5rem;
            transition: all var(--transition-base);
        }

        .pulse-card:hover {
            border-color: rgba(0, 212, 170, 0.15);
        }
        @media (hover: hover) {
            .pulse-card:hover {
                box-shadow: 0 8px 30px var(--shadow-color);
                transform: translateY(-2px);
            }
        }

        .pulse-card-flat {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 1.5rem;
        }

        .pulse-card-accent {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-left: 3px solid var(--accent);
            border-radius: 12px;
            padding: 1.5rem;
            transition: all var(--transition-base);
        }

        .pulse-card-accent:hover {
            box-shadow: 0 4px 20px var(--shadow-color);
        }

        .pulse-card-glass {
            background: rgba(18, 23, 43, 0.5);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 1.5rem;
        }

        [data-theme="light"] .pulse-card-glass {
            background: rgba(255, 255, 255, 0.6);
        }

        /* ============================================
           UTILITY CLASSES - BADGES
           ============================================ */
        .pulse-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
            font-family: var(--font-heading);
            font-size: 0.7rem;
            font-weight: 600;
            letter-spacing: 0.03em;
            padding: 0.25rem 0.65rem;
            border-radius: 6px;
            white-space: nowrap;
        }

        .pulse-badge-accent {
            background: var(--accent-subtle);
            color: var(--accent);
            border: 1px solid rgba(0, 212, 170, 0.2);
        }

        .pulse-badge-secondary {
            background: var(--secondary-subtle);
            color: var(--secondary);
            border: 1px solid rgba(67, 97, 238, 0.2);
        }

        .pulse-badge-tertiary {
            background: var(--tertiary-subtle);
            color: var(--tertiary);
            border: 1px solid rgba(247, 183, 49, 0.2);
        }

        .pulse-badge-danger {
            background: rgba(255, 107, 107, 0.1);
            color: var(--danger);
            border: 1px solid rgba(255, 107, 107, 0.2);
        }

        .pulse-badge-outline {
            background: transparent;
            color: var(--text-secondary);
            border: 1px solid var(--border-color);
        }

        /* ============================================
           UTILITY CLASSES - GRADIENTS
           ============================================ */
        .gradient-accent { background: var(--gradient-accent); }
        .gradient-secondary { background: var(--gradient-secondary); }
        .gradient-tertiary { background: var(--gradient-tertiary); }
        .gradient-danger { background: var(--gradient-danger); }

        .gradient-text-accent {
            background: var(--gradient-accent);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .gradient-text-secondary {
            background: var(--gradient-secondary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* ============================================
           UTILITY CLASSES - BUTTONS
           ============================================ */
        .btn-pulse {
            font-family: var(--font-heading);
            font-weight: 600;
            font-size: 0.82rem;
            letter-spacing: 0.01em;
            padding: 0.55rem 1.25rem;
            border-radius: 8px;
            border: none;
            cursor: pointer;
            transition: all var(--transition-base);
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
        }

        .btn-pulse-primary {
            background: var(--accent);
            color: #0a0e1a;
        }

        .btn-pulse-primary:hover {
            background: var(--accent-hover);
            color: #0a0e1a;
        }
        @media (hover: hover) {
            .btn-pulse-primary:hover {
                transform: translateY(-1px);
                box-shadow: 0 4px 20px rgba(0, 212, 170, 0.3);
            }
        }

        .btn-pulse-outline {
            background: transparent;
            color: var(--accent);
            border: 1px solid var(--accent);
        }

        .btn-pulse-outline:hover {
            background: var(--accent-subtle);
            color: var(--accent-hover);
        }
        @media (hover: hover) {
            .btn-pulse-outline:hover {
                transform: translateY(-1px);
            }
        }

        .btn-pulse-ghost {
            background: transparent;
            color: var(--text-secondary);
            border: 1px solid var(--border-color);
        }

        .btn-pulse-ghost:hover {
            background: var(--bg-card-hover);
            color: var(--text-primary);
            border-color: var(--text-muted);
        }

        /* ============================================
           UTILITY CLASSES - MISC
           ============================================ */
        .text-accent { color: var(--accent) !important; }
        .text-secondary-color { color: var(--secondary) !important; }
        .text-tertiary { color: var(--tertiary) !important; }
        .text-muted-custom { color: var(--text-muted) !important; }
        .text-body-secondary { color: var(--text-secondary) !important; }

        .bg-surface { background: var(--bg-surface); }
        .bg-card { background: var(--bg-card); }

        .border-subtle { border-color: var(--border-color) !important; }

        .font-heading { font-family: var(--font-heading); }
        .font-body { font-family: var(--font-body); }

        .stat-number {
            font-family: var(--font-heading);
            font-weight: 700;
            font-size: 2rem;
            line-height: 1;
            color: var(--text-primary);
        }

        .stat-label {
            font-size: 0.78rem;
            color: var(--text-muted);
            font-weight: 500;
            margin-top: 0.25rem;
        }

        .divider {
            height: 1px;
            background: var(--border-color);
            border: none;
            margin: 1.5rem 0;
        }

        .section-heading {
            font-family: var(--font-heading);
            font-weight: 700;
            font-size: 1.5rem;
            letter-spacing: -0.02em;
            margin-bottom: 1.5rem;
            color: var(--text-primary);
        }

        /* ============================================
           ANIMATIONS
           ============================================ */
        .fade-in {
            animation: fadeIn 0.6s ease both;
        }

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

        .fade-in-delay-1 { animation-delay: 0.1s; }
        .fade-in-delay-2 { animation-delay: 0.2s; }
        .fade-in-delay-3 { animation-delay: 0.3s; }
        .fade-in-delay-4 { animation-delay: 0.4s; }

        /* ============================================
           RESPONSIVE
           ============================================ */
        @media (max-width: 1200px) {
            .nav-center {
                gap: 0;
            }
            .nav-link-item {
                padding: 0.4rem 0.5rem;
                font-size: 0.78rem;
            }
            .nav-dropdown-toggle {
                padding: 0.4rem 0.5rem;
                font-size: 0.78rem;
            }
        }

        @media (max-width: 991px) {
            .nav-center {
                display: none;
            }
        }

        @media (max-width: 768px) {
            .main-content {
                padding: 1rem 0.5rem;
                overflow-x: hidden;
                max-width: 100vw;
            }

            .btn-join-full {
                display: none;
            }

            .btn-join {
                padding: 0.45rem 0.7rem;
            }

            .floating-name {
                display: none;
            }
            .floating-profile {
                padding: 0.4rem;
                bottom: 1rem;
                right: 1rem;
            }

            .logo-text {
                font-size: 1.15rem;
            }

            .pulse-card,
            .pulse-card-flat,
            .pulse-card-accent,
            .pulse-card-glass {
                padding: 1.15rem;
                border-radius: 10px;
            }

            .stat-number {
                font-size: 1.5rem;
            }

            .section-heading {
                font-size: 1.25rem;
            }
        }

        @media (max-width: 576px) {
            :root {
                --sidebar-width: 260px;
            }

            .main-content {
                padding: 1.25rem 0.75rem;
            }

            .navbar-pulse {
                padding: 0 1rem;
            }
        }

        /* ============================================
           FOCUS & ACCESSIBILITY
           ============================================ */
        :focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border-width: 0;
        }

        /* Reduce motion for users who prefer it */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
            html { scroll-behavior: auto; }
        }

        /* Focus visible for accessibility */
        *:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
        }

        /* Standard card hover */
        @media (hover: hover) {
            .pulse-card:hover, .pulse-card-flat:hover {
                transform: translateY(-4px);
                box-shadow: var(--shadow-xl);
            }
        }

        /* Disabled button state */
        button:disabled, .btn-disabled {
            opacity: 0.5;
            cursor: not-allowed;
            pointer-events: none;
        }

        /* ============================================
           BOOTSTRAP OVERRIDES
           ============================================ */
        .table {
            --bs-table-bg: transparent;
            --bs-table-color: var(--text-primary);
            --bs-table-border-color: var(--border-color);
            --bs-table-striped-bg: var(--bg-card);
            --bs-table-hover-bg: var(--bg-card-hover);
        }

        .form-control,
        .form-select {
            background-color: var(--bg-card);
            border-color: var(--border-color);
            color: var(--text-primary);
            border-radius: 8px;
            font-family: var(--font-body);
            font-size: 0.88rem;
            transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
        }

        .form-control:focus,
        .form-select:focus {
            background-color: var(--bg-card);
            border-color: var(--accent);
            color: var(--text-primary);
            box-shadow: 0 0 0 3px var(--accent-subtle);
        }

        .form-control::placeholder {
            color: var(--text-muted);
        }

        .modal-content {
            background-color: var(--bg-card);
            border: 1px solid var(--border-color);
            color: var(--text-primary);
            border-radius: 12px;
        }

        .dropdown-menu {
            background-color: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            box-shadow: 0 8px 30px var(--shadow-color);
        }

        .dropdown-item {
            color: var(--text-secondary);
            font-size: 0.88rem;
            transition: all var(--transition-fast);
        }

        .dropdown-item:hover,
        .dropdown-item:focus {
            background: var(--accent-subtle);
            color: var(--text-primary);
        }

        /* ============================================
           FOOTER
           ============================================ */
        .pulse-footer {
            background: var(--bg-surface);
            border-top: 1px solid var(--border-color);
            padding: 3rem 2rem 1.5rem;
            margin-top: 3rem;
            position: relative;
            z-index: 1;
        }
        .footer-inner {
            max-width: 1200px;
            margin: 0 auto;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
            gap: 2.5rem;
        }
        .footer-heading {
            font-family: var(--font-heading);
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--text-muted);
            margin-bottom: 1rem;
        }
        .footer-brand-logo {
            height: 80px;
            margin-bottom: 0.75rem;
        }
        .footer-brand-text {
            font-size: 0.78rem;
            color: var(--text-secondary);
            line-height: 1.6;
            margin: 0 0 0.75rem 0;
        }
        .footer-location {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            font-size: 0.75rem;
            color: var(--text-muted);
        }
        .footer-location i {
            color: var(--accent);
            font-size: 0.7rem;
        }
        .footer-nav {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .footer-nav a {
            font-size: 0.78rem;
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.15s ease;
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }
        .footer-nav a:hover {
            color: var(--accent);
        }
        .footer-nav a i {
            font-size: 0.65rem;
            width: 14px;
            color: var(--text-muted);
            transition: color 0.15s ease;
        }
        .footer-nav a:hover i {
            color: var(--accent);
        }

        /* Team members */
        .footer-team-member {
            margin-bottom: 1.2rem;
        }
        .footer-team-name {
            font-family: var(--font-heading);
            font-size: 0.82rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.15rem;
        }
        .footer-team-name a {
            color: var(--text-primary);
            text-decoration: none;
            transition: color 0.15s ease;
        }
        .footer-team-name a:hover {
            color: var(--accent);
        }
        .footer-team-name i {
            font-size: 0.7rem;
            color: var(--secondary);
            margin-left: 0.3rem;
        }
        .footer-team-role {
            font-size: 0.7rem;
            font-weight: 600;
            color: var(--accent);
            text-transform: uppercase;
            letter-spacing: 0.04em;
            margin-bottom: 0.2rem;
        }
        .footer-team-bio {
            font-size: 0.72rem;
            color: var(--text-muted);
            line-height: 1.5;
        }

        /* Footer bottom bar */
        .footer-bottom {
            margin-top: 2rem;
            padding-top: 1.2rem;
            border-top: 1px solid var(--border-color);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.75rem;
        }
        .footer-copy {
            font-size: 0.72rem;
            color: var(--text-muted);
        }
        .footer-copy a {
            color: var(--text-secondary);
            text-decoration: none;
        }
        .footer-copy a:hover {
            color: var(--accent);
        }
        .footer-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            font-size: 0.68rem;
            font-weight: 600;
            color: var(--text-muted);
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            padding: 0.3rem 0.7rem;
            border-radius: 20px;
        }
        .footer-badge i {
            color: var(--accent);
        }

        /* Responsive */
        @media (max-width: 991px) {
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 2rem;
            }
        }
        @media (max-width: 576px) {
            .pulse-footer {
                padding: 2rem 1.25rem 1.25rem;
            }
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
        }

        /* ============================================
           PAGINATION
           ============================================ */
        .pagination-nav {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            margin-top: 2.5rem;
            padding: 1rem 0;
            flex-wrap: wrap;
        }

        .page-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 40px;
            height: 40px;
            padding: 0 0.75rem;
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
            background: var(--bg-card);
            color: var(--text-secondary);
            font-family: var(--font-body);
            font-size: var(--text-sm);
            font-weight: 500;
            text-decoration: none;
            transition: all var(--transition-fast);
            cursor: pointer;
        }

        .page-btn:hover {
            border-color: var(--accent);
            color: var(--accent);
            background: var(--accent-subtle);
        }

        .page-btn.active {
            background: var(--accent);
            color: #fff;
            border-color: var(--accent);
            font-weight: 600;
        }

        .page-dots {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 40px;
            height: 40px;
            color: var(--text-muted);
            font-size: var(--text-sm);
            letter-spacing: 2px;
        }

        /* ============================================
           GLOBAL SEARCH
           ============================================ */
        .global-search-wrapper {
            position: relative;
            z-index: 1001;
        }
        .global-search-input-wrap {
            display: flex;
            align-items: center;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 0 0.6rem;
            height: 36px;
            width: 180px;
            max-width: 220px;
            transition: all var(--transition-base);
        }
        .global-search-input-wrap:focus-within {
            width: 280px;
            max-width: 300px;
            border-color: var(--accent);
            box-shadow: 0 0 0 2px var(--accent-subtle);
        }
        .global-search-input-wrap i {
            color: var(--text-muted);
            font-size: var(--text-sm);
            margin-right: 0.4rem;
            flex-shrink: 0;
        }
        .global-search-input-wrap:focus-within i {
            color: var(--accent);
        }
        .global-search-input-wrap input {
            background: transparent;
            border: none;
            outline: none;
            color: var(--text-primary);
            font-family: var(--font-body);
            font-size: var(--text-sm);
            width: 100%;
            padding: 0;
            line-height: 36px;
        }
        .global-search-input-wrap input::placeholder {
            color: var(--text-muted);
        }
        .global-search-results {
            display: none;
            position: absolute;
            top: calc(100% + 6px);
            right: 0;
            width: 340px;
            max-height: 420px;
            overflow-y: auto;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            box-shadow: 0 12px 32px var(--shadow-color);
            padding: 0.5rem 0;
            z-index: 1002;
        }
        .global-search-results.active {
            display: block;
        }
        .global-search-results .search-group-header {
            padding: 0.4rem 0.85rem 0.25rem;
            font-size: var(--text-xs);
            font-weight: 600;
            font-family: var(--font-heading);
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.8px;
        }
        .global-search-results .search-result-item {
            display: flex;
            flex-direction: column;
            padding: 0.5rem 0.85rem;
            text-decoration: none;
            color: var(--text-primary);
            transition: background var(--transition-fast);
            cursor: pointer;
        }
        .global-search-results .search-result-item:hover {
            background: var(--bg-card-hover);
        }
        .global-search-results .search-result-item .result-name {
            font-size: var(--text-sm);
            font-weight: 500;
            color: var(--text-primary);
            line-height: 1.3;
        }
        .global-search-results .search-result-item .result-subtitle {
            font-size: var(--text-xs);
            color: var(--text-secondary);
            margin-top: 1px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .global-search-results .search-no-results {
            padding: 1rem 0.85rem;
            text-align: center;
            color: var(--text-muted);
            font-size: var(--text-sm);
        }
        .global-search-results .search-divider {
            height: 1px;
            background: var(--border-color);
            margin: 0.25rem 0.6rem;
        }

        /* Hide global search on mobile - users use the sidebar */
        @media (max-width: 991px) {
            .global-search-wrapper {
                display: none;
            }
        }

        /* ============================================
           EXPORT BUTTON
           ============================================ */
        .btn-export {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            font-family: var(--font-heading);
            font-size: 0.82rem;
            font-weight: 600;
            color: var(--accent);
            background: transparent;
            border: 1.5px solid var(--accent);
            border-radius: 8px;
            padding: 0.4rem 0.9rem;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.25s ease;
        }

        .btn-export:hover {
            background: var(--accent);
            color: #fff;
        }
        @media (hover: hover) {
            .btn-export:hover {
                box-shadow: 0 4px 14px var(--accent-glow);
                transform: translateY(-1px);
            }
        }

        .btn-export i {
            font-size: 0.78rem;
        }

        /* ============================================
           EXPLORE ALL BUTTON
           ============================================ */
        .btn-explore-all {
            background: linear-gradient(135deg, var(--accent), var(--secondary));
            color: #fff;
            border: none;
            padding: 0.85rem 2.5rem;
            border-radius: 12px;
            font-family: var(--font-heading);
            font-weight: 700;
            font-size: 1rem;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
        }
        .btn-explore-all:hover {
            color: #fff;
        }
        @media (hover: hover) {
            .btn-explore-all:hover {
                transform: translateY(-3px);
                box-shadow: 0 12px 32px rgba(0, 212, 170, 0.35);
            }
        }

        /* ============================================
           BREADCRUMB NAVIGATION
           ============================================ */
        .breadcrumb-nav {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-family: var(--font-body);
            font-size: 0.85rem;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
        }

        .breadcrumb-nav a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .breadcrumb-nav a:hover {
            color: var(--accent);
        }

        .breadcrumb-nav i.fa-chevron-right {
            font-size: 0.55rem;
            color: var(--text-muted);
        }

        .breadcrumb-nav .breadcrumb-current {
            color: var(--text-primary);
            font-weight: 600;
        }

        /* ========== FAVORITES / WATCHLIST ========== */
        .btn-favorite {
            position: absolute;
            top: 0.75rem;
            right: 0.75rem;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 50%;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: var(--text-muted);
            font-size: 0.8rem;
            transition: all 0.2s ease;
            z-index: 5;
            padding: 0;
        }
        .btn-favorite:hover { color: #ff6b6b; border-color: #ff6b6b; }
        .btn-favorite.active { color: #ff6b6b; background: rgba(255, 107, 107, 0.1); border-color: #ff6b6b; }
        .btn-favorite.active i { font-weight: 900; }

        .btn-favorite-detail {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 50%;
            width: 38px;
            height: 38px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: var(--text-muted);
            font-size: 0.95rem;
            transition: all 0.2s ease;
            padding: 0;
            margin-left: 0.75rem;
            vertical-align: middle;
        }
        .btn-favorite-detail:hover { color: #ff6b6b; border-color: #ff6b6b; }
        .btn-favorite-detail.active { color: #ff6b6b; background: rgba(255, 107, 107, 0.1); border-color: #ff6b6b; }
        .btn-favorite-detail.active i { font-weight: 900; }

        .nav-fav-link {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 10px;
            color: var(--text-secondary);
            font-size: 1rem;
            transition: all var(--transition-base);
            text-decoration: none;
        }
        .nav-fav-link:hover { color: #ff6b6b; background: rgba(255, 107, 107, 0.08); }
        .fav-count-badge {
            position: absolute;
            top: -2px;
            right: -4px;
            background: #ff6b6b;
            color: #fff;
            font-size: 0.6rem;
            font-weight: 700;
            min-width: 16px;
            height: 16px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
            padding: 0 3px;
        }

        /* ============================================
           GLOBAL MOBILE FIXES
           ============================================ */
        *, *::before, *::after {
            box-sizing: border-box;
        }
        html, body {
            max-width: 100vw;
            overflow-x: hidden;
        }
        img, video, svg {
            max-width: 100%;
            height: auto;
        }
        @media (max-width: 768px) {
            .main-content {
                padding-left: 0.75rem;
                padding-right: 0.75rem;
                overflow-x: hidden;
            }
            .container {
                padding-left: 0.75rem;
                padding-right: 0.75rem;
                overflow-x: hidden;
                max-width: 100vw;
            }
            .navbar-pulse {
                max-width: 100vw;
                overflow-x: hidden;
            }
            table {
                max-width: 100%;
                overflow-x: auto;
                display: block;
            }
        }
