/* Game-specific styles */

/* Game Header */
.game-header {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.game-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.game-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.game-icon {
    font-size: 4rem;
    background: linear-gradient(45deg, #646cff, #747bff);
    border-radius: 16px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(100, 108, 255, 0.3);
}

.game-details h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.game-details p {
    color: #cccccc;
    margin-bottom: 1rem;
}

.game-stats {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.game-stats span {
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.rating {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
}

.category {
    color: #646cff;
    background: rgba(100, 108, 255, 0.1);
}

.players {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
}

.game-actions {
    display: flex;
    gap: 1rem;
}

/* Game Container */
.game-container {
    padding: 3rem 0;
    min-height: 60vh;
}

/* Slot Machine Styles */
.slot-machine {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.slot-machine.premium {
    border: 2px solid rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.slot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}

.credits-display,
.bet-controls,
.win-display {
    color: #ffffff;
    font-weight: 600;
}

.bet-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bet-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: linear-gradient(45deg, #646cff, #747bff);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.bet-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(100, 108, 255, 0.4);
}

.slot-reels {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.premium-reels {
    border: 2px solid rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.reel {
    width: 100px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.reel.spinning {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

.symbol {
    font-size: 3rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    width: 100%;
    transition: all 0.3s ease;
}

.symbol.winning {
    background: rgba(255, 215, 0, 0.3);
    animation: glow 1s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
    to { box-shadow: 0 0 20px rgba(255, 215, 0, 0.8); }
}

.slot-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.control-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.spin-btn {
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
    background: linear-gradient(45deg, #f97316, #ea580c);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.spin-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.premium-spin {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.premium-spin:hover {
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.paylines {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.paylines h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    text-align: center;
}

.payline-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.payline {
    color: #cccccc;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    text-align: center;
    font-family: monospace;
}

.premium-paylines {
    border: 1px solid rgba(255, 215, 0, 0.2);
}

/* Blackjack Table Styles */
.blackjack-table {
    background: rgba(0, 100, 0, 0.1);
    border: 2px solid rgba(0, 150, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.game-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}

.dealer-area,
.player-area {
    margin: 2rem 0;
    text-align: center;
}

.dealer-area h3,
.player-area h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.dealer-cards,
.player-cards {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
    min-height: 120px;
    align-items: center;
}

.card {
    width: 80px;
    height: 112px;
    background: #ffffff;
    border: 2px solid #333;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.card.hidden {
    background: #1a1a2e;
    color: #646cff;
}

.card.red {
    color: #dc2626;
}

.card.black {
    color: #000;
}

.dealer-total,
.player-total {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 1rem;
}

.game-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.control-btn.primary {
    background: linear-gradient(45deg, #22c55e, #16a34a);
    color: white;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.control-btn.primary:hover {
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.game-status {
    text-align: center;
    margin: 2rem 0;
}

#gameMessage {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 1rem;
    background: rgba(100, 108, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(100, 108, 255, 0.2);
}

/* Game Features */
.game-features {
    padding: 3rem 0;
    background: rgba(255, 255, 255, 0.02);
}

.game-features h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(100, 108, 255, 0.2);
}

.premium-feature {
    border: 1px solid rgba(255, 215, 0, 0.2);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #ffffff;
}

.feature-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* Similar Games */
.similar-games {
    padding: 3rem 0;
}

.similar-games h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .game-header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .game-info {
        flex-direction: column;
        text-align: center;
    }
    
    .game-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .slot-machine,
    .blackjack-table {
        padding: 1rem;
    }
    
    .slot-header,
    .game-header-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .slot-reels {
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .reel {
        width: 60px;
        height: 180px;
    }
    
    .symbol {
        font-size: 2rem;
        height: 60px;
    }
    
    .slot-controls,
    .game-controls {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .control-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .spin-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .dealer-cards,
    .player-cards {
        gap: 0.5rem;
    }
    
    .card {
        width: 60px;
        height: 84px;
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Roulette Game Styles */
.roulette-table {
    background: rgba(0, 100, 0, 0.1);
    border: 2px solid rgba(0, 150, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.roulette-wheel-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
    gap: 2rem;
}

.roulette-wheel {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    border: 4px solid #646cff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(100, 108, 255, 0.3);
}

.roulette-wheel.spinning {
    animation: wheelSpin 3s ease-out;
}

@keyframes wheelSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(1800deg); }
}

.wheel-center {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.ball {
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #ff6b6b, #dc2626);
    border-radius: 50%;
    position: absolute;
    top: 20px;
    left: 20px;
    transition: all 3s ease-out;
}

.ball.spinning {
    animation: ballSpin 3s ease-out;
}

@keyframes ballSpin {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(120px, 120px) rotate(1800deg); }
}

.winning-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
}

.winning-number.red {
    color: #dc2626;
}

.winning-number.black {
    color: #000;
}

.winning-number.green {
    color: #16a34a;
}

.wheel-numbers {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.wheel-number {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.wheel-number.red {
    background: #dc2626;
}

.wheel-number.black {
    background: #000;
}

.wheel-number.green {
    background: #16a34a;
}

.recent-numbers {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    min-width: 200px;
}

.recent-numbers h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    text-align: center;
}

.number-history {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    color: #fff;
}

.number.red {
    background: #dc2626;
}

.number.black {
    background: #000;
}

.number.green {
    background: #16a34a;
}

.betting-board {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.betting-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.number-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.number-row {
    display: contents;
}

.bet-spot {
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-weight: bold;
    color: #fff;
}

.bet-spot.number {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bet-spot.number.red {
    background: rgba(220, 38, 38, 0.3);
    border-color: rgba(220, 38, 38, 0.5);
}

.bet-spot.number.black {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.bet-spot.outside {
    background: rgba(100, 108, 255, 0.2);
    border-color: rgba(100, 108, 255, 0.4);
    margin: 0.25rem 0;
}

.bet-spot:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(100, 108, 255, 0.3);
}

.bet-spot.has-bet {
    background: rgba(34, 197, 94, 0.3);
    border-color: rgba(34, 197, 94, 0.6);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

.outside-bets {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Baccarat Game Styles */
.baccarat-table {
    background: rgba(0, 100, 0, 0.1);
    border: 2px solid rgba(0, 150, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.betting-areas {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    gap: 2rem;
}

.bet-area {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.bet-area:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(100, 108, 255, 0.2);
}

.bet-area.player-bet {
    border-color: rgba(34, 197, 94, 0.3);
}

.bet-area.banker-bet {
    border-color: rgba(100, 108, 255, 0.3);
}

.bet-area.tie-bet {
    border-color: rgba(255, 215, 0, 0.3);
}

.bet-area h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.payout {
    color: #cccccc;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.bet-amount {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
}

.card-areas {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    gap: 2rem;
}

.player-area,
.banker-area {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.player-area h3,
.banker-area h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.player-cards,
.banker-cards {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
    min-height: 120px;
    align-items: center;
}

.hand-total {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 1rem;
}

.game-history {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.game-history h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.result-history {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.result {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    font-size: 1.2rem;
}

.result.player {
    background: #22c55e;
}

.result.banker {
    background: #646cff;
}

.result.tie {
    background: #fbbf24;
    color: #000;
}

/* Bingo Game Styles */
.bingo-hall {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.game-info-display {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.bingo-main {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.bingo-caller {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.current-number {
    font-size: 4rem;
    font-weight: bold;
    color: #646cff;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(100, 108, 255, 0.5);
}

.caller-message {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.numbers-called h4 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.called-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.called-number {
    background: rgba(100, 108, 255, 0.3);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: bold;
}

.bingo-cards {
    flex: 1;
}

.bingo-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.card-header {
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.bingo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    max-width: 300px;
    margin: 0 auto;
}

.column-header {
    background: rgba(100, 108, 255, 0.3);
    color: #ffffff;
    padding: 0.75rem;
    text-align: center;
    font-weight: bold;
    border-radius: 6px;
}

.bingo-cell {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.75rem;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bingo-cell:hover {
    background: rgba(255, 255, 255, 0.2);
}

.bingo-cell.marked {
    background: rgba(34, 197, 94, 0.3);
    border-color: rgba(34, 197, 94, 0.6);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
}

.bingo-cell.free {
    background: rgba(255, 215, 0, 0.3);
    color: #000;
    font-weight: bold;
}

.chat-area {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.chat-header h4 {
    color: #ffffff;
}

.online-count {
    color: #22c55e;
    font-size: 0.9rem;
}

.chat-messages {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1rem;
    height: 200px;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.chat-message {
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    border-radius: 6px;
}

.chat-message.system {
    background: rgba(100, 108, 255, 0.1);
    color: #646cff;
    text-align: center;
    font-style: italic;
}

.username {
    color: #646cff;
    font-weight: bold;
}

.message {
    color: #ffffff;
}

.chat-input {
    display: flex;
    gap: 0.5rem;
}

.chat-input input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.chat-input input::placeholder {
    color: #888;
}

.chat-input button {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(45deg, #646cff, #747bff);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-input button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(100, 108, 255, 0.3);
}

/* Wheel of Fun Game Styles */
.wheel-game {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.spins-info {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.wheel-container {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.wheel-of-fortune {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    border: 6px solid #646cff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(100, 108, 255, 0.4);
}

.wheel-of-fortune.spinning {
    animation: wheelSpin 3s ease-out;
}

.wheel-pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 30px solid #ff6b6b;
    z-index: 20;
}

.wheel-center {
    width: 80px;
    height: 80px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.center-logo {
    font-size: 2rem;
}

.wheel-segments {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.segment {
    position: absolute;
    width: 50%;
    height: 50%;
    transform-origin: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.segment:nth-child(1) { background: #ff6b6b; transform: rotate(0deg); }
.segment:nth-child(2) { background: #4ecdc4; transform: rotate(45deg); }
.segment:nth-child(3) { background: #45b7d1; transform: rotate(90deg); }
.segment:nth-child(4) { background: #96ceb4; transform: rotate(135deg); }
.segment:nth-child(5) { background: #feca57; transform: rotate(180deg); }
.segment:nth-child(6) { background: #ff9ff3; transform: rotate(225deg); }
.segment:nth-child(7) { background: #54a0ff; transform: rotate(270deg); }
.segment:nth-child(8) { background: #5f27cd; transform: rotate(315deg); }

.daily-bonuses {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.daily-bonuses h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-align: center;
}

.bonus-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1rem;
}

.bonus-day {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.bonus-day:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(100, 108, 255, 0.2);
}

.bonus-day.completed {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
}

.bonus-day.current {
    background: rgba(100, 108, 255, 0.2);
    border-color: rgba(100, 108, 255, 0.4);
    box-shadow: 0 0 15px rgba(100, 108, 255, 0.3);
}

.bonus-day.special {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.4);
}

.bonus-day.mega {
    background: rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.4);
}

.bonus-day .day {
    color: #ffffff;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

.bonus-day .reward {
    color: #cccccc;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.bonus-day .status {
    color: #ffffff;
    font-weight: bold;
}

.recent-winners {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.recent-winners h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    text-align: center;
}

.winners-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.winner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.winner-name {
    color: #646cff;
    font-weight: bold;
}

.winner-prize {
    color: #22c55e;
    font-weight: bold;
}

.winner-time {
    color: #888;
    font-size: 0.9rem;
}

/* Poker Game Styles */
.poker-table {
    background: rgba(0, 100, 0, 0.1);
    border: 2px solid rgba(0, 150, 0, 0.3);
    border-radius: 20px;
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.poker-players {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    gap: 2rem;
}

.player {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    min-width: 200px;
}

.player.current-player {
    border-color: rgba(100, 108, 255, 0.4);
    background: rgba(100, 108, 255, 0.05);
    box-shadow: 0 0 15px rgba(100, 108, 255, 0.2);
}

.player.opponent {
    border-color: rgba(255, 255, 255, 0.1);
}

.player-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.player-name {
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1rem;
}

.player-chips {
    color: #22c55e;
    font-weight: bold;
    font-size: 1rem;
}

.player-cards {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
    min-height: 80px;
    align-items: center;
}

.player .card {
    width: 50px;
    height: 70px;
    background: #ffffff;
    border: 2px solid #333;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.player .card.hidden {
    background: #1a1a2e;
    color: #646cff;
    border-color: #646cff;
}

.player .card.red {
    color: #dc2626;
}

.player .card.black {
    color: #000;
}

.player-action {
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 0.5rem;
}

.community-cards {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.community-cards h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.community-area {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
    min-height: 80px;
    align-items: center;
}

.community-area .card {
    width: 60px;
    height: 84px;
    background: #ffffff;
    border: 2px solid #333;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.community-area .card.red {
    color: #dc2626;
}

.community-area .card.black {
    color: #000;
}

.community-area .card.placeholder {
    background: rgba(255, 255, 255, 0.1);
    color: #888;
    border-color: rgba(255, 255, 255, 0.2);
}

.player-area {
    margin: 2rem 0;
}

.player-area .player {
    background: rgba(100, 108, 255, 0.1);
    border-color: rgba(100, 108, 255, 0.3);
}

.player-area .player-cards {
    min-height: 100px;
}

.player-area .card {
    width: 60px;
    height: 84px;
    font-size: 1.5rem;
}

.hand-strength {
    color: #646cff;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 1rem;
    text-align: center;
}

.betting-controls {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.bet-slider {
    width: 100%;
    max-width: 300px;
    margin: 1rem 0;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    -webkit-appearance: none;
}

.bet-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(45deg, #646cff, #747bff);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(100, 108, 255, 0.3);
}

.bet-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(45deg, #646cff, #747bff);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(100, 108, 255, 0.3);
}

.bet-amount {
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Tournament Central Game Styles */
.tournament-hub {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.tournament-header {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.player-stats {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat .label {
    color: #cccccc;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.stat .value {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
}

.active-tournaments h2 {
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: center;
}

.tournament-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tournament-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.tournament-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(100, 108, 255, 0.2);
}

.tournament-card.active {
    border-color: rgba(34, 197, 94, 0.4);
    background: rgba(34, 197, 94, 0.05);
}

.tournament-card.upcoming {
    border-color: rgba(255, 215, 0, 0.4);
    background: rgba(255, 215, 0, 0.05);
}

.tournament-header h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.tournament-status {
    color: #22c55e;
    font-weight: bold;
    font-size: 0.9rem;
}

.tournament-info {
    margin: 1.5rem 0;
}

.tournament-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: #cccccc;
}

.tournament-detail span:last-child {
    color: #ffffff;
    font-weight: bold;
}

.tournament-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-primary {
    background: linear-gradient(45deg, #646cff, #747bff);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(100, 108, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.leaderboards-section {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.leaderboards-section h2 {
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: center;
}

.leaderboard-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.tab-btn.active {
    background: linear-gradient(45deg, #646cff, #747bff);
    border-color: transparent;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.leaderboard-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.leaderboard-header {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
    background: rgba(100, 108, 255, 0.1);
    color: #ffffff;
    font-weight: bold;
}

.leaderboard-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.leaderboard-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.leaderboard-row.champion {
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid #ffd700;
}

.leaderboard-row.runner-up {
    background: rgba(192, 192, 192, 0.1);
    border-left: 4px solid #c0c0c0;
}

.leaderboard-row.third {
    background: rgba(205, 127, 50, 0.1);
    border-left: 4px solid #cd7f32;
}

.leaderboard-row.current-player {
    background: rgba(100, 108, 255, 0.1);
    border-left: 4px solid #646cff;
    font-weight: bold;
}

.tournament-schedule {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.tournament-schedule h2 {
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: center;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.schedule-day h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    text-align: center;
}

.schedule-events {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.schedule-event {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.schedule-event:hover {
    background: rgba(255, 255, 255, 0.1);
}

.schedule-event.active {
    background: rgba(34, 197, 94, 0.1);
    border-left: 4px solid #22c55e;
}

.schedule-event.upcoming {
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid #fbbf24;
}

.schedule-event.special {
    background: rgba(255, 107, 107, 0.1);
    border-left: 4px solid #ff6b6b;
}

.schedule-event .time {
    color: #646cff;
    font-weight: bold;
    min-width: 60px;
}

.schedule-event .event {
    color: #ffffff;
    flex: 1;
    text-align: center;
}

.schedule-event .status {
    color: #cccccc;
    font-size: 0.9rem;
    min-width: 60px;
    text-align: right;
}

.tournament-rewards {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.tournament-rewards h2 {
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: center;
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.reward-tier {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.reward-tier:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(100, 108, 255, 0.2);
}

.reward-tier.gold {
    border-color: rgba(255, 215, 0, 0.4);
    background: rgba(255, 215, 0, 0.05);
}

.reward-tier.silver {
    border-color: rgba(192, 192, 192, 0.4);
    background: rgba(192, 192, 192, 0.05);
}

.reward-tier.bronze {
    border-color: rgba(205, 127, 50, 0.4);
    background: rgba(205, 127, 50, 0.05);
}

.tier-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.reward-tier h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.tier-rewards {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tier-rewards span {
    color: #cccccc;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

@media (max-width: 768px) {
    .roulette-wheel-area {
        flex-direction: column;
        gap: 1rem;
    }
    
    .roulette-wheel {
        width: 250px;
        height: 250px;
    }
    
    .betting-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .betting-areas {
        flex-direction: column;
        gap: 1rem;
    }
    
    .card-areas {
        flex-direction: column;
        gap: 1rem;
    }
    
    .bingo-main {
        flex-direction: column;
        gap: 1rem;
    }
    
    .wheel-of-fortune {
        width: 300px;
        height: 300px;
    }
    
    .bonus-calendar {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .tournament-grid {
        grid-template-columns: 1fr;
    }
    
    .player-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .tournament-actions {
        flex-direction: column;
    }
    
    .leaderboard-header,
    .leaderboard-row {
        grid-template-columns: 1fr 1.5fr 1fr 1fr;
        font-size: 0.9rem;
    }
    
    .schedule-grid {
        grid-template-columns: 1fr;
    }
    
    .rewards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .game-icon {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }
    
    .game-details h1 {
        font-size: 1.5rem;
    }
    
    .slot-reels {
        gap: 0.25rem;
        padding: 0.5rem;
    }
    
    .reel {
        width: 50px;
        height: 150px;
    }
    
    .symbol {
        font-size: 1.5rem;
        height: 50px;
    }
    
    .payline-list {
        grid-template-columns: 1fr;
    }
    
    .roulette-wheel {
        width: 200px;
        height: 200px;
    }
    
    .current-number {
        font-size: 2.5rem;
    }
    
    .bingo-grid {
        max-width: 250px;
    }
    
    .wheel-of-fortune {
        width: 250px;
        height: 250px;
    }
    
    .bonus-calendar {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .leaderboard-header,
    .leaderboard-row {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        font-size: 0.8rem;
        gap: 0.5rem;
    }
    
    .poker-players {
        flex-direction: column;
        gap: 1rem;
    }
    
    .player {
        min-width: auto;
    }
    
    .player .card {
        width: 40px;
        height: 56px;
        font-size: 1rem;
    }
    
    .community-area .card {
        width: 45px;
        height: 63px;
        font-size: 1.2rem;
    }
    
    .player-area .card {
        width: 45px;
        height: 63px;
        font-size: 1.2rem;
    }
    
    .bet-slider {
        max-width: 250px;
    }
}