@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Source+Sans+Pro:wght@300;400;600;700&display=swap');

:root {
    --emerald: #10b981;
    --emerald-dark: #047857;
    --charcoal: #1f2937;
    --slate-dark: #111827;
    --cream: #f9fafb;
    --gold-accent: #d4a574;
    --silver: #9ca3af;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Source Sans Pro', sans-serif;
    background: var(--slate-dark);
    color: var(--cream);
    line-height: 1.7;
}

.header-bar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--emerald);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--emerald);
    text-decoration: none;
}

.main-menu { display: flex; gap: 2rem; }

.main-menu a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.main-menu a:hover { color: var(--emerald); }

.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.hamburger-btn span {
    width: 25px;
    height: 3px;
    background: var(--emerald);
    transition: 0.3s;
}

.hamburger-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; }
.hamburger-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.mobile-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 260px;
    height: calc(100vh - 70px);
    background: var(--slate-dark);
    transition: right 0.3s;
    z-index: 999;
    padding: 2rem;
}

.mobile-menu.open { right: 0; }

.mobile-menu a {
    display: block;
    color: var(--cream);
    text-decoration: none;
    padding: 1rem 0;
    border-bottom: 1px solid var(--charcoal);
}

.hero-area {
    min-height: 100vh;
    padding: 120px 2rem 60px;
    background: linear-gradient(135deg, var(--slate-dark) 0%, var(--charcoal) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.tag-line {
    display: inline-block;
    background: var(--emerald);
    color: var(--slate-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-area h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 1.5rem;
}

.hero-area h1 span { color: var(--emerald); }

.hero-area p {
    font-size: 1.2rem;
    color: var(--silver);
    max-width: 650px;
    margin-bottom: 2.5rem;
}

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.btn-primary {
    background: var(--emerald);
    color: var(--slate-dark);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-primary:hover { background: var(--emerald-dark); transform: translateY(-3px); }

.btn-secondary {
    background: transparent;
    color: var(--cream);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--emerald);
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-secondary:hover { background: var(--emerald); color: var(--slate-dark); }

.info-cards {
    padding: 4rem 2rem;
    background: var(--charcoal);
}

.cards-row {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--slate-dark);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border-top: 3px solid var(--emerald);
}

.info-card .icon { font-size: 2.5rem; margin-bottom: 1rem; }

.info-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--emerald);
    margin-bottom: 0.5rem;
}

.info-card p { color: var(--silver); }

.game-section {
    padding: 5rem 2rem;
    background: var(--slate-dark);
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.section-heading h2 span { color: var(--emerald); }

.game-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--charcoal);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--emerald);
}

.game-wrapper iframe { width: 100%; height: 620px; border: none; }

.features-grid {
    padding: 5rem 2rem;
    background: var(--charcoal);
}

.grid-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-box {
    background: var(--slate-dark);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.feature-box .f-icon { font-size: 2rem; margin-bottom: 1rem; }

.feature-box h4 {
    font-family: 'Playfair Display', serif;
    color: var(--emerald);
    margin-bottom: 0.5rem;
}

.feature-box p { color: var(--silver); font-size: 0.9rem; }

footer {
    background: var(--slate-dark);
    padding: 4rem 2rem 1.5rem;
    border-top: 1px solid var(--charcoal);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand .logo-text { display: inline-block; margin-bottom: 1rem; }
.footer-brand p { color: var(--silver); font-size: 0.9rem; }

.footer-nav h5 {
    font-family: 'Playfair Display', serif;
    color: var(--emerald);
    margin-bottom: 1rem;
}

.footer-nav a {
    display: block;
    color: var(--silver);
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer-safety h5 {
    font-family: 'Playfair Display', serif;
    color: var(--emerald);
    margin-bottom: 1rem;
}

.footer-safety a {
    display: inline-block;
    background: var(--charcoal);
    color: var(--cream);
    padding: 0.4rem 0.8rem;
    text-decoration: none;
    font-size: 0.85rem;
    margin: 0.2rem;
    border-radius: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--charcoal);
    color: var(--silver);
    font-size: 0.85rem;
}

.age-modal {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.age-modal.hidden { display: none; }

.modal-box {
    background: var(--charcoal);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    max-width: 450px;
    border: 2px solid var(--emerald);
}

.modal-box .m-icon { font-size: 3.5rem; margin-bottom: 1rem; }

.modal-box h2 {
    font-family: 'Playfair Display', serif;
    color: var(--emerald);
    margin-bottom: 1rem;
}

.modal-box p { color: var(--silver); margin-bottom: 2rem; }

.modal-btns { display: flex; gap: 1rem; justify-content: center; }

.modal-btns button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    border-radius: 4px;
}

.btn-yes { background: var(--emerald); color: var(--slate-dark); }
.btn-no { background: transparent; border: 2px solid var(--cream) !important; color: var(--cream); }

.page-content { padding: 120px 2rem 60px; min-height: 75vh; }

.content-wrap { max-width: 900px; margin: 0 auto; }

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    color: var(--emerald);
    text-align: center;
    margin-bottom: 2rem;
}

.content-block {
    background: var(--charcoal);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--emerald);
}

.content-block h2 {
    font-family: 'Playfair Display', serif;
    color: var(--emerald);
    margin-bottom: 1rem;
}

.content-block p { color: var(--silver); margin-bottom: 0.8rem; }
.content-block ul { color: var(--silver); padding-left: 1.5rem; }
.content-block li { margin-bottom: 0.4rem; }

@media (max-width: 768px) {
    .main-menu { display: none; }
    .hamburger-btn { display: flex; }
    .game-wrapper iframe { height: 450px; }
    .modal-btns { flex-direction: column; }
    .btn-group { flex-direction: column; align-items: center; }
}
