/* ==========================================================================
   IMPACT ONLINE 6609 - AAA MODERN GAMING PORTAL MASTER STYLESHEET
   Design System: Dark Glassmorphic Fantasy, Chiseled Gold, Cyan Frost & Obsidian
   ========================================================================== */

:root {
    --bg-dark: #06080d;
    --bg-surface: rgba(13, 17, 27, 0.75);
    --bg-card: rgba(18, 24, 38, 0.65);
    --bg-card-hover: rgba(26, 34, 52, 0.85);
    --border-gold: rgba(212, 175, 55, 0.3);
    --border-gold-glow: rgba(212, 175, 55, 0.6);
    --border-cyan: rgba(56, 189, 248, 0.35);
    --gold-primary: #d4af37;
    --gold-light: #fef08a;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #aa8214 50%, #fef08a 100%);
    --cyan-primary: #38bdf8;
    --cyan-glow: #00e5ff;
    --crimson-primary: #ef4444;
    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
    --text-gold: #f5d061;
    --font-heading: 'Cinzel', serif;
    --font-ui: 'Rajdhani', sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* ==========================================================================
   FLOATING EMBERS PARTICLES
   ========================================================================== */
.embers-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.ember {
    position: absolute;
    bottom: -20px;
    background: radial-gradient(circle, rgba(254, 240, 138, 0.9) 0%, rgba(212, 175, 55, 0.4) 60%, transparent 100%);
    border-radius: 50%;
    pointer-events: none;
    animation: riseUp 12s infinite linear;
}

@keyframes riseUp {
    0% {
        transform: translateY(0) scale(0.6);
        opacity: 0;
    }
    15% {
        opacity: 0.8;
    }
    85% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-110vh) scale(1.2);
        opacity: 0;
    }
}

/* ==========================================================================
   FLOATING MODERN NAVBAR
   ========================================================================== */
.modern-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: rgba(6, 8, 13, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 100;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-brand-emblem {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-brand:hover .nav-brand-emblem {
    transform: rotate(15deg) scale(1.05);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
}

.nav-brand-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #fff 0%, #fef08a 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-brand-version {
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 700;
    color: var(--cyan-primary);
    letter-spacing: 1.5px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 2px 7px;
    border-radius: 3px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-link {
    color: #cbd5e1;
    text-decoration: none;
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.2s ease;
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    box-shadow: 0 0 8px var(--gold-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.server-pulse-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(18, 24, 38, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 7px 14px;
    border-radius: 20px;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 700;
}

.pulse-dot-online {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulseDot 2s infinite;
}

.pulse-dot-offline {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 10px #ef4444;
}

@keyframes pulseDot {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.btn-nav-download {
    background: linear-gradient(135deg, #d4af37 0%, #aa8214 100%);
    color: #06080d;
    font-family: var(--font-ui);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 9px 20px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-nav-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    filter: brightness(1.1);
}

/* ==========================================================================
   HERO BANNER SECTION (CINEMATIC LIVING MOTION & ATMOSPHERIC LAYERS)
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 130px 20px 90px;
    background: transparent;
    z-index: 2;
    overflow: hidden;
}

/* Background Wrapper & Parallax Image Layer */
.hero-bg-wrapper {
    position: absolute;
    inset: -35px;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    inset: -45px;
    background: url('../images/hero_epic_bg.jpg') center 25% / cover no-repeat;
    transform-origin: center center;
    will-change: transform;
    animation: heroCinematicDrift 28s ease-in-out infinite alternate;
    transition: transform 0.15s cubic-bezier(0.2, 0.9, 0.4, 1);
}

@keyframes heroCinematicDrift {
    0% {
        transform: scale(1.06) translate3d(0, 0, 0);
    }
    50% {
        transform: scale(1.12) translate3d(-1.2%, -0.8%, 0);
    }
    100% {
        transform: scale(1.08) translate3d(1.2%, 0.8%, 0);
    }
}

/* Divine Celestial Godrays */
.hero-godrays {
    position: absolute;
    top: -80px;
    left: 15%;
    right: 15%;
    height: 75%;
    background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(212, 175, 55, 0.18) 0%, rgba(56, 189, 248, 0.07) 35%, transparent 75%);
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 2;
    animation: godraysBreath 8s ease-in-out infinite alternate;
}

@keyframes godraysBreath {
    0% {
        opacity: 0.45;
        transform: scale(0.96);
    }
    100% {
        opacity: 0.88;
        transform: scale(1.04);
    }
}

/* Volumetric Atmospheric Drifting Fog Layers */
.hero-fog-layer {
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: none;
    background-repeat: repeat-x;
    will-change: transform;
    z-index: 3;
}

.hero-fog-deep {
    bottom: 0;
    height: 55%;
    background-image: 
        radial-gradient(ellipse 700px 240px at 50% 90%, rgba(15, 23, 42, 0.65) 0%, transparent 75%),
        linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.06) 20%, transparent 45%, rgba(212, 175, 55, 0.05) 75%, transparent 100%);
    background-size: 100% 100%, 1400px 100%;
    opacity: 0.7;
    animation: fogDriftDeep 38s linear infinite;
}

.hero-fog-front {
    bottom: -20px;
    height: 42%;
    background-image: linear-gradient(90deg, transparent 0%, rgba(15, 23, 42, 0.45) 35%, transparent 70%, rgba(15, 23, 42, 0.4) 95%, transparent 100%);
    background-size: 1600px 100%;
    opacity: 0.6;
    animation: fogDriftFront 24s linear infinite reverse;
}

@keyframes fogDriftDeep {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 0 0, 1400px 0; }
}

@keyframes fogDriftFront {
    0% { background-position: 0 0; }
    100% { background-position: 1600px 0; }
}

/* Interactive Dragon Chi & Martial Arts Particles Canvas */
.hero-particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
}

/* Atmospheric Vignette & Contrast Gradients */
.hero-vignette {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 70% 60% at 50% 42%, rgba(6, 8, 13, 0.25) 0%, rgba(6, 8, 13, 0.78) 70%, var(--bg-dark) 100%),
        linear-gradient(180deg, rgba(6, 8, 13, 0.6) 0%, transparent 30%, var(--bg-dark) 100%);
    pointer-events: none;
    z-index: 5;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
}

/* Dragon Chi Aura & Hero Logo Container */
.hero-logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 22px;
    perspective: 1000px;
}

.hero-dragon-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 135%;
    height: 135%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(212, 175, 55, 0.35) 0%, rgba(56, 189, 248, 0.12) 42%, transparent 72%);
    filter: blur(28px);
    pointer-events: none;
    z-index: 1;
    animation: dragonAuraPulse 5.5s ease-in-out infinite alternate;
}

@keyframes dragonAuraPulse {
    0% {
        transform: translate(-50%, -50%) scale(0.94);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.08);
        opacity: 0.88;
        filter: blur(34px);
    }
    100% {
        transform: translate(-50%, -50%) scale(0.98);
        opacity: 0.65;
    }
}

.hero-logo-img {
    position: relative;
    z-index: 2;
    max-width: 580px;
    width: 90vw;
    height: auto;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 30px rgba(212, 175, 55, 0.45));
    transition: transform 0.2s cubic-bezier(0.2, 0.9, 0.4, 1);
    will-change: transform;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gold-light);
    text-transform: uppercase;
    margin-bottom: 14px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-tagline-icon {
    color: var(--gold-primary);
    animation: dragonIconSpin 8s ease-in-out infinite alternate;
}

@keyframes dragonIconSpin {
    0% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5)); }
    100% { transform: scale(1.15); filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.9)); }
}

.hero-description {
    font-size: 16px;
    color: #cbd5e1;
    max-width: 680px;
    margin: 0 auto 36px;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

/* Living CTA Primary Button */
.btn-cta-primary {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #eab308 0%, #d4af37 35%, #b45309 85%, #d4af37 100%);
    background-size: 200% 200%;
    color: #0b0707;
    font-family: var(--font-ui);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 4px;
    clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.5), 0 10px 25px rgba(0, 0, 0, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, filter 0.25s ease;
    animation: gradientShift 6s ease infinite;
}

.btn-cta-primary .btn-shine {
    position: absolute;
    top: -60%;
    left: -120%;
    width: 60%;
    height: 220%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.6) 50%, transparent 100%);
    transform: rotate(25deg);
    pointer-events: none;
    animation: btnShineSweep 3.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes btnShineSweep {
    0% { left: -120%; }
    35%, 100% { left: 220%; }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn-cta-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.8), 0 14px 30px rgba(0, 0, 0, 0.85);
    filter: brightness(1.15);
}

.btn-cta-secondary {
    background: rgba(18, 24, 38, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-cyan);
    color: #fff;
    font-family: var(--font-ui);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 34px;
    border-radius: 4px;
    clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-cta-secondary:hover {
    background: rgba(56, 189, 248, 0.18);
    border-color: var(--cyan-primary);
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.55);
    color: #fff;
}

/* ==========================================================================
   QUICK LIVE METRICS STRIP
   ========================================================================== */
.metrics-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: rgba(13, 17, 27, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 18px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
}

.metric-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--gold-primary);
}

.metric-value {
    font-family: var(--font-ui);
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.metric-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   MAIN SECTION WRAPPERS & TITLES
   ========================================================================== */
.main-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 5;
}

.section-spacer {
    padding: 70px 0;
}

.section-heading-center {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.section-pretitle {
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 800;
    color: var(--cyan-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title-divider {
    width: 80px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 14px auto 0;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    border-radius: 2px;
}

/* ==========================================================================
   HARDCORE REALM SPECIFICATIONS GRID
   ========================================================================== */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 22px;
}

.spec-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    padding: 26px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.spec-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.spec-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.15);
}

.spec-card:hover::before {
    opacity: 1;
}

.spec-card-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.spec-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--gold-light);
    flex-shrink: 0;
}

.spec-card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.spec-card-desc {
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.6;
}

.spec-highlight {
    color: var(--gold-primary);
    font-weight: 700;
}

.spec-badge-cyan {
    color: var(--cyan-primary);
    font-weight: 700;
}

/* ==========================================================================
   10-CLASS IMPERIAL ROSTER (INTERACTIVE SHOWCASE)
   ========================================================================== */
.class-tabs-container {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.class-nav-strip {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    background: rgba(8, 11, 18, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.class-nav-btn {
    padding: 14px 6px;
    text-align: center;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
}

.class-nav-btn:last-child {
    border-right: none;
}

.class-nav-btn i {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
    color: #94a3b8;
    transition: color 0.2s ease, transform 0.2s ease;
}

.class-nav-btn:hover, .class-nav-btn.active {
    background: rgba(212, 175, 55, 0.12);
    color: #fff;
}

.class-nav-btn.active {
    box-shadow: inset 0 -3px 0 var(--gold-primary);
}

.class-nav-btn.active i {
    color: var(--gold-primary);
    transform: scale(1.15);
}

.class-detail-card {
    display: none;
    padding: 35px 40px;
    animation: fadeIn 0.3s ease;
}

.class-detail-card.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

.class-title-large {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.class-role-badge {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 700;
    color: var(--cyan-primary);
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.class-summary {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.class-perks-list {
    list-style: none;
    margin-bottom: 26px;
}

.class-perks-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #e2e8f0;
    margin-bottom: 8px;
}

.class-perks-list li i {
    color: var(--gold-primary);
}

.class-visual-box {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.3) 0%, rgba(6, 8, 13, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.75), inset 0 0 35px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.class-visual-box .class-art-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.class-visual-box:hover .class-art-img {
    transform: scale(1.05);
}

.class-visual-box .class-art-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 8, 13, 0.05) 0%, rgba(6, 8, 13, 0.35) 55%, rgba(6, 8, 13, 0.95) 100%);
    pointer-events: none;
    z-index: 2;
}

.class-visual-box .class-art-caption {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 16px 20px;
    text-align: center;
    background: rgba(6, 8, 13, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.class-visual-box .class-art-caption span {
    font-family: var(--font-heading);
    color: #fef08a;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

/* ==========================================================================
   WAR & TOURNAMENT TIMETABLE SECTION
   ========================================================================== */
.wars-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 24px;
}

.countdown-hero-card {
    background: linear-gradient(135deg, rgba(225, 29, 72, 0.15) 0%, rgba(13, 17, 27, 0.9) 100%);
    border: 1px solid rgba(225, 29, 72, 0.4);
    border-radius: 8px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.countdown-hero-card.is-live {
    border-color: #ef4444;
    animation: livePulseBorder 2s infinite;
}

@keyframes livePulseBorder {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6); }
    70% { box-shadow: 0 0 0 14px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.war-badge-tag {
    display: inline-block;
    align-self: center;
    background: rgba(225, 29, 72, 0.2);
    border: 1px solid rgba(225, 29, 72, 0.5);
    color: #ff4d6d;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.war-hero-name {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.war-hero-time {
    color: #cbd5e1;
    font-size: 13px;
    margin-bottom: 22px;
}

.countdown-digits {
    font-family: var(--font-ui);
    font-size: 38px;
    font-weight: 900;
    color: var(--gold-light);
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 18px;
}

.wars-schedule-table {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.wars-table-row {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr 1fr;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
    font-size: 13px;
}

.wars-table-row:last-child {
    border-bottom: none;
}

.wars-table-header {
    background: rgba(8, 11, 18, 0.8);
    font-family: var(--font-ui);
    font-weight: 800;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
}

.wars-table-row:hover:not(.wars-table-header) {
    background: rgba(255, 255, 255, 0.02);
}

/* ==========================================================================
   DYNAMIC LEADERBOARDS HUB (CLEAN DB-SYNC)
   ========================================================================== */
.rankings-hub {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.ranking-card-box {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.ranking-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(8, 11, 18, 0.85);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.ranking-card-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ranking-view-all {
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    color: var(--cyan-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ranking-view-all:hover {
    color: #fff;
}

.ranking-lane {
    display: grid;
    grid-template-columns: 40px 40px 1fr 100px 90px;
    align-items: center;
    padding: 11px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 13px;
    transition: background 0.2s ease;
}

.ranking-lane:hover {
    background: rgba(212, 175, 55, 0.05);
}

.rank-order {
    font-family: var(--font-ui);
    font-weight: 800;
    font-size: 16px;
    color: var(--text-muted);
}

.rank-order.crown-1 { color: #f1c40f; text-shadow: 0 0 10px rgba(241, 196, 15, 0.6); }
.rank-order.crown-2 { color: #e2e8f0; }
.rank-order.crown-3 { color: #cd7f32; }

.rank-avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.4);
    object-fit: cover;
}

.rank-player-name {
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-class-badge {
    font-size: 12px;
    color: #94a3b8;
}

.rank-score-highlight {
    font-family: var(--font-ui);
    font-weight: 800;
    font-size: 14px;
    color: var(--gold-light);
    text-align: right;
}

/* ==========================================================================
   DOWNLOAD CENTER HERO CARDS
   ========================================================================== */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.download-option-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 8px;
    padding: 32px 28px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.download-option-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-primary);
}

.download-card-icon {
    font-size: 46px;
    color: var(--gold-primary);
    margin-bottom: 14px;
}

.download-card-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.download-card-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.modern-footer {
    background: #040609;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding: 40px 0 30px;
    margin-top: 80px;
    position: relative;
    z-index: 5;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #64748b;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
    .modern-navbar {
        padding: 0 20px;
    }
    .nav-links {
        display: none; /* Mobile menu can toggle */
    }
    .metrics-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .wars-grid, .rankings-hub, .downloads-grid {
        grid-template-columns: 1fr;
    }
    .class-nav-strip {
        grid-template-columns: repeat(5, 1fr);
    }
    .class-detail-card.active {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .metrics-strip {
        grid-template-columns: 1fr;
    }
    .class-nav-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   AUTHENTICATION & FORM STYLING (LOGIN / REGISTER / SETTINGS)
   ========================================================================== */
.vx-auth-page {
    max-width: 580px;
    margin: 130px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

.vx-auth-switcher {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.vx-switcher-btn {
    flex: 1;
    text-align: center;
    background: rgba(18, 24, 38, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    text-decoration: none;
    font-family: var(--font-ui);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.vx-switcher-btn:hover, .vx-switcher-btn.active {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--gold-primary);
    color: #fff;
}

.vx-auth-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.vx-card-header {
    background: rgba(8, 11, 18, 0.9);
    padding: 20px 24px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
}

.vx-card-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.vx-card-body {
    padding: 26px 24px;
}

.vx-form-group {
    margin-bottom: 18px;
}

.vx-form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 6px;
}

.vx-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.vx-input-icon {
    position: absolute;
    left: 14px;
    color: var(--gold-primary);
    font-size: 16px;
}

.vx-auth-input {
    width: 100%;
    background: rgba(6, 8, 13, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    padding: 12px 14px 12px 42px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vx-auth-input:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
}

.vx-form-checkbox {
    margin-bottom: 22px;
    color: #cbd5e1;
    font-size: 13px;
}

.vx-form-checkbox input {
    margin-right: 8px;
    accent-color: var(--gold-primary);
}

.vx-auth-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #d4af37 0%, #aa8214 100%);
    border: none;
    color: #06080d;
    font-family: var(--font-ui);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.vx-auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.6);
    filter: brightness(1.1);
}

.vx-auth-footer {
    margin-top: 22px;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
}

.vx-auth-footer a {
    color: var(--gold-light);
    font-weight: 700;
    text-decoration: none;
    margin-left: 6px;
}

.vx-auth-footer a:hover {
    text-decoration: underline;
}

.vx-auth-alert {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 6px;
    padding: 12px 16px;
    color: #fca5a5;
    margin-bottom: 20px;
}

.vx-auth-perks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background: rgba(6, 8, 13, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 22px;
    text-align: center;
    font-size: 11px;
    color: #cbd5e1;
}

.vx-auth-perk-item i {
    display: block;
    margin-bottom: 4px;
}

/* ==========================================================================
   CONQUER LIVING SITE-WIDE ANIMATIONS (GPU ACCELERATED • ZERO LAG)
   ========================================================================== */

/* 1. Scroll-Triggered Reveal Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 2. Radar Ping on Server Socket Pulse */
.pulse-dot-online {
    position: relative;
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #10b981;
}

.pulse-dot-online::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #10b981;
    opacity: 0.8;
    animation: radarPing 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes radarPing {
    0% { transform: scale(0.9); opacity: 0.9; }
    75%, 100% { transform: scale(2.3); opacity: 0; }
}

/* 3. Martial Arts Living Breath for Active Class Portrait */
.class-visual-box .class-art-img {
    animation: martialFloatingBreath 7s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes martialFloatingBreath {
    0% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(1.025) translateY(-5px);
    }
    100% {
        transform: scale(1.01) translateY(2px);
    }
}

/* 4. War Countdown Box Active Border Shimmer */
.war-countdown-box {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.2);
}

.war-countdown-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #d4af37 50%, #38bdf8 80%, transparent 100%);
    animation: borderGlowSweep 4.5s linear infinite;
    pointer-events: none;
}

@keyframes borderGlowSweep {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* 5. Living Micro-Interactions on Spec & Feature Cards */
.spec-card, .feature-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.spec-card:hover, .feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.25) !important;
    border-color: rgba(212, 175, 55, 0.45) !important;
}

.ranking-card-box {
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.ranking-card-box:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), 0 0 20px rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.3);
}

/* ==========================================================================
   NATURAL FLUID SCROLLING (GUARANTEED ZERO LOCK / UNBLOCKED NATIVE SCROLL)
   ========================================================================== */
html {
    scroll-behavior: smooth;
    overflow-y: auto !important;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    overflow-y: visible !important;
    position: relative;
}

/* ==========================================================================
   CONQUER ONLINE AUTHENTIC BGM PLAYER PILL
   ========================================================================== */
.conquer-music-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(18, 24, 38, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--gold-light);
    padding: 7px 16px;
    border-radius: 20px;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.conquer-music-btn:hover {
    border-color: var(--gold-primary);
    color: #fff;
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.5);
    transform: translateY(-1px);
}

.conquer-music-btn.playing {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(234, 179, 8, 0.15) 100%);
    border-color: var(--gold-primary);
    color: #fff;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.conquer-music-btn.playing i {
    color: #10b981;
    animation: musicPulse 1.2s ease-in-out infinite alternate;
}

@keyframes musicPulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 2px #10b981); }
    100% { transform: scale(1.25); filter: drop-shadow(0 0 8px #10b981); }
}

/* ==========================================================================
   HERO MARTIAL LIGHTNING & CLICK CHI SHOCKWAVE
   ========================================================================== */
.hero-lightning {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 85% 65% at 50% 15%, rgba(186, 230, 253, 0.32) 0%, rgba(212, 175, 55, 0.16) 35%, transparent 75%);
    mix-blend-mode: screen;
    opacity: 0;
    pointer-events: none;
    z-index: 3;
    will-change: opacity;
    transition: opacity 0.08s ease-out;
}

.hero-lightning.flash-active {
    opacity: 1 !important;
}

.chi-shockwave {
    position: absolute;
    width: 14px;
    height: 14px;
    margin-left: -7px;
    margin-top: -7px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.95);
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.9), inset 0 0 18px rgba(212, 175, 55, 0.8);
    pointer-events: none;
    z-index: 15;
    animation: shockwaveExpand 0.75s cubic-bezier(0.12, 0.8, 0.25, 1) forwards;
}

@keyframes shockwaveExpand {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(38);
        opacity: 0;
    }
}

/* ==========================================================================
   LIVE WORLD BOSS RADAR & INTELLIGENCE SECTION
   ========================================================================== */
.boss-radar-section {
    background: radial-gradient(ellipse 80% 50% at 50% 10%, rgba(18, 24, 38, 0.75) 0%, var(--bg-dark) 100%);
    position: relative;
    border-top: 1px solid rgba(212, 175, 55, 0.12);
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

/* Realm Quick Entry Info Strip */
.dragon-quick-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: rgba(13, 17, 27, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 8px;
    padding: 14px 24px;
    margin-top: 24px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    font-size: 13px;
    color: #cbd5e1;
}

.dragon-quick-banner .banner-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dragon-quick-banner .banner-item i {
    color: var(--gold-primary);
    font-size: 15px;
}

.dragon-quick-banner .banner-item b {
    color: #fff;
    font-weight: 700;
}

/* 2-Column Surveillance Container */
.boss-surveillance-container {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 26px;
    align-items: stretch;
}

@media (max-width: 992px) {
    .boss-surveillance-container {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   HERO BOSS CARD (THE ACTIVE / UPCOMING BEAST SHOWCASE)
   ========================================================================== */
.hero-boss-card {
    background: radial-gradient(circle at 50% 20%, rgba(26, 34, 52, 0.95) 0%, rgba(13, 17, 27, 0.92) 100%);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), inset 0 0 35px rgba(212, 175, 55, 0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-boss-card::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-boss-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.hero-boss-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.hero-boss-pill.alive {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.6);
    color: #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.hero-boss-pill.respawn {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.6);
    color: #f59e0b;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
}

.hero-boss-pill .pulse-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: currentColor;
    animation: radarPing 2s infinite;
}

.hero-boss-schedule-badge {
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    color: var(--gold-light);
    background: rgba(6, 8, 13, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 6px;
}

/* 3D Beast Display Stage */
.hero-boss-stage {
    position: relative;
    z-index: 2;
    min-height: 290px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0 20px;
}

.hero-boss-img {
    max-height: 290px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.9), 0 0 25px rgba(212, 175, 55, 0.2);
    animation: heroBossHover 5s ease-in-out infinite alternate;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    will-change: transform;
}

@keyframes heroBossHover {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-10px) scale(1.02); }
}

/* Hero Boss Info Block */
.hero-boss-info {
    position: relative;
    z-index: 2;
}

.hero-boss-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 6px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.hero-boss-meta {
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 700;
    color: var(--cyan-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Bounty Callout Box */
.hero-bounty-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.18) 0%, rgba(18, 24, 38, 0.7) 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 18px;
}

.hero-bounty-box i {
    font-size: 24px;
    color: #fef08a;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
}

.hero-bounty-title {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
}

.hero-bounty-desc {
    font-size: 12px;
    color: #cbd5e1;
}

/* Action & Coords Row */
.hero-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-entry-reminder {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(6, 8, 13, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: #cbd5e1;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
}

.hero-entry-reminder i {
    color: var(--gold-primary);
    font-size: 15px;
}

.hero-entry-reminder b {
    color: #fff;
    font-weight: 700;
}

.hero-drop-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hero-drop-chip {
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 4px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #fef08a;
}

/* ==========================================================================
   BOSS ROSTER CARD (THE REST OF THE 12 REALM BEASTS)
   ========================================================================== */
.boss-roster-card {
    background: rgba(13, 17, 27, 0.88);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
}

.roster-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 14px;
}

.roster-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.roster-title i {
    color: var(--gold-primary);
}

.roster-subtitle {
    font-size: 11px;
    color: var(--text-muted);
}

/* Scrollable Beast List */
.boss-roster-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 6px;
}

.boss-roster-list::-webkit-scrollbar {
    width: 6px;
}
.boss-roster-list::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 4px;
}
.boss-roster-list::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* Single Roster Beast Item */
.roster-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(18, 24, 38, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.roster-item:hover {
    background: rgba(26, 34, 52, 0.95);
    border-color: rgba(212, 175, 55, 0.45);
    transform: translateX(4px);
}

.roster-item.active {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.18) 0%, rgba(26, 34, 52, 0.85) 100%);
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.roster-thumb-wrap {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: rgba(6, 8, 13, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.roster-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
    transition: transform 0.2s ease;
}

.roster-item:hover .roster-thumb {
    transform: scale(1.1);
}

.roster-details {
    flex: 1;
    min-width: 0;
}

.roster-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.roster-name {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.roster-role {
    font-size: 10px;
    color: var(--gold-light);
    font-family: var(--font-ui);
    font-weight: 700;
    text-transform: uppercase;
}

.roster-schedule {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 5px;
}

.roster-schedule i {
    font-size: 10px;
    color: var(--cyan-primary);
}

/* Roster Status Badge */
.roster-status-pill {
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 10px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.roster-status-pill.alive {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #10b981;
}

.roster-status-pill.respawn {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fef08a;
}

/* ==========================================================================
   CLASS SIGNATURE SKILLS CHIPS
   ========================================================================== */
.class-skills-strip {
    margin: 16px 0 20px;
    padding: 12px 14px;
    background: rgba(6, 8, 13, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 6px;
}

.class-skills-label {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.class-skills-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #e2e8f0;
    padding: 4px 10px;
    border-radius: 4px;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.skill-chip i {
    color: var(--gold-primary);
    font-size: 11px;
}

.skill-chip:hover {
    transform: translateY(-2px);
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.35);
    color: #fff;
}

/* ==========================================================================
   IMPERIAL LEADERBOARDS HUB (LUXURY REDESIGN)
   ========================================================================== */
.leaderboards-section {
    position: relative;
}

.hub-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin: 25px 0 35px;
}

.hub-nav-pills {
    display: inline-flex;
    background: rgba(8, 11, 20, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 40px;
    padding: 6px;
    gap: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    flex-wrap: wrap;
    justify-content: center;
}

.hub-pill-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 10px 22px;
    border-radius: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hub-pill-btn:hover {
    color: #fef08a;
    background: rgba(212, 175, 55, 0.08);
}

.hub-pill-btn.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.32), rgba(245, 158, 11, 0.18));
    border-color: rgba(212, 175, 55, 0.65);
    color: #fef08a;
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
}

.hub-tab-pane {
    display: none;
    animation: hubFadeIn 0.35s ease forwards;
}

.hub-tab-pane.active {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 28px;
    align-items: stretch;
}

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

/* 1. Champion Pedestal (Rank 1 Highlight) */
.champion-pedestal {
    background: linear-gradient(180deg, rgba(20, 27, 45, 0.95) 0%, rgba(9, 13, 23, 0.98) 100%);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 14px;
    padding: 34px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 35px rgba(212, 175, 55, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.champion-pedestal::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 190px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.champion-badge-ribbon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.25), rgba(212, 175, 55, 0.45), rgba(245, 158, 11, 0.25));
    border: 1px solid rgba(245, 158, 11, 0.65);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fef08a;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.4);
    margin-bottom: 22px;
}

.champion-avatar-wrap {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 16px;
}

.champion-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f59e0b;
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.55), inset 0 0 10px rgba(0, 0, 0, 0.8);
}

.champion-crown-float {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 26px;
    color: #facc15;
    filter: drop-shadow(0 2px 8px rgba(250, 204, 21, 0.85));
    animation: crownFloat 3s ease-in-out infinite alternate;
}

@keyframes crownFloat {
    from { transform: translateX(-50%) translateY(0); }
    to { transform: translateX(-50%) translateY(-5px); }
}

.champion-name {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.champion-subtag {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.champion-stat-pill {
    padding: 12px 20px;
    background: rgba(6, 9, 16, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    width: 100%;
    max-width: 250px;
}

.champion-stat-val {
    font-family: var(--font-ui);
    font-size: 22px;
    font-weight: 900;
    color: #fef08a;
    letter-spacing: 0.5px;
}

.champion-stat-lbl {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

/* 2. Contenders Ladder Card (Ranks 2-5) */
.contenders-ladder {
    background: linear-gradient(180deg, rgba(16, 22, 36, 0.92), rgba(9, 12, 20, 0.96));
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ladder-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: rgba(8, 11, 18, 0.85);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.ladder-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ladder-rows-list {
    display: flex;
    flex-direction: column;
}

.ladder-row {
    display: grid;
    grid-template-columns: 46px 48px 1fr 140px 110px;
    align-items: center;
    padding: 13px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.ladder-row:hover {
    background: rgba(212, 175, 55, 0.06);
    transform: translateX(4px);
}

.ladder-rank-tag {
    font-family: var(--font-ui);
    font-weight: 900;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ladder-rank-tag.rank-2 {
    color: #cbd5e1;
    text-shadow: 0 0 10px rgba(203, 213, 225, 0.5);
}

.ladder-rank-tag.rank-3 {
    color: #d97706;
    text-shadow: 0 0 10px rgba(217, 119, 6, 0.5);
}

.ladder-rank-tag.rank-other {
    color: var(--text-muted);
}

.ladder-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.ladder-player-info {
    min-width: 0;
    padding-right: 12px;
}

.ladder-player-name {
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ladder-player-sub {
    font-size: 11px;
    color: var(--text-muted);
}

.ladder-class-chip {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    text-align: center;
}

.ladder-score {
    text-align: right;
    font-family: var(--font-ui);
    font-weight: 800;
    font-size: 14px;
    color: #fef08a;
}

.ladder-footer {
    padding: 14px 20px;
    background: rgba(6, 9, 15, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: flex-end;
}

.ladder-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gold-light);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.ladder-view-all-btn:hover {
    color: #ffffff;
    transform: translateX(4px);
}

@media (max-width: 900px) {
    .hub-tab-pane.active {
        grid-template-columns: 1fr;
    }
    .ladder-row {
        grid-template-columns: 36px 38px 1fr 90px;
    }
    .ladder-class-chip {
        display: none;
    }
}

/* ==========================================================================
   HALL OF FAME & IMPERIAL TOURNAMENTS (LUXURY ARCHITECTURE)
   ========================================================================== */

.fame-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 30px;
    margin-bottom: 45px;
    align-items: stretch;
}

/* 1. Ruling Guild Throne Card */
.guild-throne-card {
    background: linear-gradient(165deg, rgba(16, 21, 36, 0.95), rgba(7, 10, 18, 0.98));
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 16px;
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.guild-throne-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.guild-throne-card::after {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: 160px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.guild-throne-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: center;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--gold-light);
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.guild-crest-wrap {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 16px;
}

.guild-crest-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.5));
    transition: transform 0.3s ease;
}

.guild-crest-wrap:hover .guild-crest-img {
    transform: scale(1.05);
}

.guild-crown-glow {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: var(--gold-light);
    filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.8));
    animation: crownFloat 3.2s ease-in-out infinite;
}

.guild-throne-name {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 900;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ffffff 20%, #fef08a 60%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 8px;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.guild-leader-line {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.guild-leader-line b {
    color: #ffffff;
    font-weight: 700;
}

.guild-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
}

.guild-stat-item {
    background: rgba(6, 9, 16, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 10px;
    padding: 14px 10px;
    transition: border-color 0.2s ease;
}

.guild-stat-item:hover {
    border-color: rgba(212, 175, 55, 0.5);
}

.guild-stat-num {
    font-family: var(--font-ui);
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.guild-stat-lbl {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.guild-territory-pill {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 13px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* 2. PK Triumvirate Podium Card */
.pk-podium-card {
    background: linear-gradient(165deg, rgba(16, 21, 36, 0.95), rgba(7, 10, 18, 0.98));
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 16px;
    padding: 36px 24px 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
}

.pk-podium-header {
    text-align: center;
    margin-bottom: 24px;
}

.pk-podium-title {
    font-family: var(--font-heading);
    font-size: 22px;
    color: #ffffff;
    font-weight: 800;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.podium-ranks-row {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 14px;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 20px;
}

.podium-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.podium-avatar-wrap {
    position: relative;
    margin-bottom: 12px;
}

.podium-avatar-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    background: #000;
    transition: transform 0.3s ease;
}

.podium-slot.rank-1 .podium-avatar-img {
    width: 82px;
    height: 82px;
    border: 3px solid #f59e0b;
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.45);
}

.podium-slot.rank-2 .podium-avatar-img {
    border: 2px solid #cbd5e1;
    box-shadow: 0 0 18px rgba(203, 213, 225, 0.3);
}

.podium-slot.rank-3 .podium-avatar-img {
    border: 2px solid #cd7f32;
    box-shadow: 0 0 18px rgba(205, 127, 50, 0.3);
}

.podium-slot:hover .podium-avatar-img {
    transform: scale(1.06);
}

.podium-crown-icon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
}

.podium-slot.rank-1 .podium-crown-icon {
    color: #fef08a;
    font-size: 24px;
    animation: crownFloat 3s ease-in-out infinite;
}

.podium-slot.rank-2 .podium-crown-icon {
    color: #e2e8f0;
}

.podium-slot.rank-3 .podium-crown-icon {
    color: #d97706;
}

.podium-player-name {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.podium-slot.rank-1 .podium-player-name {
    font-size: 17px;
    color: #fef08a;
}

.podium-class-chip {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    margin-bottom: 12px;
}

.podium-base {
    width: 100%;
    border-radius: 10px 10px 4px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 6px;
    border-top: 2px solid transparent;
}

.podium-slot.rank-1 .podium-base {
    height: 115px;
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.22) 0%, rgba(13, 17, 28, 0.95) 100%);
    border-top-color: #f59e0b;
}

.podium-slot.rank-2 .podium-base {
    height: 85px;
    background: linear-gradient(180deg, rgba(203, 213, 225, 0.16) 0%, rgba(13, 17, 28, 0.95) 100%);
    border-top-color: #cbd5e1;
}

.podium-slot.rank-3 .podium-base {
    height: 70px;
    background: linear-gradient(180deg, rgba(205, 127, 50, 0.16) 0%, rgba(13, 17, 28, 0.95) 100%);
    border-top-color: #cd7f32;
}

.podium-rank-tag {
    font-family: var(--font-ui);
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 4px;
}

.podium-slot.rank-1 .podium-rank-tag { color: #fef08a; }
.podium-slot.rank-2 .podium-rank-tag { color: #e2e8f0; }
.podium-slot.rank-3 .podium-rank-tag { color: #f59e0b; }

.podium-prestige-val {
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
}

.podium-prestige-lbl {
    font-size: 9px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* 3. Next Tournament Live Countdown Banner */
.next-war-radar-card {
    background: linear-gradient(135deg, rgba(16, 22, 38, 0.98), rgba(9, 13, 24, 0.98));
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 16px;
    padding: 30px 36px;
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.next-war-radar-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gold-gradient);
}

.war-radar-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.war-radar-pretitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-light);
}

.war-radar-title {
    font-family: var(--font-heading);
    font-size: 28px;
    color: #ffffff;
    font-weight: 900;
    margin: 0;
}

.war-radar-timing {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: #cbd5e1;
    flex-wrap: wrap;
}

.war-radar-timing span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.war-radar-rewards-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 4px;
}

.war-radar-countdown-box {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.countdown-unit-box {
    background: rgba(6, 9, 16, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    padding: 12px 14px;
    min-width: 72px;
    text-align: center;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.countdown-unit-num {
    font-family: var(--font-ui);
    font-size: 28px;
    font-weight: 900;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 4px;
}

.countdown-unit-lbl {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 1px;
}

.war-live-pulse-badge {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: #ffffff;
    font-family: var(--font-ui);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 2px;
    padding: 14px 28px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.6);
    animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 25px rgba(239, 68, 68, 0.5); }
    50% { transform: scale(1.03); box-shadow: 0 0 40px rgba(239, 68, 68, 0.85); }
}

/* 4. Tournament Almanac Filter Bar & Grid */
.almanac-filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.almanac-filter-btn {
    background: rgba(12, 16, 27, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.almanac-filter-btn:hover {
    color: #ffffff;
    border-color: rgba(212, 175, 55, 0.4);
    background: rgba(212, 175, 55, 0.1);
}

.almanac-filter-btn.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.1));
    border-color: var(--gold-primary);
    color: var(--gold-light);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.almanac-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 22px;
}

.almanac-card {
    background: linear-gradient(165deg, rgba(14, 19, 32, 0.95), rgba(8, 11, 20, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.almanac-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.55), 0 0 20px rgba(212, 175, 55, 0.15);
}

.almanac-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
}

.almanac-card-badge {
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

.almanac-card-icon {
    font-size: 22px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.almanac-card-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px;
}

.almanac-card-timing {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border-left: 3px solid var(--gold-primary);
}

.timing-row {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
}

.timing-row.schedule {
    color: var(--gold-light);
    font-weight: 700;
}

.timing-row.hours {
    color: #38bdf8;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 700;
}

.almanac-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}

.almanac-card-rewards {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 12px;
    color: #a7f3d0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .fame-hero-grid {
        grid-template-columns: 1fr;
    }
    .next-war-radar-card {
        grid-template-columns: 1fr;
    }
    .war-radar-countdown-box {
        justify-content: flex-start;
    }
    .almanac-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   DOWNLOAD CENTER REDESIGN (CLEAN, LUXURIOUS, ZERO-FLUFF)
   ========================================================================== */
.download-master-container {
    max-width: 880px;
    margin: 0 auto;
}

.download-hero-card {
    background: linear-gradient(165deg, rgba(16, 22, 38, 0.98), rgba(8, 11, 20, 0.98));
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 18px;
    padding: 44px 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin-bottom: 35px;
}

.download-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.download-hero-card::after {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 180px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.download-release-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: var(--gold-light);
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 18px;
}

.download-hero-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 900;
    color: #ffffff;
    margin: 0 0 10px;
    letter-spacing: 1px;
}

.download-hero-sub {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.download-meta-strip {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.download-meta-pill {
    background: rgba(6, 9, 16, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.download-meta-pill i {
    color: var(--gold-primary);
}

.download-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: var(--gold-gradient);
    color: #0b0c10;
    font-family: var(--font-ui);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 18px 48px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    margin-bottom: 20px;
}

.download-primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(212, 175, 55, 0.6);
    color: #000;
}

.download-mirrors-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.download-mirror-link {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 6px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.download-mirror-link:hover {
    background: rgba(56, 189, 248, 0.2);
    border-color: rgba(56, 189, 248, 0.5);
    color: #ffffff;
}

/* 3 Quick Steps */
.quick-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 35px;
}

.quick-step-card {
    background: linear-gradient(165deg, rgba(14, 19, 32, 0.95), rgba(7, 10, 18, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.quick-step-card:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.4);
}

.quick-step-num {
    position: absolute;
    top: 14px;
    right: 18px;
    font-family: var(--font-ui);
    font-size: 28px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.06);
    line-height: 1;
}

.quick-step-icon {
    font-size: 22px;
    color: var(--gold-primary);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    margin-bottom: 14px;
}

.quick-step-title {
    font-family: var(--font-heading);
    font-size: 17px;
    color: #ffffff;
    font-weight: 800;
    margin: 0 0 6px;
}

.quick-step-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Support Help Banner */
.support-help-banner {
    background: linear-gradient(135deg, rgba(114, 137, 218, 0.12), rgba(8, 11, 20, 0.9));
    border: 1px solid rgba(114, 137, 218, 0.3);
    border-radius: 12px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.support-help-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.support-help-icon {
    font-size: 32px;
    color: #7289da;
}

.support-help-text h4 {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 16px;
    margin: 0 0 4px;
}

.support-help-text p {
    color: var(--text-muted);
    font-size: 13px;
    margin: 0;
}

.btn-discord-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #5865f2;
    color: #ffffff;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-discord-pill:hover {
    background: #4752c4;
    transform: translateY(-2px);
    color: #fff;
}

@media (max-width: 768px) {
    .quick-steps-grid {
        grid-template-columns: 1fr;
    }
    .download-hero-card {
        padding: 30px 20px;
    }
    .download-primary-btn {
        width: 100%;
        padding: 16px 20px;
        font-size: 16px;
    }
}

/* ==========================================================================
   IMPERIAL REGISTRATION VAULT (SPLIT LUXURY STAGE)
   ========================================================================== */
.reg-master-stage {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 36px;
    max-width: 1120px;
    margin: 130px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 5;
    align-items: stretch;
}

/* Left Column: Realm Heritage & Perks */
.reg-lore-panel {
    background: linear-gradient(165deg, rgba(16, 21, 36, 0.96), rgba(8, 11, 20, 0.98));
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 18px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.reg-lore-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.reg-crest-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.reg-crest-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.reg-lore-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
    letter-spacing: 1px;
}

.reg-lore-subtitle {
    font-family: var(--font-ui);
    font-size: 13px;
    color: var(--gold-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.reg-lore-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 28px;
}

.reg-perks-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.reg-perk-row {
    background: rgba(6, 9, 16, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.reg-perk-row:hover {
    transform: translateX(4px);
    border-color: rgba(212, 175, 55, 0.4);
}

.reg-perk-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.reg-perk-text h5 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 2px;
}

.reg-perk-text p {
    color: var(--text-muted);
    font-size: 12px;
    margin: 0;
}

.reg-trust-badge {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #a7f3d0;
}

/* Right Column: The Imperial Registration Card */
.reg-vault-card {
    background: linear-gradient(165deg, rgba(16, 22, 38, 0.98), rgba(9, 13, 24, 0.98));
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 18px;
    padding: 38px 32px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.reg-vault-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    gap: 10px;
}

.reg-vault-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.reg-vault-tag {
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 800;
    color: #10b981;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.reg-field-group {
    margin-bottom: 20px;
}

.reg-field-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.reg-field-hint {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}

.reg-input-box {
    position: relative;
    display: flex;
    align-items: center;
}

.reg-input-icon {
    position: absolute;
    left: 14px;
    color: rgba(212, 175, 55, 0.7);
    font-size: 15px;
    pointer-events: none;
    transition: color 0.2s ease;
}

.reg-input-field {
    width: 100%;
    background: rgba(6, 9, 16, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 14px;
    padding: 14px 14px 14px 44px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.reg-input-field:focus {
    background: rgba(8, 12, 22, 0.95);
    border-color: var(--gold-primary);
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.35), inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.reg-input-field:focus + .reg-input-icon,
.reg-input-box:focus-within .reg-input-icon {
    color: var(--gold-light);
}

.reg-fields-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.reg-terms-box {
    margin: 22px 0;
    padding: 12px 14px;
    background: rgba(6, 9, 16, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    font-size: 13px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 10px;
}

.reg-terms-box input[type="checkbox"] {
    accent-color: var(--gold-primary);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.reg-submit-btn {
    width: 100%;
    background: var(--gold-gradient);
    border: none;
    color: #0b0c10;
    font-family: var(--font-ui);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 16px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
}

.reg-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(212, 175, 55, 0.65);
    filter: brightness(1.08);
}

.reg-vault-footer {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

.reg-vault-footer a {
    color: var(--gold-light);
    font-weight: 700;
    text-decoration: none;
    margin-left: 6px;
    transition: color 0.2s ease;
}

.reg-vault-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .reg-master-stage {
        grid-template-columns: 1fr;
        margin-top: 110px;
    }
    .reg-fields-grid-2 {
        grid-template-columns: 1fr;
    }
    .reg-vault-card {
        padding: 28px 20px;
    }
}

/* ==========================================================================
   INTERACTIVE RULES MODAL STYLING
   ========================================================================== */
.rules-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 7, 13, 0.88);
    backdrop-filter: blur(10px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeInModal 0.25s ease;
}

.rules-modal-overlay.active {
    display: flex;
}

@keyframes fadeInModal {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.rules-modal-box {
    background: linear-gradient(165deg, rgba(16, 22, 38, 0.99), rgba(8, 11, 20, 0.99));
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 16px;
    max-width: 660px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.rules-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rules-modal-body {
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rules-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(6, 9, 16, 0.7);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================================================
   GRAND OPENING ANNOUNCEMENT MODAL (25-11 LAUNCH)
   ========================================================================== */
.opening-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 5, 10, 0.88);
    backdrop-filter: blur(12px);
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.opening-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.opening-modal-box {
    background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.15) 0%, rgba(12, 16, 28, 0.98) 70%);
    border: 1px solid rgba(212, 175, 55, 0.55);
    border-radius: 20px;
    max-width: 640px;
    width: 100%;
    padding: 35px 30px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(212, 175, 55, 0.2);
    text-align: center;
    animation: popModal 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popModal {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.opening-close-btn {
    position: absolute;
    top: 16px;
    right: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.opening-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #fff;
    transform: rotate(90deg);
}

.opening-emblem-wrap {
    width: 76px;
    height: 76px;
    margin: 0 auto 16px;
    position: relative;
}

.opening-emblem-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--gold-primary);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
}

.opening-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fef08a;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.opening-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
    margin: 0 0 8px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 40%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.opening-date-line {
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 800;
    color: #f59e0b;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 22px;
}

.opening-countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}

.opening-count-card {
    background: rgba(7, 10, 18, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 12px;
    padding: 12px 6px;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.6);
}

.opening-count-num {
    font-family: var(--font-ui);
    font-size: 30px;
    font-weight: 900;
    color: #fef08a;
    line-height: 1;
    margin-bottom: 4px;
}

.opening-count-lbl {
    font-size: 10px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.opening-desc {
    color: #cbd5e1;
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0 auto 20px;
    max-width: 520px;
}

.opening-perks-strip {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.opening-perk-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-size: 11.5px;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
}

.opening-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-dismiss-modal {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #94a3b8;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-dismiss-modal:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}
