.slots-machine {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.slots-display {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--bg-darker);
    border-radius: 15px;
    border: 3px solid var(--primary-color);
}

.reel {
    width: 120px;
    height: 120px;
    background: var(--bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.reel.spinning {
    animation: reelSpin 0.1s linear infinite;
}

@keyframes reelSpin {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

.symbol {
    font-size: 4rem;
    transition: transform 0.3s ease;
}

.reel.winning .symbol {
    animation: symbolPulse 0.5s ease-in-out 3;
}

@keyframes symbolPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.result-message {
    text-align: center;
    min-height: 40px;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.result-message.win {
    color: var(--success-color);
    animation: winPulse 0.5s ease-in-out;
}

@keyframes winPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.bet-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.bet-display {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
}

.bet-display span {
    color: var(--primary-color);
}

.bet-controls .btn {
    width: 50px;
    height: 50px;
    padding: 0;
    font-size: 1.5rem;
    border-radius: 10px;
}

.btn-spin {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.btn-spin:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.paytable {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 15px;
}

.paytable h3 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.paytable-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    border-bottom: 1px solid var(--bg-dark);
}

.paytable-row:last-child {
    border-bottom: none;
}

.paytable-row span:first-child {
    color: var(--text-light);
    font-size: 1.2rem;
}

.paytable-row span:last-child {
    color: var(--primary-color);
    font-weight: 700;
}

.game-info {
    margin-top: 3rem;
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 15px;
    border-left: 4px solid var(--accent-color);
}

.game-info p {
    color: var(--text-gray);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .slots-machine {
        padding: 1.5rem;
    }

    .slots-display {
        gap: 0.5rem;
        padding: 1rem;
    }

    .reel {
        width: 80px;
        height: 80px;
    }

    .symbol {
        font-size: 2.5rem;
    }

    .bet-controls {
        gap: 1rem;
    }
}
