@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&family=Inter:wght@300;400;600&display=swap');

:root {
    --warm-orange: #ff6b35;
    --coral: #ff9f68;
    --cream: #fff5e6;
    --dark-brown: #3d2c1f;
    --light-bg: #fff8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom right, var(--cream), var(--light-bg));
    color: var(--dark-brown);
    line-height: 1.7;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--warm-orange), var(--coral));
    padding: 1.2rem 3rem;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-wrap {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    font-family: 'Poppins', sans-serif;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Main Container */
main {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
}

.welcome-banner {
    background: linear-gradient(135deg, var(--warm-orange), var(--coral));
    color: white;
    padding: 4rem 3rem;
    border-radius: 30px;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.3);
}

.welcome-banner h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.welcome-banner p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

/* Two Column Layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin: 3rem 0;
}

.content-box {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.content-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
}

.content-box h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: var(--warm-orange);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Alert Box */
.alert-box {
    background: linear-gradient(to right, #fff5e6, #fff8f0);
    border-left: 5px solid var(--warm-orange);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.alert-box h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--warm-orange);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.alert-list {
    list-style: none;
    padding: 0;
}

.alert-list li {
    padding: 0.8rem 0;
    padding-left: 2.5rem;
    position: relative;
    font-size: 1.05rem;
}

.alert-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--warm-orange);
    font-weight: bold;
    font-size: 1.3rem;
}

/* Game Area */
.game-area {
    margin: 4rem 0;
    text-align: center;
}

.game-area h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    color: var(--warm-orange);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.game-area p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--dark-brown);
}

.game-container {
    background: white;
    padding: 2rem;
    border-radius: 25px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
    display: inline-block;
    max-width: 100%;
}

.game-frame {
    width: 100%;
    max-width: 900px;
    height: 700px;
    border: none;
    border-radius: 15px;
}

/* Three Column Grid */
.three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-brown), #2a1f16);
    color: var(--cream);
    padding: 3rem 2rem;
    margin-top: 5rem;
}

.footer-wrap {
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.footer-wrap h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: var(--coral);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--cream);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--coral);
}

/* Age Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-content {
    background: white;
    padding: 3rem;
    border-radius: 30px;
    text-align: center;
    max-width: 550px;
    margin: 1rem;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
}

.age-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    color: var(--warm-orange);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.age-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--dark-brown);
}

.age-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.btn {
    font-family: 'Poppins', sans-serif;
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-yes {
    background: linear-gradient(135deg, var(--warm-orange), var(--coral));
    color: white;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

.btn-yes:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
}

.btn-no {
    background: transparent;
    color: var(--dark-brown);
    border: 2px solid var(--dark-brown);
}

.btn-no:hover {
    background: var(--dark-brown);
    color: white;
}

/* Legal Pages */
.legal-page {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    line-height: 1.9;
}

.legal-page h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    color: var(--warm-orange);
    margin-bottom: 2rem;
    font-weight: 800;
}

.legal-page h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: var(--coral);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.legal-page p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: linear-gradient(to bottom, var(--warm-orange), var(--coral));
        transition: right 0.3s;
        padding-top: 5rem;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }
    
    .welcome-banner h1 {
        font-size: 2.5rem;
    }
    
    .welcome-banner p {
        font-size: 1rem;
    }
    
    .two-col {
        grid-template-columns: 1fr;
    }
    
    .three-col {
        grid-template-columns: 1fr;
    }
    
    .game-frame {
        height: 500px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .age-buttons {
        flex-direction: column;
    }
}
