/* 슬롯머신 게임 스타일 */

.slot-section {
    padding: 0;
    margin-bottom: 15px;
    text-align: center;
}

.slot-machine {
    display: inline-block;
}

.slot-frame {
    background: linear-gradient(145deg, #2c3e50, #1a252f);
    border-radius: 15px;
    padding: 15px;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5),
                inset 0 2px 10px rgba(255, 215, 0, 0.1);
    position: relative;
}

.slot-window {
    display: flex;
    gap: 6px;
    background: #0a0a0a;
    padding: 10px;
    border-radius: 10px;
    border: 3px solid #444;
}

.reel {
    width: 48px;
    height: 60px;
    background: linear-gradient(180deg, #1a1a1a, #2a2a2a, #1a1a1a);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid #333;
}

.symbol {
    font-size: 1.5rem;
    transition: transform 0.1s;
}

.reel.spinning .symbol {
    animation: spin 0.1s linear infinite;
}

@keyframes spin {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

.win-line {
    position: absolute;
    left: 15px;
    right: 15px;
    top: 50%;
    height: 3px;
    background: transparent;
    transform: translateY(-50%);
    pointer-events: none;
}

.win-line.active {
    background: var(--accent-gold);
    box-shadow: 0 0 10px var(--accent-gold);
    animation: flash 0.3s ease-in-out 3;
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* 심볼 색상 */
.symbol-gem { color: #9b59b6; }
.symbol-crown { color: #ffd700; }
.symbol-star { color: #f1c40f; }
.symbol-bell { color: #f39c12; }
.symbol-heart { color: #e74c3c; }
.symbol-clover { color: #2ecc71; }
.symbol-lemon { color: #f1c40f; }
.symbol-apple { color: #e74c3c; }

.result-text {
    margin-top: 20px;
    font-size: 1.3rem;
    font-weight: 700;
    min-height: 30px;
}

.result-text.win { color: var(--accent-gold); }
.result-text.jackpot { 
    color: var(--accent-gold); 
    animation: jackpot-flash 0.5s ease-in-out infinite;
}

@keyframes jackpot-flash {
    0%, 100% { text-shadow: 0 0 10px var(--accent-gold); }
    50% { text-shadow: 0 0 30px var(--accent-gold), 0 0 50px var(--accent-gold); }
}

/* 배당표 */
.paytable-section {
    padding: 0;
    margin-bottom: 15px;
}

.paytable-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.paytable {
    background: var(--bg-secondary);
    border-radius: 10px;
    padding: 10px;
    font-size: 0.8rem;
}

.paytable-header {
    display: grid;
    grid-template-columns: 40px 1fr 1fr 1fr;
    gap: 5px;
    padding: 5px 10px;
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 5px;
}

.paytable-header span:first-child {
    text-align: left;
}

.pay-row {
    display: grid;
    grid-template-columns: 40px 1fr 1fr 1fr;
    gap: 5px;
    align-items: center;
    padding: 6px 10px;
    text-align: center;
}

.pay-row.jackpot {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 5px;
}

.pay-symbol {
    font-size: 1.1rem;
    text-align: left;
}

.pay-row span {
    color: var(--text-secondary);
}

.pay-row .highlight {
    color: var(--accent-gold);
    font-weight: 700;
}
