/* Games Page Specific Styles */
.games-section {
    padding: 60px 0;
    background: var(--bg-secondary);
}
.game-container {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: var(--shadow-lg);
}
.game-header {
    text-align: center;
    margin-bottom: 40px;
}
.game-header h2 {
    color: var(--text-primary);
    margin-bottom: 10px;
}
.game-disclaimer {
    color: var(--warning-color);
    font-weight: 600;
    font-size: 0.875rem;
    background: #FFF3CD;
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
}
.game-board {
    max-width: 800px;
    margin: 0 auto;
}
.game-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-top: 30px;
}
.credits-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    padding: 15px 30px;
    background: var(--bg-secondary);
    border-radius: 12px;
}
.game-btn {
    min-width: 200px;
    padding: 16px 32px;
    font-size: 1.125rem;
}
.game-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.game-info {
    text-align: center;
    margin-top: 20px;
    color: var(--text-secondary);
}
.slots-game {
    padding: 40px;
    background: linear-gradient(135deg, #FFF5E6, #FFE8CC);
    border-radius: 16px;
}
.slots-display {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}
.slot-reel {
    width: 120px;
    height: 120px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.5s ease;
}
.slot-reel.spinning {
    animation: spin 0.5s linear infinite;
}
@keyframes spin {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.roulette-game {
    padding: 40px;
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    border-radius: 16px;
}
.roulette-wheel {
    width: 250px;
    height: 250px;
    margin: 0 auto 40px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #E63946 0deg 30deg, #1A1A1A 30deg 60deg, #E63946 60deg 90deg, #1A1A1A 90deg 120deg, #E63946 120deg 150deg, #1A1A1A 150deg 180deg, #E63946 180deg 210deg, #1A1A1A 210deg 240deg, #E63946 240deg 270deg, #1A1A1A 270deg 300deg, #E63946 300deg 330deg, #1A1A1A 330deg 360deg);
    border: 8px solid #C9A43A;
    box-shadow: var(--shadow-lg);
    position: relative;
    transition: transform 3s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}
.roulette-wheel.spinning {
    animation: rouletteSpin 3s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}
@keyframes rouletteSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(1800deg); }
}
.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}
.winning-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}
.roulette-table {
    max-width: 600px;
    margin: 0 auto;
}
.bet-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}
.bet-btn {
    padding: 20px;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
    color: var(--text-primary);
}
.bet-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.bet-btn.selected {
    border: 3px solid var(--primary-color);
}
.red-bet {
    background: #E63946;
    color: white;
}
.red-bet:hover {
    background: #C92A2A;
}
.black-bet {
    background: #1A1A1A;
    color: white;
}
.black-bet:hover {
    background: #000000;
}
.current-bet {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}
.blackjack-game {
    padding: 40px;
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    border-radius: 16px;
}
.card-area {
    margin-bottom: 40px;
}
.dealer-area, .player-area {
    margin-bottom: 30px;
}
.dealer-area h3, .player-area h3 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-primary);
}
.cards {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    min-height: 140px;
}
.card {
    width: 80px;
    height: 120px;
    background: white;
    border: 2px solid var(--text-primary);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    animation: dealCard 0.3s ease;
}
@keyframes dealCard {
    from {
        transform: translateY(-50px) rotateY(90deg);
        opacity: 0;
    }
    to {
        transform: translateY(0) rotateY(0);
        opacity: 1;
    }
}
.card.red {
    color: #E63946;
}
.card.black {
    color: #1A1A1A;
}
.card-back {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-color: var(--secondary-color);
}
.blackjack-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.game-message {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    min-height: 50px;
}
.game-message.win {
    background: #D4EDDA;
    color: #155724;
}
.game-message.lose {
    background: #F8D7DA;
    color: #721C24;
}
.game-message.push {
    background: #FFF3CD;
    color: #856404;
}
.poker-game {
    padding: 40px;
    background: linear-gradient(135deg, #F3E5F5, #E1BEE7);
    border-radius: 16px;
}
.poker-hand {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    min-height: 140px;
}
.poker-card {
    width: 80px;
    height: 120px;
    background: white;
    border: 2px solid var(--text-primary);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: dealCard 0.3s ease;
}
.poker-card:hover {
    transform: translateY(-5px);
}
.poker-card.held {
    border-color: var(--primary-color);
    border-width: 3px;
    background: #FFF8DC;
}
.poker-card .card-value {
    font-size: 1.5rem;
    font-weight: 700;
}
.poker-card .card-suit {
    font-size: 2rem;
}
.poker-card.hearts .card-value, .poker-card.diamonds .card-value, .poker-card.hearts .card-suit, .poker-card.diamonds .card-suit {
    color: #E63946;
}
.poker-card.clubs .card-value, .poker-card.spades .card-value, .poker-card.clubs .card-suit, .poker-card.spades .card-suit {
    color: #1A1A1A;
}
.hold-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.hold-btn {
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}
.hold-btn:hover {
    background: var(--bg-secondary);
}
.hold-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}
.poker-result {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 12px;
    min-height: 60px;
}
.poker-result.win {
    background: #D4EDDA;
    color: #155724;
}
.games-disclaimer {
    padding: 60px 0;
    background: white;
}
.disclaimer-box {
    max-width: 800px;
    margin: 0 auto;
    background: #FFF3CD;
    border-left: 4px solid var(--warning-color);
    padding: 40px;
    border-radius: 12px;
}
.disclaimer-box h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
}
.disclaimer-box ul {
    list-style: none;
    padding: 0;
}
.disclaimer-box li {
    padding: 12px 0;
    color: var(--text-primary);
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.disclaimer-box li:last-child {
    border-bottom: none;
}
.disclaimer-box li::before {
    content: "⚠️ ";
    margin-right: 10px;
}
@media (max-width: 768px) {
    .game-container {
        padding: 25px;
    }
    .slots-display {
        gap: 10px;
    }
    .slot-reel {
        width: 90px;
        height: 90px;
        font-size: 3rem;
    }
    .roulette-wheel {
        width: 200px;
        height: 200px;
    }
    .wheel-center {
        width: 80px;
        height: 80px;
    }
    .winning-number {
        font-size: 2rem;
    }
    .bet-options {
        grid-template-columns: 1fr;
    }
    .poker-hand, .cards {
        gap: 10px;
    }
    .poker-card, .card {
        width: 70px;
        height: 105px;
    }
    .blackjack-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .game-btn {
        min-width: auto;
        width: 100%;
    }
}
