/* ─── GLOBAL ─── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ─── BUTTONS ─── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fbbf24;
    color: #581c87;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(251, 191, 36, 0.4);
}

.btn-primary:hover {
    background: #fcd34d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 9999px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

/* ─── NAV ─── */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fbbf24;
    border-radius: 2px;
    transition: width 0.25s;
}

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

.menu-link {
    display: block;
}

/* ─── SCROLL HINT ─── */
.scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* ─── BLOB ANIMATIONS ─── */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: blobFloat 8s ease-in-out infinite;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: #fbbf24;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: #c084fc;
    bottom: -50px;
    left: -50px;
    animation-delay: -3s;
}

.blob-3 {
    width: 200px;
    height: 200px;
    background: #f472b6;
    top: 40%;
    left: 20%;
    animation-delay: -5s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ─── TOY DECORATIONS ─── */
.toy-deco {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.2;
    pointer-events: none;
    user-select: none;
    animation: toyBounce 4s ease-in-out infinite;
}

.toy-1 { top: 15%; left: 8%; font-size: 2rem; animation-delay: 0s; }
.toy-2 { top: 25%; right: 10%; font-size: 3rem; animation-delay: -1s; }
.toy-3 { bottom: 30%; left: 5%; font-size: 2.5rem; animation-delay: -2s; }
.toy-4 { bottom: 20%; right: 6%; font-size: 2rem; animation-delay: -0.5s; }
.toy-5 { top: 55%; left: 12%; font-size: 1.8rem; animation-delay: -3s; }
.toy-6 { top: 10%; right: 25%; font-size: 1.5rem; animation-delay: -1.5s; }

@keyframes toyBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

/* ─── CARD HOVER ─── */
.card-hover {
    transition: transform 0.3s, box-shadow 0.3s;
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(107, 33, 168, 0.15);
}

/* ─── SCROLL REVEAL ─── */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-up {
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(0);
}

.reveal-right {
    transform: translateX(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up.hidden-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal-left.hidden-reveal {
        opacity: 0;
        transform: translateX(-30px);
    }
    .reveal-right.hidden-reveal {
        opacity: 0;
        transform: translateX(30px);
    }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 640px) {
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    #hero h1 {
        font-size: 2.25rem;
    }

    .toy-deco {
        display: none;
    }
}
