:root {
    --bg: #151520;
    --large: #f05a5b;
    --sub: #f3e5ce;
    --panel: #1d1d29;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 10%, #262640 0%, transparent 42%),
        radial-gradient(circle at 80% 90%, #232336 0%, transparent 36%),
        var(--bg);
    color: #fff;
    font-family: "Manrope", sans-serif;
    overflow: hidden;
}

.start-screen {
    position: relative;
    width: min(1200px, 90vw);
    height: 85vh;
    background-color: transparent;
    background-image: url("images/start_screen.png");
    background-position: center bottom;
    background-size: 100% auto;
    background-repeat: no-repeat;
    border-radius: 100px;
    overflow: hidden;
    z-index: 5;
}

.start-screen.is-hidden {
    display: none;
}

.start-sequence-btn {
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    border: none;
    border-radius: 50px;
    background: #f05a5b;
    color: #151520;
    font-family: "Manrope", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 20px 40px;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.intro-stage {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
}

.text-card {
    width: min(960px, 95vw);
    text-align: center;
    background: transparent;
    padding: 38px 30px;
    opacity: 1;
    transition: opacity 400ms ease;
}

.text-card.is-fading {
    opacity: 0;
}

.large-text {
    color: var(--large);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2.5rem;
    line-height: 1.08;
    letter-spacing: 0.01em;
    margin-bottom: 30px;
}

.sub-text {
    color: var(--sub);
    font-size: 1.5rem;
    line-height: 1.5;
    max-width: 76ch;
    margin: 0 auto;
    white-space: pre-wrap;
}

.typing::after {
    content: "|";
    margin-left: 0.15em;
    color: #f3e5ce;
    animation: blink 850ms step-end infinite;
}

@keyframes blink {
    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

.start-wrap {
    position: fixed;
    inset-inline: 0;
    bottom: 34px;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.start-btn {
    pointer-events: auto;
    border: none;
    border-radius: 30px;
    background: #f05a5b;
    color: #151520;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 20px 30px;
    font-size: 1.5rem;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 350ms ease, transform 350ms ease;
}

.start-btn.visible {
    opacity: 1;
    transform: translateY(0);
}
