@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@300;500;700;900&family=Work+Sans:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --violet: #7C3AED;
    --purple: #6D28D9;
    --pink: #EC4899;
    --neutral: #3F3F46;
    --lightgray: #F4F4F5;
    --darkgray: #27272A;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Work Sans', sans-serif;
    background: var(--lightgray);
    color: var(--neutral);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Archivo', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 2rem;
}

.top-header {
    background: var(--darkgray);
    color: white;
    padding: 1rem 0;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-mark {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--violet), var(--pink));
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--violet), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.navigation a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.navigation a:hover {
    color: var(--pink);
}

.menu-icon {
    display: none;
    font-size: 2rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 820px) {
    .navigation ul {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        background: var(--darkgray);
        flex-direction: column;
        padding: 4rem 2rem;
        box-shadow: -4px 0 12px rgba(0,0,0,0.3);
        gap: 0;
        z-index: 1000;
    }
    
    .navigation ul.active {
        display: flex;
    }
    
    .navigation li {
        padding: 1.2rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .menu-icon {
        display: block;
    }
}

.hero-banner {
    background: linear-gradient(135deg, var(--violet) 0%, var(--purple) 50%, var(--pink) 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-banner h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-banner p {
    font-size: 1.4rem;
    max-width: 850px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}

.cta-link {
    display: inline-block;
    padding: 1.4rem 3.5rem;
    background: white;
    color: var(--violet);
    text-decoration: none;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.15rem;
    transition: all 0.4s;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.cta-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}

.content-wrapper {
    padding: 5rem 2rem;
}

.section {
    max-width: 1000px;
    margin: 0 auto 4.5rem;
}

.section h2 {
    font-size: 2.8rem;
    color: var(--violet);
    margin-bottom: 1.8rem;
    font-weight: 900;
}

.section p {
    font-size: 1.1rem;
    line-height: 1.85;
    margin-bottom: 1.3rem;
}

.alert-container {
    background: linear-gradient(135deg, #FEF3C7, #FDE047);
    border-radius: 20px;
    padding: 3rem;
    margin: 3.5rem auto;
    max-width: 1000px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.alert-container h3 {
    color: #92400E;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.alert-container ul {
    list-style: none;
}

.alert-container li {
    padding: 0.9rem 0;
    color: #78350F;
    font-weight: 600;
    font-size: 1.05rem;
}

.alert-container li::before {
    content: "⚡ ";
    color: #F59E0B;
    font-size: 1.5rem;
    margin-right: 1rem;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
    max-width: 1100px;
    margin: 4rem auto;
}

.card-item {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s;
    border-top: 5px solid var(--violet);
}

.card-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.card-emoji {
    font-size: 5rem;
    display: block;
    margin-bottom: 1.5rem;
}

.card-item h3 {
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
    color: var(--darkgray);
    font-weight: 700;
}

.game-wrapper {
    background: white;
    padding: 4rem 3rem;
    border-radius: 25px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
    max-width: 1150px;
    margin: 4rem auto;
}

.game-wrapper h2 {
    text-align: center;
    color: var(--violet);
    font-size: 3rem;
    margin-bottom: 2.5rem;
    font-weight: 900;
}

.game-wrapper iframe {
    width: 100%;
    height: 800px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.site-footer {
    background: var(--darkgray);
    color: white;
    padding: 4rem 2rem;
    margin-top: 6rem;
}

.footer-box {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-box p {
    margin-bottom: 1.3rem;
    opacity: 0.9;
    font-size: 1.05rem;
}

.resource-links {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.resource-links a {
    color: var(--pink);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.resource-links a:hover {
    color: white;
}

.age-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(124,58,237,0.95), rgba(236,72,153,0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.age-overlay.hidden {
    display: none;
}

.age-dialog {
    background: white;
    padding: 4.5rem 3.5rem;
    border-radius: 25px;
    max-width: 600px;
    text-align: center;
    margin: 1rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.age-dialog h2 {
    color: var(--violet);
    font-size: 3rem;
    margin-bottom: 1.8rem;
    font-weight: 900;
}

.age-dialog p {
    color: var(--neutral);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    line-height: 1.75;
}

.age-controls {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.age-button {
    padding: 1.4rem 3rem;
    border: none;
    border-radius: 15px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Archivo', sans-serif;
}

.age-button:hover {
    transform: scale(1.1);
}

.age-button.approve {
    background: linear-gradient(135deg, var(--violet), var(--purple));
    color: white;
}

.age-button.reject {
    background: #EF4444;
    color: white;
}

@media (max-width: 900px) {
    .hero-banner h1 {
        font-size: 2.5rem;
    }
    
    .grid-layout {
        grid-template-columns: 1fr;
    }
    
    .game-wrapper iframe {
        height: 500px;
    }
    
    .age-controls {
        flex-direction: column;
    }
    
    .age-button {
        width: 100%;
    }
}
