/* ============================================================
   Valyria Conquer — Design System & Stylesheet
   Theme: Ultra-Luxury Dark Fantasy MMORPG & Imperial Conquer Realm
   Colors: Obsidian Velvet, Imperial Gold, Arcane Sapphire & Crimson Fire
   Built to UI/UX Pro Max standards — Fully Responsive & RTL / LTR Bilingual
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Cinzel:wght@500;700;900&family=Cairo:wght@400;600;700;900&family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap');

/* ── 1. DESIGN TOKENS & CSS VARIABLES ────────────────────────── */
:root {
    /* Rich Obsidian & Deep Fantasy Canvas */
    --bg-abyss: #05070d;
    --bg-canvas: #080c16;
    --bg-canvas-alt: #0d1222;
    --bg-surface: #11172b;
    --bg-surface-elevated: #151d36;
    --bg-subtle: #19233f;

    /* Card & Surface Palettes (Dark Fantasy Glassmorphism) */
    --surface-card: rgba(13, 19, 36, 0.82);
    --surface-card-subtle: rgba(10, 15, 29, 0.72);
    --surface-card-hover: rgba(18, 27, 50, 0.9);
    --surface-card-solid: #0d1426;
    --surface-dark-contrast: #060913;

    /* Imperial Valyria Gold & Molten Bronze */
    --gold-dark: #78350f;
    --gold-dim: #92400e;
    --gold-main: #d97706;
    --gold-bright: #f59e0b;
    --gold-glow: #fbbf24;
    --gold-light: #fef3c7;
    --gold-subtle: rgba(245, 158, 11, 0.14);
    --gold-hover: rgba(245, 158, 11, 0.24);

    /* Imperial Gold Gradients */
    --gold-gradient: linear-gradient(135deg, #b45309 0%, #f59e0b 35%, #fbbf24 65%, #d97706 100%);
    --gold-gradient-soft: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(217, 119, 6, 0.06) 100%);
    --gold-gradient-card: linear-gradient(145deg, rgba(22, 17, 11, 0.92) 0%, rgba(12, 9, 6, 0.96) 100%);
    --gold-border-grad: linear-gradient(135deg, rgba(245, 158, 11, 0.6) 0%, rgba(217, 119, 6, 0.2) 50%, rgba(245, 158, 11, 0.6) 100%);

    /* Valyria Royal Sapphire & Arcane Blue */
    --royal-navy: #070e20;
    --royal-deep: #0f234b;
    --royal-main: #1d4ed8;
    --royal-vibrant: #2563eb;
    --royal-light: rgba(37, 99, 235, 0.15);
    --sapphire-bright: #38bdf8;
    --sapphire-glow: #60a5fa;
    --sapphire-aura: rgba(37, 99, 235, 0.35);

    /* Arcane Blue Gradients */
    --royal-gradient: linear-gradient(135deg, #0f234b 0%, #1d4ed8 50%, #2563eb 100%);
    --sapphire-gradient: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #38bdf8 100%);

    /* Combat & State Accents */
    --emerald-main: #10b981;
    --emerald-glow: #34d399;
    --emerald-dark: #047857;
    --emerald-light: rgba(16, 185, 129, 0.15);
    --emerald-gradient: linear-gradient(135deg, #047857 0%, #10b981 100%);

    --ruby-main: #ef4444;
    --ruby-glow: #f87171;
    --ruby-dark: #b91c1c;
    --ruby-light: rgba(239, 68, 68, 0.15);
    --ruby-gradient: linear-gradient(135deg, #7f1d1d 0%, #ef4444 100%);

    --fire-main: #ea580c;
    --fire-bright: #f97316;
    --fire-glow: #fb923c;

    --purple-main: #8b5cf6;
    --purple-glow: #a78bfa;
    --purple-light: rgba(139, 92, 246, 0.15);

    /* High-Contrast Readability Text Colors */
    --text-heading: #fef3c7;
    --text-white: #ffffff;
    --text-light: #e2e8f0;
    --text-body: #cbd5e1;
    --text-muted: #94a3b8;
    --text-subtle: #64748b;
    --text-gold: #fbbf24;
    --text-blue: #38bdf8;
    --text-emerald: #34d399;

    /* Gaming Borders, Glass & Shadows */
    --border-card: rgba(56, 189, 248, 0.16);
    --border-card-hover: rgba(56, 189, 248, 0.45);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(245, 158, 11, 0.35);
    --border-gold-glow: rgba(251, 191, 36, 0.65);
    --border-blue-glow: rgba(56, 189, 248, 0.6);

    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.4);
    --shadow-card: 0 10px 32px -4px rgba(0, 0, 0, 0.75), 0 0 1px 1px rgba(255, 255, 255, 0.05);
    --shadow-card-hover: 0 20px 48px -6px rgba(0, 0, 0, 0.88), 0 0 25px rgba(37, 99, 235, 0.28);
    --shadow-gold: 0 0 25px rgba(245, 158, 11, 0.35);
    --shadow-gold-lg: 0 0 45px rgba(245, 158, 11, 0.55);
    --shadow-fire: 0 0 25px rgba(234, 88, 12, 0.35);
    --shadow-emerald: 0 0 25px rgba(16, 185, 129, 0.35);
    --shadow-deep: 0 16px 45px rgba(0, 0, 0, 0.85);
    --shadow-blue-glow: 0 0 35px rgba(37, 99, 235, 0.45);

    /* Typography */
    --font-title: 'Cinzel', serif;
    --font-royal: 'Cinzel Decorative', cursive;
    --font-arabic: 'Cairo', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Dimensions & Radii */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 9999px;
    --max-width: 1400px;
}

/* ── 2. BASE RESET & GLOBAL STYLES ──────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-abyss);
    color: var(--text-body);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* RTL Support for Arabic */
body[dir="rtl"], html[dir="rtl"] {
    font-family: var(--font-arabic);
    direction: rtl;
    text-align: right;
}

/* Direction Isolation for Code, Numbers & Commands */
code, .command-code, .ltr-text, [dir="ltr"] {
    direction: ltr !important;
    unicode-bidi: isolate !important;
    text-align: left;
    font-family: var(--font-mono), monospace;
}

/* Bootstrap Icons Alignment */
.bi {
    display: inline-block;
    vertical-align: -0.125em;
    line-height: 1;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 9px;
}
::-webkit-scrollbar-track {
    background: var(--bg-abyss);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold-dark), var(--gold-bright), var(--royal-main));
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-glow);
}

/* Selection */
::selection {
    background: var(--gold-main);
    color: #070a12;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.28;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

body[dir="rtl"] h1,
body[dir="rtl"] h2,
body[dir="rtl"] h3,
body[dir="rtl"] h4,
body[dir="rtl"] h5,
body[dir="rtl"] h6 {
    font-family: var(--font-arabic);
    letter-spacing: 0;
    line-height: 1.4;
}

a {
    color: var(--gold-bright);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}
a:hover {
    color: var(--gold-glow);
}

/* Golden Gradient Text Utility */
.gold-gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.4));
}

.royal-title {
    font-family: var(--font-royal);
    color: var(--gold-glow);
}

body[dir="rtl"] .royal-title {
    font-family: var(--font-arabic);
    font-weight: 900;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold-glow);
    text-shadow: 0 0 15px rgba(245, 158, 11, 0.45);
    letter-spacing: 0.04em;
}

body[dir="rtl"] .section-title {
    font-family: var(--font-arabic);
    letter-spacing: 0;
    font-size: 2.4rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ── 3. ATMOSPHERIC BACKGROUND LAYERS & FLOATING PARTICLES ─── */
.site-bg {
    position: fixed;
    inset: 0;
    background: url('/assets/img/Background.webp') center top / cover no-repeat fixed;
    z-index: -2;
    filter: brightness(0.42) contrast(1.2) saturate(1.1);
    transform: scale(1.04);
    pointer-events: none;
}

.site-bg-overlay {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 15%, rgba(15, 35, 75, 0.38) 0%, rgba(7, 11, 20, 0.82) 55%, rgba(4, 6, 12, 0.98) 100%),
        radial-gradient(circle at 10% 80%, rgba(217, 119, 6, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, rgba(5, 7, 13, 0.5) 0%, rgba(5, 7, 13, 0.94) 100%);
    z-index: -1;
    pointer-events: none;
}

.particles {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

/* ── 4. TOP BAR (At the Very Top) ────────────────────────────── */
.topbar {
    width: 100%;
    height: 44px;
    background: linear-gradient(90deg, #050811 0%, #0c1630 50%, #050811 100%);
    border-bottom: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--text-light);
    font-size: 0.82rem;
    position: relative;
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.topbar-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.topbar-sep {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.12);
}

.topbar-label {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.topbar-dim {
    color: var(--text-muted);
}

/* Pulsing Status Orb */
.status-orb {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

.status-orb.online {
    background: #10b981;
    box-shadow: 0 0 12px #10b981;
}

.status-orb.online::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid #10b981;
    animation: statusPulse 2s ease-out infinite;
}

.status-orb.offline {
    background: #ef4444;
    box-shadow: 0 0 12px #ef4444;
}

.status-orb.maintenance {
    background: #f59e0b;
    box-shadow: 0 0 12px #f59e0b;
}

@keyframes statusPulse {
    0% { transform: scale(0.9); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

.status-text-online { color: #34d399; font-weight: 700; text-shadow: 0 0 8px rgba(52, 211, 153, 0.4); }
.status-text-offline { color: #f87171; font-weight: 700; text-shadow: 0 0 8px rgba(248, 113, 113, 0.4); }
.status-text-maintenance { color: #fbbf24; font-weight: 700; text-shadow: 0 0 8px rgba(251, 191, 36, 0.4); }

.topbar-counter {
    color: #38bdf8;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.topbar-clock-val {
    color: #fbbf24;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.85rem;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}

.badge-version {
    background: rgba(30, 64, 175, 0.35);
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: #7dd3fc;
    font-size: 0.72rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.25);
}

/* Topbar Social Icons */
.topbar-socials {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.topbar-social-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.topbar-social-btn:hover {
    transform: translateY(-2px);
    color: #ffffff;
}

.tb-discord:hover { background: #5865F2; border-color: #5865F2; box-shadow: 0 0 12px rgba(88, 101, 242, 0.6); }
.tb-facebook:hover { background: #1877F2; border-color: #1877F2; box-shadow: 0 0 12px rgba(24, 119, 242, 0.6); }
.tb-whatsapp:hover { background: #25D366; border-color: #25D366; box-shadow: 0 0 12px rgba(37, 211, 102, 0.6); }
.tb-youtube:hover { background: #FF0000; border-color: #FF0000; box-shadow: 0 0 12px rgba(255, 0, 0, 0.6); }
.tb-vote:hover { background: #d97706; border-color: #f59e0b; box-shadow: 0 0 12px rgba(245, 158, 11, 0.6); }

/* Topbar Language Toggle */
.topbar-lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(217, 119, 6, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: #fef3c7;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    transition: all 0.2s ease;
}

.topbar-lang-toggle:hover {
    background: var(--gold-gradient);
    color: #0b1329;
    border-color: #f59e0b;
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.55);
}

/* Topbar Auth Button */
.topbar-login-btn, .topbar-user-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(37, 99, 235, 0.22);
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: #e0f2fe;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.25rem 0.8rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.2s ease;
}

.topbar-login-btn:hover, .topbar-user-link:hover {
    background: var(--royal-vibrant);
    color: #ffffff;
    border-color: #38bdf8;
    box-shadow: 0 0 14px rgba(37, 99, 235, 0.6);
}

/* ── 5. HERO BANNER ──────────────────────────────────────────── */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 490px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #060913;
    border-bottom: 2px solid rgba(245, 158, 11, 0.35);
}

.hero-banner-compact {
    min-height: 250px;
}

/* ── Multi-Layer Randomized WebP Panoramic Art Background ── */
.hero-banner-art-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.hero-banner-art-layer {
    position: absolute;
    inset: -15px;
    background-position: center 25%;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), transform 12s cubic-bezier(0.1, 0, 0.3, 1);
    transform: scale(1);
    filter: brightness(0.88) contrast(1.1) saturate(1.15);
    will-change: opacity, transform;
}

.hero-banner-art-layer.active {
    opacity: 1;
    transform: scale(1.035);
}

.hero-banner-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(5, 7, 13, 0.78) 0%, rgba(5, 7, 13, 0.25) 45%, rgba(5, 7, 13, 0.95) 100%),
        radial-gradient(ellipse at center 40%, rgba(13, 30, 68, 0.25) 0%, rgba(5, 7, 13, 0.75) 80%);
}

.hero-banner-glow {
    position: absolute;
    top: 32%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.22) 0%, rgba(56, 189, 248, 0.08) 45%, transparent 70%);
    z-index: 3;
    pointer-events: none;
    filter: blur(55px);
}

.hero-banner-content {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ── Valyria Animated Logo Showcase (AAA MMORPG Precision Architecture) ── */
.valyria-emblem-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    max-width: 860px;
    perspective: 1000px;
    transform-style: preserve-3d;
    will-change: transform;
    margin-bottom: 0.5rem;
}

/* 1. Levitation & 3D Depth Frame */
.valyria-logo-frame {
    position: relative;
    display: inline-block;
    z-index: 5;
    transform-origin: center center;
    transform-style: preserve-3d;
    animation: valyriaHeroLevitate 6s ease-in-out infinite;
    will-change: transform;
}

@keyframes valyriaHeroLevitate {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-4px) rotate(0.2deg);
    }
    50% {
        transform: translateY(-9px) rotate(-0.15deg);
    }
    75% {
        transform: translateY(-4px) rotate(0.1deg);
    }
}

/* 2. Crisp WebP Animated Logo Image with Contour Drop-Shadow */
.valyria-animated-logo {
    max-height: 205px;
    max-width: 90vw;
    width: auto;
    aspect-ratio: 1536 / 1024;
    object-fit: contain;
    display: block;
    user-select: none;
    pointer-events: auto;
    filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.45))
            drop-shadow(0 0 35px rgba(245, 158, 11, 0.35))
            drop-shadow(0 15px 30px rgba(0, 0, 0, 0.92));
    transition: filter 0.4s ease, transform 0.4s ease;
    animation: valyriaContourBreathe 5s ease-in-out infinite alternate;
}

@keyframes valyriaContourBreathe {
    0% {
        filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.4))
                drop-shadow(0 0 30px rgba(245, 158, 11, 0.3))
                drop-shadow(0 12px 25px rgba(0, 0, 0, 0.9));
    }
    100% {
        filter: drop-shadow(0 0 24px rgba(56, 189, 248, 0.7))
                drop-shadow(0 0 48px rgba(245, 158, 11, 0.5))
                drop-shadow(0 18px 36px rgba(0, 0, 0, 0.96));
    }
}

.valyria-logo-frame:hover .valyria-animated-logo {
    filter: drop-shadow(0 0 32px rgba(56, 189, 248, 0.9))
            drop-shadow(0 0 65px rgba(245, 158, 11, 0.75))
            drop-shadow(0 22px 45px rgba(0, 0, 0, 0.98));
    transform: scale(1.025);
}

.hero-banner-compact .valyria-animated-logo {
    max-height: 110px;
}

/* 3. Mask-Based Liquid Specular Sheen (Strictly confined to solid logo pixels) */
.valyria-logo-sheen {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 6;
    -webkit-mask-image: var(--logo-url);
    mask-image: var(--logo-url);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    overflow: hidden;
}

.valyria-logo-sheen::before {
    content: '';
    position: absolute;
    inset: -60%;
    background: linear-gradient(
        115deg,
        transparent 36%,
        rgba(255, 255, 255, 0.08) 42%,
        rgba(255, 255, 255, 0.85) 48%,
        rgba(251, 191, 36, 0.95) 52%,
        rgba(56, 189, 248, 0.7) 56%,
        transparent 66%
    );
    transform: translateX(-120%);
    animation: valyriaSheenSweep 4.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    mix-blend-mode: color-dodge;
}

@keyframes valyriaSheenSweep {
    0%, 25% {
        transform: translateX(-120%);
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    55% {
        transform: translateX(120%);
        opacity: 1;
    }
    60%, 100% {
        transform: translateX(120%);
        opacity: 0;
    }
}

/* 4. Crown Sapphire Crystal Shard Optical Lens Flare */
.valyria-gem-flare {
    position: absolute;
    pointer-events: none;
    z-index: 8;
    transform: translate(-50%, -50%);
}

.valyria-gem-flare.top-gem {
    top: 17.5%;
    left: 50%;
}

.valyria-gem-flare.bottom-gem {
    top: 71.5%;
    left: 50%;
}

.valyria-gem-flare .flare-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff 15%, #38bdf8 55%, transparent 75%);
    box-shadow: 0 0 16px #38bdf8, 0 0 32px rgba(56, 189, 248, 0.85);
    animation: gemCorePulse 3.2s ease-in-out infinite alternate;
}

.valyria-gem-flare .flare-ray {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7) 35%, #ffffff 50%, rgba(56,189,248,0.9) 65%, transparent);
    border-radius: 2px;
    pointer-events: none;
    animation: gemRayPulse 3.2s ease-in-out infinite alternate;
}

.valyria-gem-flare .flare-ray-h {
    width: 75px;
    height: 2px;
}

.valyria-gem-flare .flare-ray-v {
    width: 2px;
    height: 75px;
}

.valyria-gem-flare.top-gem .flare-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    border: 1px solid rgba(56, 189, 248, 0.45);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
    animation: gemRingPulse 3.2s ease-in-out infinite alternate;
}

@keyframes gemCorePulse {
    0% {
        transform: translate(-50%, -50%) scale(0.85);
        opacity: 0.65;
        box-shadow: 0 0 10px #38bdf8, 0 0 20px rgba(56, 189, 248, 0.6);
    }
    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
        box-shadow: 0 0 22px #38bdf8, 0 0 45px rgba(56, 189, 248, 0.95);
    }
}

@keyframes gemRayPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.75) rotate(0deg);
        opacity: 0.55;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.25) rotate(15deg);
        opacity: 1;
    }
}

@keyframes gemRingPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.85);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.25);
        opacity: 0.75;
    }
}

/* Lower Diamond Gem Complementary Pulse */
.valyria-gem-flare.bottom-gem .flare-core {
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #ffffff 15%, #60a5fa 55%, transparent 75%);
    box-shadow: 0 0 12px #60a5fa;
    animation: gemCorePulse 3.2s ease-in-out infinite alternate 1.6s;
}

.valyria-gem-flare.bottom-gem .flare-ray-h {
    width: 45px;
    height: 2px;
    animation: gemRayPulse 3.2s ease-in-out infinite alternate 1.6s;
}

.valyria-gem-flare.bottom-gem .flare-ray-v {
    width: 2px;
    height: 45px;
    animation: gemRayPulse 3.2s ease-in-out infinite alternate 1.6s;
}

/* 5. Wing & Letter Precision Micro Starburst Glints */
.valyria-glint-point {
    position: absolute;
    width: 12px;
    height: 12px;
    pointer-events: none;
    z-index: 9;
    opacity: 0;
}

.valyria-glint-point::before,
.valyria-glint-point::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 1px;
}

.valyria-glint-point::before {
    width: 100%;
    height: 2px;
}

.valyria-glint-point::after {
    width: 2px;
    height: 100%;
}

.glint-wing-l {
    top: 36%;
    left: 16%;
    background: radial-gradient(circle, #ffffff 20%, rgba(251, 191, 36, 0.85) 50%, transparent 75%);
    animation: starGlintFlash 5s infinite 1.2s;
}

.glint-wing-r {
    top: 36%;
    right: 16%;
    background: radial-gradient(circle, #ffffff 20%, rgba(56, 189, 248, 0.85) 50%, transparent 75%);
    animation: starGlintFlash 5s infinite 2.6s;
}

.glint-letter-l {
    top: 48%;
    left: 29%;
    background: radial-gradient(circle, #ffffff 20%, rgba(251, 191, 36, 0.85) 50%, transparent 75%);
    animation: starGlintFlash 5s infinite 3.8s;
}

.glint-letter-r {
    top: 48%;
    right: 29%;
    background: radial-gradient(circle, #ffffff 20%, rgba(251, 191, 36, 0.85) 50%, transparent 75%);
    animation: starGlintFlash 5s infinite 4.5s;
}

@keyframes starGlintFlash {
    0%, 88%, 100% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    92% {
        transform: scale(1.6) rotate(45deg);
        opacity: 1;
        filter: drop-shadow(0 0 8px #fbbf24);
    }
    96% {
        transform: scale(0.3) rotate(90deg);
        opacity: 0;
    }
}

/* 9. Header Sticky Mini-Logo Animation */
.header-brand-logo {
    transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1), filter 0.3s ease;
    animation: miniLogoBreathe 3.5s ease-in-out infinite alternate;
}

@keyframes miniLogoBreathe {
    0% { transform: scale(1); filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.35)); }
    100% { transform: scale(1.05); filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.65)); }
}

.header-brand:hover .header-brand-logo {
    transform: scale(1.15) rotate(-4deg);
    filter: drop-shadow(0 0 16px var(--gold-glow)) drop-shadow(0 0 25px rgba(56, 189, 248, 0.7));
}

.valyria-tagline-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    margin-bottom: 1.8rem;
    position: relative;
    z-index: 3;
}

.tagline-star {
    color: var(--gold-bright);
    font-size: 0.85rem;
    animation: starTwinkle 2s infinite alternate;
}

@keyframes starTwinkle {
    0% { opacity: 0.4; transform: scale(0.85); }
    100% { opacity: 1; transform: scale(1.2); }
}

.valyria-tagline {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fef3c7;
    letter-spacing: 0.12em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 25px rgba(245, 158, 11, 0.5);
    margin: 0;
}

body[dir="rtl"] .valyria-tagline {
    font-family: var(--font-arabic);
    letter-spacing: 0.02em;
    font-size: 1.25rem;
}

/* Banner CTA Buttons */
.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 3;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.6rem;
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

body[dir="rtl"] .btn-hero {
    font-family: var(--font-arabic);
}

.btn-hero-icon {
    font-size: 1.6rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-hero-content {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

body[dir="rtl"] .btn-hero-content {
    text-align: right;
}

.btn-hero-title {
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.btn-hero-sub {
    font-size: 0.72rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Hero Download Button */
.btn-hero-download {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #38bdf8 100%);
    color: #ffffff !important;
    border: 1px solid rgba(56, 189, 248, 0.7);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.6), 0 0 25px rgba(56, 189, 248, 0.45);
}

.btn-hero-download:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(30, 64, 175, 0.8), 0 0 35px rgba(56, 189, 248, 0.7);
}

/* Hero Register Button */
.btn-hero-register {
    background: var(--gold-gradient);
    color: #0b1329 !important;
    border: 1px solid rgba(254, 243, 199, 0.6);
    box-shadow: 0 10px 30px rgba(217, 119, 6, 0.55), 0 0 20px rgba(245, 158, 11, 0.35);
}

.btn-hero-register:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(217, 119, 6, 0.75), 0 0 30px rgba(245, 158, 11, 0.65);
}

/* Hero Discord Button */
.btn-hero-discord {
    background: rgba(88, 101, 242, 0.25);
    backdrop-filter: blur(10px);
    color: #ffffff !important;
    border: 1px solid rgba(88, 101, 242, 0.6);
    box-shadow: 0 10px 25px rgba(88, 101, 242, 0.3);
}

.btn-hero-discord:hover {
    background: #5865F2;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(88, 101, 242, 0.65);
}

/* ── 6. NAVIGATION HEADER (Ultra-Luxury Dark Gaming Glass) ───── */
.main-header {
    width: 100%;
    height: 72px;
    background: rgba(8, 13, 26, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 2px solid rgba(37, 99, 235, 0.45);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.65);
    position: sticky;
    top: 0;
    z-index: 950;
    transition: all 0.3s ease;
}

.main-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--gold-bright) 50%, transparent 100%);
    box-shadow: 0 0 12px var(--gold-glow);
}

.header-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Sticky Mini Brand */
.header-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-15px);
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    flex-shrink: 0;
}

body[dir="rtl"] .header-brand {
    transform: translateX(15px);
}

.main-header.is-sticky .header-brand {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.header-brand-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(37, 99, 235, 0.6));
}

.header-brand-title {
    font-family: var(--font-royal);
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--gold-glow);
    letter-spacing: 0.04em;
    text-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}

body[dir="rtl"] .header-brand-title {
    font-family: var(--font-arabic);
}

/* Nav Menu Links */
.header-nav-menu {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.header-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.05rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-title);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

body[dir="rtl"] .header-nav-link {
    font-family: var(--font-arabic);
    font-size: 0.95rem;
    letter-spacing: 0;
}

.header-nav-link i {
    font-size: 1rem;
    color: var(--gold-bright);
    transition: transform 0.2s ease;
}

.header-nav-link:hover {
    color: var(--gold-glow);
    background: rgba(245, 158, 11, 0.12);
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.header-nav-link:hover i {
    transform: translateY(-2px);
    color: var(--gold-glow);
}

.header-nav-link.active {
    background: var(--royal-gradient);
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.45), 0 0 10px rgba(56, 189, 248, 0.3);
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.header-nav-link.active i {
    color: var(--gold-glow) !important;
}

.header-nav-link.nav-discord {
    color: #7983f5;
}
.header-nav-link.nav-discord:hover {
    background: rgba(88, 101, 242, 0.2);
    color: #ffffff;
}

/* Right Header Actions */
.header-right-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-nav-login {
    padding: 0.5rem 1.15rem;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(56, 189, 248, 0.4);
    background: rgba(15, 23, 42, 0.8);
    color: var(--sapphire-bright);
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

body[dir="rtl"] .btn-nav-login {
    font-family: var(--font-arabic);
}

.btn-nav-login:hover {
    background: var(--royal-main);
    border-color: var(--sapphire-bright);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.6);
}

.btn-nav-register {
    padding: 0.5rem 1.3rem;
    border-radius: var(--radius-pill);
    background: var(--gold-gradient);
    color: #0b1329 !important;
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(217, 119, 6, 0.45);
    transition: all 0.2s ease;
}

body[dir="rtl"] .btn-nav-register {
    font-family: var(--font-arabic);
}

.btn-nav-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(245, 158, 11, 0.65);
}

/* User Menu in Navbar */
.nav-user-wrap {
    position: relative;
}

.nav-user-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 0.35rem 0.8rem 0.35rem 0.45rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

body[dir="rtl"] .nav-user-btn {
    padding: 0.35rem 0.45rem 0.35rem 0.8rem;
}

.nav-user-btn:hover {
    border-color: var(--gold-glow);
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.4);
}

.nav-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: #0b1329;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    position: relative;
}

.nav-user-name {
    font-weight: 700;
    color: var(--text-heading);
    font-size: 0.85rem;
}

.nav-vip-badge {
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.1rem 0.45rem;
    border-radius: var(--radius-pill);
    background: var(--gold-subtle);
    color: var(--gold-glow);
    border: 1px solid var(--border-gold);
}

.nav-vip-badge.vip-0 {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    border-color: var(--border-glass);
}

.nav-user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 210px;
    background: rgba(10, 15, 28, 0.96);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.85), 0 0 20px rgba(0, 0, 0, 0.5);
    padding: 0.5rem;
    display: none;
    z-index: 1001;
}

body[dir="rtl"] .nav-user-dropdown {
    right: auto;
    left: 0;
}

.nav-user-wrap.open .nav-user-dropdown {
    display: block;
    animation: fadeInDown 0.2s ease;
}

.nav-drop-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.85rem;
    color: var(--text-light);
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.15s ease;
}

.nav-drop-item:hover {
    background: rgba(37, 99, 235, 0.2);
    color: var(--gold-glow);
}

.nav-drop-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0.35rem 0;
}

.nav-drop-logout {
    color: #f87171 !important;
}
.nav-drop-logout:hover {
    background: rgba(239, 68, 68, 0.18) !important;
}

/* Hamburger Toggle */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1002;
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: var(--gold-glow);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Drawer */
.mobile-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 11, 22, 0.97);
    backdrop-filter: blur(18px);
    z-index: 940;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    transform: translateY(-110%);
    transition: transform 0.35s cubic-bezier(0.2, 0, 0, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.mobile-menu.open {
    transform: translateY(0);
}

.mobile-menu .nav-link {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.85rem 1rem;
    color: var(--text-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.mobile-menu .nav-link.active {
    background: var(--royal-gradient);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

/* ── 7. MAIN CONTENT AREA & SECTIONS ─────────────────────────── */
.main-content {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
    min-height: 60vh;
}

.section {
    padding: 1.5rem 0;
}

/* ── 8. QUICK FEATURE HIGHLIGHTS STRIP (Dark Armor Capsules) ─── */
.features-highlight-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.feature-pill-card {
    background: var(--surface-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-pill-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(56, 189, 248, 0.45);
}

.fpc-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.fpc-icon-blue { background: rgba(37, 99, 235, 0.2); color: var(--sapphire-bright); border: 1px solid rgba(56, 189, 248, 0.35); box-shadow: 0 0 15px rgba(37, 99, 235, 0.35); }
.fpc-icon-gold { background: rgba(245, 158, 11, 0.18); color: var(--gold-glow); border: 1px solid rgba(245, 158, 11, 0.35); box-shadow: 0 0 15px rgba(245, 158, 11, 0.35); }
.fpc-icon-emerald { background: rgba(16, 185, 129, 0.18); color: var(--emerald-glow); border: 1px solid rgba(16, 185, 129, 0.35); box-shadow: 0 0 15px rgba(16, 185, 129, 0.35); }
.fpc-icon-purple { background: rgba(139, 92, 246, 0.18); color: var(--purple-glow); border: 1px solid rgba(139, 92, 246, 0.35); box-shadow: 0 0 15px rgba(139, 92, 246, 0.35); }

.fpc-content {
    display: flex;
    flex-direction: column;
}

.fpc-title {
    color: var(--text-heading);
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 0.2rem;
}

.fpc-desc {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

/* ── 9. GRID LAYOUTS ─────────────────────────────────────────── */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.grid-3-1 {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 2rem;
}

/* ── 10. GLASS CARDS & TELEMETRY SURFACES ────────────────────── */
.glass-card {
    background: var(--surface-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-card);
    border-top: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 1.8rem;
    margin-bottom: 2rem;
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.25s ease;
}

.glass-card:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(56, 189, 248, 0.35);
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
    border: 1px solid transparent;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
}

.stat-val {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--gold-glow);
    font-family: var(--font-mono);
    text-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.status-dot.online {
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
}
.status-dot.offline {
    background: #ef4444;
    box-shadow: 0 0 10px #ef4444;
}
.status-dot.maintenance {
    background: #f59e0b;
    box-shadow: 0 0 10px #f59e0b;
}

.status-online { color: #34d399; font-weight: 800; }
.status-offline { color: #f87171; font-weight: 800; }
.status-maintenance { color: #fbbf24; font-weight: 800; }

/* ── 11. TABS & EVENT SCHEDULES ──────────────────────────────── */
.tab-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.75rem;
}

.tab-btn {
    background: rgba(15, 22, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: all 0.2s ease;
}

body[dir="rtl"] .tab-btn {
    font-family: var(--font-arabic);
}

.tab-btn:hover {
    background: rgba(37, 99, 235, 0.2);
    color: var(--gold-glow);
    border-color: rgba(245, 158, 11, 0.4);
}

.tab-btn.active {
    background: var(--gold-gradient);
    color: #080c16 !important;
    border-color: var(--gold-bright);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.45);
}

.tab-btn.active i {
    color: #080c16 !important;
}

.tab-pane {
    display: none;
    padding-top: 1.2rem;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Event Rows */
.event-row {
    background: rgba(11, 16, 32, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--royal-vibrant);
    border-radius: var(--radius-md);
    padding: 1rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
}

body[dir="rtl"] .event-row {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 4px solid var(--royal-vibrant);
}

.event-row:hover {
    background: rgba(17, 24, 46, 0.9);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transform: translateX(4px);
    border-color: rgba(56, 189, 248, 0.3);
}

body[dir="rtl"] .event-row:hover {
    transform: translateX(-4px);
}

.event-row-gold {
    border-left-color: var(--gold-bright);
}
body[dir="rtl"] .event-row-gold {
    border-right-color: var(--gold-bright);
}

.event-row-emerald {
    border-left-color: var(--emerald-glow);
}
body[dir="rtl"] .event-row-emerald {
    border-right-color: var(--emerald-glow);
}

.event-row-fire {
    border-left-color: var(--fire-bright);
}
body[dir="rtl"] .event-row-fire {
    border-right-color: var(--fire-bright);
}

.event-name {
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.25rem;
    color: var(--text-heading);
}

.event-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.event-gallery {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.event-thumb {
    height: 75px;
    width: auto;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.15);
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.event-thumb-wide {
    height: 90px;
    width: 100%;
    object-fit: cover;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.badge-gold { background: rgba(245, 158, 11, 0.2); color: var(--gold-glow); border: 1px solid var(--border-gold); }
.badge-emerald { background: rgba(16, 185, 129, 0.2); color: var(--emerald-glow); border: 1px solid rgba(16, 185, 129, 0.4); }
.badge-fire { background: rgba(234, 88, 12, 0.2); color: var(--fire-glow); border: 1px solid rgba(249, 115, 22, 0.4); }
.badge-blue { background: rgba(37, 99, 235, 0.25); color: var(--sapphire-bright); border: 1px solid rgba(56, 189, 248, 0.4); }
.badge-soon { background: rgba(239, 68, 68, 0.2); color: #fca5a5; border: 1px solid rgba(239, 68, 68, 0.4); }

/* ── 12. BOSS DROP TABLES & DATA PRESENTATION ────────────────── */
.boss-section {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: rgba(8, 12, 24, 0.6);
}

.boss-section-header {
    background: linear-gradient(90deg, #090e1c 0%, #152244 100%);
    border-bottom: 1px solid rgba(245, 158, 11, 0.3);
    color: #ffffff;
    padding: 1rem 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.boss-title {
    font-size: 1.15rem;
    color: var(--gold-glow);
    margin: 0;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.boss-schedule {
    font-size: 0.78rem;
    color: var(--sapphire-bright);
    font-family: var(--font-mono);
    display: block;
    margin-top: 0.2rem;
}

.boss-gallery {
    padding: 0.85rem;
    background: rgba(5, 8, 16, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.boss-img {
    max-height: 180px;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(245, 158, 11, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: brightness(0.92) contrast(1.1);
}

.boss-img:hover {
    transform: scale(1.02);
    filter: brightness(1.05) contrast(1.15);
    border-color: var(--gold-bright);
}

.boss-table-wrap, .drop-table-wrap {
    overflow-x: auto;
}

.drop-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.drop-table th {
    background: rgba(14, 21, 40, 0.85);
    color: var(--text-heading);
    font-weight: 700;
    text-align: left;
    padding: 0.75rem 1.1rem;
    border-bottom: 2px solid rgba(56, 189, 248, 0.25);
}

body[dir="rtl"] .drop-table th {
    text-align: right;
}

.drop-table td {
    padding: 0.65rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-body);
}

.drop-table tr:nth-child(even) {
    background: rgba(11, 16, 32, 0.45);
}

.drop-table tr:hover {
    background: rgba(37, 99, 235, 0.18);
}

.rate {
    font-family: var(--font-mono);
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
}

.rate-100 { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }
.rate-high { background: rgba(56, 189, 248, 0.2); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.4); }
.rate-mid { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }
.rate-low { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.4); }

/* ── 13. IN-GAME PLAYER CHAT COMMANDS (HUD Terminal) ─────────── */
.command-card {
    background: rgba(11, 16, 32, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: var(--radius-md);
    padding: 0.9rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: all 0.2s ease;
}

.command-card:hover {
    background: rgba(15, 23, 44, 0.95);
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.command-left {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.command-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.command-code {
    background: rgba(15, 23, 42, 0.95);
    color: var(--sapphire-bright);
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 700;
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.15);
}

.command-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.btn-copy {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-copy:hover {
    background: var(--royal-main);
    color: #ffffff;
    border-color: var(--sapphire-bright);
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.5);
}

.btn-copy.copied {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
}

/* ── 14. SIDEBAR WIDGETS (Downloads, Community, Socials) ──────── */
.discord-embed-card, .fb-embed-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-card);
    background: var(--surface-card);
}

.discord-embed-header, .fb-embed-header {
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
    padding: 0.85rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    letter-spacing: 0.04em;
}

.discord-embed-header { background: #5865F2; }
.fb-embed-header { background: #1877F2; }

.discord-social-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: rgba(10, 15, 28, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dsb-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 0.4rem;
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.72rem;
    font-weight: 700;
    gap: 0.35rem;
    transition: background 0.2s ease;
}

.dsb-icon:hover {
    background: rgba(37, 99, 235, 0.2);
    color: var(--gold-glow);
}

.dsb-img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.fb-embed-body {
    padding: 1.2rem;
    background: rgba(11, 16, 32, 0.85);
}

.fb-cover-banner {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.fb-avatar-badge {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #1877F2;
    overflow: hidden;
}

.fb-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fb-page-title {
    font-weight: 800;
    color: var(--text-heading);
    font-size: 0.98rem;
}

.fb-page-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.fb-follow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.65rem;
    background: #1877F2;
    color: #ffffff !important;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.88rem;
    transition: opacity 0.2s ease;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
}

.fb-follow-btn:hover {
    opacity: 0.92;
}

/* ── 15. STANDARD BUTTONS & ALERTS ────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
}

.btn-gold {
    background: var(--gold-gradient);
    color: #0b1329 !important;
    box-shadow: 0 4px 16px rgba(217, 119, 6, 0.45);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(245, 158, 11, 0.65);
}

.btn-outline {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: var(--sapphire-bright) !important;
}

.btn-outline:hover {
    background: var(--royal-main);
    color: #ffffff !important;
    border-color: var(--sapphire-bright);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
}

/* Alerts */
.alert {
    padding: 0.85rem 1.2rem;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.alert-error {
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.alert-success {
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #6ee7b7;
}

/* ── 16. FORMS & AUTH PAGES ──────────────────────────────────── */
.form-group {
    margin-bottom: 1.2rem;
}

.form-label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-heading);
}

.form-input {
    width: 100%;
    padding: 0.75rem 1.1rem;
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    font-family: inherit;
    background: rgba(11, 16, 32, 0.85);
    color: #ffffff;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--sapphire-bright);
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.4);
    background: rgba(15, 23, 44, 0.95);
}

.form-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.form-eye-btn {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
}

body[dir="rtl"] .form-eye-btn {
    right: auto;
    left: 12px;
}

.pass-strength {
    height: 4px;
    border-radius: 2px;
    margin-top: 6px;
    transition: all 0.3s ease;
}

/* Login Modal */
.login-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 7, 14, 0.85);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.login-modal-overlay.open {
    display: flex;
    animation: fadeIn 0.2s ease;
}

.login-modal-box {
    background: rgba(12, 17, 34, 0.96);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 440px;
    padding: 2.2rem;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(245, 158, 11, 0.2);
}

.login-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.login-modal-close:hover {
    background: rgba(239, 68, 68, 0.3);
    color: #ffffff;
}

body[dir="rtl"] .login-modal-close {
    right: auto;
    left: 18px;
}

.login-modal-crown {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.15);
    color: var(--gold-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.2rem;
    border: 1px solid rgba(245, 158, 11, 0.4);
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.35);
}

.login-modal-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    color: var(--text-heading);
}

.login-modal-subtitle {
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.login-modal-link {
    color: var(--gold-bright);
    font-weight: 700;
    text-decoration: underline;
}

/* ── 17. DOWNLOAD PAGE COMPONENTS ────────────────────────────── */
.download-card {
    border-color: rgba(245, 158, 11, 0.35);
}

.download-card-header {
    margin-bottom: 1.2rem;
}

.download-card-title-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.download-type-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.patch-icon {
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: var(--gold-glow);
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.3);
}

.client-icon {
    background: rgba(37, 99, 235, 0.22);
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: var(--sapphire-bright);
    box-shadow: 0 0 18px rgba(37, 99, 235, 0.4);
}

.download-card-title {
    font-size: 1.35rem;
    color: var(--text-heading);
    margin: 0;
}

.download-meta-info {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.download-card-desc {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.6;
}

.mirror-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.mirror-item {
    background: rgba(11, 16, 32, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: all 0.2s ease;
}

.mirror-item:hover {
    background: rgba(16, 24, 48, 0.95);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

.mirror-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.mirror-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    border: 1px solid transparent;
}

.mirror-name {
    font-size: 0.95rem;
    display: block;
}

.mirror-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}

.coming-soon-box {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(11, 16, 32, 0.6);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
}

.coming-soon-title {
    font-size: 1.25rem;
    color: var(--gold-glow);
    margin: 0.8rem 0 0.4rem;
}

.coming-soon-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    max-width: 520px;
    margin: 0 auto;
}

/* ── 18. RANKINGS & LEADERBOARD COMPONENTS ──────────────────── */
.nobility-guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.85rem;
}

.nobility-guide-card {
    background: rgba(11, 16, 32, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 0.85rem 0.6rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.nobility-guide-card img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nobility-guide-title {
    font-weight: 800;
    font-size: 0.85rem;
}

.nobility-guide-limit {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.nobility-guide-req {
    font-size: 0.72rem;
    color: var(--gold-glow);
    font-family: var(--font-mono);
    font-weight: 700;
}

.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th {
    background: rgba(15, 22, 42, 0.9);
    color: var(--text-heading);
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    border-bottom: 2px solid rgba(56, 189, 248, 0.3);
}

.table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-body);
    font-size: 0.9rem;
}

.table tr:hover {
    background: rgba(37, 99, 235, 0.15);
}

.badge-vip-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-pill);
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid var(--border-gold);
    color: var(--gold-glow);
    font-size: 0.75rem;
    font-weight: 800;
}

.badge-vip-pill img {
    width: 13px;
    height: 13px;
    object-fit: contain;
}

.badge-nobility {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 800;
}

.badge-nobility img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.badge-nobility-king { background: rgba(255, 215, 0, 0.2); color: #ffd700; border: 1px solid #ffd700; box-shadow: 0 0 10px rgba(255, 215, 0, 0.4); }
.badge-nobility-prince { background: rgba(46, 204, 113, 0.2); color: #2ecc71; border: 1px solid #2ecc71; }
.badge-nobility-duke { background: rgba(230, 126, 34, 0.2); color: #e67e22; border: 1px solid #e67e22; }
.badge-nobility-count { background: rgba(155, 89, 182, 0.2); color: #9b59b6; border: 1px solid #9b59b6; }
.badge-nobility-baron { background: rgba(52, 152, 219, 0.2); color: #3498db; border: 1px solid #3498db; }
.badge-nobility-knight { background: rgba(189, 195, 199, 0.2); color: #bdc3c7; border: 1px solid #bdc3c7; }

/* ── 19. VALYRIA FOOTER ──────────────────────────────────────── */
.site-footer {
    width: 100%;
    background: #05070e;
    color: var(--text-body);
    border-top: 3px solid var(--royal-main);
    padding: 3.5rem 1.5rem 2rem;
    position: relative;
    z-index: 10;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--gold-bright) 50%, transparent 100%);
    box-shadow: 0 0 15px var(--gold-glow);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    max-width: 540px;
}

.footer-logo-img {
    height: 64px;
    width: auto;
    object-fit: contain;
    margin-bottom: 0.8rem;
    filter: drop-shadow(0 0 15px rgba(37, 99, 235, 0.6));
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-conquer-img {
    height: 54px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.footer-conquer-img:hover {
    opacity: 1;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 1.5rem 0;
}

.footer-links-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
}

.footer-link {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--gold-glow);
}

.footer-social-strip {
    display: flex;
    gap: 0.6rem;
}

.social-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.social-circle:hover {
    transform: translateY(-2px);
    color: #ffffff;
}

.sc-discord:hover { background: #5865F2; box-shadow: 0 0 12px rgba(88, 101, 242, 0.6); }
.sc-facebook:hover { background: #1877F2; box-shadow: 0 0 12px rgba(24, 119, 242, 0.6); }
.sc-whatsapp:hover { background: #25D366; box-shadow: 0 0 12px rgba(37, 211, 102, 0.6); }
.sc-youtube:hover { background: #FF0000; box-shadow: 0 0 12px rgba(255, 0, 0, 0.6); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-subtle);
}

.footer-disclaimer {
    max-width: 650px;
    line-height: 1.5;
}

/* ── 20. FLOATING ACTIONS ────────────────────────────────────── */
.floating-actions {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    z-index: 999;
}

body[dir="rtl"] .floating-actions {
    right: auto;
    left: 25px;
    align-items: flex-start;
}

.back-to-top-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: var(--gold-glow);
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: var(--gold-gradient);
    color: #0b1329;
    border-color: var(--gold-bright);
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.6);
    transform: translateY(-3px);
}

.floating-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.5);
    position: relative;
    transition: transform 0.2s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.05);
}

.floating-wa-pulse {
    position: absolute;
    inset: -3px;
    border-radius: var(--radius-pill);
    border: 2px solid #25D366;
    animation: statusPulse 2s infinite;
}

/* ── 21. CONTROL PANEL (CP) STYLES ───────────────────────────── */
.login-required-card {
    max-width: 520px;
    margin: 3rem auto;
    padding: 3rem 2rem;
    text-align: center;
}

.login-req-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: crystalPulse 2s infinite ease-in-out;
}

.login-req-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gold-glow);
    margin-bottom: 0.5rem;
}

.login-req-sub {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.cp-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
    align-items: start;
    margin-top: 1.5rem;
}

.cp-sidebar {
    position: sticky;
    top: 90px;
}

.cp-sidebar-inner {
    padding: 1.6rem;
}

.cp-sidebar-profile {
    text-align: center;
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--border-glass);
}

.cp-avatar {
    position: relative;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(30,64,175,0.25), rgba(217,119,6,0.25));
    border: 2px solid var(--royal-vibrant);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--sapphire-bright);
    margin: 0 auto 0.75rem;
    box-shadow: 0 4px 18px rgba(37, 99, 235, 0.4);
}

.cp-avatar-vip6 {
    border-color: var(--gold-glow);
    box-shadow: 0 0 22px rgba(245, 158, 11, 0.55);
}

.cp-vip6-crown {
    position: absolute;
    top: -12px;
    right: -4px;
    font-size: 1.3rem;
    color: var(--gold-glow);
    animation: crystalPulse 2.5s infinite;
}

.cp-sidebar-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-heading);
}

.cp-sidebar-vip {
    font-size: 0.82rem;
    font-weight: 700;
    margin-top: 0.25rem;
}

.cp-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.cp-menu-item a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cp-menu-item a i {
    font-size: 1.1rem;
    color: var(--gold-bright);
    transition: transform 0.2s ease;
}

.cp-menu-item:hover a,
.cp-menu-item.active a {
    background: rgba(37, 99, 235, 0.2);
    color: var(--gold-glow);
    font-weight: 700;
}

[dir="ltr"] .cp-menu-item:hover a,
[dir="ltr"] .cp-menu-item.active a {
    transform: translateX(4px);
}

[dir="rtl"] .cp-menu-item:hover a,
[dir="rtl"] .cp-menu-item.active a {
    transform: translateX(-4px);
}

.cp-menu-item:hover a i {
    transform: scale(1.15);
}

.cp-main {
    min-width: 0;
}

.cp-dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-glass);
}

.cp-dash-welcome {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold-glow);
    margin: 0;
}

.cp-dash-vip6-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-bright);
    margin-top: 0.25rem;
}

.cp-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1.2rem;
}

.cp-stat-card {
    background: rgba(11, 16, 32, 0.85);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.2rem 1rem;
    text-align: center;
    transition: all 0.2s ease;
}

.cp-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(56, 189, 248, 0.35);
    background: rgba(15, 23, 44, 0.95);
}

.cp-stat-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.cp-stat-val {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-heading);
}

.cp-stat-days {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* ── 22. RESPONSIVE BREAKPOINTS ──────────────────────────────── */
@media (max-width: 1200px) {
    .features-highlight-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .grid-3-1 {
        grid-template-columns: 1fr;
    }
    .cp-layout {
        grid-template-columns: 1fr;
    }
    .cp-sidebar {
        position: static;
    }
    .header-nav-menu, .topbar-version, .hide-tablet {
        display: none !important;
    }
    .hamburger {
        display: flex;
    }
    .conquer-official-badge {
        position: static;
        margin-bottom: 1.2rem;
    }
    .hero-banner {
        min-height: 420px;
    }
}

@media (max-width: 768px) {
    .features-highlight-strip {
        grid-template-columns: 1fr;
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .topbar-container {
        padding: 0 1rem;
    }
    .hide-mobile {
        display: none !important;
    }
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }
    .btn-hero {
        width: 100%;
        justify-content: center;
    }
    .footer-top, .footer-links-row, .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ══════════════════════════════════════════════════════════════
   23. IMMORTALS-INSPIRED ULTRA-SLEEK GAMING SIDEBAR
   ══════════════════════════════════════════════════════════════ */
.immortals-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

/* ── 0. Server Telemetry Strip ── */
.sidebar-telemetry-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(14, 20, 38, 0.95), rgba(9, 13, 26, 0.98));
    border: 1px solid rgba(218, 165, 32, 0.28);
    border-radius: var(--radius-pill);
    padding: 0.6rem 1.2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.st-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    white-space: nowrap;
}

.st-divider {
    width: 1px;
    height: 16px;
    background: rgba(218, 165, 32, 0.2);
}

.st-orb {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: relative;
}

.st-orb.online {
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
}

.st-orb.online::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid #10b981;
    animation: statusPulse 2s infinite;
}

.st-orb.offline {
    background: #ef4444;
    box-shadow: 0 0 10px #ef4444;
}

.st-status-label {
    font-weight: 800;
    color: #34d399;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
}

.st-counter {
    font-family: var(--font-mono);
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: 0.04em;
    font-size: 0.88rem;
}

.st-clock-val {
    font-family: var(--font-mono);
    font-weight: 700;
    color: #fbbf24;
    letter-spacing: 0.03em;
    font-size: 0.84rem;
}

/* ── Common Sidebar Widget Container ── */
.sidebar-widget {
    background: var(--surface-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(218, 165, 32, 0.22);
    border-top: 1px solid rgba(251, 191, 36, 0.45);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 35px -5px rgba(0, 0, 0, 0.75), 0 0 1px 1px rgba(255, 255, 255, 0.04);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.sidebar-widget:hover {
    box-shadow: 0 16px 42px -6px rgba(0, 0, 0, 0.85), 0 0 20px rgba(218, 165, 32, 0.15);
    border-color: rgba(218, 165, 32, 0.38);
}

/* ── Sidebar Widget Header ── */
.sidebar-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1.25rem;
    background: linear-gradient(90deg, rgba(28, 36, 56, 0.95), rgba(18, 24, 38, 0.95), rgba(28, 36, 56, 0.95));
    border-bottom: 1px solid rgba(218, 165, 32, 0.2);
}

.sw-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sw-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.sw-icon-fire {
    background: rgba(234, 88, 12, 0.18);
    border: 1px solid rgba(249, 115, 22, 0.35);
    color: var(--fire-bright);
    box-shadow: 0 0 12px rgba(234, 88, 12, 0.25);
}

.sw-icon-gold {
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: var(--gold-glow);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}

.sw-icon-sapphire {
    background: rgba(37, 99, 235, 0.18);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: var(--sapphire-bright);
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.25);
}

.sw-icon-royal {
    background: rgba(218, 165, 32, 0.18);
    border: 1px solid rgba(218, 165, 32, 0.4);
    box-shadow: 0 0 12px rgba(218, 165, 32, 0.3);
}

.sw-icon-discord {
    background: rgba(88, 101, 242, 0.2);
    border: 1px solid rgba(88, 101, 242, 0.45);
    color: #5865F2;
    box-shadow: 0 0 12px rgba(88, 101, 242, 0.3);
}

.sw-icon-fb {
    background: rgba(24, 119, 242, 0.2);
    border: 1px solid rgba(24, 119, 242, 0.45);
    color: #1877F2;
    box-shadow: 0 0 12px rgba(24, 119, 242, 0.3);
}

.sw-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--gold-glow);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

body[dir="rtl"] .sw-title {
    font-family: var(--font-arabic);
    letter-spacing: 0;
    font-size: 0.98rem;
}

.sw-subtitle {
    font-size: 0.72rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.15rem;
}

.sw-badge {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-pill);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.sw-badge-pulse {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.45);
    color: #34d399;
}

.sw-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    animation: statusPulse 1.8s infinite;
}

.sw-badge-gold {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: var(--gold-glow);
}

.sw-badge-green {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: var(--emerald-glow);
}

.sw-badge-discord {
    background: rgba(88, 101, 242, 0.2);
    border: 1px solid rgba(88, 101, 242, 0.4);
    color: #9AA5FF;
}

.sw-badge-fb {
    background: rgba(24, 119, 242, 0.2);
    border: 1px solid rgba(24, 119, 242, 0.4);
    color: #60a5fa;
}

.sw-badge-btn {
    background: rgba(218, 165, 32, 0.15);
    border: 1px solid rgba(218, 165, 32, 0.35);
    color: var(--gold-bright);
    text-decoration: none;
    transition: all 0.2s ease;
}

.sw-badge-btn:hover {
    background: rgba(218, 165, 32, 0.3);
    color: #ffffff;
    border-color: var(--gold-glow);
}

.sidebar-widget-body {
    padding: 1.25rem;
}

/* ── 1. Event Radar Components ── */
.radar-spotlight {
    background: linear-gradient(135deg, rgba(22, 28, 48, 0.9), rgba(13, 18, 32, 0.95));
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-md);
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.spotlight-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.spotlight-status-tag {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--gold-bright);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.spotlight-timer {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 800;
    color: #ef4444;
    letter-spacing: 0.05em;
    background: rgba(239, 68, 68, 0.12);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.spotlight-name {
    font-size: 0.98rem;
    color: var(--text-heading);
    margin: 0 0 0.2rem;
    font-weight: 800;
}

.spotlight-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.radar-schedule-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.radar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(11, 16, 32, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.75rem;
    transition: all 0.2s ease;
}

.radar-item:hover {
    background: rgba(16, 24, 48, 0.85);
    border-color: rgba(218, 165, 32, 0.25);
    transform: translateX(2px);
}

body[dir="rtl"] .radar-item:hover {
    transform: translateX(-2px);
}

.radar-item.ri-active {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
}

.radar-item.ri-highlight {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(11, 16, 32, 0.7));
    border-color: rgba(245, 158, 11, 0.25);
}

.ri-time {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--gold-glow);
    flex-shrink: 0;
}

.ri-info {
    flex: 1;
    min-width: 0;
}

.ri-title {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ri-sub {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.ri-reward {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    white-space: nowrap;
}

.ri-reward-gold { background: rgba(245, 158, 11, 0.15); color: var(--gold-glow); border: 1px solid rgba(245, 158, 11, 0.3); }
.ri-reward-blue { background: rgba(56, 189, 248, 0.15); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }
.ri-reward-emerald { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.ri-reward-fire { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }

.sw-footer-action {
    margin-top: 0.9rem;
    text-align: center;
}

.sw-btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold-bright);
    text-decoration: none;
    transition: all 0.2s ease;
}

.sw-btn-link:hover {
    color: var(--gold-glow);
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

/* ── 2. Season Reset Countdown Components ── */
.season-clock-card {
    background: rgba(11, 16, 32, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    margin-bottom: 0.8rem;
    transition: all 0.2s ease;
}

.season-clock-card:last-child {
    margin-bottom: 0;
}

.season-clock-card:hover {
    background: rgba(15, 22, 44, 0.9);
    border-color: rgba(218, 165, 32, 0.3);
}

.scc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.6rem;
}

.scc-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.84rem;
    color: var(--text-light);
}

.scc-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.scc-icon-bi {
    font-size: 1.05rem;
}

.scc-tag {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.06);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}

.scc-digits-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-bottom: 0.6rem;
}

.scc-digit-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 44px;
    background: rgba(6, 9, 18, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 0.3rem 0.2rem;
}

.scc-num {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gold-glow);
    line-height: 1;
}

.scc-unit {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 0.2rem;
}

.scc-colon {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: -0.6rem;
}

.scc-progress-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.scc-progress-bar {
    height: 100%;
    border-radius: 2px;
    transition: width 0.5s ease;
}

.scc-bar-gold {
    background: linear-gradient(90deg, #d97706, #fbbf24);
    box-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

.scc-bar-pink {
    background: linear-gradient(90deg, #db2777, #f472b6);
    box-shadow: 0 0 8px rgba(244, 114, 182, 0.5);
}

.scc-bar-sapphire {
    background: linear-gradient(90deg, #2563eb, #38bdf8);
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

.text-pink { color: #f472b6 !important; }
.text-sapphire { color: #38bdf8 !important; }

/* ── 3. Highest Nobles Leaderboard Components ── */
.nobles-table-head {
    display: flex;
    align-items: center;
    padding: 0.55rem 1rem;
    background: rgba(6, 9, 18, 0.5);
    border-bottom: 1px solid rgba(218, 165, 32, 0.15);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.nth-rank { width: 32px; text-align: center; }
.nth-crown { width: 36px; text-align: center; }
.nth-name { flex: 1; padding: 0 0.5rem; }
.nth-donation { width: 75px; text-align: right; }
body[dir="rtl"] .nth-donation { text-align: left; }

.nobles-list {
    display: flex;
    flex-direction: column;
}

.noble-row {
    display: flex;
    align-items: center;
    padding: 0.65rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.2s ease;
}

.noble-row:last-child {
    border-bottom: none;
}

.noble-row:hover {
    background: rgba(37, 99, 235, 0.12);
}

.noble-rank-1 {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.12), transparent);
}

.nr-rank-col {
    width: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nr-rank-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
}

.nr-num-1 { background: linear-gradient(135deg, #f59e0b, #d97706); color: #0b1329; box-shadow: 0 0 8px rgba(245, 158, 11, 0.6); }
.nr-num-2 { background: linear-gradient(135deg, #e2e8f0, #94a3b8); color: #0b1329; }
.nr-num-3 { background: linear-gradient(135deg, #d97706, #78350f); color: #ffffff; }

.nr-crown-col {
    width: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nr-crown-img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.4));
}

.nr-name-col {
    flex: 1;
    min-width: 0;
    padding: 0 0.5rem;
}

.nr-player-name {
    display: block;
    font-size: 0.88rem;
    color: var(--text-heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nr-class-tag {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: block;
}

.nr-donation-col {
    width: 75px;
    text-align: right;
}

body[dir="rtl"] .nr-donation-col {
    text-align: left;
}

.nr-donation-val {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--gold-glow);
}

/* ── 4. Quick Downloads Widget Components ── */
.sw-download-btn-full {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--gold-gradient);
    color: #0b1329 !important;
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(217, 119, 6, 0.45);
    transition: all 0.25s ease;
    margin-bottom: 0.65rem;
    position: relative;
    overflow: hidden;
}

.sw-download-btn-full::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    animation: sweepShine 3.5s infinite;
}

.sw-download-btn-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(245, 158, 11, 0.65);
}

.sdb-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #0b1329;
    flex-shrink: 0;
}

.sdb-info {
    flex: 1;
}

.sdb-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
}

.sdb-meta {
    display: block;
    font-size: 0.72rem;
    color: #3b2a06;
    font-weight: 600;
    margin-top: 0.15rem;
}

.sdb-arrow {
    font-size: 1.2rem;
    color: #0b1329;
    transition: transform 0.2s ease;
}

.sw-download-btn-full:hover .sdb-arrow {
    transform: translateY(2px);
}

.sw-download-btn-patch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: var(--sapphire-bright) !important;
    border-radius: var(--radius-md);
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sw-download-btn-patch:hover {
    background: rgba(37, 99, 235, 0.3);
    border-color: var(--sapphire-bright);
    color: #ffffff !important;
    box-shadow: 0 0 14px rgba(37, 99, 235, 0.4);
}

.patch-size-pill {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.35);
    color: var(--text-muted);
}

.sw-mirrors-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mirrors-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.mirrors-icons {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.mirrors-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.mirrors-icons a:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(218, 165, 32, 0.4);
}

.mirrors-icons img {
    width: 15px;
    height: 15px;
    object-fit: contain;
}

/* ── 5. Discord Widget Components ── */
.discord-hero-banner {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.15) 0%, rgba(13, 18, 36, 0.95) 100%);
    border: 1px solid rgba(88, 101, 242, 0.35);
    border-radius: var(--radius-md);
    padding: 1.1rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.dhb-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.dhb-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #5865F2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.4rem;
    box-shadow: 0 0 14px rgba(88, 101, 242, 0.6);
    flex-shrink: 0;
}

.dhb-info strong {
    display: block;
    font-size: 0.95rem;
    color: #ffffff;
}

.dhb-status-line {
    font-size: 0.75rem;
    color: #9AA5FF;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.15rem;
}

.dhb-online-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #23a55a;
}

.dhb-tagline {
    font-size: 0.8rem;
    color: var(--text-body);
    line-height: 1.5;
    margin: 0 0 0.9rem;
}

.dhb-join-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: #5865F2;
    color: #ffffff !important;
    border-radius: var(--radius-md);
    padding: 0.65rem 1rem;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.5);
    transition: all 0.2s ease;
}

.dhb-join-btn:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.7);
}

.discord-iframe-wrap {
    margin-top: 0.85rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── 6. Facebook & Social Widget Components ── */
.fb-preview-card {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.12) 0%, rgba(13, 18, 36, 0.95) 100%);
    border: 1px solid rgba(24, 119, 242, 0.3);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 0.9rem;
}

.fb-pc-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.7rem;
}

.fb-pc-logo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: contain;
    background: #0b1329;
    border: 2px solid #1877F2;
    box-shadow: 0 0 10px rgba(24, 119, 242, 0.4);
    flex-shrink: 0;
}

.fb-pc-title {
    display: block;
    font-size: 0.9rem;
    color: var(--text-heading);
}

.fb-pc-sub {
    font-size: 0.74rem;
    color: var(--text-muted);
}

.fb-pc-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.78rem;
    color: var(--text-light);
}

.fb-stat-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.fb-follow-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: #1877F2;
    color: #ffffff !important;
    border-radius: var(--radius-md);
    padding: 0.6rem 1rem;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.45);
    transition: all 0.2s ease;
}

.fb-follow-link:hover {
    background: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(24, 119, 242, 0.65);
}

.social-channels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
}

.sc-channel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.55rem 0.4rem;
    border-radius: var(--radius-sm);
    background: rgba(11, 16, 32, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.sc-channel i {
    font-size: 1.1rem;
}

.sc-channel:hover {
    transform: translateY(-2px);
    border-color: rgba(218, 165, 32, 0.4);
    color: #ffffff;
}

.sc-ch-discord:hover { background: rgba(88, 101, 242, 0.25); color: #9AA5FF; }
.sc-ch-fb:hover { background: rgba(24, 119, 242, 0.25); color: #60a5fa; }
.sc-ch-wa:hover { background: rgba(37, 211, 102, 0.25); color: #34d399; }
.sc-ch-yt:hover { background: rgba(239, 68, 68, 0.25); color: #f87171; }
.sc-ch-vote:hover { background: rgba(245, 158, 11, 0.25); color: var(--gold-glow); }

/* ── 7. Audio Widget ── */
.audio-player-card {
    padding: 1.1rem 1.25rem;
    text-align: center;
}

.ap-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.ap-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--gold-glow);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.ap-wave {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
}

.ap-wave span {
    width: 2px;
    height: 100%;
    background: var(--gold-glow);
    border-radius: 1px;
    animation: waveBounce 1.2s infinite ease-in-out;
}

.ap-wave span:nth-child(2) { animation-delay: 0.2s; height: 70%; }
.ap-wave span:nth-child(3) { animation-delay: 0.4s; height: 90%; }
.ap-wave span:nth-child(4) { animation-delay: 0.1s; height: 50%; }

@keyframes waveBounce {
    0%, 100% { transform: scaleY(0.4); }
    50% { transform: scaleY(1); }
}

.valyria-audio-ctrl {
    width: 100%;
    height: 32px;
    border-radius: 16px;
    outline: none;
    filter: invert(0.85) hue-rotate(180deg);
}