body {
    background-color: #ff9a9e;
    background-image: linear-gradient(to top, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.cassette-body {
    width: 300px;
    height: 190px;
    background: #333;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    padding-top: 30px;
}

/* ラベルシール */
.cassette-label {
    width: 260px;
    height: 130px;
    background: #fff;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ラベルの装飾 */
.label-stripes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: #00bcd4;
}

/* リール窓 */
.reel-window {
    width: 180px;
    height: 60px;
    background: #444;
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    position: relative;
    z-index: 10;
}

/* リール */
.reel {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    position: relative;
    /* 歯車 */
    border: 4px dashed #333;
}

.reel.spinning {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* テープ（中央のつながり） */
.tape-connector {
    height: 40px;
    flex-grow: 1;
    background: #111;
    margin: 0 5px;
    position: relative;
    overflow: hidden;
}

/* 下部の台形部分 */
.cassette-bottom {
    position: absolute;
    bottom: 0;
    width: 240px;
    height: 30px;
    background: #222;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    /* 台形変形 */
    transform: perspective(100px) rotateX(10deg);
}

.loading-text {
    margin-top: 20px;
    font-family: monospace;
    color: #555;
    letter-spacing: 2px;
    font-weight: bold;
    transition: all 0.5s ease;
}

.loading-text.loaded {
    color: #00bcd4;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}