body {
    margin: 0;

    min-height: 100vh;

    background: #0b0b0b;
    color: #e8dfc8;

    font-family: Georgia, serif;

    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    width: 90%;
    max-width: 600px;

    text-align: center;

    padding: 60px 30px;
}

.symbol {
    font-size: 32px;
    margin-bottom: 30px;
}

h1 {
    font-size: 32px;

    font-weight: normal;

    letter-spacing: 6px;

    margin-bottom: 50px;
}

.clue {
    font-size: 20px;

    line-height: 1.7;

    margin-bottom: 50px;
}

.instruction {
    font-size: 14px;

    letter-spacing: 2px;

    text-transform: uppercase;
}

input {
    display: block;

    width: 220px;

    margin: 20px auto;

    padding: 12px;

    background: transparent;

    border: none;
    border-bottom: 1px solid #e8dfc8;

    color: #e8dfc8;

    text-align: center;

    font-size: 20px;

    outline: none;
}

button {
    margin-top: 20px;

    background: transparent;

    color: #e8dfc8;

    border: 1px solid #e8dfc8;

    padding: 12px 30px;

    letter-spacing: 3px;

    cursor: pointer;
}

button:hover {
    background: #e8dfc8;
    color: #0b0b0b;
}

#response {
    margin-top: 35px;

    font-style: italic;
}

/* -------------------------
   PAGE LOAD
-------------------------- */

.page-content {
    opacity: 0;
    transform: translateY(8px);

    animation: revealPage 1.6s ease forwards;
    animation-delay: 1.8s;
}

@keyframes revealPage {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* -------------------------
   SMOKE
-------------------------- */

.smoke {
    position: fixed;

    inset: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: 10;

    animation: removeSmoke 1s ease forwards;
    animation-delay: 2.2s;
}


.smoke {
    position: fixed;
    inset: 0;

    overflow: hidden;
    pointer-events: none;

    z-index: 10;

    animation: removeSmoke 1.5s ease forwards;
    animation-delay: 3.5s;
}

.smoke-wisp {
    position: absolute;

    width: 600px;
    height: 350px;

    border-radius: 50%;

    background: radial-gradient(
        ellipse at center,
        rgba(240, 240, 240, 0.30) 0%,
        rgba(200, 200, 200, 0.18) 30%,
        rgba(160, 160, 160, 0.08) 50%,
        transparent 72%
    );

    filter: blur(40px);

    opacity: 0;

    mix-blend-mode: screen;
}


/* LEFT */

.smoke-1 {
    left: -300px;
    top: 15%;

    animation: smokeLeft 3.5s ease-out forwards;
}


/* RIGHT */

.smoke-2 {
    right: -300px;
    top: 45%;

    animation: smokeRight 3.8s ease-out forwards;
}


/* BOTTOM */

.smoke-3 {
    left: 25%;
    bottom: -250px;

    animation: smokeRise 4s ease-out forwards;
}


@keyframes smokeLeft {

    0% {
        opacity: 0;
        transform:
            translate(-100px, 50px)
            scale(0.7);
    }

    25% {
        opacity: 0.85;
    }

    70% {
        opacity: 0.6;
    }

    100% {
        opacity: 0;
        transform:
            translate(450px, -120px)
            scale(1.6);
    }
}


@keyframes smokeRight {

    0% {
        opacity: 0;
        transform:
            translate(100px, 50px)
            scale(0.7);
    }

    25% {
        opacity: 0.8;
    }

    70% {
        opacity: 0.5;
    }

    100% {
        opacity: 0;
        transform:
            translate(-450px, -150px)
            scale(1.6);
    }
}


@keyframes smokeRise {

    0% {
        opacity: 0;
        transform:
            translateY(150px)
            scale(0.8);
    }

    25% {
        opacity: 0.7;
    }

    70% {
        opacity: 0.45;
    }

    100% {
        opacity: 0;
        transform:
            translateY(-500px)
            scale(1.5);
    }
}


@keyframes removeSmoke {

    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes fadeAnswer {

    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.clue-transition {
    animation: clueFade 1.5s ease forwards;
}

@keyframes clueFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeAnswer 0.8s ease forwards;
}

.fade-out {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in-stage {
    animation: stageFadeIn 1.5s ease forwards;
}

@keyframes stageFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#transition-message {
    font-size: 22px;
    font-style: italic;
    line-height: 1.7;
    min-height: 40px;
}