/* ==========================================
   CSS STRUCTURE FOR DISPATCHJUMPINTOSLOT
   THEME: "PHARAOH'S GOLD ASCENSION" - PROFESSIONAL UPGRADE
   ========================================== */

/* 1. VARIABLES & CORE SETTINGS */
:root {
    --bg-obsidian: #090604;
    --bg-temple: #120c08;
    --bg-granite: #1a120c;
    
    /* Primary Accent - Pharaoh Gold */
    --gold-gradient: linear-gradient(135deg, #d4af37, #f3c233);
    --gold-glow: rgba(212, 175, 55, 0.3);
    --gold-solid: #ffd700;

    /* Secondary Accent - Desert Amber */
    --amber-gradient: linear-gradient(135deg, #e6912c, #f7ba53);
    --amber-glow: rgba(230, 145, 44, 0.25);

    /* Third Accent - Nile Turquoise */
    --turquoise-gradient: linear-gradient(135deg, #00b093, #6cf0db);
    --turquoise-glow: rgba(0, 176, 147, 0.25);

    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-decorative: 'Cinzel Decorative', serif;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. RESET & BASE */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-obsidian);
    color: #e5dfd9;
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    letter-spacing: 0.5px;
    position: relative;
    min-height: 100vh;
}

/* Background Sand Particles Canvas Layer */
#sand-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* 3. DYNAMIC GLOW INTENSITY ADJUSTER */
body.dim-glows {
    --gold-glow: rgba(255, 215, 0, 0.05);
    --amber-glow: rgba(255, 179, 71, 0.05);
    --turquoise-glow: rgba(0, 198, 167, 0.05);
}

/* 4. HEADING & TYPOGRAPHY SYSTEM */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #ffffff;
    letter-spacing: 1px;
    font-weight: 700;
}

p {
    color: #a6988f;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.gold-gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px var(--gold-glow);
}

/* 5. THE PHARAOH GATE (HEADER) - SLIM & REFINED */
.pharaoh-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 10px 40px;
    background: rgba(9, 6, 4, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
    height: 70px;
    display: flex;
    align-items: center;
}

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

/* Logo Styling with custom animated Scarab */
.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.scarab-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 6px var(--gold-glow));
    transition: var(--transition-smooth);
}

.logo-area:hover .scarab-icon {
    transform: scale(1.08);
}

.scarab-svg {
    width: 100%;
    height: 100%;
}

.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-top {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 3px;
    color: #a6988f;
}

.brand-bottom {
    font-size: 15px;
    font-weight: 900;
    font-family: var(--font-heading);
    color: #ffd700;
    letter-spacing: 1.5px;
}

/* Slim Glass Navigation Panel */
.navigation-panel {
    border-radius: 30px;
    padding: 2px 5px;
}

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

.nav-link {
    font-size: 13px;
    font-weight: 500;
    color: #a6988f;
    padding: 8px 16px;
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
    background: rgba(212, 175, 55, 0.08);
}

.header-right {
    display: flex;
    align-items: center;
}

/* "Pelaa Nyt" CTA Badge */
.play-now-badge {
    position: relative;
    background: var(--gold-gradient);
    border: none;
    padding: 10px 22px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #090604;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    letter-spacing: 1px;
    font-size: 12px;
    transition: var(--transition-smooth);
}

.play-now-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.badge-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    transform: skewX(-25deg);
    transition: 0.7s;
}

.play-now-badge:hover .badge-glow {
    left: 150%;
}

/* 6. FLOATING CONTROL BADGES */
.divine-controls {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.control-btn {
    background: rgba(18, 12, 8, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 8px 14px;
    border-radius: 20px;
    color: #ffd700;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
}

.control-btn:hover {
    background: var(--gold-gradient);
    color: #090604;
    border-color: transparent;
}

/* 7. MAIN ROUTER VIEW CONFIGURATION */
.main-content-flow {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    position: relative;
    z-index: 2;
}

.router-view {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.router-view.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* 8. HERO SECTION */
.hero-section {
    position: relative;
    padding: 100px 20px;
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: linear-gradient(rgba(9, 6, 4, 0.9), rgba(18, 12, 8, 0.95)), url('images/photo-1547127796-06bb04e4b315.png');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212,175,55,0.03) 0%, rgba(9,6,4,0.95) 100%);
    pointer-events: none;
}

.hero-container {
    max-width: 900px;
    z-index: 5;
    position: relative;
}

.hero-badge-container {
    margin-bottom: 20px;
}

.hero-mini-tag {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #ffd700;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 2px;
}

.hero-headline {
    font-size: 54px;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 15px rgba(0,0,0,0.9);
}

.hero-subheadline {
    font-size: 16px;
    color: #cfc2b6;
    max-width: 700px;
    margin: 0 auto 35px auto;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
}

/* Universal Button Design System */
.btn {
    border-radius: 30px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    font-size: 13px;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--gold-gradient);
    color: #090604;
    box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(212,175,55,0.6);
}

.btn-secondary {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(212,175,55,0.2);
    color: #ffffff;
}

.btn-secondary:hover {
    background: rgba(212,175,55,0.08);
    border-color: rgba(212,175,55,0.5);
    transform: translateY(-1px);
}

.btn-accent-turquoise {
    background: var(--turquoise-gradient);
    color: #090604;
}

.btn-accent-turquoise:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--turquoise-glow);
}

.btn-full-width {
    width: 100%;
}

.hero-disclaimer {
    font-size: 10px;
    color: #7a6e64;
}

/* Floating symbols animation */
.floating-symbols-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 2;
}

.floating-sym {
    position: absolute;
    color: rgba(212, 175, 55, 0.04);
    font-size: 50px;
}

.sym-1 { top: 20%; left: 10%; animation: floatSlowly 12s infinite alternate; }
.sym-2 { top: 60%; left: 85%; animation: floatSlowly 10s infinite alternate; }
.sym-3 { top: 75%; left: 15%; animation: floatSlowly 15s infinite alternate; }
.sym-4 { top: 15%; left: 80%; animation: floatSlowly 9s infinite alternate; }
.sym-5 { top: 40%; left: 48%; animation: floatSlowly 14s infinite alternate; }

/* 9. TEMPLE TEASER GRID */
.temple-teaser-grid {
    max-width: 1200px;
    margin: -40px auto 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    z-index: 10;
    position: relative;
}

.teaser-card {
    height: 280px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(212,175,55,0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.teaser-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.teaser-card:hover .teaser-img {
    transform: scale(1.03);
}

.card-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(9, 6, 4, 0.95) 15%, rgba(9, 6, 4, 0.2) 100%);
}

.teaser-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
}

.teaser-content h3 {
    font-size: 20px;
    color: #ffd700;
    margin-bottom: 8px;
}

.teaser-content p {
    font-size: 13px;
    color: #b3a59a;
}

/* 10. NILE PROMO BANNER */
.nile-promo-banner {
    background: linear-gradient(90deg, #120c08 0%, #1a120c 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding: 40px 20px;
    margin-bottom: 60px;
}

.banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.banner-text h2 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 8px;
}

.banner-text p {
    color: #a6988f;
    font-size: 14px;
}

/* 11. MAIN GAME SECTION */
.game-view-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.game-header-area {
    text-align: center;
    margin-bottom: 30px;
}

.game-kicker {
    font-size: 11px;
    font-weight: bold;
    color: #6cf0db;
    letter-spacing: 2px;
}

.game-main-title {
    font-size: 36px;
    margin: 8px 0 12px 0;
}

.game-subtitle {
    max-width: 700px;
    margin: 0 auto;
    color: #a6988f;
    font-size: 14px;
}

/* Game Frame Container Wrapper */
.game-container-wrapper {
    position: relative;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 8px;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.1);
    margin-bottom: 50px;
}

/* Decorative Gold borders */
.game-frame-border-top, .game-frame-border-bottom {
    position: absolute;
    width: 30px;
    height: 3px;
    background: #ffd700;
    left: 50%;
    transform: translateX(-50%);
}
.game-frame-border-top { top: -2px; }
.game-frame-border-bottom { bottom: -2px; }

.game-frame-border-left, .game-frame-border-right {
    position: absolute;
    height: 30px;
    width: 3px;
    background: #ffd700;
    top: 50%;
    transform: translateY(-50%);
}
.game-frame-border-left { left: -2px; }
.game-frame-border-right { right: -2px; }

/* Dynamic Ambient Glow */
.ambient-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.12;
}
.ambient-glow.golden {
    background-color: #ffd700;
    top: 10%;
    left: 5%;
}
.ambient-glow.turquoise {
    background-color: #00b093;
    bottom: 10%;
    right: 5%;
}

/* Iframe Container setup for responsive aspect-ratio */
.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 14px;
    overflow: hidden;
    z-index: 5;
    background-color: #000000;
}

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

/* Game Controls Bar */
.game-control-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 8px 4px 8px;
    z-index: 5;
    position: relative;
    flex-wrap: wrap;
    gap: 12px;
}

.control-left, .control-right {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.game-tool-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 8px 16px;
    border-radius: 15px;
    color: #e5dfd9;
    font-weight: 600;
    cursor: pointer;
    font-size: 12px;
    transition: var(--transition-smooth);
}

.game-tool-btn:hover {
    background: rgba(212, 175, 55, 0.08);
    color: #ffffff;
    border-color: #ffd700;
}

.primary-glow-btn {
    background: rgba(212, 175, 55, 0.08);
    border-color: #ffd700;
    color: #ffd700;
}

.primary-glow-btn:hover {
    background: var(--gold-gradient);
    color: #090604;
}

/* Quick symbols guide grid */
.quick-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.info-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: var(--transition-smooth);
}

.info-card:hover {
    transform: translateY(-3px);
    border-color: rgba(212, 175, 55, 0.25);
    background: rgba(255, 255, 255, 0.02);
}

.info-icon {
    font-size: 30px;
    display: block;
    margin-bottom: 12px;
}

.info-card h4 {
    font-size: 16px;
    color: #ffd700;
    margin-bottom: 8px;
}

.info-card p {
    font-size: 12px;
    color: #a6988f;
}

/* 12. TREASURE CHAMBER VIEW STYLE */
.treasure-chamber-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.chamber-badge {
    color: #ffd700;
    border: 1px solid #ffd700;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 2px;
}

.chamber-title {
    font-size: 36px;
    margin-top: 12px;
}

.chamber-subtitle {
    max-width: 600px;
    margin: 8px auto 35px auto;
}

.treasure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.treasure-item-card {
    position: relative;
    background: var(--bg-temple);
    border: 1px solid rgba(212,175,55,0.12);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.treasure-item-card:hover {
    transform: translateY(-3px);
    border-color: rgba(212,175,55,0.3);
}

.card-glow-effect {
    position: absolute;
    width: 130px;
    height: 130px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.card-glow-effect.turquoise {
    background: radial-gradient(circle, rgba(0, 176, 147, 0.1) 0%, transparent 70%);
}

.card-glow-effect.amber {
    background: radial-gradient(circle, rgba(230, 145, 44, 0.1) 0%, transparent 70%);
}

.treasure-icon-wrap {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px auto;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(212,175,55,0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.artifact-emoji {
    font-size: 32px;
}

.treasure-item-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #ffffff;
}

.artifact-desc {
    font-size: 12px;
    color: #a6988f;
    margin-bottom: 20px;
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
}

.status-locked {
    background: rgba(255,255,255,0.03);
    color: #a6988f;
    border: 1px solid rgba(255,255,255,0.08);
}

/* Stat strip */
.treasure-stat-strip {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(212,175,55,0.12);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-bubble {
    text-align: center;
}

.stat-bubble .stat-number {
    display: block;
    font-size: 30px;
    font-family: var(--font-heading);
    color: #ffd700;
    font-weight: 900;
}

.stat-bubble .stat-label {
    font-size: 11px;
    color: #a6988f;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 13. ADVENTURES VIEW */
.adventures-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.adventure-hero-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.adv-tag {
    color: #6cf0db;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 11px;
}

.adv-title {
    font-size: 36px;
    margin: 8px 0 16px 0;
}

.adv-p {
    color: #a6988f;
    font-size: 15px;
    margin-bottom: 25px;
}

.adventure-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.step-item {
    display: flex;
    gap: 15px;
}

.step-num {
    background: var(--gold-gradient);
    color: #090604;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: var(--font-heading);
    flex-shrink: 0;
    font-size: 14px;
}

.step-details h4 {
    font-size: 15px;
    color: #ffd700;
    margin-bottom: 4px;
}

.step-details p {
    font-size: 12px;
    color: #a6988f;
}

.adventure-visual-side {
    position: relative;
}

.glass-adventure-frame {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(212,175,55,0.15);
    box-shadow: 0 15px 40px rgba(0,0,0,0.7);
    position: relative;
}

.adv-frame-img {
    width: 100%;
    display: block;
    object-fit: cover;
    height: 400px;
}

.adv-frame-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(9, 6, 4, 0.9);
    border: 1px solid #ffd700;
    color: #ffd700;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 10px;
    font-family: var(--font-heading);
}

/* Highlights Section */
.highlights-section {
    padding-top: 30px;
}

.highlights-section .section-title {
    font-size: 24px;
    margin-bottom: 30px;
}

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

.highlight-card {
    background: rgba(255,255,255,0.01);
    border: 1px solid rgba(212,175,55,0.08);
    border-radius: 14px;
    padding: 25px;
    text-align: center;
}

.hl-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.highlight-card h3 {
    font-size: 16px;
    color: #ffd700;
    margin-bottom: 8px;
}

.highlight-card p {
    font-size: 12px;
    color: #a6988f;
}

/* 14. CONTACT VIEW */
.contact-view-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.contact-badge {
    color: #f7ba53;
    border: 1px solid #f7ba53;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 2px;
}

.contact-title {
    font-size: 36px;
    margin-top: 12px;
}

.contact-subtitle {
    max-width: 600px;
    margin: 8px auto 35px auto;
}

.contact-split-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.contact-glass-form-wrap {
    background: rgba(255,255,255,0.01);
    border: 1px solid rgba(212,175,55,0.12);
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    background: rgba(9, 6, 4, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 8px;
    padding: 10px 12px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 13px;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.15);
}

/* Success Alert Styling */
.success-alert-box {
    background: rgba(0, 176, 147, 0.08);
    border: 1px solid #00b093;
    padding: 25px;
    border-radius: 12px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.success-alert-box.hidden {
    display: none;
}

.alert-icon {
    font-size: 36px;
}

.alert-text h4 {
    color: #00b093;
    margin-bottom: 4px;
}

.alert-text p {
    font-size: 12px;
    color: #e5dfd9;
}

/* Sidebar Info Block */
.contact-details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-block {
    background: rgba(255,255,255,0.01);
    border-left: 2px solid #ffd700;
    padding: 12px 20px;
}

.detail-block h4 {
    color: #ffd700;
    font-size: 15px;
    margin-bottom: 6px;
}

.detail-block p {
    font-size: 13px;
    color: #a6988f;
}

/* 15. LEGAL PAGES */
.legal-document-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.legal-tag {
    color: #ffd700;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

.legal-date {
    font-size: 11px;
    color: #7a6e64;
    margin-bottom: 30px;
}

.legal-text-content h3 {
    font-size: 18px;
    color: #ffd700;
    margin: 25px 0 12px 0;
}

.legal-text-content p {
    font-size: 13.5px;
    line-height: 1.7;
    color: #a6988f;
    margin-bottom: 16px;
}

.legal-text-content ul {
    margin-left: 20px;
    margin-bottom: 16px;
    color: #a6988f;
    font-size: 13.5px;
}

.legal-text-content li {
    margin-bottom: 6px;
}

/* 16. FAQ SECTION */
.faq-view-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 20px;
}

.faq-badge {
    color: #6cf0db;
    border: 1px solid #6cf0db;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 2px;
}

.faq-title {
    font-size: 36px;
    margin-top: 12px;
}

.faq-subtitle {
    margin: 8px 0 35px 0;
    font-size: 14px;
}

.faq-accordion-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.25);
    background: rgba(255, 255, 255, 0.03);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.faq-question h3 {
    font-size: 15px;
    color: #ffffff;
}

.faq-arrow {
    font-size: 10px;
    color: #ffd700;
    transition: transform 0.2s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.25s ease, padding 0.25s ease;
}

.faq-answer p {
    font-size: 13px;
    color: #a6988f;
    line-height: 1.6;
}

/* Open State for FAQ */
.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 12px 20px 20px 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.08);
}

/* 17. GLOBAL STATS BAR */
.global-stats-bar {
    background: #120c08;
    border-top: 1px solid rgba(212,175,55,0.15);
    padding: 30px 20px;
    position: relative;
    z-index: 5;
}

.stat-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 900;
    color: #ffd700;
    text-shadow: 0 0 15px var(--gold-glow);
}

.stat-desc {
    font-size: 11px;
    text-transform: uppercase;
    color: #a6988f;
    letter-spacing: 1.5px;
}

/* 18. FOOTER SYSTEM */
.temple-stone-footer {
    position: relative;
    background-color: #090604;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 60px 20px 0 20px;
    z-index: 5;
    overflow: hidden;
}

.footer-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    animation: goldSweep 4s infinite linear;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 14px;
    color: #ffd700;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 20px;
    height: 2px;
    background-color: #ffd700;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column li a {
    color: #a6988f;
    font-size: 13px;
}

.footer-column li a:hover {
    color: #ffffff;
    padding-left: 3px;
}

.footer-logo .gold-text {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 900;
    color: #ffd700;
    letter-spacing: 1.5px;
}

.footer-about {
    font-size: 12px;
    color: #7a6e64;
    margin-top: 15px;
    line-height: 1.6;
}

.footer-contact-info {
    font-size: 12px;
    color: #a6988f;
    line-height: 1.7;
}

.footer-contact-info a {
    color: #6cf0db;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 25px 20px;
    text-align: center;
}

.bottom-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-warning {
    font-size: 10px;
    color: #7a6e64;
    margin-bottom: 12px;
    line-height: 1.6;
}

.copyright-text {
    font-size: 11px;
    color: #4f443b;
}

/* 19. LUXURY MODAL POPUP */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 6, 4, 0.92);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.temple-popup {
    background: var(--bg-temple);
    border: 1px solid #ffd700;
    border-radius: 18px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 0 40px var(--gold-glow);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .temple-popup {
    transform: scale(1);
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 18px;
    color: #ffd700;
}

.close-modal-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 25px;
}

.modal-body h3 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 12px;
}

.modal-body p {
    font-size: 13px;
    color: #a6988f;
    margin-bottom: 20px;
    line-height: 1.6;
}

.symbol-guide-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.sym-guide-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.sym-emoji {
    font-size: 28px;
}

.sym-info h4 {
    font-size: 14px;
    color: #ffd700;
}

.sym-info p {
    font-size: 11px;
    margin: 0;
}

.modal-footer {
    padding: 15px 25px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    display: flex;
    justify-content: flex-end;
}

/* 20. PREMIUM ANIMATIONS & EFFECTS */
@keyframes floatSlowly {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-15px) rotate(10deg); }
}

@keyframes goldSweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* 21. RESPONSIVENESS */
@media (max-width: 1024px) {
    .hero-headline {
        font-size: 44px;
    }
    .temple-teaser-grid {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .pharaoh-gate {
        padding: 5px 20px;
    }
    .navigation-panel {
        display: none; /* Auto collapse for slim modern look */
    }
    .hero-headline {
        font-size: 32px;
    }
    .hero-cta-group {
        flex-direction: column;
        gap: 12px;
    }
    .quick-info-grid {
        grid-template-columns: 1fr;
    }
    .adventure-hero-split {
        grid-template-columns: 1fr;
    }
    .adventure-visual-side {
        order: -1;
    }
    .adv-frame-img {
        height: 280px;
    }
    .contact-split-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    .game-control-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .control-left, .control-right {
        justify-content: center;
    }
    .highlights-grid {
        grid-template-columns: 1fr;
    }
}