* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cormorant Garamond', serif;
    background: #0a0a0a;
    color: #f5f5f5;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100vw;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
}

.scroll-space {
    height: 1300vh;
    position: relative;
    z-index: 0;
}

.scroll-indicator {
    position: fixed;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
    transition: opacity 0.6s ease;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

/* ---------- text layer ---------- */

.text-layer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    width: 85%;
    max-width: 720px;
    pointer-events: none;
}

.section-text {
    font-size: clamp(1.6rem, 4.5vw, 3.2rem);
    font-weight: 300;
    letter-spacing: 0.04em;
    line-height: 1.55;
    color: #ffffff;
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.08);
    opacity: 0;
    transition: opacity 0.7s ease;
}

.section-text.visible {
    opacity: 1;
}

/* ---------- final question layer ---------- */

.final-layer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    text-align: center;
    width: 85%;
    max-width: 720px;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.final-layer.show {
    opacity: 1;
}

.final-layer.hidden {
    pointer-events: none;
}

.final-question {
    font-size: clamp(2rem, 5.5vw, 4rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 3rem;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    line-height: 1.4;
}

/* ---------- buttons ---------- */

.buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.btn {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    padding: 1rem 3rem;
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.btn-yes {
    border-color: rgba(200, 180, 255, 0.4);
}

.btn-yes:hover {
    border-color: rgba(200, 180, 255, 0.8);
    box-shadow: 0 10px 30px rgba(200, 180, 255, 0.2);
}

.btn-no {
    border-color: rgba(255, 180, 180, 0.4);
}

.btn-no:hover {
    border-color: rgba(255, 180, 180, 0.8);
    box-shadow: 0 10px 30px rgba(255, 180, 180, 0.2);
}

/* ---------- response ---------- */

.response-layer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    text-align: center;
    width: 85%;
    max-width: 720px;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.response-layer.show {
    opacity: 1;
}

.response-layer.hidden {
    pointer-events: none;
}

.response-text {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 300;
    letter-spacing: 0.03em;
    line-height: 1.6;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
}

/* ---------- responsive ---------- */

@media (max-width: 768px) {
    .scroll-indicator {
        font-size: 0.75rem;
        bottom: 1.5rem;
    }

    .buttons {
        flex-direction: column;
        gap: 1.5rem;
    }

    .btn {
        padding: 0.8rem 2.5rem;
        font-size: 1.3rem;
    }

    .section-text,
    .final-question {
        padding: 0 1rem;
    }
}
