* {
    box-sizing: border-box;
}

/* ── Entrance animations ── */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0.01ms !important;
    }
}

body {
    background-color: #121317;
    color: #fff;
    margin: 12px;
    margin-bottom: 0;
    min-height: 100vh;
    font-family: 'Nunito', sans-serif;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 3rem;
}

@media (max-width: 768px) {
    body {
        margin: 10px 14px;
        margin-bottom: 0;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        margin: 10px 16px;
        margin-bottom: 0;
        min-height: 100vh;
        justify-content: space-between;
        gap: 1.25rem;
    }
}

@media (max-width: 1080px) and (min-width: 481px) {
    body {
        min-height: 100vh;
        justify-content: space-between;
    }
}