body {
    font-family: 'Press Start 2P', cursive;
    margin: 0;
    padding: 0;
    background: #000;
    color: white;
    overflow: hidden;
}

.story-mode-container {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Title */
.title {
    position: absolute;
    top: 30px;
    font-size: 1.5rem;
    color: white;
    z-index: 10;
}

/* Cassette floating */
.cassette-floating {
    position: absolute;
    top: 51%;
    left: 38%;
    transform: translateX(-50%);
    z-index: 5;
}

.cassette-track {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.cassette {
    width: 300px;
    height: 180px;
    opacity: 0;
    transition: all 0.4s ease;
    position: absolute;
    left: 0;
    transform: translateX(200px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cassette.active {
    opacity: 1;
    transform: translateX(0);
}

.cassette.slide-left {
    transform: translateX(-200px);
    opacity: 0;
}

.cassette.slide-right {
    transform: translateX(200px);
    opacity: 0;
}

.cassette img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cassette img.confirm-gif {
    width: 300px !important;
    height: 180px !important;
    object-fit: contain !important;
    display: block !important;
}

/* Gameboy at bottom */
.gameboy-container {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.gameboy-bottom {
    width: 400px;
    height: auto;
}

.white-screen-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    opacity: 0;
    z-index: 1000;
    transition: opacity 0.5s ease;
}

.white-screen-overlay.active {
    opacity: 1;
}



@media (max-width: 768px) {
    .gameboy-bottom { width: 300px; }
    .cassette { width: 150px; height: 100px; }
    .title { font-size: 1rem; }
}