/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light/Kids Theme Variables */
    --bg-color: #fdfbf7;
    /* Very warm light off-white */
    --text-color: #2d3436;
    /* Dark grey for readability, softer than black */
    --text-muted: #636e72;

    /* Playful Colors */
    --primary-color: #00cec9;
    /* Brighter Turquoise */
    --secondary-color: #fdcb6e;
    /* Sunflower Yellow */
    --accent-pink: #fd79a8;
    /* Bubblegum Pink */
    --accent-blue: #74b9ff;
    /* Sky Blue */

    --font-heading: 'Fredoka', cursive;
    /* Rounded, fun font for headings */
    --font-body: 'Nunito', sans-serif;

    --max-width: 600px;
    --spacing: 2rem;
    --radius: 20px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    text-align: center;
    position: relative;
    overflow-x: hidden;
}

/* Background Joy */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(253, 203, 110, 0.2) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 206, 201, 0.2) 0%, transparent 20%),
        radial-gradient(circle at 80% 10%, rgba(253, 121, 168, 0.2) 0%, transparent 15%);
    z-index: -1;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    animation: bounceIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Logo Area */
.logo-container {
    margin-bottom: 0.5rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-img {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* Typography */
h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--text-color);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

h1 span {
    color: var(--primary-color);
}

p.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 90%;
    margin-bottom: 1rem;
}

/* Buttons */
.buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 350px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 0 #00b894;
    /* Fun chunky shadow */
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #00b894;
    background-color: #01dfd7;
}

.btn-primary:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #00b894;
}

.btn-secondary {
    background-color: #fff;
    color: var(--accent-pink);
    border: 2px solid var(--accent-pink);
    box-shadow: 0 4px 0 rgba(253, 121, 168, 0.2);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background-color: #fff5f8;
    box-shadow: 0 6px 0 rgba(253, 121, 168, 0.3);
}

.btn-secondary:active {
    transform: translateY(2px);
}

/* Footer */
footer {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #b2bec3;
    font-weight: 600;
}

/* Animations */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

/* Decorative Blobs (CSS Only) */
.blob {
    position: absolute;
    z-index: -2;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
}

.blob-1 {
    top: -5%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
}

.blob-2 {
    bottom: -5%;
    right: -5%;
    width: 250px;
    height: 250px;
    background: var(--accent-pink);
}

.blob-3 {
    top: 40%;
    left: 80%;
    width: 150px;
    height: 150px;
    background: var(--primary-color);
}

/* Responsive */
@media (min-width: 480px) {
    h1 {
        font-size: 2.8rem;
    }

    .buttons {
        flex-direction: row;
    }
}