/* Live Casino Page Specific Styles */

/* Live Indicator */
.live-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--surface-light);
    border-radius: 10px;
    margin-bottom: 20px;
}

.blackjack-section {
	padding: 40px 0;
}

.live-dot {
    width: 12px;
    height: 12px;
    background: #FF4757;
    border-radius: 50%;
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.live-indicator span {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
}

/* Sidebar Stats */
.sidebar-stats {
    padding: 30px;
    border-top: 1px solid var(--border-color);
}

.sidebar-stats h3 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.stat-value {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
}

/* Page Header */
.page-header {
    background: var(--surface-color);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
}

.page-title {
    margin-bottom: 30px;
}

.page-title h1 {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.page-title h1 i {
    color: var(--primary-color);
}

.page-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.live-stats {
    display: flex;
    gap: 40px;
}

.live-stats .stat {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background-dark);
    font-size: 20px;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.stat-label {
    color: var(--text-muted);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Featured Live Games */
.featured-live {
    margin-bottom: 60px;
}

.live-games-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.live-game-card {
    background: var(--surface-color);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.live-game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
    border-color: var(--primary-color);
}

.live-game-card.featured {
    border: 2px solid var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.live-game-card.bangla {
    border: 2px solid #00D4AA;
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.2);
}

.live-stream {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.live-stream img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.live-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.live-game-card:hover .live-overlay {
    opacity: 1;
}

.join-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient-primary);
    color: var(--background-dark);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.join-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px var(--shadow-medium);
}

.live-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #FF4757;
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    animation: livePulse 2s infinite;
}

.bangla-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #00D4AA;
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.vip-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-primary);
    color: var(--background-dark);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.speed-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8E35 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.viewer-count {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.seat-counter {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--secondary-color);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.infinite-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #8B5CF6;
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
}

.countdown-timer {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--gradient-primary);
    color: var(--background-dark);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.last-numbers {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    gap: 5px;
}

.number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: white;
}

.number.red {
    background: #FF4757;
}

.number.black {
    background: #2C2C2C;
}

.number.green {
    background: #00D4AA;
}

.live-info {
    padding: 25px;
}

.live-info h3 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.live-info p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 14px;
}

.game-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 12px;
}

.game-stats span {
    color: var(--text-muted);
}

.game-stats .min-bet,
.game-stats .max-bet {
    color: var(--primary-color);
    font-weight: 600;
}

.game-stats .rtp {
    color: var(--secondary-color);
    font-weight: 600;
}

.game-stats .multiplier {
    color: var(--accent-color);
    font-weight: 700;
}

/* Live Games Grid */
.live-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* Game Show Grid */
.gameshow-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.live-game-card.gameshow {
    border: 2px solid #FF6B35;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

/* Bangla Section */
.bangla-section {
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-header {
        padding: 30px;
    }
    
    .live-stats {
        flex-direction: column;
        gap: 25px;
    }
    
    .live-games-slider {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .live-games-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 25px 20px;
    }
    
    .live-stats .stat {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .live-games-slider {
        grid-template-columns: 1fr;
    }
    
    .live-games-grid {
        grid-template-columns: 1fr;
    }
    
    .gameshow-grid {
        grid-template-columns: 1fr;
    }
    
    .live-info {
        padding: 20px;
    }
    
    .game-stats {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 20px 15px;
    }
    
    .page-title h1 {
        font-size: 1.5rem;
    }
    
    .live-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .live-info {
        padding: 15px;
    }
    
    .join-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .sidebar-stats {
        padding: 20px;
    }
    
    .live-indicator {
        padding: 12px;
    }
}