* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', Georgia, serif;
    overflow: hidden;
    color: #fff;
}

#start-screen {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: default;
}

#start-screen.hidden {
    display: none;
}

#start-screen span {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 500;
    font-style: italic;
    color: rgb(255, 255, 255);
    letter-spacing: 0.2em;
    text-transform: lowercase;
}

#subtitle-wrap {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
    width: 90%;
    max-width: 720px;
    opacity: 0;
}

#subtitle-wrap.entering {
    animation: subIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#subtitle-wrap.leaving {
    animation: subOut 0.4s ease forwards;
}

@keyframes subIn {
    from {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 18px)) scale(0.93);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes subOut {
    from {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    to {
        opacity: 0;
        transform: translate(-50%, calc(-50% - 12px)) scale(0.96);
    }
}

.sub-original {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 300;
    font-style: italic;
    color: #fff;
    letter-spacing: 0.02em;
    margin-bottom: 0.55rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

#scan-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999;
    overflow: hidden;
}

.scan-line {
    position: absolute;
    left: 0;
    width: 100%;
    transform: translateX(-100%);
    background: #cc0000;
    animation: scanPass linear forwards;
}

@keyframes scanPass {
    from { transform: translateX(-105%); }
    to   { transform: translateX(105%); }
}
