@import 'games.css';

:root {
    --primary: #db2777;
    --secondary: #f472b6;
    --background: #fdf2f8;
    --text: #831843;
    --success: #15803d;
}

body {
    margin: 0;
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Arial Rounded MT Bold', sans-serif;
    background-color: var(--background);
    color: var(--text);
    overflow: hidden; /* Prevent body scroll, let screens handle it */
}

.screen {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Default to center */
    overflow-y: auto;
    padding: 2rem 1rem;
}

/* For screens with lots of content (like the menu), align to top */
#menu.screen, #game-container.screen {
    justify-content: flex-start;
    padding-top: 4rem;
}

.menu-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    margin: auto; /* Center vertically if content fits */
}

.hidden { display: none !important; }

.btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 2rem;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.btn:hover { transform: scale(1.1); }

.onboarding-card {
    background: white;
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: center;
}

.age-selector {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.age-btn {
    background: white;
    border: 2px solid var(--secondary);
    color: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.2s;
}

.age-btn:hover, .age-btn.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.mock-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--secondary);
    border-radius: 1rem;
    font-size: 1.2rem;
    outline: none;
    margin-bottom: 1rem;
}

.reward-card {
    background: white;
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: center;
    border: 5px solid var(--secondary);
}

#reward-text {
    margin-top: 0;
    line-height: 1.4;
}
