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

body {
    font-family: 'Special Elite', cursive;
    /* Alternative: font-family: 'Mansalva', cursive; */
    background: #1a1a1a;
    color: #f0f0f0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Audio Control Button */
.audio-control {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    color: #f0f0f0;
}

.audio-control:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.audio-control.muted {
    opacity: 0.5;
}

.audio-control svg {
    width: 24px;
    height: 24px;
}

/* Intro Section */
.intro {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.intro h1 {
    font-size: 5rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    color: #fff;
}

.intro p {
    font-size: 2rem;
    max-width: 600px;
}

.scroll-hint {
    position: absolute;
    bottom: 3rem;
    font-size: 1rem;
    color: #666;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Window Story Sections */
.window-story {
    height: 400vh;
    position: relative;
}

.content-container {
    position: sticky;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sketch-layer {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.sketch-layer img {
    max-width: 60vw;
    max-height: 80vh;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3)) hue-rotate(45deg) saturate(2.5) brightness(1.1);
    opacity: 0;
}

/* accept special */
.accept-special .sketch-layer {
    position: absolute;
}

.accept-sketch-1,
.accept-sketch-2,
.accept-sketch-3 {
    position: absolute;
    max-width: 60vw;
    max-height: 80vh;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3)) hue-rotate(45deg) saturate(2.5) brightness(1.1);
    opacity: 0;
}

/* Show only sketch 1 initially */
.accept-sketch-1 {
    opacity: 0;
    transform: translate(-40px, -30px) scale(0.7);
}

.accept-sketch-2 {
    transform: translate(50px, 0) scale(0.55);
}

.accept-sketch-3 {
    transform: translate(-5px, 40px);
}

/* compare special */
.compare-special .sketch-layer {
    position: absolute;
}

.compare-sketch-1,
.compare-sketch-2 {
    position: absolute;
    max-width: 60vw;
    max-height: 80vh;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3)) hue-rotate(45deg) saturate(2.5) brightness(1.1);
    opacity: 0;
}

.compare-sketch-1 {
    transform: translate(-50px, 40px) scale(0.8);
}

.compare-sketch-2 {
    opacity: 0;
    transform: translate(50px, 40px) scale(0.8);
}

.photo-layer {
    position: absolute;
    z-index: 3;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.photo-layer img {
    max-width: 70vw;
    max-height: 85vh;
    object-fit: contain;
    opacity: 0;
    transform: translateY(200px);
    filter: grayscale(0%) saturate(1.2);
}

.sketch-on-top .sketch-layer {
    z-index: 4;
}

.sketch-on-top .photo-layer {
    z-index: 3;
}

.apprehensive-sketch-position {
    transform: translate(18px, 10px);
}

.text-layer {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

[data-sketch="scared"] .text-layer {
    top: 50%;
    left: 85%;
}

[data-sketch="scared"] .narrative {
    max-width: 100px;
}

[data-sketch="apprehensive"] .text-layer {
    top: 35%;
    left: 51%;
}

[data-sketch="hide"] .text-layer {
    top: 40%;
    left: 10%;
}

[data-sketch="hide"] .narrative {
    max-width: 100px;
}

/* pretending */
.pretending-left {
    position: absolute;
    left: 10%;
    transform: translateX(-50%);
    text-align: left;
    max-width: 150px;
}

.pretending-right {
    position: absolute;
    right: 10%;
    transform: translateX(50%);
    text-align: right;
    max-width: 150px;
}

[data-sketch="pretending"] .photo-layer img {
    clip-path: inset(0 0 0 23%);
}

[data-sketch="careful"] .text-layer {
    top: 25%;
    left: 35%;
}

[data-sketch="accept"] .text-layer {
    top: 33%;
}

[data-sketch="let_go"] .text-layer {
    top: 15%;
    left: 49.4%;
}

[data-sketch="let_go"] .narrative {
    max-width: 100px;
}

.narrative {
    max-width: 530px;
    font-size: 1.3rem;
    line-height: 1.8;
    text-align: center;
    padding: 2.5rem;
    opacity: 0;
    margin: 0 auto;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

/* outro */
.outro-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
}

.outro-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

.outro-image {
    max-width: 70vw;
    max-height: 85vh;
    object-fit: contain;
    opacity: 0;
    filter: grayscale(100%);
    transform-origin: center 30%;
}

.outro-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 500px;
    font-size: 1.3rem;
    line-height: 1.8;
    text-align: center;
    padding: 2.5rem;
    opacity: 0;
    margin: 0 auto;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    z-index: 10;
}

/* responsive */
@media (max-width: 768px) {
    .intro h1 {
        font-size: 3rem;
    }
    
    .sketch-layer img,
    .photo-layer img {
        max-width: 85vw;
    }
    
    .narrative {
        font-size: 1.1rem;
        padding: 1.5rem;
    }
}
