@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Prata&display=swap');

:root {
    --cosmic-navy: #0c1929;
    --deep-teal: #134e5e;
    --bright-teal: #20c997;
    --cosmic-gold: #ffc107;
    --star-white: #f8f9fa;
    --muted-blue: #6c8da0;
    --space-black: #060d14;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--cosmic-navy);
    color: var(--star-white);
    line-height: 1.8;
    font-weight: 300;
}

.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(12, 25, 41, 0.97);
    border-bottom: 1px solid rgba(32, 201, 151, 0.15);
}

.header-row {
    max-width: 1350px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    font-family: 'Prata', serif;
    font-size: 1.7rem;
    color: var(--bright-teal);
    text-decoration: none;
    letter-spacing: 3px;
}

.menu-btn { display: none; cursor: pointer; padding: 5px; }
.menu-btn span { display: block; width: 25px; height: 2px; background: var(--bright-teal); margin: 5px 0; transition: 0.3s; }
.menu-btn.active span:first-child { transform: rotate(45deg) translate(5px, 5px); }
.menu-btn.active span:nth-child(2) { opacity: 0; }
.menu-btn.active span:last-child { transform: rotate(-45deg) translate(5px, -5px); }

.main-menu ul { display: flex; list-style: none; gap: 2.5rem; }
.main-menu a { font-size: 0.85rem; font-weight: 500; color: var(--muted-blue); text-decoration: none; transition: color 0.3s; }
.main-menu a:hover { color: var(--bright-teal); }

.content { padding-top: 80px; }

.hero-block {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at 50% 0%, var(--deep-teal) 0%, var(--cosmic-navy) 60%);
    padding: 4rem 2rem;
}

.hero-center { max-width: 900px; margin: 0 auto; text-align: center; }
.hero-center h1 { font-family: 'Prata', serif; font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 1.5rem; color: var(--star-white); }
.hero-center h1 span { color: var(--bright-teal); }
.hero-center p { font-size: 1.1rem; color: var(--muted-blue); max-width: 700px; margin: 0 auto 2.5rem; }

.teal-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cosmic-navy);
    background: var(--bright-teal);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
}
.teal-btn:hover { background: #1aa179; transform: translateY(-2px); }

.segment { max-width: 1350px; margin: 0 auto; padding: 6rem 2rem; }
.segment-head { font-family: 'Prata', serif; font-size: 2.2rem; text-align: center; margin-bottom: 3rem; color: var(--bright-teal); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.card-box {
    background: rgba(19, 78, 94, 0.3);
    border: 1px solid rgba(32, 201, 151, 0.2);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s;
}
.card-box:hover { border-color: var(--bright-teal); transform: translateY(-5px); }
.card-box .ico { font-size: 2.5rem; margin-bottom: 1.5rem; }
.card-box h3 { font-family: 'Prata', serif; font-size: 1.2rem; margin-bottom: 1rem; color: var(--star-white); }
.card-box p { color: var(--muted-blue); font-size: 0.95rem; }

.game-area { background: var(--space-black); padding: 5rem 2rem; }
.game-box { max-width: 1000px; margin: 0 auto; background: var(--cosmic-navy); border: 2px solid rgba(32, 201, 151, 0.3); border-radius: 12px; overflow: hidden; }
.game-box iframe { width: 100%; height: 560px; border: none; display: block; }

.footer-section { background: var(--space-black); padding: 3.5rem 2rem; border-top: 1px solid rgba(32, 201, 151, 0.1); }
.footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-nav { display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.footer-nav a { color: var(--muted-blue); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-nav a:hover { color: var(--bright-teal); }
.help-area { padding-top: 2rem; border-top: 1px solid rgba(32, 201, 151, 0.1); }
.help-area p { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-bottom: 0.5rem; }
.help-area a { color: var(--cosmic-gold); margin: 0 0.75rem; text-decoration: none; font-size: 0.85rem; }

.age-wall { position: fixed; inset: 0; background: rgba(6, 13, 20, 0.98); z-index: 10000; display: flex; align-items: center; justify-content: center; }
.age-panel { background: var(--cosmic-navy); border: 2px solid var(--bright-teal); border-radius: 12px; padding: 3rem; text-align: center; max-width: 470px; margin: 1rem; }
.age-panel h2 { font-family: 'Prata', serif; font-size: 1.7rem; color: var(--bright-teal); margin-bottom: 1.5rem; }
.age-panel p { color: var(--muted-blue); margin-bottom: 2rem; }
.age-btns { display: flex; gap: 1rem; justify-content: center; }
.age-btns button { padding: 0.9rem 2rem; font-size: 0.9rem; font-weight: 600; border: none; border-radius: 6px; cursor: pointer; transition: 0.3s; }
.btn-ok { background: var(--bright-teal); color: var(--cosmic-navy); }
.btn-no { background: transparent; border: 1px solid var(--muted-blue) !important; color: var(--muted-blue); }

.page-title { padding: 9rem 2rem 4rem; text-align: center; background: radial-gradient(ellipse at top, var(--deep-teal) 0%, var(--cosmic-navy) 60%); }
.page-title h1 { font-family: 'Prata', serif; font-size: 2.5rem; color: var(--bright-teal); }
.text-section { max-width: 850px; margin: 0 auto; padding: 4rem 2rem; }
.text-section h2 { font-family: 'Prata', serif; font-size: 1.4rem; color: var(--bright-teal); margin: 2.5rem 0 1rem; }
.text-section p, .text-section li { color: var(--muted-blue); margin-bottom: 1rem; }
.text-section ul { padding-left: 1.5rem; margin: 1rem 0; }

.game-tip { background: rgba(19, 78, 94, 0.3); border: 1px solid rgba(32, 201, 151, 0.2); border-radius: 10px; padding: 1.5rem; text-align: center; margin-bottom: 2rem; max-width: 1000px; margin-left: auto; margin-right: auto; }
.game-tip h3 { font-family: 'Prata', serif; color: var(--bright-teal); margin-bottom: 0.5rem; }

@media (max-width: 768px) {
    .menu-btn { display: block; }
    .main-menu { position: fixed; top: 0; right: -100%; width: 75%; height: 100vh; background: var(--cosmic-navy); padding: 5rem 2rem; transition: right 0.3s; border-left: 1px solid rgba(32, 201, 151, 0.2); }
    .main-menu.open { right: 0; }
    .main-menu ul { flex-direction: column; gap: 2rem; }
    .game-box iframe { height: 380px; }
    .age-btns { flex-direction: column; }
}
