

        /* ─── Reset & Base ─── */
        *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; font-size: 16px; }

        body {
            background-color: var(--bg-primary);
            color: var(--text-primary);
            font-family: var(--font-body);
            font-size: 1rem;   /* 16px */
            font-weight: 400;
            line-height: 1.6;
            letter-spacing: 0.02em;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            background-image:
                radial-gradient(ellipse at 12% 60%, rgba(204, 51, 0, 0.04) 0%, transparent 55%),
                radial-gradient(ellipse at 88% 30%, rgba(26, 106, 255, 0.04) 0%, transparent 55%),
                radial-gradient(ellipse at 50% 0%,  rgba(201, 162, 39, 0.03) 0%, transparent 50%);
        }

        /* ─── Typography Scaling ─── */
        h1, h2, h3, h4, h5, h6, .Calibri {
            font-family: var(--font-heading);
            font-weight: 700;
            line-height: 1.3;
            letter-spacing: 0.05em;
        }

        h1 { font-size: 3rem;     font-weight: 900; }   /* 48px */
        h2 { font-size: 2rem;     font-weight: 700; }   /* 32px */
        h3 { font-size: 1.5rem;   font-weight: 700; }   /* 24px */
        h4 { font-size: 1.25rem;  font-weight: 600; }   /* 20px */
        h5 { font-size: 1.125rem; font-weight: 600; }   /* 18px */

        /* ─── Global body-text floor: nothing below 15px ─── */
        /* Targets all reading-context elements sitewide.    */
        p, li, label, .description, .body-text,
        .card p, .card li, .card label {
            font-family: var(--font-body);
            font-size: 1rem;   /* 16px floor */
            line-height: 1.6;
        }

        /* Table cells: 15px minimum */
        td, th {
            font-size: 0.9375rem; /* 15px */
        }

        a { color: var(--gold-primary); text-decoration: none; transition: color 0.2s ease; }
        a:hover { color: var(--gold-light); }

        /* ─── Scrollbar ─── */
        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: var(--bg-primary); }
        ::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, var(--fire-primary), var(--ice-primary));
            border-radius: 3px;
        }
        ::-webkit-scrollbar-thumb:hover { background: var(--gold-primary); }

        /* ════════════════════════════════════════════════════════════
           NAVIGATION
           ════════════════════════════════════════════════════════════ */
        .navbar {
            position: sticky;
            top: 0;
            z-index: 1000;
            /* No backdrop-filter here — would create a stacking context that
               traps position:fixed children (drawer/backdrop) inside the navbar.
               The blur is applied via ::before pseudo-element instead. */
            box-shadow: 0 2px 40px rgba(0,0,0,0.8);
        }
        /* Blurred glass background lives on a pseudo-element so the nav itself
           does NOT form a stacking context, allowing the mobile drawer to use
           position:fixed relative to the viewport correctly. */
        .navbar::before {
            content: '';
            position: absolute;
            inset: 0;
            z-index: -1;
            background: rgba(10, 10, 15, 0.97);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
        }

        /* Fire-left / Gold-center / Ice-right accent stripe */
        .navbar::after {
            content: '';
            position: absolute;
            bottom: 0; left: 0; right: 0;
            height: 1px;
            background: linear-gradient(
                90deg,
                transparent 0%,
                var(--fire-primary) 20%,
                var(--gold-primary) 50%,
                var(--ice-primary) 80%,
                transparent 100%
            );
            opacity: 0.65;
        }

        .navbar-inner {
            max-width: 1320px;
            margin: 0 auto;
            padding: 0 24px;
            display: flex;
            align-items: center;
            height: 60px;
        }

        /* ── Logo (standalone wordmark) ── */
        .navbar-logo {
            text-decoration: none;
            display: flex;
            align-items: center;    /* vertically centers image with nav links */
            flex-shrink: 0;
            transition: opacity 0.22s ease, filter 0.22s ease;
        }
        .navbar-logo:hover {
            opacity: 0.90;
            filter: brightness(1.08) drop-shadow(0 0 8px rgba(201, 162, 39, 0.22));
        }

        /* Wordmark image — assets/backgrounds/logo.webp */
        .navbar-logo-img {
            height: 44px;       /* ≈ Tailwind h-11 — sits flush with nav text baseline */
            max-height: 44px;
            width: auto;
            object-fit: contain;
            display: block;
            transition: inherit;    /* inherits opacity + filter from parent */
        }

        /* ── Center zone: stretches to fill space, perfectly centers nav ── */
        .navbar-center {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            min-width: 0;
        }

        /* ── Nav Links ── */
        .navbar-nav { display: flex; align-items: center; gap: 14px; list-style: none; flex-wrap: nowrap; }

        .nav-link {
            font-family: var(--font-heading); /* Calibri */
            font-size: 0.75rem;               /* 12px */
            font-weight: 600;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            color: var(--text-secondary);
            padding: 7px 0;
            border-radius: 3px;
            text-decoration: none;
            white-space: nowrap;
            transition: all 0.25s ease;
            position: relative;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 3px; left: 50%;
            transform: translateX(-50%);
            width: 0; height: 1px;
            transition: width 0.25s ease;
        }

        .nav-link:hover { color: var(--gold-primary); background: rgba(201,162,39,0.05); }
        .nav-link:hover::after { width: 55%; background: var(--gold-primary); }

        .nav-link.active { color: var(--fire-accent); }
        .nav-link.active::after {
            width: 55%;
            background: linear-gradient(90deg, var(--fire-primary), var(--ice-primary));
        }

        /* ── Compact User Status Strip ───────────────────────────────── */
        /* Single pill that groups MC / WCoin / VIP into one tidy row   */
        .user-status-strip {
            display: inline-flex;
            align-items: center;
            height: 34px;
            background: rgba(10, 10, 20, 0.65);
            border: 1px solid rgba(201, 162, 39, 0.16);
            border-radius: 22px;
            overflow: hidden;
            transition: border-color 0.2s ease;
        }
        .user-status-strip:hover { border-color: rgba(201, 162, 39, 0.32); }

        /* Individual stat item inside the strip */
        .stat-chip {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            padding: 0 13px;
            height: 100%;
            font-family: var(--font-heading);
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-decoration: none;
            color: var(--gold-primary);
            transition: background 0.18s ease, color 0.18s ease;
            white-space: nowrap;
        }
        .stat-chip:hover { background: rgba(201, 162, 39, 0.1); color: var(--gold-light); }

        /* VIP variant — animated gold glow */
        .stat-chip-vip {
            padding: 0 11px;
            color: var(--gold-primary);
            animation: vipPulse 2s infinite ease-in-out;
        }
        .stat-chip-vip:hover { background: rgba(201, 162, 39, 0.12); animation: none; }

        .stat-icon { font-size: 0.88rem; line-height: 1; }
        .stat-val  { font-size: 0.78rem; }

        /* Thin separator between items */
        .stat-divider {
            width: 1px;
            height: 18px;
            background: rgba(201, 162, 39, 0.15);
            flex-shrink: 0;
        }

        /* ── Auth Buttons ── */
        .navbar-auth { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

        /* Login = ice outline */
        .btn-nav-login {
            font-family: var(--font-heading);
            font-size: 0.72rem;
            font-weight: 600;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--text-secondary);
            padding: 7px 18px;
            border: 1px solid var(--border-ice);
            border-radius: 3px;
            text-decoration: none;
            transition: all 0.25s ease;
            background: transparent;
        }
        .btn-nav-login:hover {
            color: var(--ice-light);
            border-color: var(--ice-primary);
            background: rgba(26, 106, 255, 0.07);
            box-shadow: var(--glow-ice);
        }

        /* Register = fire gradient */
        .btn-nav-register {
            font-family: var(--font-heading);
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: #fff;
            padding: 7px 18px;
            border-radius: 3px;
            text-decoration: none;
            background: linear-gradient(135deg, var(--fire-accent), var(--fire-primary), #8b1a00);
            border: 1px solid var(--fire-primary);
            transition: all 0.25s ease;
        }
        .btn-nav-register:hover {
            background: linear-gradient(135deg, var(--fire-light), var(--fire-accent), var(--fire-primary));
            box-shadow: var(--glow-fire);
            color: #fff;
            transform: translateY(-1px);
        }

        .nav-user { display: flex; align-items: center; gap: 12px; }
        .nav-username {
            font-family: var(--font-body);   /* Inter */
            font-size: 0.875rem; font-weight: 600;
            letter-spacing: 0.04em;
            color: var(--gold-primary);
            text-transform: uppercase;
        }
        .nav-username::before { content: '▸ '; opacity: 0.6; }

        .btn-logout {
            font-family: var(--font-body);   /* Inter */
            font-size: 0.8125rem; font-weight: 600;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            color: var(--text-secondary);
            padding: 6px 14px;
            border: 1px solid var(--border-fire);
            border-radius: 3px;
            background: transparent;
            cursor: pointer;
            transition: all 0.25s ease;
        }
        .btn-logout:hover {
            color: var(--fire-accent);
            border-color: var(--fire-accent);
            background: rgba(204,51,0,0.08);
            box-shadow: var(--glow-fire);
        }

        /* ════════════════════════════════════════════════════════════
           FLASH MESSAGES
           ════════════════════════════════════════════════════════════ */
        .flash-container { max-width: 1320px; margin: 16px auto 0; padding: 0 24px; }

        .flash-message {
            padding: 12px 20px;
            border-radius: 4px;
            font-size: 0.9375rem; font-weight: 500;
            letter-spacing: 0.03em;
            display: flex; align-items: center; gap: 10px;
            margin-bottom: 10px;
            animation: flashIn 0.3s ease;
        }
        @keyframes flashIn { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }

        .flash-success  { background: rgba(39,174,96,0.12);  border: 1px solid rgba(39,174,96,0.35);  color: #5dca85; }
        .flash-success::before  { content: '✓'; font-size: 1rem; }
        .flash-error    { background: rgba(204,51,0,0.12);   border: 1px solid rgba(204,51,0,0.4);    color: #ff6644; }
        .flash-error::before    { content: '✕'; font-size: 1rem; }
        .flash-warning  { background: rgba(201,162,39,0.1);  border: 1px solid rgba(201,162,39,0.3);  color: var(--gold-primary); }
        .flash-warning::before  { content: '⚠'; font-size: 1rem; }

        /* ════════════════════════════════════════════════════════════
           MAIN CONTENT
           ════════════════════════════════════════════════════════════ */
        .main-content { flex: 1; width: 100%; }

        /* ── Global container — constrains page width in classic layout ── */
        .container {
            max-width: 1140px;
            margin-left: auto;
            margin-right: auto;
            padding-left: 24px;
            padding-right: 24px;
        }

        /* ── Global page hero header — shared by all inner pages ── */
        .page-hero {
            background: linear-gradient(rgba(10,10,15,0.72), rgba(10,10,15,0.92)),
                        url('/assets/backgrounds/bd.webp') center/cover;
            padding: 80px 0 62px;
            text-align: center;
            border-bottom: 1px solid rgba(201,162,39,0.15);
            margin-bottom: 48px;
        }
        .page-hero-badge {
            display: inline-block;
            background: linear-gradient(90deg, var(--fire-primary), var(--gold-primary));
            color: #fff;
            font-size: .7rem;
            font-weight: 700;
            letter-spacing: .14em;
            text-transform: uppercase;
            padding: 5px 16px;
            border-radius: 2px;
            margin-bottom: 16px;
        }
        .page-hero-title {
            font-family: var(--font-heading);
            font-size: 2.7rem;
            color: var(--gold-primary);
            text-transform: uppercase;
            letter-spacing: .1em;
            margin: 0 0 10px;
            text-shadow: 0 0 40px rgba(201,162,39,0.35);
        }
        .page-hero-sub {
            color: var(--text-secondary);
            font-size: .975rem;
            max-width: 560px;
            margin: 0 auto;
            line-height: 1.6;
        }

        /* ════════════════════════════════════════════════════════════
           GLOBAL BUTTONS
           ════════════════════════════════════════════════════════════ */
        /* Primary = Fire gradient */
        .btn-primary {
            font-family: var(--font-heading);
            font-size: 0.78rem; font-weight: 700;
            letter-spacing: 0.12em; text-transform: uppercase;
            color: #fff;
            padding: 12px 30px;
            background: linear-gradient(135deg, var(--fire-accent), var(--fire-primary), #8b1a00);
            border: 1px solid var(--fire-primary);
            border-radius: 3px;
            cursor: pointer; text-decoration: none; display: inline-block;
            transition: all 0.25s ease;
        }
        .btn-primary:hover {
            background: linear-gradient(135deg, var(--fire-light), var(--fire-accent), var(--fire-primary));
            box-shadow: var(--glow-fire); color: #fff; transform: translateY(-1px);
        }

        /* Secondary = Ice gradient */
        .btn-secondary {
            font-family: var(--font-heading);
            font-size: 0.78rem; font-weight: 700;
            letter-spacing: 0.12em; text-transform: uppercase;
            color: #fff;
            padding: 12px 30px;
            background: linear-gradient(135deg, var(--ice-light), var(--ice-primary), #0a3aaa);
            border: 1px solid var(--ice-primary);
            border-radius: 3px;
            cursor: pointer; text-decoration: none; display: inline-block;
            transition: all 0.25s ease;
        }
        .btn-secondary:hover {
            background: linear-gradient(135deg, var(--ice-pale), var(--ice-light), var(--ice-primary));
            box-shadow: var(--glow-ice); color: #fff; transform: translateY(-1px);
        }

        /* Outline = Gold */
        .btn-outline {
            font-family: var(--font-heading);
            font-size: 0.78rem; font-weight: 700;
            letter-spacing: 0.12em; text-transform: uppercase;
            color: var(--gold-primary);
            padding: 11px 29px;
            background: transparent;
            border: 1px solid var(--gold-primary);
            border-radius: 3px;
            cursor: pointer; text-decoration: none; display: inline-block;
            transition: all 0.25s ease;
        }
        .btn-outline:hover {
            background: rgba(201,162,39,0.08);
            box-shadow: var(--glow-gold);
            color: var(--gold-light);
        }

        /* ════════════════════════════════════════════════════════════
           GLOBAL CARDS  (fire/ice alternating border glow on hover)
           ════════════════════════════════════════════════════════════ */
        .card {
            background: var(--bg-secondary);
            border: 1px solid var(--border-color);
            border-radius: 5px;
            padding: 24px;
            position: relative;
            overflow: hidden;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }
        /* Odd  cards → fire glow */
        .card:nth-child(odd):hover  { border-color: var(--border-fire); box-shadow: 0 8px 30px rgba(0,0,0,0.4), 0 0 15px rgba(204,51,0,0.08); }
        /* Even cards → ice glow */
        .card:nth-child(even):hover { border-color: var(--border-ice);  box-shadow: 0 8px 30px rgba(0,0,0,0.4), 0 0 15px rgba(26,106,255,0.08); }

        /* Top accent stripe */
        .card::before {
            content: '';
            position: absolute;
            top: 0; left: 15%; right: 15%;
            height: 1px;
            transition: opacity 0.3s ease;
            opacity: 0;
        }
        .card:nth-child(odd)::before  { background: linear-gradient(90deg, transparent, var(--fire-primary), transparent); }
        .card:nth-child(even)::before { background: linear-gradient(90deg, transparent, var(--ice-primary),  transparent); }
        .card:hover::before { opacity: 1; }

        /* ════════════════════════════════════════════════════════════
           FOOTER
           ════════════════════════════════════════════════════════════ */
        .footer {
            background-color: var(--bg-secondary); /* not shorthand — allows Background Manager override */
            border-top: 1px solid var(--border-color);
            padding: 40px 24px 24px;
            margin-top: auto;
            position: relative;
        }
        /* Fire-left / Gold-center / Ice-right top border — moved to ::after so ::before is free for bg overlay */
        .footer::after {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; height: 1px;
            background: linear-gradient(
                90deg,
                transparent 0%,
                var(--fire-primary) 25%,
                var(--gold-primary) 50%,
                var(--ice-primary) 75%,
                transparent 100%
            );
            opacity: 0.5;
            pointer-events: none;
            z-index: 10;
        }

        .footer-inner {
            max-width: 1320px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 40px;
        }

        .footer-brand .footer-logo {
            font-family: var(--font-heading);
            font-size: 1.05rem; font-weight: 900;
            color: var(--gold-primary);
            letter-spacing: 0.12em; text-transform: uppercase;
            text-shadow: -1px 0 6px rgba(204,51,0,0.4), 1px 0 6px rgba(26,106,255,0.4);
            display: block; margin-bottom: 10px;
        }
        .footer-tagline { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

        .footer-heading {
            font-family: var(--font-heading);
            font-size: 0.7rem; font-weight: 700;
            letter-spacing: 0.15em; text-transform: uppercase;
            color: var(--gold-dark); margin-bottom: 14px;
        }
        .footer-links { list-style: none; display: flex; flex-direction: column; gap: 7px; }
        .footer-links a { font-size: 0.875rem; color: var(--text-secondary); transition: color 0.2s; }
        .footer-links a:hover { color: var(--gold-primary); }

        .footer-bottom {
            max-width: 1320px;
            margin: 32px auto 0;
            padding-top: 20px;
            border-top: 1px solid rgba(201,162,39,0.07);
            display: flex; align-items: center; justify-content: space-between;
        }
        .footer-copy { font-size: 0.8125rem; color: var(--text-secondary); opacity: 0.85; }
        .footer-season {
            font-family: var(--font-body);   /* Inter */
            font-size: 0.75rem; font-weight: 600;
            letter-spacing: 0.12em; text-transform: uppercase;
            color: var(--gold-dark);
        }

        /* ─── Utility ─── */
        .divider-gold {
            border: none; height: 1px;
            background: linear-gradient(90deg, transparent, rgba(201,162,39,0.35), transparent);
            margin: 32px 0;
        }

        /* ─── Keyframes ─── */
        @keyframes borderSweep { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
        @keyframes goldPulse { 0%,100%{box-shadow:0 0 8px rgba(201,162,39,0.2)} 50%{box-shadow:0 0 22px rgba(201,162,39,0.5)} }
        @keyframes vipPulse {
            0% { text-shadow: 0 0 5px rgba(201, 162, 39, 0.2); transform: scale(1); }
            50% { text-shadow: 0 0 15px rgba(201, 162, 39, 0.8), 0 0 25px rgba(201, 162, 39, 0.4); transform: scale(1.05); }
            100% { text-shadow: 0 0 5px rgba(201, 162, 39, 0.2); transform: scale(1); }
        }
        .nav-link-vip {
            color: var(--gold-primary) !important;
            font-weight: 800 !important;
            animation: vipPulse 2s infinite ease-in-out;
        }
        @keyframes firePulse { 0%,100%{box-shadow:0 0 8px rgba(204,51,0,0.2)}  50%{box-shadow:0 0 22px rgba(204,51,0,0.5)} }
        @keyframes icePulse  { 0%,100%{box-shadow:0 0 8px rgba(26,106,255,0.2)} 50%{box-shadow:0 0 22px rgba(26,106,255,0.5)} }
        @keyframes fadeInUp  { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
        @keyframes spin { to { transform: rotate(360deg); } }

        /* ─── Profile Modal ─── */
        .modal-overlay {
            position: fixed; inset: 0; z-index: 2000;
            background: rgba(0,0,0,0.88);
            backdrop-filter: blur(10px);
            display: flex; align-items: center; justify-content: center;
            padding: 20px;
        }
        .modal-container {
            width: 100%; max-width: 820px;
            background: var(--bg-primary);
            border: 1px solid var(--gold-primary);
            border-radius: 5px;
            box-shadow: 0 0 60px rgba(0,0,0,1), var(--glow-gold);
            overflow: hidden;
            display: flex; flex-direction: column;
            max-height: 90vh;
        }
        .modal-header {
            padding: 16px 24px;
            background: var(--bg-secondary);
            border-bottom: 1px solid rgba(201,162,39,0.2);
            display: flex; justify-content: space-between; align-items: center;
        }
        .modal-title { font-family: var(--font-heading); font-size: 0.88rem; color: var(--gold-primary); text-transform: uppercase; letter-spacing: 0.12em; }
        .modal-close { background:none; border:none; color:var(--text-secondary); font-size:1.8rem; cursor:pointer; line-height:1; transition:color 0.2s; }
        .modal-close:hover { color: var(--fire-accent); }
        .modal-body { flex:1; position:relative; background:var(--bg-primary); }
        .modal-iframe { width:100%; height:560px; border:none; display:block; }
        .modal-loader {
            position:absolute; inset:0;
            display:flex; flex-direction:column; align-items:center; justify-content:center;
            background:var(--bg-primary); z-index:5; color:var(--text-secondary);
        }
        .spinner {
            width:40px; height:40px;
            border:3px solid rgba(201,162,39,0.1);
            border-top-color: var(--fire-accent);
            border-right-color: var(--ice-primary);
            border-radius:50%;
            animation: spin 1s linear infinite;
            margin-bottom:15px;
        }

        .fade-in   { animation: fadeIn 0.3s ease-out; }
        .fade-out  { animation: fadeOut 0.2s ease-in; }
        .slide-up  { animation: slideUp 0.3s ease-out; }
        .slide-down{ animation: slideDown 0.2s ease-in; }
        @keyframes fadeIn    { from{opacity:0} to{opacity:1} }
        @keyframes fadeOut   { from{opacity:1} to{opacity:0} }
        @keyframes slideUp   { from{opacity:0;transform:translateY(30px) scale(0.95)} to{opacity:1;transform:translateY(0) scale(1)} }
        @keyframes slideDown { from{opacity:1;transform:translateY(0) scale(1)} to{opacity:0;transform:translateY(30px) scale(0.95)} }

        /* ═══ x-cloak: hide Alpine elements before init ═══ */
        [x-cloak] { display: none !important; }

        /* ════════════════════════════════════════════════════════════
           DROPDOWN MENUS (WORLD / COMMUNITY)
           ════════════════════════════════════════════════════════════ */
        .nav-item-dropdown { position: relative; list-style: none; }

        .nav-dropdown-toggle {
            font-family: var(--font-body);   /* Inter — matches nav-link */
            font-size: 0.875rem; font-weight: 600;
            letter-spacing: 0.04em; text-transform: uppercase;
            color: var(--text-secondary);
            padding: 7px 11px;              /* match .nav-link padding */
            border-radius: 3px;
            border: none; background: transparent;
            cursor: pointer;
            display: flex; align-items: center; gap: 4px;
            white-space: nowrap;
            transition: all 0.25s ease;
        }
        .nav-dropdown-toggle:hover,
        .nav-dropdown-toggle.is-open { color: var(--gold-primary); background: rgba(201,162,39,0.05); }

        .nav-dropdown-arrow {
            font-size: 0.75rem; opacity: 0.7;
            transition: transform 0.2s ease; display: inline-block;
        }
        .nav-dropdown-toggle.is-open .nav-dropdown-arrow { transform: rotate(180deg); }

        .nav-dropdown-menu {
            position: absolute;
            top: calc(100% + 10px); left: 50%;
            transform: translateX(-50%);
            min-width: 190px;
            background: rgba(8, 8, 16, 0.99);
            border: 1px solid rgba(201, 162, 39, 0.28);
            border-radius: 4px;
            box-shadow: 0 12px 40px rgba(0,0,0,0.8), 0 0 0 1px rgba(201,162,39,0.05);
            padding: 6px 0; z-index: 1200;
            animation: ddFadeIn 0.16s ease forwards;
        }
        /* caret pointer */
        .nav-dropdown-menu::before {
            content: '';
            position: absolute; top: -5px; left: 50%; transform: translateX(-50%);
            border: 5px solid transparent;
            border-top: 0; border-bottom-color: rgba(201, 162, 39, 0.28);
        }
        .nav-dropdown-menu a {
            display: flex; align-items: center; gap: 8px;
            padding: 9px 18px;
            font-family: var(--font-body);   /* Inter for dropdown items */
            font-size: 0.875rem; font-weight: 600;
            letter-spacing: 0.03em; text-transform: uppercase;
            color: var(--text-secondary);
            text-decoration: none; white-space: nowrap;
            transition: all 0.15s ease;
        }
        .nav-dropdown-menu a:hover { color: var(--fire-accent); background: rgba(204,51,0,0.08); padding-left: 24px; }
        .nav-dropdown-menu .dropdown-divider { height: 1px; margin: 4px 8px; background: rgba(201,162,39,0.1); }

        @keyframes ddFadeIn {
            from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
            to   { opacity: 1; transform: translateX(-50%) translateY(0); }
        }

        /* ── DONATE CTA link — compact button-style gold pill ── */
        .nav-link-donate {
            color: var(--gold-primary) !important;
            border: 1px solid rgba(201,162,39,0.35) !important;
            background: rgba(201,162,39,0.07) !important;
            border-radius: 4px !important;
        }
        .nav-link-donate:hover {
            background: rgba(201,162,39,0.16) !important;
            border-color: rgba(201,162,39,0.65) !important;
            box-shadow: 0 0 16px rgba(201,162,39,0.28) !important;
            color: var(--gold-light) !important;
            transform: translateY(-1px);
        }
        .nav-link-donate::after { display: none !important; }

        /* ════════════════════════════════════════════════════════════
           SECONDARY NAVIGATION BAR
           Auth-gated — rendered server-side only for logged-in users.
           Not sticky — scrolls away with page.
           Hidden on mobile (folds into hamburger "My Account" section).
           ════════════════════════════════════════════════════════════ */
        @keyframes secondaryNavSlideIn {
            from { opacity: 0; transform: translateY(-10px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        .secondary-nav {
            background: rgba(8, 8, 12, 0.96);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(200, 168, 78, 0.15);
            padding: 0 24px;
            height: 38px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 32px;
            position: sticky;
            top: 60px;
            z-index: 990;
            overflow-x: auto;
            scrollbar-width: none;
            animation: secondaryNavSlideIn 0.45s ease forwards;
        }
        .secondary-nav::-webkit-scrollbar { display: none; }

        .secondary-nav-link {
            font-family: 'Inter', var(--font-body), sans-serif;
            font-size: 0.71875rem; /* 11.5px */
            font-weight: 600;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: #6b6155;
            text-decoration: none;
            transition: color 0.3s;
            padding: 9px 0;
            position: relative;
            white-space: nowrap;
            flex-shrink: 0;
        }
        .secondary-nav-link:hover { color: #c8a84e; }
        .secondary-nav-link.active { color: #a89878; }
        .secondary-nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: #c8a84e;
        }

        @media (max-width: 1100px) {
            /* Hidden when hamburger is active — folds into mobile overlay */
            .secondary-nav { display: none; }
        }

        /* ════════════════════════════════════════════════════════════
           PLAYER MENU (right-side dropdown when logged in)
           ════════════════════════════════════════════════════════════ */
        .player-menu-wrapper { position: relative; }

        .player-menu-btn {
            display: flex; align-items: center; gap: 8px;
            padding: 6px 10px 6px 8px;
            background: rgba(201,162,39,0.06);
            border: 1px solid rgba(201,162,39,0.2);
            border-radius: 4px; cursor: pointer;
            transition: all 0.2s ease;
        }
        .player-menu-btn:hover,
        .player-menu-btn.is-open { background: rgba(201,162,39,0.12); border-color: rgba(201,162,39,0.45); }

        .player-avatar {
            width: 28px; height: 28px; border-radius: 50%;
            background: linear-gradient(135deg, var(--fire-primary), var(--ice-primary));
            display: flex; align-items: center; justify-content: center;
            font-family: var(--font-heading); font-size: 0.72rem; font-weight: 700;
            color: #fff; flex-shrink: 0;
        }
        .player-menu-name {
            font-family: var(--font-body); font-size: 0.875rem; font-weight: 600;
            letter-spacing: 0.04em; color: var(--gold-primary); text-transform: uppercase;
            max-width: 88px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
        }
        .player-menu-chevron {
            font-size: 0.45rem; color: var(--text-secondary);
            transition: transform 0.2s ease; display: inline-block;
        }
        .player-menu-btn.is-open .player-menu-chevron { transform: rotate(180deg); }

        .player-dropdown {
            position: absolute; top: calc(100% + 10px); right: 0;
            min-width: 212px;
            background: rgba(8, 8, 16, 0.99);
            border: 1px solid rgba(201,162,39,0.28);
            border-radius: 4px;
            box-shadow: 0 12px 40px rgba(0,0,0,0.8), 0 0 0 1px rgba(201,162,39,0.05);
            padding: 0 0 6px; z-index: 1200;
            animation: playerDDFadeIn 0.16s ease forwards;
        }
        .player-dropdown::before {
            content: '';
            position: absolute; top: -5px; right: 18px;
            border: 5px solid transparent;
            border-top: 0; border-bottom-color: rgba(201,162,39,0.28);
        }
        .player-dd-header {
            padding: 12px 16px 10px;
            border-bottom: 1px solid rgba(201,162,39,0.12);
            margin-bottom: 4px;
        }
        .player-dd-header-name {
            font-family: var(--font-body); font-size: 0.875rem; font-weight: 700;
            color: var(--gold-primary); letter-spacing: 0.05em; text-transform: uppercase;
        }
        .player-dd-header-status {
            font-size: 0.75rem; color: var(--text-secondary); margin-top: 2px;
        }
        .player-dropdown a,
        .dd-logout-btn {
            display: flex; align-items: center; gap: 9px;
            width: 100%; padding: 9px 16px;
            font-family: var(--font-body); font-size: 0.875rem; font-weight: 600;
            letter-spacing: 0.03em; text-transform: uppercase;
            color: var(--text-secondary);
            text-decoration: none; background: transparent;
            border: none; cursor: pointer;
            transition: all 0.15s ease; text-align: left;
        }
        .player-dropdown a:hover { color: var(--gold-primary); background: rgba(201,162,39,0.07); padding-left: 20px; }
        .dd-logout-btn:hover     { color: var(--fire-accent);  background: rgba(204,51,0,0.08);   padding-left: 20px; }
        .dd-divider { height: 1px; margin: 4px 0; background: rgba(201,162,39,0.1); }

        @keyframes playerDDFadeIn {
            from { opacity: 0; transform: translateY(-6px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        /* .vip-nav-badge removed — VIP is now rendered inside .user-status-strip (.stat-chip-vip) */

        /* ════════════════════════════════════════════════════════════
           MOBILE HAMBURGER + FULL-SCREEN OVERLAY
           ════════════════════════════════════════════════════════════ */
        /* ── Hamburger button ── */
        .nav-hamburger {
            display: none;
            flex-direction: column; gap: 5px;
            cursor: pointer; padding: 9px 10px;
            background: rgba(201,162,39,0.06);
            border: 1px solid rgba(201,162,39,0.22);
            border-radius: 5px; z-index: 1100;
            margin-left: auto;
            transition: background 0.2s, border-color 0.2s;
        }
        .nav-hamburger:hover { background: rgba(201,162,39,0.12); border-color: rgba(201,162,39,0.4); }
        .nav-hamburger span {
            display: block; width: 22px; height: 2px;
            background: var(--gold-primary); border-radius: 2px;
            transition: all 0.28s ease;
        }
        .nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
        .nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
        .nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

        /* ── Backdrop ── */
        /* ── Backdrop ── */
        .mobile-backdrop {
            position: fixed; inset: 0; z-index: 1150;
            background: rgba(0,0,0,0.6);
        }

        /* ── Drawer ── */
        .mobile-overlay {
            position: fixed;
            top: 0; right: 0; bottom: 0;
            width: min(320px, 90vw);
            z-index: 1160;
            background: #0e0e16;
            border-left: 1px solid rgba(201,162,39,0.14);
            box-shadow: -12px 0 48px rgba(0,0,0,0.8);
            display: flex;
            flex-direction: column;
            font-family: 'Calibri', 'Segoe UI', sans-serif;
            animation: drawerSlideIn 0.26s cubic-bezier(0.4,0,0.2,1) forwards;
        }
        @keyframes drawerSlideIn {
            from { transform: translateX(100%); }
            to   { transform: translateX(0); }
        }

        /* Header */
        .mob-header {
            display: flex; align-items: center; justify-content: space-between;
            padding: 18px 24px;
            border-bottom: 1px solid rgba(255,255,255,0.05);
            flex-shrink: 0;
        }
        .mob-header-logo {
            font-family: 'Calibri', 'Segoe UI', sans-serif;
            font-size: 1.1rem; font-weight: 700;
            letter-spacing: 0.04em;
            color: var(--gold-primary);
            text-decoration: none;
        }
        .mob-header-logo span { color: var(--fire-accent); }
        .mob-close {
            display: flex; align-items: center; justify-content: center;
            width: 32px; height: 32px;
            background: none; border: 1px solid rgba(255,255,255,0.1);
            border-radius: 6px; cursor: pointer;
            color: rgba(255,255,255,0.45); font-size: 1rem;
            transition: all 0.18s;
        }
        .mob-close:hover { border-color: rgba(255,255,255,0.25); color: #fff; }

        /* User strip */
        .mob-user-strip {
            padding: 14px 24px;
            border-bottom: 1px solid rgba(255,255,255,0.05);
            background: rgba(201,162,39,0.04);
        }
        .mob-user-name {
            font-size: 0.95rem; font-weight: 700;
            color: var(--gold-primary); letter-spacing: 0.02em;
        }
        .mob-user-mc {
            font-size: 0.78rem; color: rgba(255,255,255,0.35);
            margin-top: 2px;
        }

        /* Body */
        .mob-body { flex: 1; overflow-y: auto; padding-bottom: 16px; }

        /* Section label */
        .mob-section {
            padding: 20px 24px 6px;
            font-size: 0.65rem; font-weight: 700;
            letter-spacing: 0.2em; text-transform: uppercase;
            color: rgba(255,255,255,0.2);
        }

        /* Link */
        .mob-link {
            display: block;
            padding: 10px 24px;
            font-size: 0.88rem; font-weight: 600;
            color: rgba(255,255,255,0.55);
            text-decoration: none;
            letter-spacing: 0.01em;
            transition: color 0.15s, background 0.15s;
            border-radius: 0;
        }
        .mob-link:hover  { color: var(--gold-primary); background: rgba(201,162,39,0.06); }
        .mob-link.active { color: #fff; background: rgba(201,162,39,0.08); }
        .mob-link.donate { color: var(--gold-primary); font-weight: 700; }
        .mob-link.discord { color: #7289da; }

        /* Divider */
        .mob-divider { height: 1px; background: rgba(255,255,255,0.05); margin: 8px 0; }

        /* Footer */
        .mob-footer {
            padding: 16px 24px;
            border-top: 1px solid rgba(255,255,255,0.05);
            flex-shrink: 0;
        }
        .mob-auth-row { display: flex; gap: 8px; }
        .mob-auth-row a, .mob-auth-row button {
            flex: 1; text-align: center;
            font-family: 'Calibri', 'Segoe UI', sans-serif;
            font-size: 0.85rem; font-weight: 700;
            padding: 10px 8px; border-radius: 5px;
            text-decoration: none; cursor: pointer;
            transition: all 0.2s; letter-spacing: 0.02em;
        }
        .mob-btn-login {
            background: transparent;
            border: 1px solid rgba(26,106,255,0.35);
            color: var(--ice-light);
        }
        .mob-btn-login:hover { background: rgba(26,106,255,0.1); border-color: var(--ice-primary); }
        .mob-btn-register {
            background: linear-gradient(135deg, var(--fire-light), var(--fire-primary));
            border: 1px solid transparent; color: #fff;
        }
        .mob-btn-register:hover { filter: brightness(1.1); }
        .mob-btn-logout {
            width: 100%; background: none;
            border: 1px solid rgba(255,255,255,0.08);
            color: rgba(255,255,255,0.35); font-size: 0.82rem;
        }
        .mob-btn-logout:hover { color: #e05555; border-color: rgba(204,51,0,0.3); }

        /* ─── Responsive breakpoints ─── */
        .navbar-auth-btns { display: flex; gap: 10px; }

        @media (max-width: 1400px) {
            .navbar-nav { gap: 14px; }
            .nav-link { font-size: 0.6875rem; letter-spacing: 0.06em; }
        }
        @media (max-width: 1200px) {
            .navbar-nav { gap: 10px; }
            .nav-link { font-size: 0.65rem; letter-spacing: 0.04em; padding: 7px 2px; }
            .stat-chip { padding: 0 9px; font-size: 0.7rem; }
        }
        @media (max-width: 1100px) {
            /* Switch to hamburger — hide desktop nav & user controls */
            .nav-hamburger       { display: flex; }
            .navbar-center       { display: none; }
            .player-menu-wrapper { display: none; }
            .user-status-strip   { display: none; }
            .navbar-auth-btns    { display: none !important; }
        }
        @media (max-width: 768px) {
            /* Shrink the wordmark gracefully on small screens */
            .navbar-logo-img     { height: 34px; max-height: 34px; }
            .footer-inner        { grid-template-columns: 1fr; gap: 24px; }
            .footer-bottom       { flex-direction: column; gap: 8px; text-align: center; }
        }

        /* ════════════════════════════════════════════════════════════
           COUNTDOWN TIMER SYSTEM
           ════════════════════════════════════════════════════════════ */

        /* ── Floating Bar ── */
        #timer-floating-bar { position: relative; z-index: 990; }
        .tmr-floating {
            display: flex; align-items: center; justify-content: space-between;
            padding: 10px 24px; gap: 16px; flex-wrap: wrap;
            font-family: var(--font-body); font-size: 0.875rem;
        }
        .tmr-floating.scheme-dark  { background: rgba(10,10,20,0.98); border-bottom: 1px solid rgba(201,162,39,0.25); }
        .tmr-floating.scheme-red   { background: linear-gradient(90deg, rgba(40,5,5,0.99), rgba(30,5,5,0.99)); border-bottom: 1px solid rgba(204,51,0,0.5); }
        .tmr-floating.scheme-gold  { background: linear-gradient(90deg, rgba(25,20,0,0.99), rgba(30,25,0,0.99)); border-bottom: 1px solid rgba(201,162,39,0.5); }
        .tmr-floating-title {
            font-family: var(--font-heading); font-size: 0.875rem; font-weight: 700;
            color: var(--gold-primary); letter-spacing: 0.06em; text-transform: uppercase;
            white-space: nowrap;
        }
        .tmr-floating.scheme-red  .tmr-floating-title { color: #ff6644; }
        .tmr-floating-units { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
        .tmr-floating-unit  { display: flex; align-items: baseline; gap: 3px; }
        .tmr-floating-num   { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 900; color: #fff; }
        .tmr-floating-lbl   { font-size: 0.6875rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.08em; }
        .tmr-floating-sep   { color: var(--gold-primary); font-size: 1rem; opacity: 0.5; }
        .tmr-floating.scheme-red .tmr-floating-sep { color: #cc3300; }
        .tmr-floating-dismiss {
            background: none; border: 1px solid rgba(255,255,255,0.15);
            color: var(--text-secondary); width: 24px; height: 24px;
            border-radius: 50%; cursor: pointer; font-size: 0.75rem;
            display: flex; align-items: center; justify-content: center;
            flex-shrink: 0; transition: all 0.2s;
        }
        .tmr-floating-dismiss:hover { border-color: rgba(201,162,39,0.5); color: var(--gold-primary); }
        .tmr-expired-msg {
            font-family: var(--font-heading); font-size: 1rem; font-weight: 900;
            letter-spacing: 0.1em; animation: tmrPulse 1.2s ease-in-out infinite;
        }
        @keyframes tmrPulse {
            0%, 100% { opacity: 1; }
            50%       { opacity: 0.6; }
        }

        /* ── Banner (homepage / section) ── */
        .tmr-banner-section { padding: 32px 0; position: relative; overflow: hidden; }
        .tmr-banner-section.scheme-dark  { background: #07070e; border-top: 1px solid rgba(201,162,39,0.08); border-bottom: 1px solid rgba(201,162,39,0.08); }
        .tmr-banner-section.scheme-red   { background: linear-gradient(135deg, #1a0808, #0a0a0f); border-top: 1px solid rgba(204,51,0,0.2); border-bottom: 1px solid rgba(204,51,0,0.2); }
        .tmr-banner-section.scheme-gold  { background: linear-gradient(135deg, #161200, #0a0a0f); border-top: 1px solid rgba(201,162,39,0.2); border-bottom: 1px solid rgba(201,162,39,0.2); }
        .tmr-banner-bg {
            position: absolute; inset: 0;
            background-size: cover; background-position: center;
            opacity: 0.18; pointer-events: none;
        }
        .tmr-banner-inner {
            position: relative; z-index: 1;
            max-width: 1280px; margin: 0 auto; padding: 0 24px;
            text-align: center;
        }
        .tmr-banner-title {
            font-family: var(--font-heading); font-size: 1.5rem; font-weight: 900;
            color: var(--gold-primary); letter-spacing: 0.08em; text-transform: uppercase;
            margin-bottom: 6px; text-shadow: 0 0 30px rgba(201,162,39,0.4);
        }
        .tmr-banner-section.scheme-red  .tmr-banner-title { color: #ff5533; text-shadow: 0 0 30px rgba(204,51,0,0.5); }
        .tmr-banner-desc {
            font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 24px;
            letter-spacing: 0.04em;
        }
        .tmr-units { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
        .tmr-unit  {
            min-width: 80px; padding: 14px 12px;
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(201,162,39,0.2);
            border-radius: 6px; text-align: center;
            position: relative; overflow: hidden;
        }
        .tmr-banner-section.scheme-red .tmr-unit { border-color: rgba(204,51,0,0.3); }
        .tmr-unit::before {
            content: ''; position: absolute; inset: 0;
            background: linear-gradient(180deg, rgba(201,162,39,0.04) 0%, transparent 100%);
            pointer-events: none;
        }
        .tmr-num {
            display: block; font-family: var(--font-heading);
            font-size: 2.6rem; font-weight: 900; line-height: 1;
            color: var(--gold-primary); text-shadow: 0 0 20px rgba(201,162,39,0.5);
            transition: transform 0.15s ease;
        }
        .tmr-banner-section.scheme-red  .tmr-num { color: #ff6644; text-shadow: 0 0 20px rgba(204,51,0,0.6); }
        .tmr-num.flip { animation: tmrFlip 0.2s ease; }
        @keyframes tmrFlip {
            0%   { transform: rotateX(90deg); opacity: 0; }
            100% { transform: rotateX(0deg);  opacity: 1; }
        }
        .tmr-lbl {
            display: block; font-family: var(--font-body); font-size: 0.6875rem;
            color: var(--text-secondary); text-transform: uppercase;
            letter-spacing: 0.12em; margin-top: 6px; font-weight: 600;
        }
        .tmr-banner-expired {
            font-family: var(--font-heading); font-size: 2rem; font-weight: 900;
            color: var(--gold-primary); letter-spacing: 0.15em;
            text-transform: uppercase; padding: 16px 0;
            animation: tmrPulse 1.2s ease-in-out infinite;
            text-shadow: 0 0 40px rgba(201,162,39,0.7);
        }

        /* ── Popup Modal ── */
        #timer-popup-modal.show { display: flex !important; }
        .tmr-popup-box {
            background: var(--bg-secondary);
            border: 1px solid rgba(201,162,39,0.3);
            border-radius: 8px; padding: 36px 40px; max-width: 500px; width: 90%;
            text-align: center; position: relative;
            box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 0 1px rgba(201,162,39,0.08);
        }
        .tmr-popup-close {
            position: absolute; top: 12px; right: 16px;
            background: none; border: none; color: var(--text-secondary);
            font-size: 1.2rem; cursor: pointer; transition: color 0.2s;
        }
        .tmr-popup-close:hover { color: var(--gold-primary); }
        .tmr-popup-title {
            font-family: var(--font-heading); font-size: 1.3rem; font-weight: 900;
            color: var(--gold-primary); letter-spacing: 0.08em; text-transform: uppercase;
            margin-bottom: 8px;
        }
        .tmr-popup-desc { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 24px; }

        @media (max-width: 600px) {
            .tmr-banner-title { font-size: 1.1rem; }
            .tmr-num          { font-size: 1.8rem; }
            .tmr-unit         { min-width: 60px; padding: 10px 8px; }
            .tmr-floating     { padding: 8px 16px; }
            .tmr-floating-num { font-size: 0.95rem; }
        }

        @if($__layoutStyle === 'advanced')
        /* ─── DMNCMS Layout: content + sidebar ─── */
        .mj-layout-page-wrap {
            display: flex;
            align-items: flex-start;
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 24px 20px;
            gap: 22px;
        }
        .mj-layout-content-col {
            flex: 1;
            min-width: 0;
        }
        .mj-layout-sidebar-col {
            width: 300px;
            flex-shrink: 0;
        }
        /* Remove inner padding from main-content when DMNCMS is active */
        .mj-layout-active .main-content {
            padding: 0 !important;
            max-width: none !important;
        }
        @media (max-width: 1100px) {
            .mj-layout-sidebar-col { width: 260px; }
        }
        @media (max-width: 860px) {
            .mj-layout-page-wrap { flex-direction: column; padding: 16px 14px; }
            .mj-layout-sidebar-col { width: 100%; }
        }

        /* ─── DMNCMS Utility Topbar ─── */
        .mj-topbar {
            background: #040508;
            border-bottom: 1px solid rgba(201,162,39,0.1);
            height: 33px;
            display: flex;
            align-items: center;
        }
        .mj-topbar-inner {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 22px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
        }
        .mj-topbar-left, .mj-topbar-right {
            display: flex; align-items: center; gap: 14px;
        }
        .mj-topbar-status {
            font-size: 0.7rem;
            color: var(--text-secondary, #9090a8);
            display: flex; align-items: center; gap: 5px;
        }
        .mj-topbar-sep { color: rgba(255,255,255,0.12); font-size: 0.7rem; }
        .mj-topbar-link {
            font-family: var(--font-heading, 'Calibri', sans-serif);
            font-size: 0.59rem; font-weight: 700; letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--text-secondary, #9090a8);
            text-decoration: none;
            padding: 2px 8px; border-radius: 2px;
            transition: color 0.15s; background: transparent; border: none; cursor: pointer;
        }
        .mj-topbar-link:hover { color: var(--gold-primary, #c9a227); }
        .mj-online-dot {
            display: inline-block; width: 6px; height: 6px; border-radius: 50%;
            background: #27ae60; box-shadow: 0 0 5px rgba(39,174,96,0.8);
            animation: mj-pulse 2s infinite;
        }
        @keyframes mj-pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }

        /* ─── DMNCMS Main Navbar ─── */
        .mj-navbar {
            background: rgba(8, 10, 18, 0.97);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(201,162,39,0.12);
            position: sticky; top: 0; z-index: 1000;
        }
        .mj-navbar::after {
            content: '';
            display: block; height: 2px;
            background: linear-gradient(90deg,
                var(--fire-primary, #cc3300) 0%,
                var(--gold-primary, #c9a227) 50%,
                var(--ice-primary, #1a6aff) 100%);
        }
        .mj-navbar-inner {
            max-width: 1400px; margin: 0 auto; padding: 0 22px;
            display: flex; align-items: center; gap: 12px; height: 58px;
        }
        .mj-logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; margin-right: 8px; }
        .mj-logo-img { height: 38px; width: auto; }
        .mj-nav-list {
            display: flex; list-style: none; gap: 0; margin: 0 auto; padding: 0; flex-wrap: nowrap;
        }
        .mj-nav-link {
            display: block; padding: 8px 11px;
            font-family: var(--font-heading, 'Calibri', sans-serif);
            font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
            color: var(--text-secondary, #9090a8);
            text-decoration: none; border-radius: 3px;
            transition: all 0.18s ease; position: relative; white-space: nowrap;
        }
        .mj-nav-link:hover, .mj-nav-link.active { color: var(--gold-primary, #c9a227); }
        .mj-nav-link.active { background: rgba(201,162,39,0.07); }
        .mj-nav-link::after {
            content: ''; position: absolute;
            bottom: 2px; left: 50%; right: 50%; height: 2px;
            background: var(--gold-primary, #c9a227); border-radius: 1px;
            transition: left .2s, right .2s;
        }
        .mj-nav-link:hover::after, .mj-nav-link.active::after { left: 10px; right: 10px; }
        .mj-nav-link-donate { color: var(--fire-primary, #cc3300) !important; }
        .mj-nav-link-donate::after { background: var(--fire-primary, #cc3300); }
        .mj-nav-link-donate.active { background: rgba(204,51,0,0.08); }

        /* ─── DMNCMS Navbar Right Zone ─── */
        .mj-navbar-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
        .mj-btn-auth {
            padding: 6px 15px;
            font-family: var(--font-heading, 'Calibri', sans-serif);
            font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
            border-radius: 3px; text-decoration: none; transition: all 0.2s;
        }
        .mj-btn-login {
            color: var(--text-primary, #e8e8f0);
            border: 1px solid rgba(255,255,255,0.14); background: transparent;
        }
        .mj-btn-login:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.28); }
        .mj-btn-register {
            background: linear-gradient(135deg, #e8c547, #c9a227);
            color: #0a0a0f; box-shadow: 0 2px 10px rgba(201,162,39,0.3);
        }
        .mj-btn-register:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201,162,39,0.5); }
        .mj-mc-badge {
            display: flex; align-items: center; gap: 5px;
            padding: 5px 13px;
            background: rgba(201,162,39,0.09);
            border: 1px solid rgba(201,162,39,0.22);
            border-radius: 20px;
            font-family: var(--font-heading, 'Calibri', sans-serif);
            font-size: 0.6875rem; font-weight: 700;
            color: var(--gold-primary, #c9a227);
            text-decoration: none; transition: all 0.2s;
        }
        .mj-mc-badge:hover { background: rgba(201,162,39,0.18); }
        .mj-player-wrap { position: relative; }
        .mj-player-btn {
            display: flex; align-items: center; gap: 7px;
            padding: 6px 12px;
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 4px; cursor: pointer;
            color: var(--text-primary, #e8e8f0); transition: all 0.18s;
        }
        .mj-player-btn:hover { background: rgba(255,255,255,0.08); border-color: rgba(201,162,39,0.3); }
        .mj-player-av {
            width: 28px; height: 28px; border-radius: 50%;
            background: linear-gradient(135deg, var(--fire-primary, #cc3300), var(--ice-primary, #1a6aff));
            display: flex; align-items: center; justify-content: center;
            font-family: var(--font-heading, 'Calibri', sans-serif);
            font-size: 0.72rem; font-weight: 900; color: #fff; flex-shrink: 0;
        }
        .mj-player-nm {
            font-family: var(--font-heading, 'Calibri', sans-serif);
            font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em;
            text-transform: uppercase; color: var(--gold-primary, #c9a227);
        }
        .mj-caret { color: var(--text-secondary, #9090a8); transition: transform 0.2s; flex-shrink: 0; }
        .mj-player-dd {
            position: absolute; top: calc(100% + 8px); right: 0;
            min-width: 200px;
            background: var(--bg-secondary, #12121a);
            border: 1px solid rgba(201,162,39,0.2);
            border-radius: 5px; overflow: hidden;
            box-shadow: 0 8px 32px rgba(0,0,0,0.65); z-index: 9999;
        }
        .mj-dd-item {
            display: flex; align-items: center; gap: 8px; width: 100%;
            padding: 10px 16px;
            font-family: var(--font-heading, 'Calibri', sans-serif);
            font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
            color: var(--text-secondary, #9090a8);
            text-decoration: none; transition: all 0.15s;
            background: transparent; border: none; text-align: left; cursor: pointer;
        }
        .mj-dd-item:hover { background: rgba(201,162,39,0.08); color: var(--gold-primary, #c9a227); }
        .mj-dd-sep { height: 1px; background: rgba(255,255,255,0.05); margin: 4px 0; }
        .mj-dd-logout { color: rgba(204,51,0,0.7) !important; }
        .mj-dd-logout:hover { color: #cc3300 !important; background: rgba(204,51,0,0.08) !important; }
        .mj-hamburger {
            display: none; flex-direction: column; gap: 4px;
            padding: 8px 10px; background: transparent;
            border: 1px solid rgba(255,255,255,0.12); border-radius: 3px;
            cursor: pointer; transition: border-color 0.2s;
        }
        .mj-hamburger:hover { border-color: var(--gold-primary, #c9a227); }
        .mj-hamburger span {
            display: block; width: 18px; height: 2px;
            background: var(--text-primary, #e8e8f0); border-radius: 1px;
            transition: background 0.2s;
        }
        .mj-hamburger:hover span { background: var(--gold-primary, #c9a227); }
        .mj-mobile-menu {
            background: rgba(8,10,18,0.98);
            border-top: 1px solid rgba(201,162,39,0.1);
            padding: 12px 20px 16px;
            display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px;
        }
        .mj-mob-link {
            display: block; padding: 9px 12px; border-radius: 3px;
            font-family: var(--font-heading, 'Calibri', sans-serif);
            font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
            color: var(--text-secondary, #9090a8);
            text-decoration: none; background: transparent; border: none;
            width: 100%; text-align: left; cursor: pointer; transition: all 0.15s;
        }
        .mj-mob-link:hover { color: var(--gold-primary, #c9a227); background: rgba(201,162,39,0.06); }
        .mj-mob-sep { grid-column: 1/-1; height: 1px; background: rgba(255,255,255,0.05); margin: 6px 0; }

        /* ─── DMNCMS Footer ─── */
        .mj-footer {
            background-color: #040508; /* not shorthand — allows Background Manager override */
            border-top: 1px solid rgba(201,162,39,0.1);
            margin-top: auto;
            position: relative;
        }
        /* Gradient stripe moved to ::after so ::before is free for background overlay */
        .mj-footer::after {
            content: ''; display: block; height: 2px;
            background: linear-gradient(90deg,
                var(--fire-primary, #cc3300),
                var(--gold-primary, #c9a227),
                var(--ice-primary, #1a6aff));
            position: absolute;
            top: 0; left: 0; right: 0;
            pointer-events: none;
            z-index: 10;
        }
        .mj-footer-top { padding: 42px 0 36px; }
        .mj-footer-inner {
            max-width: 1400px; margin: 0 auto; padding: 0 22px;
            display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
        }
        .mj-footer-logo {
            font-family: var(--font-heading, 'Calibri', sans-serif);
            font-size: 1.25rem; font-weight: 900;
            color: var(--gold-primary, #c9a227);
            letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px;
        }
        .mj-footer-tagline { font-size: 0.78rem; color: var(--text-secondary, #9090a8); line-height: 1.6; margin-bottom: 14px; }
        .mj-footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
        .mj-footer-badge {
            font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em;
            padding: 3px 10px; border-radius: 12px;
            background: rgba(201,162,39,0.1); border: 1px solid rgba(201,162,39,0.2);
            color: var(--gold-primary, #c9a227);
        }
        .mj-footer-heading {
            font-family: var(--font-heading, 'Calibri', sans-serif);
            font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
            color: var(--gold-primary, #c9a227);
            margin-bottom: 14px; padding-bottom: 8px;
            border-bottom: 1px solid rgba(201,162,39,0.12);
        }
        .mj-footer-links { list-style: none; display: flex; flex-direction: column; gap: 7px; }
        .mj-footer-links a {
            font-size: 0.75rem; color: var(--text-secondary, #9090a8);
            text-decoration: none; transition: color 0.15s;
        }
        .mj-footer-links a:hover { color: var(--text-primary, #e8e8f0); }
        .mj-footer-bottom {
            padding: 16px 22px;
            border-top: 1px solid rgba(255,255,255,0.04);
            display: flex; justify-content: space-between; align-items: center;
            max-width: 1400px; margin: 0 auto;
            font-size: 0.6875rem; color: rgba(144,144,168,0.5);
        }

        /* ─── DMNCMS Responsive ─── */
        @media (max-width: 1100px) {
            .mj-nav-link { padding: 8px 8px; font-size: 0.58rem; }
        }
        @media (max-width: 900px) {
            .mj-nav-list { display: none; }
            .mj-hamburger { display: flex; }
            .mj-topbar { display: none; }
            .mj-footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
        }
        @media (max-width: 600px) {
            .mj-mobile-menu { grid-template-columns: 1fr; }
            .mj-footer-inner { grid-template-columns: 1fr; }
            .mj-footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
        }

        @elseif($__layoutStyle === 'portal')
        /* ══════════════════════════════════════════════════════
           PORTAL TEMPLATE — CSS
        ══════════════════════════════════════════════════════ */
        body { display: block; }

        /* ─── Auth Strip ─── */
        .portal-auth-strip {
            background: rgba(4,5,10,0.98);
            border-bottom: 1px solid rgba(201,162,39,0.08);
            padding: 5px 20px;
            display: flex; align-items: center; justify-content: flex-end; gap: 14px;
            font-size: 0.6875rem; color: var(--text-secondary, #9090a8);
        }
        .portal-auth-strip a {
            color: var(--gold-primary, #c9a227); text-decoration: none;
            font-weight: 600; font-size: 0.6875rem; transition: opacity 0.15s;
        }
        .portal-auth-strip a:hover { opacity: 0.8; }
        .portal-auth-strip button {
            background: none; border: none; cursor: pointer; padding: 0;
            color: rgba(204,51,0,0.7); font-size: 0.6875rem; transition: color 0.15s;
        }
        .portal-auth-strip button:hover { color: #cc3300; }
        .portal-auth-sep { color: rgba(255,255,255,0.15); }

        /* ─── Banner ─── */
        .portal-banner {
            width: 100%; overflow: hidden; position: relative;
            background: linear-gradient(180deg, #050710 0%, #0a0d1e 50%, #050710 100%);
            max-height: 240px;
        }
        .portal-banner-img {
            width: 100%; height: 240px; object-fit: cover;
            object-position: center 20%; display: block;
        }
        .portal-banner-fallback {
            height: 200px;
            background:
                radial-gradient(ellipse at 30% 50%, rgba(204,51,0,0.12) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 50%, rgba(26,106,255,0.12) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 50%, rgba(201,162,39,0.08) 0%, transparent 60%),
                linear-gradient(180deg, #040608 0%, #080c18 100%);
            display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px;
        }
        .portal-banner-logo-text {
            font-family: var(--font-heading, 'Calibri', sans-serif);
            font-size: 3.5rem; font-weight: 900; letter-spacing: 0.08em;
            color: var(--gold-primary, #c9a227);
            text-shadow: 0 0 40px rgba(201,162,39,0.6), 0 0 80px rgba(201,162,39,0.2);
        }
        .portal-banner-subtitle {
            font-family: var(--font-heading, 'Calibri', sans-serif);
            font-size: 0.75rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase;
            color: rgba(201,162,39,0.5);
        }

        /* ─── Portal Navigation (icon tabs) ─── */
        .portal-nav-wrap {
            background: rgba(5,7,14,0.98);
            border-top: 1px solid rgba(201,162,39,0.15);
            border-bottom: 2px solid rgba(201,162,39,0.12);
            position: sticky; top: 0; z-index: 1000;
        }
        .portal-nav-wrap::after {
            content: ''; display: block; height: 1px;
            background: linear-gradient(90deg, transparent, rgba(201,162,39,0.3), transparent);
        }
        .portal-nav {
            max-width: 1200px; margin: 0 auto;
            display: flex; align-items: stretch; justify-content: center;
        }
        .portal-nav a {
            display: flex; flex-direction: column; align-items: center; justify-content: center;
            padding: 11px 20px; min-width: 80px;
            font-family: var(--font-heading, 'Calibri', sans-serif);
            font-size: 0.56rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
            color: var(--text-secondary, #9090a8); text-decoration: none;
            border-right: 1px solid rgba(201,162,39,0.07);
            transition: all 0.18s ease; position: relative; white-space: nowrap;
        }
        .portal-nav a:first-child { border-left: 1px solid rgba(201,162,39,0.07); }
        .portal-nav a:hover, .portal-nav a.active {
            background: rgba(201,162,39,0.07); color: var(--gold-primary, #c9a227);
        }
        .portal-nav a::after {
            content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
            background: var(--gold-primary, #c9a227);
            transform: scaleX(0); transition: transform 0.2s ease;
        }
        .portal-nav a:hover::after, .portal-nav a.active::after { transform: scaleX(1); }
        .portal-nav-icon { font-size: 1.25rem; margin-bottom: 4px; line-height: 1; }
        .portal-nav-donate a { color: var(--fire-primary, #cc3300) !important; }
        .portal-nav-donate a::after { background: var(--fire-primary, #cc3300) !important; }
        .portal-nav-donate a:hover { background: rgba(204,51,0,0.08) !important; }

        /* ─── Flash messages in portal ─── */
        .portal-flash { max-width: 1200px; margin: 10px auto 0; padding: 0 14px; }

        /* ─── 3-Column Body ─── */
        .portal-body { flex: 1; background: var(--bg-primary, #0a0a0f); }
        .portal-body-inner {
            max-width: 1200px; margin: 0 auto; padding: 16px 14px;
            display: grid;
            grid-template-columns: 250px 1fr 210px;
            gap: 14px; align-items: start;
        }
        .portal-no-sidebars { grid-template-columns: 1fr !important; }
        .portal-left  { grid-column: 1; }
        .portal-main  { grid-column: 2; min-width: 0; }
        .portal-right { grid-column: 3; }

        /* ─── Portal Widgets ─── */
        .portal-widget {
            background: var(--bg-secondary, #12121a);
            border: 1px solid rgba(201,162,39,0.12);
            border-radius: 4px; overflow: hidden; margin-bottom: 12px;
        }
        .portal-widget-hd {
            display: flex; align-items: center; justify-content: center; gap: 8px;
            padding: 9px 14px;
            background: linear-gradient(135deg, rgba(201,162,39,0.07) 0%, rgba(201,162,39,0.04) 100%);
            border-bottom: 1px solid rgba(201,162,39,0.1);
            position: relative;
        }
        .portal-widget-hd::before {
            content: ''; position: absolute; bottom: 0; left: 0; width: 40%;
            height: 1px; background: linear-gradient(90deg, transparent, rgba(201,162,39,0.35));
        }
        .portal-widget-hd::after {
            content: ''; position: absolute; bottom: 0; right: 0; width: 40%;
            height: 1px; background: linear-gradient(270deg, transparent, rgba(201,162,39,0.35));
        }
        .portal-widget-title {
            font-family: var(--font-heading, 'Calibri', sans-serif);
            font-size: 0.6875rem; font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase;
            color: var(--gold-primary, #c9a227);
        }
        .portal-widget-gem { font-size: 0.45rem; color: rgba(201,162,39,0.45); }
        .portal-widget-body { padding: 10px 12px; }

        /* ─── Account Panel ─── */
        .portal-account-form { display: flex; flex-direction: column; gap: 7px; }
        .portal-account-input {
            width: 100%; padding: 8px 11px;
            background: rgba(255,255,255,0.04); border: 1px solid rgba(201,162,39,0.15);
            border-radius: 3px; color: var(--text-primary, #e8e8f0);
            font-family: var(--font-body); font-size: 0.78rem; transition: border-color 0.15s;
        }
        .portal-account-input:focus { outline: none; border-color: rgba(201,162,39,0.4); }
        .portal-account-input::placeholder { color: var(--text-secondary, #9090a8); font-size: 0.72rem; }
        .portal-account-btn {
            width: 100%; padding: 9px;
            background: linear-gradient(135deg, #1c1c2e, #2a2a3e);
            border: 1px solid rgba(201,162,39,0.3); border-radius: 3px;
            font-family: var(--font-heading, 'Calibri', sans-serif);
            font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
            color: var(--gold-primary, #c9a227); cursor: pointer; transition: all 0.18s ease;
        }
        .portal-account-btn:hover { background: linear-gradient(135deg, #2a2a3e, #3a3a4e); box-shadow: 0 0 10px rgba(201,162,39,0.15); }
        .portal-account-links { display: flex; justify-content: space-between; }
        .portal-account-link { font-size: 0.6875rem; color: var(--text-secondary, #9090a8); text-decoration: none; transition: color 0.15s; }
        .portal-account-link:hover { color: var(--gold-primary, #c9a227); }

        /* ─── Logged-In Panel ─── */
        .portal-user-panel { text-align: center; padding: 4px 0; }
        .portal-user-av {
            width: 42px; height: 42px; border-radius: 50%; margin: 0 auto 8px;
            background: linear-gradient(135deg, var(--fire-primary, #cc3300), var(--ice-primary, #1a6aff));
            display: flex; align-items: center; justify-content: center;
            font-family: var(--font-heading); font-size: 1rem; font-weight: 900; color: #fff;
            box-shadow: 0 0 16px rgba(201,162,39,0.2);
        }
        .portal-user-name {
            font-family: var(--font-heading, 'Calibri', sans-serif);
            font-size: 0.78rem; font-weight: 700; color: var(--gold-primary, #c9a227); margin-bottom: 3px;
        }
        .portal-user-mc { font-size: 0.6875rem; color: var(--text-secondary, #9090a8); margin-bottom: 10px; }
        .portal-user-links { display: flex; flex-direction: column; gap: 2px; }
        .portal-user-link {
            display: block; padding: 6px 8px; border-radius: 3px;
            font-family: var(--font-heading, 'Calibri', sans-serif);
            font-size: 0.58rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
            color: var(--text-secondary, #9090a8);
            text-decoration: none; transition: all 0.15s;
            background: transparent; border: none; cursor: pointer; width: 100%; text-align: left;
        }
        .portal-user-link:hover { background: rgba(201,162,39,0.07); color: var(--gold-primary, #c9a227); }

        /* ─── Rankings Table in Sidebar ─── */
        .portal-rank-hd {
            display: grid; grid-template-columns: 22px 1fr 36px 32px;
            padding: 4px 4px;
            font-family: var(--font-heading, 'Calibri', sans-serif);
            font-size: 0.52rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
            color: rgba(201,162,39,0.35);
            border-bottom: 1px solid rgba(255,255,255,0.04); margin-bottom: 3px;
        }
        .portal-rank-row {
            display: grid; grid-template-columns: 22px 1fr 36px 32px;
            padding: 5px 4px; border-radius: 2px; align-items: center; transition: background 0.12s;
        }
        .portal-rank-row:hover { background: rgba(201,162,39,0.05); }
        .portal-rank-num {
            font-family: var(--font-heading); font-size: 0.6875rem; font-weight: 700;
            color: rgba(201,162,39,0.35); text-align: center;
        }
        .portal-rank-num.t1{color:#f1c40f} .portal-rank-num.t2{color:#95a5a6} .portal-rank-num.t3{color:#e67e22}
        .portal-rank-name {
            font-family: var(--font-heading); font-size: 0.6875rem; font-weight: 700;
            color: var(--text-primary, #e8e8f0); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
        }
        .portal-rank-val { font-size: 0.6875rem; color: var(--text-secondary, #9090a8); text-align: right; }
        .portal-rank-rst { font-size: 0.6875rem; color: var(--fire-primary, #cc3300); text-align: right; }
        .portal-rank-more {
            display: flex; justify-content: space-between; margin-top: 7px;
            padding-top: 6px; border-top: 1px solid rgba(255,255,255,0.04);
        }
        .portal-rank-more a {
            font-family: var(--font-heading); font-size: 0.57rem;
            color: var(--text-secondary, #9090a8); text-decoration: none; transition: color 0.15s;
        }
        .portal-rank-more a:hover { color: var(--gold-primary, #c9a227); }

        /* ─── Right Sidebar CTAs ─── */
        .portal-cta-download {
            display: block; width: 100%; padding: 14px 10px; text-align: center;
            text-decoration: none; border-radius: 4px; margin-bottom: 8px;
            background: linear-gradient(135deg, #2ecc71, #27ae60, #1a8a48);
            border: 1px solid rgba(39,174,96,0.3);
            font-family: var(--font-heading, 'Calibri', sans-serif);
            font-size: 0.6875rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase;
            color: #fff; transition: all 0.2s; box-shadow: 0 3px 12px rgba(39,174,96,0.25);
        }
        .portal-cta-download:hover { transform: translateY(-1px); box-shadow: 0 5px 20px rgba(39,174,96,0.45); }
        .portal-cta-register {
            display: block; width: 100%; padding: 14px 10px; text-align: center;
            text-decoration: none; border-radius: 4px; margin-bottom: 8px;
            background: linear-gradient(135deg, var(--fire-accent, #ff4500), var(--fire-primary, #cc3300), #9a1f00);
            border: 1px solid rgba(204,51,0,0.3);
            font-family: var(--font-heading, 'Calibri', sans-serif);
            font-size: 0.6875rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase;
            color: #fff; transition: all 0.2s; box-shadow: 0 3px 12px rgba(204,51,0,0.25);
        }
        .portal-cta-register:hover { transform: translateY(-1px); box-shadow: 0 5px 20px rgba(204,51,0,0.45); }
        .portal-cta-icon { font-size: 1.4rem; display: block; margin-bottom: 3px; }
        .portal-cta-main { font-size: 0.75rem; display: block; }
        .portal-cta-sub { font-size: 0.57rem; opacity: 0.7; display: block; margin-top: 2px; }

        /* ─── Fast Links ─── */
        .portal-fast-links { display: flex; flex-direction: column; }
        .portal-fast-link {
            display: flex; align-items: center; gap: 7px;
            padding: 7px 10px; border-bottom: 1px solid rgba(255,255,255,0.03);
            font-family: var(--font-heading, 'Calibri', sans-serif);
            font-size: 0.58rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
            color: var(--text-secondary, #9090a8); text-decoration: none; transition: all 0.15s;
        }
        .portal-fast-link:last-child { border-bottom: none; }
        .portal-fast-link:hover { background: rgba(201,162,39,0.06); color: var(--gold-primary, #c9a227); padding-left: 14px; }
        .portal-fast-link-arrow { font-size: 0.6875rem; color: rgba(201,162,39,0.3); margin-left: auto; flex-shrink: 0; }

        /* ─── Portal Footer ─── */
        .portal-footer {
            background-color: rgba(4,5,10,0.98); /* not shorthand — allows Background Manager override */
            border-top: 1px solid rgba(201,162,39,0.1);
            padding: 18px 20px; text-align: center;
            font-size: 0.6875rem; color: var(--text-secondary, #9090a8);
            position: relative;
        }
        /* Gradient stripe moved to ::after so ::before is free for background overlay */
        .portal-footer::after {
            content: ''; display: block; height: 2px;
            background: linear-gradient(90deg, transparent 0%, var(--fire-primary, #cc3300) 25%, var(--gold-primary, #c9a227) 50%, var(--ice-primary, #1a6aff) 75%, transparent 100%);
            position: absolute;
            top: 0; left: 0; right: 0;
            pointer-events: none;
            z-index: 10;
        }
        .portal-footer-links { display: flex; justify-content: center; gap: 18px; margin-top: 8px; flex-wrap: wrap; }
        .portal-footer-links a { font-size: 0.6875rem; color: var(--text-secondary, #9090a8); text-decoration: none; transition: color 0.15s; }
        .portal-footer-links a:hover { color: var(--gold-primary, #c9a227); }

        /* ─── Portal Responsive ─── */
        @media (max-width: 1024px) {
            .portal-body-inner { grid-template-columns: 240px 1fr; }
            .portal-right { display: none; }
            .portal-nav a { min-width: 68px; padding: 10px 12px; }
        }
        @media (max-width: 768px) {
            .portal-body-inner { grid-template-columns: 1fr; }
            .portal-left { display: none; }
            .portal-banner-logo-text { font-size: 2rem; }
            .portal-nav a { min-width: 56px; padding: 8px 8px; font-size: 0.52rem; }
            .portal-nav-icon { font-size: 1rem; }
        }
        @media (max-width: 500px) {
            .portal-nav { flex-wrap: wrap; }
            .portal-nav a { min-width: calc(25% - 2px); border-right: none; }
        }
        @endif
    