/* LiveGame Page Styles - Live Streaming Design */

/* Variables for consistent theming */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --live-gradient: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 100%);
    --success-gradient: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
    --warning-gradient: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    --danger-gradient: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --live-color: #ff6b6b;
    --background-light: rgba(255, 255, 255, 0.95);
    --background-dark: rgba(0, 0, 0, 0.1);
    --shadow-primary: 0 10px 30px rgba(102, 126, 234, 0.3);
    --shadow-hover: 0 15px 40px rgba(102, 126, 234, 0.4);
    --shadow-live: 0 10px 30px rgba(255, 107, 107, 0.3);
    --border-radius: 16px;
    --border-radius-lg: 24px;
}

.livegame-container {
    background: var(--primary-gradient);
    min-height: 100vh;
    padding: 20px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header Section */
.livegame-header {
    text-align: center;
    padding: 2rem 0 4rem 0;
}

.hero-section {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    color: white;
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.title-icon {
    font-size: 4rem;
    animation: bounce 2s infinite;
}

.title-decoration {
    font-size: 2rem;
    animation: livePulse 2s ease-in-out infinite;
}

.page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    font-weight: 300;
    margin: 0;
}

/* Live Statistics Overview */
.live-stats-overview {
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--background-light);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-card.live-pulse {
    border: 2px solid var(--live-color);
    animation: cardPulse 3s ease-in-out infinite;
}

.live-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 12px;
    height: 12px;
    background: var(--live-color);
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.stat-info h3 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
}

.stat-info p {
    color: #666;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Games Section */
.games-section {
    background: var(--background-light);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 3rem;
}

.section-header {
    margin-bottom: 2rem;
    text-align: center;
}

.section-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.section-icon {
    font-size: 1.5rem;
}

.live-badge {
    background: var(--live-gradient);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: livePulse 2s ease-in-out infinite;
}

.section-subtitle {
    color: #666;
    font-size: 1rem;
    font-weight: 500;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.game-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-primary);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--live-gradient);
    animation: shimmer 3s linear infinite;
}

/* Game Header */
.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.game-status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-devamediyor {
    background: var(--success-gradient);
    color: white;
}

.status-kritikdurum {
    background: var(--warning-gradient);
    color: #333;
}

.status-sondakika {
    background: var(--danger-gradient);
    color: white;
    animation: livePulse 1s ease-in-out infinite;
}

.game-duration {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
}

/* Players Section */
.players-section {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    position: relative;
}

.player-info.active {
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.player-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.piece-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.player-details {
    flex: 1;
}

.player-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 0.3rem 0;
}

.player-timer {
    font-size: 0.9rem;
    color: #666;
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

.turn-indicator {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 1.2rem;
    animation: pulse 1.5s ease-in-out infinite;
}

/* VS Divider */
.vs-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.vs-text {
    background: var(--primary-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.game-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.move-count, .last-move {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
}

.last-move {
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
}

/* Game Footer */
.game-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.game-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.difficulty-badge {
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}

.diff-master { background: linear-gradient(135deg, #ffd700, #ffed4e); color: #333; }
.diff-expert { background: linear-gradient(135deg, #ff6b6b, #ffa8a8); color: white; }
.diff-advanced { background: linear-gradient(135deg, #4ecdc4, #a8e6cf); color: white; }
.diff-intermediate { background: linear-gradient(135deg, #45b7d1, #96c9f4); color: white; }
.diff-beginner { background: linear-gradient(135deg, #c3cfe2, #e0c3fc); color: #333; }

.viewers-count {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
}

.game-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-watch {
    background: var(--live-gradient);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-live);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-watch:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
    text-decoration: none;
}

.btn-icon {
    font-size: 1rem;
}

/* Quick Actions Section */
.quick-actions-section {
    background: var(--background-light);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.action-btn.primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-primary);
}

.action-btn.primary:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.action-btn.secondary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.action-btn.secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.action-btn.tertiary {
    background: rgba(0, 0, 0, 0.05);
    color: #666;
    border: 2px solid #ddd;
}

.action-btn.tertiary:hover {
    background: #666;
    color: white;
    border-color: #666;
    transform: translateY(-2px);
}

/* Animations */
.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

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

@keyframes cardPulse {
    0%, 100% {
        box-shadow: var(--shadow-primary);
    }
    50% {
        box-shadow: var(--shadow-live);
    }
}

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

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .scheduled-games-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .completed-games-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .page-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .livegame-container {
        padding: 10px 0;
    }
    
    .livegame-header {
        padding: 1.5rem 0 3rem 0;
    }
    
    .page-title {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .title-icon {
        font-size: 3rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .games-grid, .scheduled-games-grid, .completed-games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .game-card, .scheduled-game-card, .completed-game-card {
        padding: 1rem;
    }
    
    .players-section, .scheduled-players, .completed-players {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .vs-divider, .vs-divider-scheduled, .vs-divider-completed {
        order: -1;
        margin-bottom: 1rem;
    }
    
    .player-info, .scheduled-player, .completed-player {
        justify-content: center;
    }
    
    .game-footer, .scheduled-footer, .completed-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .quick-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .scheduled-header, .completed-header {
        flex-direction: column;
        text-align: center;
    }
    
    .scheduled-time, .game-timing {
        text-align: center;
    }
    
    .scheduled-players {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .scheduled-player {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .games-section, .scheduled-section, .completed-section {
        padding: 1.5rem;
    }
    
    .game-card, .scheduled-game-card, .completed-game-card {
        padding: 1rem;
    }
    
    .player-avatar {
        width: 40px;
        height: 40px;
    }
    
    .piece-icon {
        font-size: 1.2rem;
    }
    
    .player-name {
        font-size: 1rem;
    }
    
    .vs-text {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .tournament-name {
        font-size: 1rem;
    }
    
    .winner-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .btn-notify, .btn-replay {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* Additional badges for new sections */
.scheduled-badge {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: scheduledPulse 3s ease-in-out infinite;
}

.completed-badge {
    background: linear-gradient(135deg, #9d50bb 0%, #6e48aa 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Scheduled Games Section */
.scheduled-section {
    background: rgba(255, 255, 255, 0.92);
    border: 2px solid rgba(78, 205, 196, 0.3);
}

.scheduled-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.scheduled-game-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.2);
    border: 2px solid rgba(78, 205, 196, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.scheduled-game-card:hover {
    border-color: #4ecdc4;
    box-shadow: 0 12px 35px rgba(78, 205, 196, 0.3);
    transform: translateY(-3px);
}

.scheduled-game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
}

.scheduled-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tournament-name {
    color: #4ecdc4;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.scheduled-time {
    text-align: right;
}

.time-until {
    font-weight: 700;
    color: #4ecdc4;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.exact-time {
    font-size: 0.9rem;
    color: #666;
    font-family: 'Courier New', monospace;
}

.scheduled-players {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.scheduled-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    background: rgba(78, 205, 196, 0.05);
    transition: all 0.3s ease;
}

.scheduled-player:hover {
    background: rgba(78, 205, 196, 0.1);
    transform: scale(1.02);
}

.vs-divider-scheduled {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.vs-divider-scheduled .vs-text {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
}

.match-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-align: center;
}

.duration {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
}

.scheduled-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.registrations-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-notify {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-notify:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(78, 205, 196, 0.4);
}

/* Completed Games Section */
.completed-section {
    background: rgba(255, 255, 255, 0.92);
    border: 2px solid rgba(157, 80, 187, 0.3);
}

.completed-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.completed-game-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(157, 80, 187, 0.2);
    border: 2px solid rgba(157, 80, 187, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.completed-game-card:hover {
    border-color: #9d50bb;
    box-shadow: 0 12px 35px rgba(157, 80, 187, 0.3);
    transform: translateY(-3px);
}

.completed-game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #9d50bb 0%, #6e48aa 100%);
}

.completed-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.winner-badge {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.win-condition {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
}

.game-timing {
    text-align: right;
}

.game-duration {
    font-weight: 700;
    color: #9d50bb;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-family: 'Courier New', monospace;
}

.end-time {
    font-size: 0.9rem;
    color: #666;
}

.completed-players {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.completed-player {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    background: rgba(157, 80, 187, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.completed-player.winner {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.completed-player.loser {
    background: rgba(0, 0, 0, 0.05);
    opacity: 0.8;
}

.winner-crown {
    position: absolute;
    top: -10px;
    right: -5px;
    font-size: 1.5rem;
    animation: crownFloat 2s ease-in-out infinite;
}

.player-details {
    flex: 1;
}

.player-status {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.3rem;
}

.completed-player.winner .player-status {
    color: #ffd700;
}

.completed-player.loser .player-status {
    color: #999;
}

.vs-divider-completed {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.vs-divider-completed .vs-text {
    background: linear-gradient(135deg, #9d50bb 0%, #6e48aa 100%);
}

.match-stats {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-align: center;
}

.move-count, .viewer-peak {
    font-size: 0.8rem;
    color: #666;
    font-weight: 600;
}

.completed-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.game-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-replay {
    background: linear-gradient(135deg, #9d50bb 0%, #6e48aa 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(157, 80, 187, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-replay:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(157, 80, 187, 0.4);
    text-decoration: none;
}

/* Game Type Badges */
.game-type-badge {
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
}

.type-turnuvamaçı { background: linear-gradient(135deg, #ffd700, #ffed4e); color: #333; }
.type-dostlukmaçı { background: linear-gradient(135deg, #4ecdc4, #44a08d); color: white; }
.type-hızlıoyun { background: linear-gradient(135deg, #ff6b6b, #ffa8a8); color: white; }
.type-rankedmaç { background: linear-gradient(135deg, #9d50bb, #6e48aa); color: white; }
.type-turnuvafinali { background: linear-gradient(135deg, #ffd700, #ff8c00); color: #333; }

/* Additional animations */
@keyframes scheduledPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.05);
    }
}

@keyframes crownFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-5px) rotate(5deg);
    }
}

/* Tab navigation styles */
.games-tabs-container {
    margin-bottom: 2rem;
}

.games-tabs-nav {
    margin-bottom: 0;
    border-bottom: none;
}

.games-nav-tabs {
    border: none;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 8px;
    backdrop-filter: blur(10px);
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.games-nav-tabs::-webkit-scrollbar {
    display: none;
}

.games-nav-tabs .nav-item {
    flex-shrink: 0;
}

.games-nav-tabs .nav-link {
    background: transparent;
    border: none;
    border-radius: 15px;
    padding: 15px 25px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    min-width: 160px;
    justify-content: center;
}

.games-nav-tabs .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.games-nav-tabs .nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.games-nav-tabs .nav-link.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 15px;
}

.tab-icon {
    font-size: 16px;
    line-height: 1;
}

.tab-text {
    font-size: 14px;
    white-space: nowrap;
}

.tab-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
    line-height: 1;
}

.games-nav-tabs .nav-link.active .tab-badge {
    background: rgba(255, 255, 255, 0.3);
    animation: pulse-badge 2s ease-in-out infinite;
}

.live-badge {
    background: linear-gradient(135deg, #ff4757, #ff3838) !important;
    box-shadow: 0 0 10px rgba(255, 71, 87, 0.5);
}

.scheduled-badge {
    background: linear-gradient(135deg, #2ed573, #1e90ff) !important;
}

.completed-badge {
    background: linear-gradient(135deg, #a55eea, #8b4cf7) !important;
}

/* Tab content styles */
.games-tab-content {
    margin-top: 30px;
}

.tab-pane {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

/* Animations */
@@keyframes pulse-badge {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Mobile responsive for tabs */
@@media (max-width: 768px) {
    .games-nav-tabs {
        padding: 6px;
        gap: 4px;
    }

    .games-nav-tabs .nav-link {
        padding: 12px 16px;
        min-width: 120px;
        font-size: 13px;
    }

    .tab-text {
        font-size: 12px;
    }

    .tab-icon {
        font-size: 14px;
    }

    .tab-badge {
        font-size: 10px;
        padding: 3px 6px;
    }
}

@@media (max-width: 480px) {
    .games-nav-tabs .nav-link {
        padding: 10px 12px;
        min-width: 100px;
        flex-direction: column;
        gap: 4px;
    }

    .tab-text {
        font-size: 11px;
        line-height: 1.2;
        text-align: center;
    }

    .tab-badge {
        margin-top: 2px;
    }
} 