@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Karla:wght@300;400;500;600&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --ink: #18181b;
    --charcoal: #27272a;
    --silver: #a1a1aa;
    --pearl: #fafafa;
    --rose: #f43f5e;
    --violet: #a855f7;
}

body { font-family: 'Karla', sans-serif; background: var(--ink); color: var(--pearl); line-height: 1.75; }
.wrap { max-width: 1300px; margin: 0 auto; padding: 0 24px; }

/* Header */
.masthead { background: rgba(24, 24, 27, 0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--charcoal); position: fixed; top: 0; width: 100%; z-index: 1000; padding: 16px 0; }
.masthead-inner { display: flex; justify-content: space-between; align-items: center; }
.site-title { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; font-weight: 600; color: var(--pearl); text-decoration: none; display: flex; align-items: center; gap: 12px; }
.title-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--rose), var(--violet)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-btn span { width: 26px; height: 2px; background: var(--pearl); 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); }
.site-nav ul { display: flex; list-style: none; gap: 36px; }
.site-nav a { font-size: 0.95rem; color: var(--silver); text-decoration: none; transition: color 0.3s; }
.site-nav a:hover, .site-nav a.active { color: var(--rose); }

/* Hero */
.hero { padding: 140px 0 80px; text-align: center; }
.hero-tag { display: inline-block; padding: 10px 26px; background: var(--charcoal); border-radius: 50px; font-size: 0.9rem; color: var(--rose); margin-bottom: 30px; }
h1 { font-family: 'Cormorant Garamond', serif; font-size: 3.8rem; font-weight: 600; line-height: 1.15; margin-bottom: 22px; }
.hero-desc { font-size: 1.1rem; color: var(--silver); max-width: 700px; margin: 0 auto; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 60px 0; }
.card { background: var(--charcoal); border-radius: 16px; padding: 36px 28px; text-align: center; transition: transform 0.3s; }
.card:hover { transform: translateY(-5px); }
.card-icon { font-size: 2.6rem; margin-bottom: 16px; }
.card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; color: var(--violet); margin-bottom: 12px; }
.card p { font-size: 0.95rem; color: var(--silver); }

/* Game */
.game-section { padding: 55px 0 75px; }
.sec-header { text-align: center; margin-bottom: 40px; }
h2 { font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; margin-bottom: 14px; }
.sec-desc { color: var(--silver); max-width: 580px; margin: 0 auto; }
.game-wrap { background: var(--charcoal); border-radius: 20px; padding: 24px; }
.game-frame { width: 100%; height: 560px; border: none; border-radius: 14px; }

/* Features */
.features { padding: 70px 0; background: var(--charcoal); }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feat { background: var(--ink); border-radius: 16px; padding: 36px 24px; text-align: center; }
.feat-icon { font-size: 2.8rem; margin-bottom: 16px; }
.feat h3 { font-size: 1rem; color: var(--rose); margin-bottom: 10px; }
.feat p { font-size: 0.9rem; color: var(--silver); }

/* Content */
.content { padding: 60px 0; }
.content-box { background: var(--charcoal); border-radius: 20px; padding: 50px; margin-bottom: 28px; }
.content-box h2 { text-align: left; font-size: 2rem; margin-bottom: 20px; }
.content-box p { color: var(--silver); margin-bottom: 18px; }
.content-box ul { list-style: none; margin: 24px 0; }
.content-box li { padding: 14px 0 14px 30px; position: relative; color: var(--silver); border-bottom: 1px solid var(--ink); }
.content-box li:last-child { border-bottom: none; }
.content-box li::before { content: '✧'; position: absolute; left: 0; color: var(--violet); }

/* Page Header */
.page-header { padding: 120px 0 50px; text-align: center; background: var(--charcoal); }
.page-header h1 { font-size: 3rem; }

/* Footer */
.footer { background: var(--charcoal); padding: 55px 0 30px; margin-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 40px; }
.footer-brand .site-title { margin-bottom: 14px; }
.footer-brand p { color: var(--silver); font-size: 0.95rem; }
.footer-nav h4, .footer-help h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; margin-bottom: 18px; }
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 12px; }
.footer-nav a, .footer-help a { color: var(--silver); text-decoration: none; font-size: 0.95rem; transition: color 0.3s; }
.footer-nav a:hover, .footer-help a:hover { color: var(--rose); }
.help-links { display: flex; flex-direction: column; gap: 10px; }
.footer-bar { text-align: center; padding-top: 30px; border-top: 1px solid var(--ink); font-size: 0.85rem; color: var(--silver); }

/* Age Modal */
.age-overlay { position: fixed; inset: 0; background: rgba(24, 24, 27, 0.98); z-index: 10000; display: flex; align-items: center; justify-content: center; }
.age-overlay.hidden { display: none; }
.age-box { background: var(--charcoal); border: 2px solid var(--rose); border-radius: 24px; padding: 50px 45px; text-align: center; max-width: 480px; }
.age-box h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; margin-bottom: 18px; }
.age-box p { color: var(--silver); margin-bottom: 30px; }
.age-btns { display: flex; gap: 16px; justify-content: center; }
.btn-yes, .btn-no { padding: 15px 40px; font-size: 1rem; border: none; border-radius: 50px; cursor: pointer; transition: all 0.3s; }
.btn-yes { background: linear-gradient(135deg, var(--rose), var(--violet)); color: white; }
.btn-yes:hover { transform: scale(1.05); box-shadow: 0 8px 25px rgba(244, 63, 94, 0.4); }
.btn-no { background: transparent; border: 1px solid var(--silver); color: var(--silver); }
.btn-no:hover { border-color: var(--rose); color: var(--rose); }
.age-note { font-size: 0.8rem; color: var(--silver); margin-top: 26px; }

/* Responsive */
@media (max-width: 1024px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
    .menu-btn { display: flex; }
    .site-nav { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: var(--ink); display: flex; align-items: center; justify-content: center; transform: translateX(-100%); transition: transform 0.4s; z-index: 999; }
    .site-nav.open { transform: translateX(0); }
    .site-nav ul { flex-direction: column; text-align: center; gap: 28px; }
    .site-nav a { font-size: 1.3rem; }
    h1 { font-size: 2.5rem; } h2 { font-size: 2rem; }
    .cards { grid-template-columns: 1fr; }
    .feat-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .game-frame { height: 380px; }
    .content-box { padding: 35px 25px; }
    .age-box { margin: 20px; padding: 40px 28px; }
    .age-btns { flex-direction: column; }
}
