@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg-light: #f0fafa;
    --bg-white: #ffffff;
    --primary: #00b8a9;
    --primary-dark: #009688;
    --secondary: #ff6b6b;
    --text-dark: #1a2e35;
    --text-muted: #5a7a82;
    --shadow: rgba(0, 184, 169, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.8;
}

.wrapper {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Navigation */
.site-header {
    background: var(--bg-white);
    box-shadow: 0 2px 20px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand svg {
    width: 48px;
    height: 48px;
}

.brand-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--primary);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--primary);
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 100px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-banner h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.hero-banner p {
    font-size: 1.15rem;
    opacity: 0.95;
    max-width: 680px;
    margin: 0 auto 35px;
    position: relative;
}

.info-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.pill {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* Game Area */
.game-area {
    padding: 70px 0;
}

.game-frame {
    background: var(--bg-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px var(--shadow);
}

.game-frame iframe {
    width: 100%;
    height: 620px;
    border: none;
}

/* Cards Section */
.cards-section {
    padding: 60px 0;
}

.cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.info-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.info-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Text Sections */
.text-block {
    padding: 60px 0;
    background: var(--bg-white);
    margin: 40px 0;
    border-radius: 24px;
}

.text-block h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.text-block p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 1rem;
}

/* Page Content */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 120px 0 60px;
    color: white;
    text-align: center;
}

.page-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.6rem;
}

.page-content {
    padding: 60px 0;
}

.content-box {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px var(--shadow);
}

.content-box h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    color: var(--primary);
    margin: 30px 0 15px;
}

.content-box h2:first-child {
    margin-top: 0;
}

.content-box p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.content-box ul {
    list-style: none;
    padding-left: 0;
}

.content-box li {
    color: var(--text-muted);
    padding: 8px 0 8px 25px;
    position: relative;
}

.content-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Footer */
.site-footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-about .brand-name {
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-nav h4 {
    color: var(--primary);
    margin-bottom: 20px;
    font-family: 'Space Grotesk', sans-serif;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    padding: 6px 0;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Age Modal */
.age-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 46, 53, 0.97);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.age-overlay.hide {
    display: none;
}

.age-box {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 50px;
    text-align: center;
    max-width: 420px;
    margin: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.age-box h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.age-box p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.age-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.age-actions button {
    padding: 14px 35px;
    border: none;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-confirm {
    background: var(--primary);
    color: white;
}

.btn-confirm:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.btn-deny {
    background: #e8e8e8;
    color: var(--text-muted);
}

.btn-deny:hover {
    background: #d0d0d0;
}

/* Responsive */
@media (max-width: 1024px) {
    .cards-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 84px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        padding: 30px;
        transform: translateY(-150%);
        transition: transform 0.3s;
        box-shadow: 0 10px 30px var(--shadow);
    }
    
    .main-nav.open {
        transform: translateY(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-banner {
        padding: 70px 0;
    }
    
    .hero-banner h1 {
        font-size: 2rem;
    }
    
    .cards-row {
        grid-template-columns: 1fr;
    }
    
    .game-frame iframe {
        height: 380px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .content-box {
        padding: 30px;
    }
    
    .age-actions {
        flex-direction: column;
    }
}
