/* ==========================================================================
   EMBER DRAGON CORE - THEME & ARCHITECTURE
   ========================================================================== */

/* 1. CUSTOM SYSTEM VARIABLES */
:root {
    --bg-void: #09050f;
    --bg-dark-ember: #160d1d;
    --bg-stone: #24162f;
    
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-blur: 28px;
    --glass-border: rgba(255, 140, 0, 0.14);
    --glass-shadow: 0 0 60px rgba(255, 120, 0, 0.14);

    --accent-fire: linear-gradient(135deg, #ff6a00, #ffb347);
    --accent-fire-glow: rgba(255, 106, 0, 0.45);
    
    --accent-scale: linear-gradient(135deg, #00c853, #69f0ae);
    --accent-scale-glow: rgba(0, 200, 83, 0.35);

    --accent-mystic: linear-gradient(135deg, #7c3aed, #c084fc);
    --accent-mystic-glow: rgba(124, 58, 237, 0.40);

    --premium-blend: linear-gradient(135deg, #ff6a00, #7c3aed, #00c853);

    --text-primary: #fff6ec;
    --text-secondary: #dbcab8;
    --text-muted: #8f7b68;

    --font-fancy: 'Cinzel Decorative', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'Space Grotesk', monospace;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --container-max-width: 1380px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-void);
    color: var(--text-primary);
    font-family: var(--font-sans);
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* DRAGON BACKGROUND EFFECTS */
.dragon-void-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    background: radial-gradient(circle at 50% 50%, var(--bg-dark-ember), var(--bg-void));
    overflow: hidden;
}

.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    pointer-events: none;
}

.fire-glow {
    top: 10%;
    left: 10%;
    width: 45vw;
    height: 45vw;
    background: #ff6a00;
}

.purple-glow {
    bottom: 5%;
    right: 5%;
    width: 50vw;
    height: 50vw;
    background: #7c3aed;
}

.green-glow {
    top: 60%;
    left: 30%;
    width: 35vw;
    height: 35vw;
    background: #00c853;
}

/* EMBER PARTICLES */
.ember-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ember {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffb347;
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0.7;
    animation: rise 12s infinite linear;
}

@keyframes rise {
    0% {
        transform: translateY(110vh) translateX(0) scale(0.8);
        opacity: 0;
    }
    30% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-10vh) translateX(100px) scale(1.3);
        opacity: 0;
    }
}

/* ==========================================================================
   HEADER / NAVIGATION SYSTEM (SLIM & FLUID, NO ICONS)
   ========================================================================== */
.dragon-crown-nav {
    position: fixed;
    top: 10px;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(14, 8, 23, 0.85);
    backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 40px;
    transition: var(--transition-smooth);
}

.dragon-crown-nav.sticky {
    top: 0;
    background: rgba(14, 8, 23, 0.98);
}

.nav-container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
}

/* LOGO STYLE */
.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-text-only {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: var(--font-fancy);
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 2px;
    background: var(--accent-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-domain {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}

/* CENTRAL NAVIGATION PANEL */
.nav-links-panel {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 106, 0, 0.08);
}

.nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(255, 106, 0, 0.15));
    border: 1px solid rgba(255, 106, 0, 0.2);
}

/* HEADER RIGHT CTA */
.header-right {
    display: flex;
    align-items: center;
}

.cta-play-now {
    position: relative;
    background: var(--accent-fire);
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    color: #fff;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 0 20px var(--accent-fire-glow);
}

.cta-play-now:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 30px rgba(255,106,0,0.7);
}

.shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 150%; }
}

/* MOBILE TOGGLE */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 102;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   MOBILE DRAWER
   ========================================================================== */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background: var(--bg-stone);
    z-index: 110;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 40px rgba(0,0,0,0.8);
    border-left: 1px solid var(--glass-border);
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-drawer {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.drawer-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 10px;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.drawer-link:hover, .drawer-link.active {
    background: rgba(255,106,0,0.15);
    color: var(--text-primary);
}

.drawer-divider {
    border: 0;
    height: 1px;
    background: rgba(255,255,255,0.1);
}

/* ==========================================================================
   MAIN SYSTEM LAYOUT
   ========================================================================== */
.main-content-system {
    flex: 1;
    width: 100%;
    max-width: var(--container-max-width);
    margin: 100px auto 60px auto;
    padding: 0 20px;
}

.page-section {
    display: none;
    animation: sectionFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.page-section.active {
    display: block;
}

@keyframes sectionFade {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 40px 0 80px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.disclaimer-badge {
    background: rgba(0, 200, 83, 0.15);
    color: #69f0ae;
    border: 1px solid rgba(0, 200, 83, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    align-self: flex-start;
}

.hero-headline {
    font-family: var(--font-fancy);
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: -1px;
}

.highlight-text-fire {
    background: var(--accent-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px var(--accent-fire-glow));
}

.hero-subheadline {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.hero-ctas {
    display: flex;
    gap: 20px;
}

.btn-primary-fire {
    position: relative;
    background: var(--accent-fire);
    border: none;
    border-radius: 22px;
    padding: 16px 36px;
    color: #fff;
    font-weight: 700;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 0 25px var(--accent-fire-glow);
}

.btn-primary-fire:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(255,106,0,0.6);
}

.btn-secondary-stone {
    background: var(--bg-stone);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    padding: 16px 36px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-secondary-stone:hover {
    background: rgba(255, 140, 0, 0.1);
    border-color: #ff6a00;
}

.hero-disclaimer {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #ff5252;
    background: rgba(255, 82, 82, 0.08);
    border-left: 3px solid #ff5252;
    padding: 10px 14px;
    border-radius: 4px;
}

.hero-stats-row {
    display: flex;
    gap: 30px;
    margin-top: 10px;
}

.mini-stat {
    display: flex;
    flex-direction: column;
}

.mini-stat .num {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: #ffb347;
}

.mini-stat .lbl {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* HERO RIGHT: DRAGON EGG VISUALIZER */
.egg-visualizer-container {
    position: relative;
    border-radius: 34px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 24px;
    overflow: hidden;
}

.visualizer-border-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 40px rgba(124, 58, 237, 0.2);
    pointer-events: none;
}

.visualizer-core {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.visualizer-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.dot-live {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #00c853;
    border-radius: 50%;
    animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

.egg-display-pod {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
}

.floating-egg-wrapper {
    position: relative;
    width: 180px;
    height: 240px;
}

.glowing-orb-behind {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.6) 0%, transparent 70%);
    filter: blur(15px);
    z-index: 1;
}

.dragon-egg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    z-index: 2;
    position: relative;
    border: 3px solid rgba(255, 106, 0, 0.3);
    animation: floatEgg 4s infinite ease-in-out;
}

@keyframes floatEgg {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.magic-shield-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
    pointer-events: none;
    z-index: 3;
}

.egg-info-plate {
    text-align: center;
}

.egg-info-plate h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.legendary-text {
    background: var(--accent-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.mini-spin-preview {
    background: var(--bg-stone);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.reel-strip-highlight {
    background: rgba(255, 106, 0, 0.15);
    color: #ffb347;
    padding: 4px 8px;
    border-radius: 4px;
    border-left: 3px solid #ff6a00;
}

.quick-spin-btn {
    background: var(--accent-scale);
    border: none;
    border-radius: 14px;
    padding: 14px;
    color: #09050f;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 0 15px var(--accent-scale-glow);
    transition: var(--transition-smooth);
}

.quick-spin-btn:hover {
    box-shadow: 0 0 25px #69f0ae;
}

/* ==========================================================================
   NEW SHADOW NURSERY SHOWCASE SECTION
   ========================================================================== */
.nursery-visual-showcase {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 34px;
    padding: 40px;
    margin: 40px 0;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.showcase-image-box {
    border-radius: 20px;
    overflow: hidden;
    height: 350px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase-large-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-text-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ==========================================================================
   FEATURES GRID (THE DRAGON TREASURE GRID)
   ========================================================================== */
.features-section {
    padding: 80px 0;
}

.section-header-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.subtitle-amber {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #ffb347;
    letter-spacing: 2px;
}

.section-title-cinzel {
    font-family: var(--font-fancy);
    font-size: 2.5rem;
    margin: 12px 0;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.5;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--glass-shadow);
}

.card-icon {
    font-size: 3rem;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

.card-glow-bg {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.15) 0%, transparent 70%);
    filter: blur(20px);
}

/* Color Variations */
.highlighted-purple {
    border-color: rgba(124, 58, 237, 0.3);
}

.highlighted-purple .card-glow-bg {
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
}

.highlighted-green {
    border-color: rgba(0, 200, 83, 0.3);
}

.highlighted-green .card-glow-bg {
    background: radial-gradient(circle, rgba(0, 200, 83, 0.2) 0%, transparent 70%);
}

/* PROMO BANNER */
.promo-banner-section {
    padding: 40px 0;
}

.banner-glass-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 34px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.banner-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

.banner-content h2 {
    font-family: var(--font-fancy);
    font-size: 2.2rem;
}

.banner-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.banner-image-area {
    position: relative;
    height: 100%;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-shade-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--bg-stone) 0%, transparent 50%);
}

/* ==========================================================================
   STATS COUNTER SECTION
   ========================================================================== */
.stats-counter-section {
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background: rgba(14, 8, 23, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    font-size: 2rem;
}

.stat-num {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: #ffb347;
}

.stat-lbl {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   GAME-DRAGON-EGG INTEGRATION SECTION
   ========================================================================== */
.game-container-wrapper {
    padding: 40px 0;
}

.game-display-bezel {
    background: var(--bg-stone);
    border: 2px solid var(--glass-border);
    border-radius: 34px;
    box-shadow: 0 0 50px rgba(255, 106, 0, 0.25);
    overflow: hidden;
    margin-bottom: 50px;
}

.game-top-controls {
    background: rgba(0, 0, 0, 0.5);
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 106, 0, 0.15);
}

.status-indicator {
    color: #00c853;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
}

.game-title-text {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-left: 10px;
    font-weight: 700;
}

.game-ctrl-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 8px 16px;
    font-family: var(--font-sans);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.game-ctrl-btn:hover {
    background: #ff6a00;
    color: #fff;
    border-color: #ffb347;
}

/* IFRAME DESIGN */
.iframe-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
}

.main-game-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.game-bottom-controls {
    background: rgba(0, 0, 0, 0.5);
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 106, 0, 0.15);
}

.safety-badge {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.game-refresh-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-secondary);
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.game-refresh-btn:hover {
    color: var(--text-primary);
    border-color: #00c853;
}

/* LORE GRID BELOW GAME */
.game-lore-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 40px;
}

.lore-text-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lore-text-block h3 {
    font-family: var(--font-fancy);
    font-size: 1.8rem;
}

.lore-text-block p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.lore-text-block ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lore-text-block li strong {
    color: #ffb347;
}

.lore-image-block {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.lore-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lore-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--bg-stone) 10%, transparent 100%);
}

/* ==========================================================================
   EGG VAULT SYSTEM WITH HERO HEADER
   ========================================================================== */
.vault-visual-header {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    height: 250px;
    margin-bottom: 40px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.vault-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vault-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(9, 5, 15, 0.4) 0%, rgba(36, 22, 47, 0.95) 100%);
}

.vault-banner-text {
    position: absolute;
    bottom: 24px;
    left: 32px;
    right: 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vault-banner-text h3 {
    font-family: var(--font-fancy);
    font-size: 1.8rem;
    color: #ffb347;
}

.vault-banner-text p {
    color: var(--text-secondary);
    max-width: 800px;
    font-size: 0.95rem;
}

.vault-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vault-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: var(--transition-smooth);
}

.vault-card:hover {
    transform: translateY(-5px);
}

.vault-egg-media {
    height: 200px;
    background: rgba(0,0,0,0.3);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.egg-glow-ring {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    filter: blur(20px);
}

.egg-glow-ring.violet { background: rgba(124, 58, 237, 0.4); }
.egg-glow-ring.amber { background: rgba(255, 106, 0, 0.4); }
.egg-glow-ring.green { background: rgba(0, 200, 83, 0.4); }

.vault-icon-large {
    font-size: 5rem;
    z-index: 2;
}

.badge-status {
    padding: 4px 10px;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    display: inline-block;
    margin-bottom: 10px;
}

.badge-status.hatched { background: rgba(0, 200, 83, 0.2); color: #69f0ae; }
.badge-status.incubating { background: rgba(255, 106, 0, 0.2); color: #ffb347; }
.badge-status.locked { background: rgba(255, 255, 255, 0.1); color: var(--text-muted); }

.xp-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}

.xp-fill {
    height: 100%;
    background: var(--accent-fire);
}

.xp-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* ==========================================================================
   ADVENTURES TIMELINE
   ========================================================================== */
.adventures-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.adventures-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--glass-border);
    transform: translateX(-50%);
}

.timeline-node {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.timeline-node::after {
    content: '⭐';
    position: absolute;
    left: 50%;
    top: 20px;
    width: 32px;
    height: 32px;
    background: var(--bg-stone);
    border: 2px solid #ff6a00;
    border-radius: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    z-index: 2;
}

.timeline-node:nth-child(even) .node-image {
    order: 2;
}

.timeline-node:nth-child(even) .node-content {
    order: 1;
    text-align: right;
}

.node-image {
    border-radius: 20px;
    overflow: hidden;
    height: 200px;
}

.adventure-node-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.node-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px;
}

.node-phase {
    font-family: var(--font-mono);
    color: #ffb347;
    font-size: 0.8rem;
}

.status-marker {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 700;
}

.status-marker.completed { color: #00c853; }
.status-marker.locked { color: var(--text-muted); }

/* ==========================================================================
   CONTACT PAGE & FORMS (WITH STUDIO IMAGE)
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-visual-media {
    width: 100%;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    margin: 20px 0;
    border: 1px solid var(--glass-border);
}

.contact-studio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.details-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 30px;
}

.detail-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.detail-icon {
    font-size: 1.8rem;
    background: rgba(255, 106, 0, 0.1);
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 106, 0, 0.2);
}

.detail-text strong {
    display: block;
    color: #ffb347;
}

.contact-form-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 40px;
}

.contact-form-panel h3 {
    font-family: var(--font-fancy);
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group.flex-row {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.form-input {
    background: rgba(0,0,0,0.4);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 14px;
    color: #fff;
    font-family: var(--font-sans);
    outline: none;
    transition: var(--transition-smooth);
}

.form-input:focus {
    border-color: #ff6a00;
    box-shadow: 0 0 10px rgba(255, 106, 0, 0.3);
}

.success-alert {
    display: none;
    background: rgba(0, 200, 83, 0.15);
    color: #69f0ae;
    border: 1px solid #00c853;
    padding: 16px;
    border-radius: 10px;
    margin-top: 20px;
}

/* ==========================================================================
   LEGAL PAGES / TYPOGRAPHY CODEX (EXPANDED TABLES & STYLES)
   ========================================================================== */
.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.legal-title {
    font-family: var(--font-fancy);
    font-size: 2.8rem;
    margin-bottom: 8px;
}

.legal-updated {
    font-family: var(--font-mono);
    color: var(--text-muted);
    margin-bottom: 40px;
}

.legal-body {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 50px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.legal-body h3 {
    font-family: var(--font-fancy);
    color: #ffb347;
    margin-top: 30px;
    margin-bottom: 12px;
}

.legal-body p {
    margin-bottom: 20px;
}

.legal-body ul, .legal-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.cookie-legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-family: var(--font-sans);
    font-size: 0.9rem;
}

.cookie-legal-table th, .cookie-legal-table td {
    padding: 12px 16px;
    border: 1px solid var(--glass-border);
    text-align: left;
}

.cookie-legal-table th {
    background: rgba(255, 106, 0, 0.1);
    color: #ffb347;
}

.cookie-legal-table td code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: var(--font-mono);
    color: #69f0ae;
}

/* RESPONSIBLE GAMING GRAPHIC BANNER styling */
.responsible-graphic-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 200px;
    margin-bottom: 30px;
    border: 1px solid var(--glass-border);
}

.responsible-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.responsible-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, rgba(14, 8, 23, 0.8) 100%);
}

/* ==========================================================================
   FOOTER SYSTEM (NO SOCIAL MEDIA ICONS OR ORBS)
   ========================================================================== */
.footer-system {
    position: relative;
    background: #0d0714;
    border-top: 1px solid rgba(255, 106, 0, 0.15);
    padding: 80px 0 40px 0;
    overflow: hidden;
}

.footer-top-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff6a00, #7c3aed, transparent);
    box-shadow: 0 0 30px #ff6a00;
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid-cols {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.brand-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.foot-logo {
    font-size: 2rem;
}

.foot-brand-title {
    font-family: var(--font-fancy);
    font-size: 1.3rem;
    font-weight: 900;
    background: var(--accent-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.foot-about {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.foot-title {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
}

.foot-links {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.foot-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.foot-links a:hover {
    color: #ffb347;
    padding-left: 4px;
}

.hq-address {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.hq-contact {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.foot-divider {
    border: 0;
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin-bottom: 30px;
}

.footer-disclaimer-block {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.copyright-line {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    margin-top: 10px;
}

/* ==========================================================================
   STICKY MOBILE BOTTOM BAR
   ========================================================================== */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(14, 8, 23, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    z-index: 90;
    grid-template-columns: repeat(4, 1fr);
    padding: 12px 6px;
}

.mobile-bar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-muted);
    gap: 4px;
}

.mobile-bar-btn .m-icon {
    font-size: 1.4rem;
}

.mobile-bar-btn .m-label {
    font-size: 0.75rem;
    font-weight: 700;
}

.mobile-bar-btn.active {
    color: #ff6a00;
}

/* ==========================================================================
   MODAL DIALOG (HOW TO PLAY)
   ========================================================================== */
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    z-index: 200;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-box {
    background: var(--bg-stone);
    border: 2px solid var(--glass-border);
    border-radius: 28px;
    max-width: 600px;
    width: 100%;
    padding: 40px;
    position: relative;
    box-shadow: 0 0 50px rgba(124, 58, 237, 0.4);
    animation: modalSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-close-x {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.8rem;
    cursor: pointer;
}

.modal-header-glowing h2 {
    font-family: var(--font-fancy);
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ff6a00;
}

.modal-body-scrollable {
    display: flex;
    flex-direction: column;
    gap: 16px;
    line-height: 1.6;
}

.modal-rules-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rule-row {
    display: flex;
    gap: 12px;
}

.rule-icon {
    font-size: 1.5rem;
}

.modal-reminder {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.modal-footer {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
}

.modal-dismiss-btn {
    padding: 12px 24px;
}

/* ==========================================================================
   RESPONSIVE LAYOUT RESPONSES (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1200px) {
    .hero-headline {
        font-size: 3rem;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid-cols {
        grid-template-columns: 1fr 1fr;
    }
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    .showcase-image-box {
        height: 280px;
    }
}

@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-right {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    .nav-links-panel {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .banner-glass-wrapper {
        grid-template-columns: 1fr;
    }
    .banner-image-area {
        height: 300px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .game-lore-grid {
        grid-template-columns: 1fr;
    }
    .vault-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-content-system {
        margin-top: 90px;
        margin-bottom: 100px;
    }
    .hero-headline {
        font-size: 2.2rem;
    }
    .hero-ctas {
        flex-direction: column;
    }
    .btn-primary-fire, .btn-secondary-stone {
        width: 100%;
        text-align: center;
    }
    .timeline-node {
        grid-template-columns: 1fr !important;
    }
    .timeline-node::after {
        display: none;
    }
    .adventures-timeline::before {
        display: none;
    }
    .node-content {
        text-align: left !important;
    }
    .footer-grid-cols {
        grid-template-columns: 1fr;
    }
    .mobile-sticky-bar {
        display: grid;
    }
    .header-right {
        display: none;
    }
    .dragon-crown-nav {
        padding: 10px 16px;
    }
}