@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Nunito:wght@300;400;500;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-dark: #0c1821;
    --bg-mid: #1b2838;
    --electric-blue: #00d4ff;
    --lime-green: #84cc16;
    --white: #f1f5f9;
    --gray: #94a3b8;
    --border: rgba(0, 212, 255, 0.2);
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--bg-dark);
    color: var(--white);
    line-height: 1.7;
}

.container { max-width: 1320px; margin: 0 auto; padding: 0 22px; }

/* Header */
.header {
    background: rgba(12, 24, 33, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: fixed; top: 0; width: 100%; z-index: 1000; padding: 14px 0;
}

.header-inner { display: flex; justify-content: space-between; align-items: center; }

.logo {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    color: var(--electric-blue);
    text-decoration: none;
    display: flex; align-items: center; gap: 10px;
    letter-spacing: 2px;
}

.logo-icon {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--electric-blue), var(--lime-green));
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--bg-dark); font-size: 18px;
}

.hamburger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
}

.hamburger span { width: 26px; height: 2px; background: var(--electric-blue); transition: 0.3s; }
.hamburger.active span:first-child { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:last-child { transform: rotate(-45deg) translate(5px, -5px); }

.nav ul { display: flex; list-style: none; gap: 34px; }
.nav a {
    font-family: 'Bebas Neue', cursive;
    font-size: 1rem;
    color: var(--gray);
    text-decoration: none;
    letter-spacing: 1.5px;
    transition: color 0.3s;
}
.nav a:hover, .nav a.active { color: var(--electric-blue); }

/* Hero */
.hero { padding: 130px 0 70px; text-align: center; background: linear-gradient(180deg, var(--bg-mid), var(--bg-dark)); }

.hero-badge {
    display: inline-block; padding: 10px 24px;
    background: rgba(0, 212, 255, 0.1); border: 1px solid var(--electric-blue);
    border-radius: 6px; font-family: 'Bebas Neue', cursive;
    font-size: 0.95rem; color: var(--electric-blue); letter-spacing: 2px; margin-bottom: 28px;
}

h1 {
    font-family: 'Bebas Neue', cursive;
    font-size: 4rem; letter-spacing: 3px;
    line-height: 1.1; margin-bottom: 20px;
}

.hero-sub { font-size: 1.1rem; color: var(--gray); max-width: 700px; margin: 0 auto; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 55px 0; }

.card {
    background: var(--bg-mid); border: 1px solid var(--border);
    border-radius: 14px; padding: 32px 26px; text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}
.card:hover { border-color: var(--lime-green); transform: translateY(-4px); }

.card-icon { font-size: 2.5rem; margin-bottom: 14px; }
.card h3 { font-family: 'Bebas Neue', cursive; font-size: 1.2rem; color: var(--lime-green); margin-bottom: 10px; letter-spacing: 1px; }
.card p { font-size: 0.95rem; color: var(--gray); }

/* Game */
.game-section { padding: 50px 0 70px; }
.section-header { text-align: center; margin-bottom: 38px; }
h2 { font-family: 'Bebas Neue', cursive; font-size: 2.8rem; letter-spacing: 2px; margin-bottom: 12px; }
.section-sub { color: var(--gray); max-width: 600px; margin: 0 auto; }

.game-box { background: var(--bg-mid); border: 1px solid var(--border); border-radius: 18px; padding: 22px; }
.game-frame { width: 100%; height: 550px; border: none; border-radius: 12px; }

/* Features */
.features { padding: 65px 0; background: var(--bg-mid); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.feature {
    background: var(--bg-dark); border: 1px solid var(--border);
    border-radius: 14px; padding: 34px 22px; text-align: center;
}
.feature-icon { font-size: 2.8rem; margin-bottom: 16px; }
.feature h3 { font-family: 'Bebas Neue', cursive; font-size: 1rem; color: var(--electric-blue); margin-bottom: 10px; letter-spacing: 1px; }
.feature p { font-size: 0.9rem; color: var(--gray); }

/* Content */
.content { padding: 55px 0; }
.content-block { background: var(--bg-mid); border: 1px solid var(--border); border-radius: 18px; padding: 48px; margin-bottom: 26px; }
.content-block h2 { text-align: left; font-size: 2rem; margin-bottom: 18px; }
.content-block p { color: var(--gray); margin-bottom: 16px; }
.content-block ul { list-style: none; margin: 22px 0; }
.content-block li { padding: 12px 0 12px 28px; position: relative; color: var(--gray); border-bottom: 1px solid var(--border); }
.content-block li:last-child { border-bottom: none; }
.content-block li::before { content: '▸'; position: absolute; left: 0; color: var(--lime-green); }

/* Page Title */
.page-title { padding: 115px 0 48px; text-align: center; background: var(--bg-mid); border-bottom: 1px solid var(--border); }
.page-title h1 { font-size: 2.8rem; }

/* Footer */
.footer { background: var(--bg-mid); border-top: 1px solid var(--border); padding: 50px 0 28px; margin-top: 65px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 38px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { color: var(--gray); font-size: 0.95rem; }
.footer-links h4, .footer-resources h4 { font-family: 'Bebas Neue', cursive; font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 1px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .footer-resources a { color: var(--gray); text-decoration: none; font-size: 0.95rem; transition: color 0.3s; }
.footer-links a:hover, .footer-resources a:hover { color: var(--electric-blue); }
.resource-links { display: flex; flex-direction: column; gap: 10px; }
.footer-bottom { text-align: center; padding-top: 28px; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--gray); }

/* Age Modal */
.age-modal { position: fixed; inset: 0; background: rgba(12, 24, 33, 0.98); z-index: 10000; display: flex; align-items: center; justify-content: center; }
.age-modal.hidden { display: none; }
.modal-box { background: var(--bg-mid); border: 2px solid var(--electric-blue); border-radius: 18px; padding: 48px 42px; text-align: center; max-width: 470px; }
.modal-box h2 { font-family: 'Bebas Neue', cursive; font-size: 1.8rem; margin-bottom: 16px; letter-spacing: 1px; }
.modal-box p { color: var(--gray); margin-bottom: 28px; }
.modal-btns { display: flex; gap: 16px; justify-content: center; }
.btn-yes, .btn-no { padding: 14px 36px; font-family: 'Bebas Neue', cursive; font-size: 1rem; border: none; border-radius: 8px; cursor: pointer; letter-spacing: 1px; transition: all 0.3s; }
.btn-yes { background: linear-gradient(135deg, var(--electric-blue), var(--lime-green)); color: var(--bg-dark); }
.btn-yes:hover { transform: scale(1.05); box-shadow: 0 8px 24px rgba(0, 212, 255, 0.4); }
.btn-no { background: transparent; border: 1px solid var(--gray); color: var(--gray); }
.btn-no:hover { border-color: var(--electric-blue); color: var(--electric-blue); }
.modal-note { font-size: 0.8rem; color: var(--gray); margin-top: 24px; }

/* Responsive */
@media (max-width: 1024px) { .features-grid { grid-template-columns: repeat(2, 1fr); } .footer-grid { grid-template-columns: 1fr 1fr; } }

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: var(--bg-dark); display: flex; align-items: center; justify-content: center; transform: translateX(-100%); transition: transform 0.4s; z-index: 999; }
    .nav.open { transform: translateX(0); }
    .nav ul { flex-direction: column; text-align: center; gap: 26px; }
    .nav a { font-size: 1.3rem; }
    h1 { font-size: 2.6rem; }
    h2 { font-size: 2rem; }
    .cards { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .game-frame { height: 370px; }
    .content-block { padding: 32px 22px; }
    .modal-box { margin: 20px; padding: 38px 26px; }
    .modal-btns { flex-direction: column; }
}
