.game-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.game-header {
    text-align: center;
    margin-bottom: 30px;
}

.game-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.game-header p {
    color: var(--light-text);
    font-size: 1.1rem;
}

.game-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    background: var(--white);
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-label {
    display: block;
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.slot-machine {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.slot-reel {
    width: 150px;
    height: 150px;
    background: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.slot-reel.spinning {
    animation: reelSpin 0.5s ease-in-out;
}

.game-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.bet-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.bet-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.btn-spin {
    font-size: 1.5rem;
    padding: 20px 60px;
    letter-spacing: 2px;
}

.btn-spin:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.game-message {
    text-align: center;
    min-height: 40px;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 30px;
}

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

.game-message.lose {
    color: var(--error);
}

.paytable {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.paytable h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.paytable table {
    width: 100%;
    border-collapse: collapse;
}

.paytable tr {
    border-bottom: 1px solid var(--light-bg);
}

.paytable td {
    padding: 15px;
    font-size: 1.1rem;
}

.paytable td:first-child {
    font-size: 1.5rem;
}

.paytable td:last-child {
    text-align: right;
    font-weight: 700;
    color: var(--secondary-color);
}

.game-footer {
    text-align: center;
}

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

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

@media (max-width: 768px) {
    .slot-machine {
        padding: 20px;
        gap: 10px;
    }

    .slot-reel {
        width: 100px;
        height: 100px;
        font-size: 3.5rem;
    }

    .game-header h1 {
        font-size: 2rem;
    }

    .btn-spin {
        padding: 15px 40px;
        font-size: 1.2rem;
    }
}