/* passage — threshold between worlds
   ASCII butterfly on dark ground.
*/

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    background-color: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.passage-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 2rem;
}

/* ASCII butterfly */

#butterfly {
    font-family: 'Menlo', 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: clamp(8px, 1.4vw, 12px);
    line-height: 1;
    color: #e8ddd3;
    opacity: 0;
    animation: fade-in 2.5s ease forwards;
    white-space: pre;
    user-select: none;
}

/* Enter link */

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat-variable.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
}

.enter-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-decoration: none;
    color: #5a524a;
    transition: color 0.6s ease;
    opacity: 0;
    animation: fade-in 1.5s ease forwards;
    animation-delay: 3s;
}

.enter-link:hover {
    color: #6b9e9e;
}

@keyframes fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@media (max-width: 480px) {
    .passage-container {
        gap: 1rem;
    }

    .enter-link {
        font-size: 0.8rem;
    }
}
