.game-page {
    background: var(--bg-secondary);
    min-height: 100vh;
}

.game-container {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-lg);
}

.game-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.game-header h1 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.game-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.stat-card {
    background: var(--bg-card);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-xs);
}

.stat-value {
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 700;
    font-family: var(--font-primary);
}

/* Slots Machine */
.slots-machine {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-xl);
    margin-bottom: var(--spacing-xl);
}

.slots-display {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

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

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

.slot-symbol {
    transition: transform 0.3s ease;
}

.result-message {
    text-align: center;
    min-height: 40px;
    color: var(--text-white);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    animation: fadeIn 0.3s ease-in-out;
}

.result-message.win {
    color: var(--accent-color);
    font-size: 1.5rem;
    animation: celebratePulse 0.5s ease-in-out;
}

.game-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
}

.bet-controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: rgba(255,255,255,0.1);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-full);
}

.bet-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.bet-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

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

.bet-display {
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    min-width: 100px;
    text-align: center;
}

.spin-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: var(--spacing-md) var(--spacing-3xl);
    border-radius: var(--border-radius-full);
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.spin-btn:hover:not(:disabled) {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

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

.spin-icon {
    font-size: 2rem;
    animation: rotate 2s linear infinite;
}

.spin-btn:disabled .spin-icon {
    animation: spinFast 0.5s linear infinite;
}

/* Roulette */
.roulette-container {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-xl);
    margin-bottom: var(--spacing-xl);
}

.roulette-wheel-container {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-xl);
}

.roulette-wheel {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #C62828 0deg 18deg,
        #1A1A1A 18deg 36deg,
        #C62828 36deg 54deg,
        #1A1A1A 54deg 72deg,
        #C62828 72deg 90deg,
        #1A1A1A 90deg 108deg,
        #C62828 108deg 126deg,
        #1A1A1A 126deg 144deg,
        #C62828 144deg 162deg,
        #1A1A1A 162deg 180deg,
        #C62828 180deg 198deg,
        #1A1A1A 198deg 216deg,
        #C62828 216deg 234deg,
        #1A1A1A 234deg 252deg,
        #C62828 252deg 270deg,
        #1A1A1A 270deg 288deg,
        #C62828 288deg 306deg,
        #1A1A1A 306deg 324deg,
        #C62828 324deg 342deg,
        #1A1A1A 342deg 360deg
    );
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    border: 10px solid #FFD700;
}

.roulette-wheel::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: #FFD700;
    border-radius: 50%;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.3);
}

.roulette-wheel.spinning {
    animation: wheelSpin 3s cubic-bezier(0.17, 0.67, 0.35, 0.96);
}

.roulette-pointer {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 30px solid var(--accent-color);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.betting-area {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.bet-option {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
    color: white;
    font-weight: 600;
}

.bet-option:hover {
    background: rgba(255,255,255,0.2);
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.bet-option.selected {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-primary);
}

.bet-option.red {
    background: rgba(198, 40, 40, 0.3);
}

.bet-option.black {
    background: rgba(26, 26, 26, 0.5);
}

/* Dice Game */
.dice-container {
    background: linear-gradient(135deg, #4A148C 0%, #6A1B9A 100%);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-xl);
    margin-bottom: var(--spacing-xl);
}

.dice-area {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.dice {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    box-shadow: var(--shadow-md);
    position: relative;
}

.dice.rolling {
    animation: diceRoll 0.5s ease-in-out;
}

.dice-dots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 8px;
    width: 70px;
    height: 70px;
}

.dot {
    width: 12px;
    height: 12px;
    background: var(--text-primary);
    border-radius: 50%;
}

.prediction-area {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.prediction-btn {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.prediction-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: var(--accent-color);
}

.prediction-btn.selected {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-primary);
}

/* Game Info */
.game-info {
    background: var(--bg-card);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-xl);
}

.game-info h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.game-info ul {
    list-style-position: inside;
    color: var(--text-secondary);
    line-height: 1.8;
}

.game-info li {
    margin-bottom: var(--spacing-sm);
}

.payout-table {
    background: var(--bg-secondary);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    margin-top: var(--spacing-md);
}

.payout-table h4 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

.payout-row {
    padding: var(--spacing-xs);
    color: var(--text-secondary);
    font-family: monospace;
    font-size: 0.95rem;
}

.disclaimer-box {
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
    border-left: 4px solid var(--warning);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
}

.disclaimer-box p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

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

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

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spinFast {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes wheelSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(1800deg); }
}

@keyframes diceRoll {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(90deg); }
    50% { transform: rotate(180deg); }
    75% { transform: rotate(270deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .slots-display {
        gap: var(--spacing-sm);
    }

    .slot-reel {
        width: 80px;
        height: 80px;
        font-size: 3rem;
    }

    .roulette-wheel {
        width: 200px;
        height: 200px;
    }

    .dice {
        width: 80px;
        height: 80px;
        font-size: 3rem;
    }

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