/* Shared Avengers CO theme for public-facing pages */
:root {
    --av-bg: #040912;
    --av-panel: #081321;
    --av-panel-strong: #050d18;
    --av-gold: #d8b36a;
    --av-gold-soft: #f2d995;
    --av-blue: #369fff;
    --av-ink: #e9edf4;
    --av-muted: #9ca7b8;
    --av-line: rgba(216, 179, 106, .34);
}

html,
body {
    background: var(--av-bg);
    color: var(--av-ink);
}

body {
    font-family: Rajdhani, sans-serif;
}

.nav-glass {
    background: linear-gradient(180deg, rgba(3, 8, 16, .98), rgba(4, 12, 22, .94));
    border-bottom: 1px solid var(--av-line);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .38);
}

.nav-glass::after {
    background: linear-gradient(90deg, transparent, rgba(54, 159, 255, .75), rgba(216, 179, 106, .75), transparent);
}

.nav-link {
    color: #d9e0ea;
    font-family: Cinzel, serif;
    letter-spacing: .08em;
}

.nav-link:hover,
.nav-link--active {
    color: var(--av-gold-soft) !important;
    text-shadow: 0 0 14px rgba(54, 159, 255, .35);
}

.nav-dropdown,
.glass-panel {
    border: 1px solid var(--av-line);
    border-radius: 3px;
    background: linear-gradient(145deg, rgba(8, 20, 34, .98), rgba(3, 9, 17, .98));
    box-shadow: 0 14px 36px rgba(0, 0, 0, .48);
}

.nav-cta,
.btn-glow,
.btn-glow-gold {
    border-radius: 3px;
    border: 1px solid rgba(216, 179, 106, .55);
    background: linear-gradient(180deg, #174e8d, #071a34);
    box-shadow: inset 0 0 0 1px rgba(54, 159, 255, .2), 0 6px 18px rgba(0, 0, 0, .3);
}

.nav-cta:hover,
.btn-glow:hover,
.btn-glow-gold:hover {
    border-color: var(--av-gold-soft);
    background: linear-gradient(180deg, #246bb6, #0a2648);
}

.page-shell,
.epic-content {
    background: linear-gradient(180deg, rgba(4, 9, 18, .72), var(--av-bg));
}

.site-footer {
    background: #03070e;
    border-top: 1px solid var(--av-line);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--av-blue);
    outline-offset: 3px;
}

@media (max-width: 700px) {
    .nav-glass__inner {
        height: 64px;
    }

    .nav-glass__logo {
        height: 72px;
    }
}

/* Global visual system shared with the redesigned homepage. */
:root {
    --av-bg: #01050b;
    --av-bg-raised: #030a13;
    --av-panel: #06101d;
    --av-panel-strong: #020812;
    --av-blue: #188dff;
    --av-blue-soft: #62bdff;
    --av-gold: #c69a58;
    --av-gold-soft: #ead0a0;
    --av-ink: #f0e8dc;
    --av-muted: #a9b3c2;
    --av-line: rgba(198, 154, 88, .48);
}

html,
body {
    background: #01050b;
    color: var(--av-ink);
}

.epic-bg {
    background: url('/images/news/v2/news-background.webp') center top / cover fixed no-repeat !important;
    filter: none !important;
}

.epic-content,
.page-shell {
    background: transparent !important;
}

/* The generated navigation artwork is now the canonical site navigation. */
@media (min-width: 1024px) {
.nav-glass {
    position: relative !important;
    inset: auto !important;
    z-index: 50;
    height: 116px !important;
    overflow: visible;
    background: url('/images/generated/nav-frame.webp') center top / 100% 116px no-repeat !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.nav-glass::before,
.nav-glass::after,
.nav-glass__brand {
    display: none !important;
}

.nav-glass > div {
    max-width: none !important;
    padding-inline: 0 !important;
}

.nav-glass__inner {
    position: relative;
    display: block !important;
    height: 108px !important;
    padding: 0 !important;
}

.nav-glass__inner > .hidden.lg\:flex {
    position: absolute;
    top: 4px;
    left: 24.2%;
    width: 55%;
    height: 78px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    padding-inline: 24px !important;
}

.nav-link,
.nav-cta {
    position: relative;
    padding: 24px 20px 20px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #e5d3b4 !important;
    font-family: Cinzel, serif;
    font-size: .72rem !important;
    font-weight: 600 !important;
    letter-spacing: .055em;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link--active,
.nav-cta:hover {
    color: #fff2d4 !important;
    text-shadow: 0 0 12px rgba(24, 141, 255, .72);
}

.nav-link--active::before {
    content: '';
    position: absolute;
    right: 25%;
    bottom: 9px;
    left: 25%;
    height: 1px;
    background: var(--av-blue);
    box-shadow: 0 0 8px var(--av-blue);
}

.nav-glass__inner > .nav-actions {
    position: absolute !important;
    top: 5px !important;
    right: 2.0vw !important;
    width: 180px !important;
    min-width: 180px !important;
    height: 66px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

.nav-glass__inner > .nav-actions > .relative {
    position: absolute !important;
    top: 8px !important;
    left: -85px !important;
    width: 68px !important;
    height: 48px !important;
}

.nav-glass__inner > .nav-actions > .relative > button {
    width: 68px !important;
    height: 48px !important;
    justify-content: center;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    color: #dac39b !important;
}

.nav-btn-login {
    position: absolute !important;
    inset: 0 !important;
    width: 180px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #ead6b2 !important;
    font-family: Cinzel, serif;
    text-transform: uppercase;
}

.nav-btn-register {
    display: none !important;
}
}

.nav-dropdown,
.glass-panel,
.panel-dark,
.card,
.auth-card,
.dashboard-card {
    border: 1px solid var(--av-line) !important;
    border-radius: 3px !important;
    background: linear-gradient(145deg, rgba(6, 16, 29, .98), rgba(2, 8, 18, .98)) !important;
    box-shadow: inset 0 0 18px rgba(24, 141, 255, .05), 0 8px 18px rgba(0, 0, 0, .38) !important;
}

input,
select,
textarea {
    border-color: rgba(198, 154, 88, .38) !important;
    border-radius: 3px !important;
    background-color: rgba(2, 8, 18, .94) !important;
    color: var(--av-ink) !important;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--av-blue) !important;
    box-shadow: 0 0 0 2px rgba(24, 141, 255, .18) !important;
}

.btn-glow,
.btn-glow-gold,
button[type='submit'],
.btn-primary {
    border: 1px solid rgba(198, 154, 88, .7) !important;
    border-radius: 3px !important;
    background: linear-gradient(180deg, #0c4c99, #041a45) !important;
    color: #f3e5ca !important;
    box-shadow: inset 0 0 12px rgba(24, 141, 255, .26) !important;
}

.site-footer {
    background: rgba(1, 8, 15, .96) !important;
    position: relative;
    padding: 8px 0;
}
.site-footer__frame {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-style: solid;
    border-color: transparent;
    border-image-source: url('/images/news/v2/panel-frame.webp');
    border-image-slice: 90 fill;
    border-image-outset: 0;
    border-image-repeat: stretch;
    border-width: 25px;
    border-image-width: 25px;
    pointer-events: none;
}
.site-footer__inner {
    position: relative;
    z-index: 1;
    padding: 1.25rem 1rem 1rem;
    text-align: center;
}
.site-footer__brand {
    margin-bottom: 1.75rem;
}
.site-footer__brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}
.site-footer__logo {
    height: 2.75rem;
    width: auto;
    filter: drop-shadow(0 0 14px rgba(212,175,55,0.35));
    transition: transform 0.3s ease;
}
.site-footer__brand-link:hover .site-footer__logo {
    transform: scale(1.05);
}
.site-footer__name {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: rgba(212,175,55,0.75);
    letter-spacing: 0.04em;
}
.site-footer__tagline {
    font-size: 0.75rem;
    color: rgba(180,150,150,0.45);
    max-width: 22rem;
    margin: 0 auto;
    line-height: 1.5;
}
.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 0.5rem;
    margin-bottom: 1.5rem;
}
.site-footer__nav-link {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #f3e5ca;
    text-transform: uppercase;
    padding: 0.5rem 1.1rem;
    background: linear-gradient(180deg, #091325 0%, #030814 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 2px 5px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-footer__nav-link:hover {
    color: #ffffff;
    border-color: #d4af37;
    background: linear-gradient(180deg, #0d203f 0%, #07122b 100%);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.4), inset 0 1px 0 rgba(255,255,255,0.1);
    transform: translateY(-2px);
}
.site-footer__social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}
.site-footer__social-btn {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: rgba(243, 229, 202, 0.7);
    background: linear-gradient(180deg, #091325 0%, #030814 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Discord */
.site-footer__social-btn[title*="Discord"]:hover,
.site-footer__social-btn[href*="discord"]:hover {
    color: #ffffff;
    border-color: #5865F2;
    background: linear-gradient(180deg, #5865F2 0%, #030814 100%);
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.7), inset 0 1px 0 rgba(255,255,255,0.2);
    transform: translateY(-3px);
}
/* Facebook */
.site-footer__social-btn[title*="Facebook"]:hover,
.site-footer__social-btn[href*="facebook"]:hover {
    color: #ffffff;
    border-color: #1877F2;
    background: linear-gradient(180deg, #1877F2 0%, #030814 100%);
    box-shadow: 0 0 15px rgba(24, 119, 242, 0.7), inset 0 1px 0 rgba(255,255,255,0.2);
    transform: translateY(-3px);
}
/* YouTube */
.site-footer__social-btn[title*="YouTube"]:hover,
.site-footer__social-btn[href*="youtube"]:hover {
    color: #ffffff;
    border-color: #FF0000;
    background: linear-gradient(180deg, #FF0000 0%, #030814 100%);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.7), inset 0 1px 0 rgba(255,255,255,0.2);
    transform: translateY(-3px);
}
/* WhatsApp */
.site-footer__social-btn[title*="WhatsApp"]:hover,
.site-footer__social-btn[href*="wa.me"]:hover,
.site-footer__social-btn[href*="whatsapp"]:hover {
    color: #ffffff;
    border-color: #25D366;
    background: linear-gradient(180deg, #25D366 0%, #030814 100%);
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.7), inset 0 1px 0 rgba(255,255,255,0.2);
    transform: translateY(-3px);
}
.site-footer__discord-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: 0.5rem;
    padding: 0.4rem 0.85rem;
    border-radius: 0.375rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(200,180,180,0.6);
    border: 1px solid rgba(255,255,255,0.08);
    transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
[dir="rtl"] .site-footer__discord-link {
    margin-left: 0;
    margin-right: 0.5rem;
}
.site-footer__discord-link:hover {
    color: #D4AF37;
    border-color: rgba(212,175,55,0.25);
    transform: translateY(-1px);
}
.site-footer__separator {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.1), transparent);
    margin-bottom: 1.25rem;
}
.site-footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
@media (min-width: 640px) {
    .site-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}
.site-footer__copy {
    font-size: 0.6875rem;
    color: rgba(180,150,150,0.4);
}
.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.6875rem;
    color: rgba(180,150,150,0.4);
}
.site-footer__legal a {
    color: rgba(180,150,150,0.45);
    transition: color 0.2s;
}
.site-footer__legal a:hover { color: #D4AF37; }
.site-footer__legal strong {
    color: rgba(212,175,55,0.6);
    font-weight: 700;
}
.site-footer__dot {
    color: rgba(212,175,55,0.2);
}

@media (max-width: 1023px) {
    .nav-glass {
        height: 68px !important;
        background: linear-gradient(180deg, rgba(3, 9, 18, .99), rgba(1, 5, 11, .98)) !important;
        border-bottom: 1px solid var(--av-line) !important;
    }

    .nav-glass__inner {
        height: 66px !important;
        display: flex !important;
        padding-inline: 16px !important;
    }

    .nav-glass__inner > .hidden.lg\:flex {
        display: none !important;
    }

    .nav-glass__inner > .nav-actions {
        position: static !important;
        width: auto !important;
        min-width: 0 !important;
        height: 66px !important;
        display: flex !important;
        margin-left: auto;
        gap: 8px !important;
    }

    .nav-glass__inner > .nav-actions > .relative {
        position: relative !important;
        inset: auto !important;
        width: auto !important;
    }

    .nav-btn-login {
        position: static !important;
        width: auto !important;
        height: 42px !important;
        padding-inline: 14px !important;
    }

    .nav-glass__brand {
        display: flex !important;
        align-items: center !important;
        height: 100% !important;
        margin-right: 12px;
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: auto !important;
    }

    .nav-glass__logo {
        height: 48px !important;
        width: auto !important;
        max-height: 48px !important;
        object-fit: contain !important;
    }
}

h1,
h2,
h3,
h4,
.font-heading {
    font-family: Cinzel, serif !important;
    color: #e8c98f;
}

p,
label,
input,
select,
textarea,
button,
a {
    font-family: Rajdhani, sans-serif;
}

#winners-toast {
    display: none !important;
}

/* Keep the homepage world visibly present behind every public/account surface. */
html,
body {
    min-height: 100%;
    background-color: #01050b !important;
    background-image: url('/images/news/v2/news-background.webp') !important;
    background-position: center top !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
}

.epic-bg {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 0 !important;
    background-image: url('/images/news/v2/news-background.webp') !important;
    background-position: center top !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    filter: none !important;
    opacity: 1 !important;
}

.epic-content,
body > .relative,
body > main,
.page-shell {
    position: relative;
    z-index: 1;
    background: transparent !important;
}

.epic-content > main:not(.nw-page),
.epic-content > .flex-grow {
    background: transparent !important;
}

/* Global typography palette: old gray/yellow utilities inherit the new brand system. */
body,
p,
li,
dd,
td,
th,
label {
    color: var(--av-muted);
}

h1,
h2,
h3,
h4,
h5,
h6,
legend,
.font-heading,
.text-gold-300,
.text-gold-400,
.text-gold-500,
.text-yellow-300,
.text-yellow-400,
.text-yellow-500 {
    color: var(--av-gold-soft) !important;
    font-family: Cinzel, serif !important;
}

.text-white,
.text-gray-100,
.text-gray-200,
.text-slate-100,
.text-slate-200 {
    color: var(--av-ink) !important;
}

.text-gray-300,
.text-gray-400,
.text-slate-300,
.text-slate-400 {
    color: #b7c0cd !important;
}

.text-gray-500,
.text-gray-600,
.text-slate-500,
.text-slate-600 {
    color: #8793a5 !important;
}

a:not(.nav-link):not(.nav-cta):not(.nav-btn-login):not(.nav-btn-register) {
    color: #d9be8a;
}

a:not(.nav-link):not(.nav-cta):hover {
    color: var(--av-blue-soft);
}

.border-white\/5,
.border-white\/10,
.border-gray-700,
.border-gray-800,
.border-slate-700,
.border-slate-800 {
    border-color: rgba(198, 154, 88, .3) !important;
}

.bg-gray-900,
.bg-gray-900\/50,
.bg-gray-800,
.bg-slate-900,
.bg-slate-800,
.bg-black\/20,
.bg-black\/30,
.bg-black\/40 {
    background-color: rgba(3, 11, 22, .82) !important;
}

table,
thead,
tbody,
.table-shell {
    border-color: rgba(198, 154, 88, .28) !important;
}

/* Specificity fixes for inner pages that also use Tailwind's flex utilities. */
@media (min-width: 1024px) {
    .nav-glass__inner > .nav-glass__brand {
        position: absolute !important;
        top: 30px !important;
        left: 8vw !important;
        right: auto !important;
        inset-inline: auto !important;
        z-index: 70 !important;
        width: 140px !important;
        min-width: 140px !important;
        height: 100px !important;
        display: flex !important;
        padding: 0 !important;
        background: transparent !important;
    }
}

@media (min-width: 1024px) {
    .nav-actions {
        position: absolute !important;
        top: 5px !important;
        right: 2.0vw !important;
        width: 180px !important;
        min-width: 180px !important;
        height: 66px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 0 10px !important;
    }

    .nav-actions > .nav-language {
        position: absolute !important;
        top: 8px !important;
        left: -85px !important;
        width: 68px !important;
        height: 48px !important;
    }

    .nav-actions > .relative:not(.nav-language) {
        position: relative !important;
        inset: auto !important;
        width: auto !important;
        height: auto !important;
        flex: 0 0 auto;
    }

    .nav-actions > .nav-btn-login {
        position: absolute !important;
        inset: 3px 0 auto !important;
        margin: auto !important;
    }
}

/* Brand placement, shared world background, and guest/auth surfaces. */
.epic-bg {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: -2 !important;
    opacity: 1 !important;
}

body {
    background: url('/images/news/v2/news-background.webp') center top / cover fixed no-repeat !important;
}

.epic-content,
.page-shell {
    background: transparent !important;
}

.nav-glass__brand {
    position: absolute !important;
    top: 30px !important;
    left: 8vw !important;
    right: auto !important;
    z-index: 70 !important;
    width: 140px !important;
    height: 100px !important;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
}

.nav-glass__brand .nav-glass__logo {
    width: 140px !important;
    height: auto !important;
    max-height: 100px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .86)) !important;
    transform: none !important;
    top: 0 !important;
}

.guest-nav-links {
    position: absolute !important;
    top: 4px !important;
    left: 24.2% !important;
    width: 55% !important;
    height: 78px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
}

.glass-panel {
    background: linear-gradient(145deg, rgba(4, 14, 27, .97), rgba(1, 7, 15, .97)) !important;
    border: 1px solid rgba(198, 154, 88, .68) !important;
    border-radius: 3px !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: inset 0 0 24px rgba(24, 141, 255, .08), 0 12px 30px rgba(0, 0, 0, .58) !important;
}

.auth-label {
    color: #b9c1cd !important;
    font-family: Rajdhani, sans-serif !important;
}

.auth-input {
    border: 1px solid rgba(198, 154, 88, .46) !important;
    border-radius: 3px !important;
    background: rgba(1, 8, 18, .94) !important;
    color: #f0e8dc !important;
}

.auth-input:focus {
    border-color: #188dff !important;
    background: rgba(2, 12, 26, .98) !important;
    box-shadow: 0 0 0 2px rgba(24, 141, 255, .18), inset 0 0 12px rgba(24, 141, 255, .08) !important;
}

.auth-btn {
    border: 1px solid rgba(224, 183, 108, .76) !important;
    border-radius: 3px !important;
    background: linear-gradient(180deg, #1268c9, #04235b) !important;
    color: #f6ead4 !important;
    box-shadow: inset 0 0 14px rgba(60, 169, 255, .36), 0 5px 12px rgba(0, 0, 0, .4) !important;
}

.auth-btn:hover {
    background: linear-gradient(180deg, #2085ec, #073374) !important;
}

@media (max-width: 1023px) {
    .nav-glass__brand {
        top: 64px !important;
        left: 14px !important;
        width: 130px !important;
        height: 90px !important;
    }

    .nav-glass__brand .nav-glass__logo {
        width: 130px !important;
        max-height: 90px !important;
    }

    .guest-nav-links {
        display: none !important;
    }
}


/* ==========================================================================
   Premium Fantasy MMORPG UI Redesign Overrides
   ========================================================================== */

/* Section: Discover Avengers CO */
.av-discover {
    width: 890px !important;
    max-width: 100% !important;
    margin: 0 auto 18px !important;
    height: auto !important;
    min-height: 176px !important;
    background-image: url('/images/generated/discover-frame.png?v=12') !important;
    background-position: center center !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    clip-path: none !important;
    padding: 16px 14px 20px !important;
    margin: 0 auto 18px !important;
    overflow: visible !important;
}
.av-discover::before, .av-discover::after {
    display: none !important;
}
.av-discover .av-title {
    border-bottom: 0 !important;
    padding: 0 0 12px 0 !important;
    text-align: center !important;
}
.av-discover .av-title h2 {
    font-size: 1.35rem !important;
    color: #dfc18b !important;
    text-transform: uppercase !important;
}
.av-discover .av-title p {
    font-size: 0.72rem !important;
    color: #bfc3ca !important;
    text-transform: uppercase !important;
    margin-top: 2px !important;
}

/* Feature Items */
.av-features {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}
.av-feature {
    display: flex !important;
    flex-direction: row !important;
    gap: 6px !important;
    padding: 2px 4px !important;
    border-right: 1px solid rgba(175, 126, 57, 0.15) !important;
    align-items: center !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}
.av-feature > div {
    min-width: 0 !important;
    flex: 1 !important;
}
.av-feature:last-child {
    border-right: 0 !important;
}
.av-feature > span.av-feature-icon {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
    border: 0 !important;
    clip-path: none !important;
    box-shadow: none !important;
    display: block !important;
}
.av-feature h3 {
    color: #e6c48a !important;
    font-size: 11px !important;
    margin: 0 !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
    margin-bottom: 2px !important;
}
.av-feature p {
    font-size: 10px !important;
    line-height: 1.2 !important;
    color: #bdc2cb !important;
    margin: 0 !important;
    letter-spacing: -0.2px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

/* Section: Triad Panels (News, Server Status, Events) */
.av-triad > .av-frame {
    height: 295px !important;
    min-height: 295px !important;
    background: url('/images/generated/panel-frame.webp?v=12') center/100% 100% no-repeat !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    clip-path: none !important;
    overflow: hidden !important;
}
.av-triad > .av-frame::before, .av-triad > .av-frame::after {
    display: none !important;
}

/* Column 1: Latest News */
.av-news {
    padding-bottom: 8px !important;
}
.av-news .av-panel-title h2 {
    color: #dfc18b !important;
    font-family: 'Cinzel', serif !important;
    text-transform: uppercase !important;
}
.av-news__item {
    grid-template-columns: 80px 1fr !important;
    gap: 10px !important;
    padding: 6px 12px !important;
    border-bottom: 1px solid rgba(175, 126, 57, 0.15) !important;
}
.av-news__item:last-child {
    border-bottom: 0 !important;
}
.av-news__item img {
    width: 80px !important;
    height: 54px !important;
    object-fit: cover !important;
    border: 1px solid rgba(44, 142, 255, 0.3) !important;
    box-shadow: 0 0 8px rgba(44, 142, 255, 0.2) !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}
.av-news__item:hover img {
    border-color: rgba(44, 142, 255, 0.6) !important;
    box-shadow: 0 0 12px rgba(44, 142, 255, 0.4) !important;
}
.av-news__item strong {
    text-transform: uppercase !important;
    font-size: 0.8rem !important;
    line-height: 1.1 !important;
    color: #e6c48a !important;
}
.av-news__item small {
    text-transform: uppercase !important;
    color: #79baff !important;
    font-size: 0.6rem !important;
    margin-top: 1px !important;
    margin-bottom: 2px !important;
    letter-spacing: 0.5px !important;
}
.av-news__item p {
    font-size: 0.68rem !important;
    line-height: 1.1 !important;
    color: #bcc3cf !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Column 2: Server Status Realm panel */
.av-realm {
    padding-bottom: 8px !important;
}
.av-realm header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin-bottom: 2px !important;
}
.av-realm header h2 {
    color: #dfc18b !important;
    text-transform: uppercase !important;
    font-family: 'Cinzel', serif !important;
    font-size: 1.25rem !important;
    margin: 0 !important;
    letter-spacing: 1px !important;
}
.av-realm-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #5be05b;
    text-transform: uppercase;
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    font-weight: 600;
    margin: 2px 0 0 0 !important;
    text-shadow: 0 0 8px rgba(91, 224, 91, 0.4) !important;
}
.av-realm-status i {
    width: 6px !important;
    height: 6px !important;
    background: #5be05b !important;
    border-radius: 50% !important;
    display: inline-block !important;
    box-shadow: 0 0 6px #5be05b !important;
    margin-right: 2px !important;
    margin-left: 2px !important;
}
.av-realm-status::before {
    content: "" !important;
    display: inline-block !important;
    width: 16px !important;
    height: 10px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10' width='16' height='10'%3E%3Cpath fill='%23dfc18b' d='M0,5 C3,1 8,2 12,5 C8,8 3,9 0,5 Z M4,5 C6,3 9,4 11,5 C9,6 6,7 4,5 Z M14,5 A1.5,1.5 0 1,1 11,5 A1.5,1.5 0 1,1 14,5 Z'/%3E%3C/svg%3E") center/contain no-repeat !important;
    vertical-align: middle !important;
    margin-right: 6px !important;
}
.av-realm-status::after {
    content: "" !important;
    display: inline-block !important;
    width: 16px !important;
    height: 10px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10' width='16' height='10'%3E%3Cpath fill='%23dfc18b' d='M0,5 C3,1 8,2 12,5 C8,8 3,9 0,5 Z M4,5 C6,3 9,4 11,5 C9,6 6,7 4,5 Z M14,5 A1.5,1.5 0 1,1 11,5 A1.5,1.5 0 1,1 14,5 Z'/%3E%3C/svg%3E") center/contain no-repeat !important;
    vertical-align: middle !important;
    margin-left: 6px !important;
    transform: scaleX(-1) !important;
}
.av-realm__banner-wrapper {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    height: 105px !important;
    padding: 0 !important;
    margin: 4px 0 0 0 !important;
}
.av-realm__banner {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-block: 1px solid rgba(175, 126, 57, 0.25) !important;
    margin: 0 !important;
    padding: 0 !important;
}
.av-realm__rates {
    display: grid;
    grid-template-columns: repeat(5, 1fr) !important;
    border-top: 1px solid rgba(175, 126, 57, 0.2) !important;
    border-bottom: 1px solid rgba(175, 126, 57, 0.2) !important;
    margin: 8px 0 0 0 !important;
    background: rgba(1, 6, 13, 0.3);
}
.av-realm__rates span {
    padding: 6px 2px !important;
    border-right: 1px solid rgba(175, 126, 57, 0.15) !important;
}
.av-realm__rates span:last-child {
    border-right: 0 !important;
}
.av-realm__rates small {
    font-size: 0.58rem !important;
    color: #8997aa !important;
}
.av-realm__rates strong {
    font-size: 0.95rem !important;
    color: #dfc18b !important;
}
.av-green-text {
    color: #5be05b !important;
    text-shadow: 0 0 8px rgba(91, 224, 91, 0.4);
}
.av-btn-details {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 210px !important;
    height: 32px !important;
    margin: 8px auto 0 !important;
    background: url('/images/generated/btn-server-details.png?v=12') center/100% 100% no-repeat !important;
    border: 0 !important;
    color: #e9dec8 !important;
    font-family: 'Cinzel', serif;
    font-size: 0.72rem !important;
    text-transform: uppercase;
    transition: filter 0.2s, transform 0.2s;
    clip-path: none !important;
    box-shadow: none !important;
    padding: 0 0 0 4px !important;
    line-height: 32px !important;
    flex: 0 0 210px !important;
    max-width: 210px !important;
}
.av-btn-details:hover {
    filter: brightness(1.2) !important;
    transform: translateY(-1px) !important;
    color: #fff !important;
}

/* Column 3: Events panel */
.av-events .av-panel-title h2 {
    color: #dfc18b !important;
    font-family: 'Cinzel', serif !important;
    text-transform: uppercase !important;
}
.av-event {
    display: grid;
    grid-template-columns: 36px 1fr 80px !important;
    align-items: center;
    gap: 8px !important;
    margin: 0 12px !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid rgba(175, 126, 57, 0.15) !important;
}
.av-event:last-child {
    border-bottom: 0 !important;
}
.av-event-icon {
    width: 36px !important;
    height: 36px !important;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
}
.av-event div strong {
    color: #e6c48a !important;
    font-size: 0.78rem !important;
    text-transform: uppercase;
    white-space: nowrap;
    display: block !important;
}
.av-event div small {
    color: #79baff !important;
    font-size: 0.58rem !important;
    margin-top: 0px !important;
    display: block !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
.av-event div p {
    color: #dfc18b !important;
    font-size: 0.6rem !important;
    margin-top: 1px !important;
    font-family: 'Cinzel', serif;
    display: block !important;
    letter-spacing: 0.5px !important;
}
.av-event > a.av-btn-join {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 80px !important;
    height: 28px !important;
    background: url('/images/generated/btn-join-event.png?v=12') center/100% 100% no-repeat !important;
    border: 0 !important;
    color: #e9dec8 !important;
    font-family: 'Cinzel', serif;
    font-size: 0.58rem !important;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: filter 0.2s, transform 0.2s;
    padding: 0 !important;
    line-height: 28px !important;
    box-shadow: none !important;
    clip-path: none !important;
    flex: 0 0 80px !important;
    max-width: 80px !important;
}
.av-event > a.av-btn-join:hover {
    filter: brightness(1.2) !important;
    transform: translateY(-1px) !important;
    color: #fff !important;
}

/* Section: Path of Glory */
.av-path {
    width: 988px !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    height: 166px !important;
    min-height: 166px !important;
    background-image: url('/images/generated/path-frame.png?v=12') !important;
    background-position: center center !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    clip-path: none !important;
    margin-top: 12px !important;
    padding: 12px 24px 14px !important;
    overflow: visible !important;
}
.av-path::before, .av-path::after {
    display: none !important;
}
.av-path header.av-title {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    padding: 0 0 4px 0 !important;
    border-bottom: 0 !important;
}
.av-path header.av-title h2 {
    color: #dfc18b !important;
    text-transform: uppercase !important;
    font-family: 'Cinzel', serif !important;
    font-size: 1.25rem !important;
    letter-spacing: 1px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}
.av-path header.av-title h2::before {
    content: "" !important;
    display: inline-block !important;
    width: 18px !important;
    height: 10px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10' width='16' height='10'%3E%3Cpath fill='%23dfc18b' d='M0,5 C3,1 8,2 12,5 C8,8 3,9 0,5 Z M4,5 C6,3 9,4 11,5 C9,6 6,7 4,5 Z M14,5 A1.5,1.5 0 1,1 11,5 A1.5,1.5 0 1,1 14,5 Z'/%3E%3C/svg%3E") center/contain no-repeat !important;
    vertical-align: middle !important;
    margin-right: 8px !important;
}
.av-path header.av-title h2::after {
    content: "" !important;
    display: inline-block !important;
    width: 18px !important;
    height: 10px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10' width='16' height='10'%3E%3Cpath fill='%23dfc18b' d='M0,5 C3,1 8,2 12,5 C8,8 3,9 0,5 Z M4,5 C6,3 9,4 11,5 C9,6 6,7 4,5 Z M14,5 A1.5,1.5 0 1,1 11,5 A1.5,1.5 0 1,1 14,5 Z'/%3E%3C/svg%3E") center/contain no-repeat !important;
    vertical-align: middle !important;
    margin-left: 8px !important;
    transform: scaleX(-1) !important;
}
.av-path__track {
    position: relative;
    width: calc(100% - 32px);
    margin: 2px auto 8px !important;
    height: 12px !important;
    display: flex;
    align-items: center;
}
.av-path__line {
    position: absolute;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, rgba(27, 57, 98, 0.2), #2c8eff, rgba(27, 57, 98, 0.2));
    box-shadow: 0 0 8px rgba(44, 142, 255, 0.4);
    z-index: 1;
}
.av-path__nodes {
    position: absolute;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    z-index: 2;
}
.av-path__node {
    display: flex;
    justify-content: center;
    align-items: center;
}
.av-path__node img {
    width: 14px;
    height: 14px;
    filter: drop-shadow(0 0 6px #2c8eff);
}
.av-path__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    padding: 0 !important;
    gap: 8px !important;
}
.av-path__steps article {
    display: grid !important;
    grid-template-columns: 38% 62% !important;
    background: rgba(2, 8, 15, 0.8) !important;
    border: 1px solid rgba(175, 126, 57, 0.25) !important;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
    height: 70px !important;
    clip-path: none !important;
}
.av-path__steps article:hover {
    transform: translateY(-1px);
    border-color: rgba(175, 126, 57, 0.5) !important;
}
.av-path__steps img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-bottom: 0 !important;
    border-right: 1px solid rgba(175, 126, 57, 0.25) !important;
}
.av-path__steps span {
    padding: 3px 6px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.av-path__steps small {
    color: #8997aa !important;
    font-size: 0.48rem !important;
    text-transform: uppercase;
}
.av-path__steps h3 {
    color: #e6c48a !important;
    font-size: 0.65rem !important;
    margin: 0 !important; line-height: 1.1 !important;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.av-path__steps p {
    font-size: 0.55rem !important;
    color: #bcc3cf !important;
    line-height: 1.1 !important;
    margin-bottom: 1px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.av-path__steps b {
    color: #38b6ff !important;
    font-family: 'Cinzel', serif;
    font-size: 0.52rem !important;
    text-shadow: 0 0 4px rgba(56, 182, 255, 0.3) !important;
    text-transform: uppercase !important;
}

/* ==========================================================================
   Responsive Overrides for Premium Frames
   ========================================================================== */
@media (max-width: 1100px) {
    .av-path__steps {
        grid-template-columns: repeat(2, 1fr) !important;
        height: auto !important;
    }
    .av-path__steps article {
        height: 76px !important;
    }
    .av-path__track {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .av-discover {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto 14px !important;
        background: rgba(2, 8, 15, 0.95) !important;
        border: 1px solid rgba(175, 126, 57, 0.3) !important;
        padding: 14px !important;
        height: auto !important;
        min-height: 0 !important;
    }
    .av-features {
        grid-template-columns: 1fr !important;
    }
    .av-feature {
        border-right: 0 !important;
        border-bottom: 1px solid rgba(175, 126, 57, 0.15) !important;
    }
    .av-triad > .av-frame {
        background: rgba(2, 8, 15, 0.95) !important;
        border: 1px solid rgba(175, 126, 57, 0.3) !important;
        margin-bottom: 14px;
        height: auto !important;
        min-height: 0 !important;
    }
    .av-path {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        background: rgba(2, 8, 15, 0.95) !important;
        border: 1px solid rgba(175, 126, 57, 0.3) !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 14px !important;
    }
    .av-path__steps {
        grid-template-columns: 1fr !important;
    }
    .av-path__steps article {
        height: 76px !important;
    }
}

/* Custom Auth Switcher Styles */
.relative-container {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.nav-btn-text {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ead6b2 !important;
    text-decoration: none !important;
    font-family: 'Cinzel', serif !important;
    font-size: 11px !important;
    font-weight: bold !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    transition: color 0.2s ease !important;
    box-sizing: border-box !important;
}
/* Default offset for text based on locale direction */
html[dir="ltr"] .nav-btn-text {
    padding-right: 20px !important;
}
html[dir="rtl"] .nav-btn-text {
    padding-left: 20px !important;
}

.nav-btn-text:hover {
    color: #ffffff !important;
}

.nav-btn-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 24px !important;
    height: 100% !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    z-index: 10 !important;
}
html[dir="ltr"] .nav-btn-arrow {
    right: 8px !important;
}
html[dir="rtl"] .nav-btn-arrow {
    left: 8px !important;
}

.arrow-icon {
    width: 10px !important;
    height: 10px !important;
    stroke: #ead6b2 !important;
    transition: transform 0.2s ease, stroke 0.2s ease !important;
}
.nav-btn-arrow:hover .arrow-icon {
    stroke: #ffffff !important;
}
.arrow-icon.rotate-180 {
    transform: rotate(180deg) !important;
}

.auth-dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    margin-top: 6px !important;
    width: 140px !important;
    background: linear-gradient(135deg, rgba(10, 8, 20, 0.95) 0%, rgba(14, 10, 26, 0.92) 100%) !important;
    backdrop-filter: blur(20px) saturate(1.5) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
    padding: 4px 0 !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6) !important;
    z-index: 9999 !important;
}
html[dir="ltr"] .auth-dropdown-menu {
    right: 0 !important;
}
html[dir="rtl"] .auth-dropdown-menu {
    left: 0 !important;
}

.auth-dropdown-item {
    display: block !important;
    padding: 8px 16px !important;
    font-size: 11px !important;
    font-weight: bold !important;
    color: #b0a8c5 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
    font-family: 'Cinzel', serif !important;
}
.auth-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #eab308 !important;
}
.auth-dropdown-item.active-item {
    color: #eab308 !important;
    background: rgba(234, 179, 8, 0.08) !important;
}

/* --- Added Custom Premium Global Layout Elements --- */
html, body {
    cursor: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDMyIDMyIj48cGF0aCBkPSJNMiwyIEwxNSw2IEwxMiwxMiBMNiwxNSBaIiBmaWxsPSIjZmY3NzAwIiBvcGFjaXR5PSIwLjMiLz48cGF0aCBkPSJNMiwyIEM2LDEgMTEsNSAxMyw5IEMxMCwxMCA4LDggMiwyIEMxLDYgNSwxMSA5LDEzIEMxMCwxMCA4LDggMiwyIFoiIGZpbGw9IiNmZjU1MDAiIHN0cm9rZT0iI2ZmMzMwMCIgc3Ryb2tlLXdpZHRoPSIwLjUiLz48cGF0aCBkPSJNMiwyIEM1LDEgOSw0IDExLDggQzksOSA3LDcgMiwyIEMxLDUgNCw5IDgsMTEgQzksOSA3LDcgMiwyIFoiIGZpbGw9IiNmZmNjMDAiLz48cGF0aCBkPSJNMiwyIEwxMSw1IEwxMCwxMCBMNSwxMSBaIiBmaWxsPSIjZmZmZmZmIiBvcGFjaXR5PSIwLjgiLz48cGF0aCBkPSJNMiwyIEw5LDkiIHN0cm9rZT0iI2ZmY2MwMCIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBkPSJNNSwxNiBMMTYsNSBMMTgsNyBMNywxOCBaIiBmaWxsPSIjYjQ1MzA5IiBzdHJva2U9IiM0NTFhMDMiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+PHBhdGggZD0iTTEyLDEyIEwyMCwyMCIgc3Ryb2tlPSIjNDUxYTAzIiBzdHJva2Utd2lkdGg9IjIuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+PGNpcmNsZSBjeD0iMjEuNSIgY3k9IjIxLjUiIHI9IjIiIGZpbGw9IiNiNDUzMDkiIHN0cm9rZT0iIzQ1MWEwMyIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48L3N2Zz4=") 2 2, auto !important;
}

a, button, input, select, textarea, [role="button"], .interactive, .st-realm__btn, .btn-glow, .cursor-pointer, [onclick], [type="submit"], [type="button"], a *, button *, [role="button"] * {
    cursor: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDMyIDMyIj48cGF0aCBkPSJNMiwyIEwxNiw3IEwxMywxMyBMNywxNiBaIiBmaWxsPSIjZmYwMDU1IiBvcGFjaXR5PSIwLjQiLz48cGF0aCBkPSJNMiwyIEM2LDEgMTIsNSAxNCwxMCBDMTEsMTEgOSw5IDIsMiBDMSw2IDUsMTIgMTAsMTQgQzExLDExIDksOSAyLDIgWiIgZmlsbD0iI2VmNDQ0NCIgc3Ryb2tlPSIjYjkxYzFjIiBzdHJva2Utd2lkdGg9IjAuNSIvPjxwYXRoIGQ9Ik0yLDIgQzUsMSAxMCw0IDEyLDkgQzEwLDEwIDgsOCAyLDIgQzEsNSA0LDEwIDksMTIgQzEwLDEwIDgsOCAyLDIgWiIgZmlsbD0iI2Y1OWUwYiIvPjxwYXRoIGQ9Ik0yLDIgTDEwLDQgTDksOSBMNCwxMCBaIiBmaWxsPSIjZmZmZmZmIiBvcGFjaXR5PSIwLjk1Ii8+PHBhdGggZD0iTTIsMiBMOSw5IiBzdHJva2U9IiNmZmZmZmYiIHN0cm9rZT0iMS41Ii8+PHBhdGggZD0iTTUsMTYgTDE2LDUgTDE4LDcgTDcsMTggWiIgZmlsbD0iIzdmMWQxZCIgc3Ryb2tlPSIjNDUwYTBhIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjxwYXRoIGQ9Ik0xMiwxMiBMMjAsMjAiIHN0cm9rZT0iIzQ1MGEwYSIgc3Ryb2tlLXdpZHRoPSIyLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjxjaXJjbGUgY3g9IjIxLjUiIGN5PSIyMS41IiByPSIyIiBmaWxsPSIjN2YxZDFkIiBzdHJva2U9IiM0NTBhMGEiIHN0cm9rZT0iMS41Ii8+PC9zdmc+") 2 2, pointer !important;
}

.dev-social-icon {
    display: inline-flex; transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    animation: devIconFloat 3s ease-in-out infinite;
}
.dev-social-icon:nth-child(1) { animation-delay: 0s; }
.dev-social-icon:nth-child(2) { animation-delay: 0.5s; }
.dev-social-icon:nth-child(3) { animation-delay: 1s; }
.dev-social-icon:hover { transform: scale(1.25) translateY(-2px); }
@keyframes devIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: emberRise 10s ease-in-out infinite;
}
@keyframes emberRise {
    0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    10%  { opacity: 0.4; }
    50%  { transform: translateY(-60px) translateX(15px) scale(1.2); opacity: 0.3; }
    80%  { opacity: 0.15; }
    100% { transform: translateY(-120px) translateX(-10px) scale(0.6); opacity: 0; }
}

.light-mote {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
    animation: moteFloat 12s ease-in-out infinite;
}
@keyframes moteFloat {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.08; }
    25%  { transform: translateY(-20px) translateX(10px); opacity: 0.2; }
    50%  { transform: translateY(-35px) translateX(-8px); opacity: 0.12; }
    75%  { transform: translateY(-15px) translateX(15px); opacity: 0.18; }
}

.section-title {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.08em;
    color: #facc15;
    text-shadow:
        0 0 20px rgba(234, 179, 8, 0.35),
        0 0 60px rgba(217, 119, 6, 0.12),
        0 2px 4px rgba(0,0,0,0.6);
}
.section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4AF37, #DC143C, #D4AF37, transparent);
    margin: 14px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 14px rgba(220,20,60,0.35), 0 0 6px rgba(212,175,55,0.2);
}

.winners-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 300px;
    background: linear-gradient(135deg, rgba(12, 10, 22, 0.95), rgba(6, 4, 10, 0.98));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 12px;
    padding: 12px 16px;
    z-index: 9999;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.75), 0 0 24px rgba(212, 175, 55, 0.06);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}
.winners-toast-container.winners-toast--visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.winners-toast-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #D4AF37;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding-bottom: 8px;
    margin-bottom: 8px;
    font-family: 'Cinzel', serif;
}
.winners-toast-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-family: 'Rajdhani', sans-serif;
    animation: toastContentFade 0.4s ease-out;
}
@keyframes toastContentFade {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.skeleton {
    background: linear-gradient(
        90deg,
        rgba(15, 12, 30, 0.7) 0%,
        rgba(30, 22, 55, 0.9) 40%,
        rgba(15, 12, 30, 0.7) 80%
    );
    background-size: 600px 100%;
    animation: shimmer 1.6s infinite linear;
    border-radius: 0.5rem;
}
@keyframes shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position:  600px 0; }
}
.skeleton-text   { height: 0.85rem; border-radius: 0.25rem; }
.skeleton-title  { height: 1.4rem;  border-radius: 0.3rem; }
.skeleton-card   { border-radius: 1rem; min-height: 120px; }
.skeleton-avatar { width: 3rem; height: 3rem; border-radius: 0.75rem; flex-shrink: 0; }
.skeleton-badge  { height: 1.5rem; width: 5rem; border-radius: 9999px; }

.page-fade-in {
    animation: pageFadeIn 0.35s ease both;
}
@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #06050e; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3730a3, #D4AF37);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: #e11d48; }

/* Navigation Dropdown Layout Restorations */
.nav-dropdown {
    min-width: 11rem;
    display: flex;
    flex-direction: column;
}
.nav-dropdown__link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.04em;
    color: rgba(209, 213, 219, 0.85);
    transition: color 0.2s, background 0.2s, transform 0.2s, padding-inline-start 0.2s;
    width: 100%;
    box-sizing: border-box;
}
.nav-dropdown__link:hover,
.nav-dropdown__link--active {
    color: #D4AF37 !important;
    background: rgba(212, 175, 55, 0.06) !important;
    transform: translateX(3px) !important;
}
[dir="rtl"] .nav-dropdown__link:hover,
[dir="rtl"] .nav-dropdown__link--active {
    transform: translateX(-3px) !important;
}

/* Ambient Glow Orbs - Warm Fantasy */
.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    animation: orbPulse 8s ease-in-out infinite alternate;
    mix-blend-mode: screen;
}
@keyframes orbPulse {
    0% { opacity: 0.02; transform: scale(1); }
    100% { opacity: 0.06; transform: scale(1.1); }
}

/* Light Ray Effect */
.light-rays {
    position: absolute;
    top: -20%; left: 50%; transform: translateX(-50%);
    width: 150%; height: 60%;
    background: radial-gradient(ellipse at 50% 0%, rgba(234,179,8,0.06) 0%, transparent 65%);
    pointer-events: none;
    animation: rayPulse 5s ease-in-out infinite alternate;
}
@keyframes rayPulse {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* Vignette Overlay */
.vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(4,3,12,0.5) 100%);
}


.nav-user-avatar {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    color: #06040e;
    flex-shrink: 0;
}
.nav-user-avatar--lg { 
    width: 2.25rem; 
    height: 2.25rem; 
    font-size: 0.75rem; 
}
.nav-icon-btn {
    background: rgba(20,5,8,0.8) !important;
    border: 1px solid rgba(180,30,50,0.25) !important;
    color: rgba(200,180,180,0.55) !important;
}
.nav-icon-btn:hover {
    color: #D4AF37 !important;
    border-color: rgba(212,175,55,0.25) !important;
    background: rgba(212,175,55,0.06) !important;
}
.nav-notif-badge {
    background: #DC143C !important;
    box-shadow: 0 0 8px rgba(220,20,60,0.6) !important;
}

/* Mobile Drawer Styles */
.nav-drawer {
    background: rgba(4, 9, 18, 0.98) !important;
    border-left: 1px solid rgba(198, 154, 88, 0.25) !important;
    border-right: 1px solid rgba(198, 154, 88, 0.25) !important;
    box-shadow: 0 0 30px rgba(0,0,0,0.8) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

.drawer-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 16px !important;
    color: #a9b3c2 !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-family: 'Rajdhani', sans-serif !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.drawer-link:hover,
.drawer-link--active {
    color: #fff2d4 !important;
    background: rgba(198, 154, 88, 0.1) !important;
    box-shadow: inset 3px 0 0 #c69a58 !important;
}

[dir="rtl"] .drawer-link:hover,
[dir="rtl"] .drawer-link--active {
    box-shadow: inset -3px 0 0 #c69a58 !important;
}

.drawer-link--highlight {
    background: linear-gradient(90deg, rgba(24, 141, 255, 0.15), transparent) !important;
    color: #62bdff !important;
    border: 1px solid rgba(24, 141, 255, 0.2) !important;
}

.drawer-link--highlight:hover {
    background: linear-gradient(90deg, rgba(24, 141, 255, 0.25), transparent) !important;
    color: #fff !important;
    border-color: rgba(24, 141, 255, 0.4) !important;
}

.drawer-section-label {
    padding: 12px 16px 4px !important;
    font-family: 'Cinzel', serif !important;
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #c69a58 !important;
    opacity: 0.8 !important;
}

.drawer-lang-btn {
    flex: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 0 !important;
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    border-radius: 4px !important;
    color: #a9b3c2 !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    transition: all 0.2s ease !important;
}

.drawer-lang-btn--active,
.drawer-lang-btn:hover {
    color: #fff2d4 !important;
    background: rgba(198, 154, 88, 0.08) !important;
    border-color: rgba(198, 154, 88, 0.3) !important;
}

