/* ローター - スロットマシン風デザイン */
.rotors {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
}

.rotor {
    text-align: center;
}

.rotor-display {
    width: 70px;
    height: 120px;
    background:
            linear-gradient(145deg,
            rgba(139, 69, 19, 0.9) 0%,
            rgba(101, 67, 33, 0.95) 50%,
            rgba(62, 39, 35, 0.98) 100%
            );
    border: 3px solid rgba(0, 255, 65, 0.6);
    border-radius: 15px;
    position: relative;
    margin-bottom: 15px;
    box-shadow:
            0 0 15px rgba(0, 255, 65, 0.4),
            inset 0 0 20px rgba(0, 0, 0, 0.5),
            0 8px 16px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    user-select: none;
    overflow: hidden;
}

.rotor-display:hover {
    box-shadow:
            0 0 25px rgba(0, 255, 65, 0.6),
            inset 0 0 20px rgba(0, 0, 0, 0.5),
            0 12px 24px rgba(0, 0, 0, 0.8);
    border-color: rgba(0, 255, 65, 0.8);
}

/* スロット内の文字表示エリア */
.slot-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 中央の現在文字 */
.slot-current {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    font-weight: bold;
    color: #00ff41;
    text-shadow: 0 0 10px #00ff41;
    z-index: 10;
    background:
            radial-gradient(circle,
            rgba(0, 255, 65, 0.1) 0%,
            transparent 70%
            );
    width: 60px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 255, 65, 0.3);
    border-radius: 8px;
}

/* 上部の次の文字 */
.slot-next {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    font-weight: bold;
    color: rgba(0, 255, 65, 0.5);
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.3);
    opacity: 0.7;
}

/* 下部の前の文字 */
.slot-prev {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    font-weight: bold;
    color: rgba(0, 255, 65, 0.5);
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.3);
    opacity: 0.7;
}

/* スロットの視覚的境界線 */
.rotor-display::before {
    content: '';
    position: absolute;
    top: 25%;
    left: 10%;
    right: 10%;
    bottom: 25%;
    border: 1px solid rgba(139, 69, 19, 0.4);
    border-radius: 8px;
    pointer-events: none;
}

/* スロットの窓枠効果 */
.rotor-display::after {
    content: '';
    position: absolute;
    top: 35%;
    left: 5%;
    right: 5%;
    height: 30%;
    background:
            linear-gradient(90deg,
            rgba(0, 0, 0, 0.3) 0%,
            transparent 20%,
            transparent 80%,
            rgba(0, 0, 0, 0.3) 100%
            );
    border-top: 1px solid rgba(0, 255, 65, 0.2);
    border-bottom: 1px solid rgba(0, 255, 65, 0.2);
    pointer-events: none;
    z-index: 5;
}

/* スクロールヒント表示 */
.rotor-display-hint {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: rgba(0, 255, 65, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.rotor-display:hover + .rotor-display-hint,
.rotor:hover .rotor-display-hint {
    opacity: 1;
}

/* スロットマシンの装飾的要素 */
.slot-decoration {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid rgba(139, 69, 19, 0.2);
    border-radius: 12px;
    pointer-events: none;
}

/* リールの側面効果 */
.slot-side-effect {
    position: absolute;
    top: 20%;
    bottom: 20%;
    width: 3px;
    background:
            linear-gradient(180deg,
            transparent 0%,
            rgba(139, 69, 19, 0.5) 20%,
            rgba(139, 69, 19, 0.8) 50%,
            rgba(139, 69, 19, 0.5) 80%,
            transparent 100%
            );
    pointer-events: none;
}

.slot-side-effect.left {
    left: 2px;
}

.slot-side-effect.right {
    right: 2px;
}

.rotor-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rotor-select {
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 65, 0.5);
    background: rgba(10, 10, 10, 0.8);
    color: #00ff41;
    font-family: 'Share Tech Mono', monospace;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

/* ローターのレスポンシブ対応 */
@media (min-width: 1600px) {
    .rotor-display {
        width: 80px;
        height: 140px;
    }

    .slot-current {
        font-size: 32px;
        width: 70px;
        height: 45px;
    }

    .slot-next,
    .slot-prev {
        font-size: 18px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .rotor-display {
        width: 60px;
        height: 110px;
    }

    .slot-current {
        font-size: 24px;
        width: 50px;
        height: 35px;
    }

    .slot-next,
    .slot-prev {
        font-size: 14px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .rotor-display {
        width: 55px;
        height: 100px;
    }

    .slot-current {
        font-size: 22px;
        width: 45px;
        height: 32px;
    }

    .slot-next,
    .slot-prev {
        font-size: 13px;
    }

    .rotors {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .rotor-display {
        width: 50px;
        height: 90px;
    }

    .slot-current {
        font-size: 20px;
        width: 40px;
        height: 28px;
    }

    .slot-next,
    .slot-prev {
        font-size: 12px;
    }

    .rotors {
        gap: 15px;
    }
}

@media (max-width: 360px) {
    .rotor-display {
        width: 45px;
        height: 80px;
    }

    .slot-current {
        font-size: 18px;
        width: 35px;
        height: 25px;
    }

    .slot-next,
    .slot-prev {
        font-size: 10px;
    }

    .rotors {
        gap: 10px;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .rotor-display {
        width: 50px;
        height: 80px;
    }

    .slot-current {
        font-size: 18px;
        width: 40px;
        height: 25px;
    }

    .slot-next,
    .slot-prev {
        font-size: 11px;
    }
}