@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
    --sand-gold: #c9a227;
    --desert-orange: #d97706;
    --pharaoh-blue: #1e3a5f;
    --tomb-black: #0f172a;
    --papyrus: #fef3c7;
    --stone-gray: #64748b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--tomb-black);
    color: var(--papyrus);
    line-height: 1.7;
}

.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    z-index: 1000;
    border-bottom: 2px solid var(--sand-gold);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-name {
    font-family: 'Crimson Text', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--sand-gold);
    text-decoration: none;
}

.nav-bar { display: flex; gap: 2rem; }

.nav-bar a {
    color: var(--papyrus);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-bar a:hover { color: var(--sand-gold); }

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--sand-gold);
    transition: 0.3s;
}

.menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.menu-btn.active span:nth-child(2) { opacity: 0; }
.menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.mobile-nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 260px;
    height: calc(100vh - 70px);
    background: var(--tomb-black);
    transition: right 0.3s;
    z-index: 999;
    padding: 2rem;
}

.mobile-nav.open { right: 0; }

.mobile-nav a {
    display: block;
    color: var(--papyrus);
    text-decoration: none;
    padding: 1rem 0;
    border-bottom: 1px solid var(--pharaoh-blue);
}

.hero-section {
    min-height: 100vh;
    padding: 120px 2rem 60px;
    background: linear-gradient(135deg, var(--tomb-black) 0%, var(--pharaoh-blue) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--sand-gold), var(--desert-orange));
    color: var(--tomb-black);
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-section h1 {
    font-family: 'Crimson Text', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 1.5rem;
}

.hero-section h1 span { color: var(--sand-gold); }

.hero-section p {
    font-size: 1.2rem;
    color: var(--stone-gray);
    max-width: 650px;
    margin-bottom: 2.5rem;
}

.cta-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.btn-gold {
    background: linear-gradient(135deg, var(--sand-gold), var(--desert-orange));
    color: var(--tomb-black);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(201, 162, 39, 0.3); }

.btn-outline {
    background: transparent;
    color: var(--sand-gold);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--sand-gold);
    transition: all 0.3s;
}

.btn-outline:hover { background: var(--sand-gold); color: var(--tomb-black); }

.info-section {
    padding: 4rem 2rem;
    background: var(--pharaoh-blue);
}

.info-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-item {
    background: var(--tomb-black);
    padding: 2rem;
    text-align: center;
    border-top: 3px solid var(--sand-gold);
}

.info-item .icon { font-size: 2.5rem; margin-bottom: 1rem; }

.info-item h3 {
    font-family: 'Crimson Text', serif;
    color: var(--sand-gold);
    margin-bottom: 0.5rem;
}

.info-item p { color: var(--stone-gray); }

.game-area {
    padding: 5rem 2rem;
    background: var(--tomb-black);
}

.area-title {
    text-align: center;
    margin-bottom: 3rem;
}

.area-title h2 {
    font-family: 'Crimson Text', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.area-title h2 span { color: var(--sand-gold); }

.game-frame {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--pharaoh-blue);
    border: 3px solid var(--sand-gold);
}

.game-frame iframe { width: 100%; height: 620px; border: none; }

.features {
    padding: 5rem 2rem;
    background: var(--pharaoh-blue);
}

.features-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--tomb-black);
    padding: 2rem;
    text-align: center;
}

.feature-card .f-icon { font-size: 2rem; margin-bottom: 1rem; }

.feature-card h4 {
    font-family: 'Crimson Text', serif;
    color: var(--sand-gold);
    margin-bottom: 0.5rem;
}

.feature-card p { color: var(--stone-gray); font-size: 0.9rem; }

footer {
    background: var(--tomb-black);
    padding: 4rem 2rem 1.5rem;
    border-top: 1px solid var(--pharaoh-blue);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand .brand-name { display: inline-block; margin-bottom: 1rem; }
.footer-brand p { color: var(--stone-gray); font-size: 0.9rem; }

.footer-links h5 {
    font-family: 'Crimson Text', serif;
    color: var(--sand-gold);
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    color: var(--stone-gray);
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer-support h5 {
    font-family: 'Crimson Text', serif;
    color: var(--sand-gold);
    margin-bottom: 1rem;
}

.footer-support a {
    display: inline-block;
    background: var(--pharaoh-blue);
    color: var(--papyrus);
    padding: 0.4rem 0.8rem;
    text-decoration: none;
    font-size: 0.85rem;
    margin: 0.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--pharaoh-blue);
    color: var(--stone-gray);
    font-size: 0.85rem;
}

.age-gate {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.age-gate.hidden { display: none; }

.gate-box {
    background: var(--pharaoh-blue);
    padding: 3rem;
    text-align: center;
    max-width: 450px;
    border: 3px solid var(--sand-gold);
}

.gate-box .g-icon { font-size: 3.5rem; margin-bottom: 1rem; }

.gate-box h2 {
    font-family: 'Crimson Text', serif;
    color: var(--sand-gold);
    margin-bottom: 1rem;
}

.gate-box p { color: var(--stone-gray); margin-bottom: 2rem; }

.gate-btns { display: flex; gap: 1rem; justify-content: center; }

.gate-btns button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.g-yes { background: var(--sand-gold); color: var(--tomb-black); }
.g-no { background: transparent; border: 2px solid var(--papyrus) !important; color: var(--papyrus); }

.page-section { padding: 120px 2rem 60px; min-height: 75vh; }

.page-inner { max-width: 900px; margin: 0 auto; }

.page-heading {
    font-family: 'Crimson Text', serif;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    color: var(--sand-gold);
    text-align: center;
    margin-bottom: 2rem;
}

.text-block {
    background: var(--pharaoh-blue);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--sand-gold);
}

.text-block h2 {
    font-family: 'Crimson Text', serif;
    color: var(--sand-gold);
    margin-bottom: 1rem;
}

.text-block p { color: var(--stone-gray); margin-bottom: 0.8rem; }
.text-block ul { color: var(--stone-gray); padding-left: 1.5rem; }
.text-block li { margin-bottom: 0.4rem; }

@media (max-width: 768px) {
    .nav-bar { display: none; }
    .menu-btn { display: flex; }
    .game-frame iframe { height: 450px; }
    .gate-btns { flex-direction: column; }
    .cta-btns { flex-direction: column; align-items: center; }
}
