@import url('https://fonts.googleapis.com/css2?family=Philosopher:wght@400;700&family=Quicksand:wght@300;400;500;600;700&display=swap');

:root {
    --aether-dark: #0e1117;
    --mystic-blue: #1e3a5f;
    --ethereal-gold: #f59e0b;
    --soft-amber: #fbbf24;
    --cloud-white: #f1f5f9;
    --mist-gray: #94a3b8;
    --deep-void: #070a0f;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Quicksand', sans-serif;
    background: var(--aether-dark);
    color: var(--cloud-white);
    line-height: 1.8;
    font-weight: 400;
}

.top-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(14, 17, 23, 0.97);
    border-bottom: 1px solid rgba(245, 158, 11, 0.15);
}

.header-wrap {
    max-width: 1350px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Philosopher', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--ethereal-gold);
    text-decoration: none;
    letter-spacing: 2px;
}

.burger { display: none; cursor: pointer; padding: 5px; }
.burger span { display: block; width: 26px; height: 2px; background: var(--ethereal-gold); margin: 6px 0; transition: 0.3s; }
.burger.active span:first-child { transform: rotate(45deg) translate(6px, 6px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:last-child { transform: rotate(-45deg) translate(6px, -6px); }

.menu ul { display: flex; list-style: none; gap: 2.5rem; }
.menu a { font-size: 0.9rem; font-weight: 600; color: var(--mist-gray); text-decoration: none; transition: 0.3s; }
.menu a:hover { color: var(--ethereal-gold); }

.main { padding-top: 80px; }

.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at 50% 0%, var(--mystic-blue) 0%, var(--aether-dark) 60%);
    padding: 4rem 2rem;
}

.hero-content { max-width: 900px; margin: 0 auto; text-align: center; }
.hero-content h1 { font-family: 'Philosopher', serif; font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 700; margin-bottom: 1.5rem; color: var(--cloud-white); }
.hero-content h1 span { color: var(--ethereal-gold); }
.hero-content p { font-size: 1.1rem; color: var(--mist-gray); max-width: 700px; margin: 0 auto 2.5rem; }

.gold-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: 'Philosopher', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--aether-dark);
    background: linear-gradient(135deg, var(--ethereal-gold), var(--soft-amber));
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}
.gold-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4); }

.section { max-width: 1350px; margin: 0 auto; padding: 6rem 2rem; }
.section-title { font-family: 'Philosopher', serif; font-size: 2.2rem; text-align: center; margin-bottom: 3rem; color: var(--ethereal-gold); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.4), rgba(14, 17, 23, 0.8));
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: 0.3s;
}
.card:hover { border-color: var(--ethereal-gold); transform: translateY(-5px); }
.card .symbol { font-size: 2.5rem; margin-bottom: 1.5rem; }
.card h3 { font-family: 'Philosopher', serif; font-size: 1.3rem; margin-bottom: 1rem; color: var(--cloud-white); }
.card p { color: var(--mist-gray); font-size: 0.95rem; }

.game-block { background: var(--deep-void); padding: 5rem 2rem; }
.game-holder { max-width: 1000px; margin: 0 auto; background: var(--aether-dark); border: 2px solid rgba(245, 158, 11, 0.3); border-radius: 14px; overflow: hidden; }
.game-holder iframe { width: 100%; height: 560px; border: none; display: block; }

.bottom { background: var(--deep-void); padding: 3.5rem 2rem; border-top: 1px solid rgba(245, 158, 11, 0.1); }
.bottom-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.bottom-links { display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.bottom-links a { color: var(--mist-gray); text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.bottom-links a:hover { color: var(--ethereal-gold); }
.resources { padding-top: 2rem; border-top: 1px solid rgba(245, 158, 11, 0.1); }
.resources p { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-bottom: 0.5rem; }
.resources a { color: var(--soft-amber); margin: 0 0.75rem; text-decoration: none; font-size: 0.85rem; }

.age-screen { position: fixed; inset: 0; background: rgba(7, 10, 15, 0.98); z-index: 10000; display: flex; align-items: center; justify-content: center; }
.age-modal { background: linear-gradient(135deg, var(--mystic-blue), var(--aether-dark)); border: 2px solid var(--ethereal-gold); border-radius: 16px; padding: 3rem; text-align: center; max-width: 470px; margin: 1rem; }
.age-modal h2 { font-family: 'Philosopher', serif; font-size: 1.7rem; color: var(--ethereal-gold); margin-bottom: 1.5rem; }
.age-modal p { color: var(--mist-gray); margin-bottom: 2rem; }
.age-buttons { display: flex; gap: 1rem; justify-content: center; }
.age-buttons button { padding: 0.9rem 2rem; font-family: 'Philosopher', serif; font-size: 0.95rem; font-weight: 700; border: none; border-radius: 8px; cursor: pointer; transition: 0.3s; }
.btn-enter { background: linear-gradient(135deg, var(--ethereal-gold), var(--soft-amber)); color: var(--aether-dark); }
.btn-leave { background: transparent; border: 1px solid var(--mist-gray) !important; color: var(--mist-gray); }

.page-hero { padding: 9rem 2rem 4rem; text-align: center; background: radial-gradient(ellipse at top, var(--mystic-blue) 0%, var(--aether-dark) 60%); }
.page-hero h1 { font-family: 'Philosopher', serif; font-size: 2.5rem; color: var(--ethereal-gold); }
.content { max-width: 850px; margin: 0 auto; padding: 4rem 2rem; }
.content h2 { font-family: 'Philosopher', serif; font-size: 1.4rem; color: var(--ethereal-gold); margin: 2.5rem 0 1rem; }
.content p, .content li { color: var(--mist-gray); margin-bottom: 1rem; }
.content ul { padding-left: 1.5rem; margin: 1rem 0; }

.game-info { background: linear-gradient(135deg, rgba(30, 58, 95, 0.3), rgba(14, 17, 23, 0.6)); border: 1px solid rgba(245, 158, 11, 0.2); border-radius: 12px; padding: 1.5rem; text-align: center; margin-bottom: 2rem; max-width: 1000px; margin-left: auto; margin-right: auto; }
.game-info h3 { font-family: 'Philosopher', serif; color: var(--ethereal-gold); margin-bottom: 0.5rem; }

@media (max-width: 768px) {
    .burger { display: block; }
    .menu { position: fixed; top: 0; right: -100%; width: 75%; height: 100vh; background: var(--aether-dark); padding: 5rem 2rem; transition: right 0.3s; border-left: 1px solid rgba(245, 158, 11, 0.2); }
    .menu.open { right: 0; }
    .menu ul { flex-direction: column; gap: 2rem; }
    .game-holder iframe { height: 380px; }
    .age-buttons { flex-direction: column; }
}
