/* === RESET (kleine + modern) === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "Inter", sans-serif;
    background: linear-gradient(135deg, #0c0c0f, #13141c, #1b1d26);
    color: #ffffff;
    height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* === FRAME / KADER VAK === */
.frame {
    width: 100%;
    max-width: 850px;
    padding: 2.6rem 3rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 28px rgba(255, 95, 144, 0.25);
    backdrop-filter: blur(10px);
    animation: fadeIn 1.3s ease forwards;
}

/* === CONTENT === */
.content {
    text-align: left;
    /* dit zorgt ervoor dat tekst links blijft */
}

/* === TITEL === */
h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: .6rem;
    display: flex;
    align-items: center;
    gap: .4rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

/* === WAVE HAND ANIMATIE === */
h1 span.hand {
    display: inline-block;
    animation: wave 2.4s infinite ease-in-out;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(18deg);
    }

    20% {
        transform: rotate(-12deg);
    }

    30% {
        transform: rotate(18deg);
    }

    40% {
        transform: rotate(-8deg);
    }

    50% {
        transform: rotate(3deg);
    }

    60% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* === SUBTITEL === */
.sub {
    font-size: 1.2rem;
    opacity: .82;
    margin-bottom: 1.4rem;
    animation: fadeInUp 1.4s ease forwards;
    opacity: 0;
}

/* === TEKST ALINEA’S === */
.text {
    font-size: 1.05rem;
    line-height: 1.55;
    margin-bottom: 1rem;
    opacity: .88;
    animation: fadeInUp 1.7s ease forwards;
    opacity: 0;
}

/* === TYPEWRITER CENTREREN (VISUEEL) === */
.loading {
    width: fit-content;
    margin-bottom: 2rem;
    font-family: monospace;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid #fff;
    opacity: 0;
    animation:
        fadeIn 1.7s ease forwards,
        typing 2.2s steps(28, end) 1.7s forwards,
        blink .7s infinite step-end alternate 3.9s;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 200px;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* === BUTTON CTA === */
.cta {
    display: inline-block;
    margin-top: .5rem;
    padding: .9rem 1.9rem;
    background: #ff5f90;
    color: #0c0c0f;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .25s ease, box-shadow .25s ease;
}

.cta:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 8px 22px rgba(255, 95, 144, 0.35);
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === RESPONSIVE === */
@media(max-width: 600px) {
    h1 {
        font-size: 2.2rem;
    }

    .sub {
        font-size: 1rem;
    }

    .frame {
        padding: 2rem;
    }
}