.slots-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.slots-header h1 {
    text-align: center;
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.stat-card span {
    display: block;
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 10px;
}

.stat-card strong {
    font-size: 32px;
    color: #ffd700;
}

.bet-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.bet-controls button {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    background: #ffd700;
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.bet-controls button:hover {
    transform: scale(1.1);
}

.slot-machine {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 50px 0;
    position: relative;
}

.reel-container {
    perspective: 1000px;
}

.reel {
    width: 180px;
    height: 180px;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    border: 3px solid #ffd700;
}

.reel-inner {
    display: flex;
    flex-direction: column;
}

.symbol {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
}

/* Spinning animation */
.reel.spinning .reel-inner {
    animation: spinQuick 0.08s linear infinite;
}

@keyframes spinQuick {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-180px);
    }
}

/* Stop spinning */
.reel:not(.spinning) .reel-inner {
    animation: none !important;
    transform: translateY(0);
}

.slots-controls {
    text-align: center;
    margin: 30px 0;
}

.spin-btn {
    padding: 18px 50px;
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(135deg, #ffd700, #ffb700);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.spin-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
}

.spin-btn:disabled {
    opacity: 0.6;
    transform: scale(1);
    cursor: not-allowed;
}

.slot-result {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin: 30px 0;
    padding: 20px;
    border-radius: 20px;
    transition: all 0.3s;
}

.slot-result.win {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    animation: winPulse 0.5s ease;
}

.slot-result.lose {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

@keyframes winPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.jackpot-progress {
    width: 100%;
    height: 10px;
    background: #1e293b;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0;
}

.jackpot-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    transition: width 0.3s;
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.history-item {
    background: rgba(255, 215, 0, 0.1);
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    animation: slideIn 0.3s ease;
}

.history-item.win {
    background: rgba(34, 197, 94, 0.2);
    border-left: 3px solid #22c55e;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .reel {
        width: 100px;
        height: 100px;
    }
    
    .symbol {
        width: 100px;
        height: 100px;
        font-size: 50px;
    }
    
    .slots-container {
        padding: 15px;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .slot-result {
        font-size: 24px;
    }
}