/* Tournament App - Professional Styling */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Rajdhani:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #FF6B35;
    --primary-dark: #E55A2B;
    --secondary-color: #1B4965;
    --accent-color: #FFD23F;
    --dark-color: #0F1419;
    --dark-secondary: #1A1F26;
    --light-color: #F4F4F4;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B3B8;
    --text-muted: #8A8D93;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-light: rgba(255, 107, 53, 0.2);
    --shadow-dark: rgba(0, 0, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    --gradient-secondary: linear-gradient(135deg, #1B4965 0%, #2D5A7B 100%);
    --gradient-dark: linear-gradient(135deg, #0F1419 0%, #1A1F26 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--gradient-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    font-weight: 400;
}

/* Statistics Banner */
.stats-banner {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-bottom: 3px solid #ff4757;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stats-scroll {
    display: flex;
    align-items: center;
    animation: scroll-stats 30s linear infinite;
    will-change: transform;
}

@keyframes scroll-stats {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.stat-item {
    display: flex;
    align-items: center;
    margin-right: 50px;
    color: white;
    font-family: 'Rajdhani', sans-serif;
    min-width: 200px;
    flex-shrink: 0;
}

.stat-item i {
    font-size: 1.5rem;
    margin-right: 10px;
    color: #fff3cd;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.stat-item .stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    margin-right: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.stat-item .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stats-banner:hover .stats-scroll {
    animation-play-state: paused;
}

/* Mobile optimization for stats banner */
@media (max-width: 768px) {
    .stats-banner {
        padding: 10px 0;
    }
    
    .stat-item {
        margin-right: 30px;
        min-width: 150px;
    }
    
    .stat-item i {
        font-size: 1.2rem;
        margin-right: 8px;
    }
    
    .stat-item .stat-number {
        font-size: 1.4rem;
        margin-right: 6px;
    }
    
    .stat-item .stat-label {
        font-size: 0.8rem;
    }
    
    .stats-scroll {
        animation-duration: 20s;
    }
}

/* Hero Section with Dynamic Media Background */
.hero-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    display: flex;
    align-items: center;
}

.hero-media-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-media-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-media-item.active {
    opacity: 1;
    z-index: -1;
}

.hero-media-item:not(.active) {
    z-index: -2;
}

.hero-media-item video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1) saturate(1.1);
}

/* Ensure content appears above hero background */
body {
    position: relative;
    z-index: 1;
}

.stats-banner {
    position: relative;
    z-index: 100;
}

.container {
    position: relative;
    z-index: 10;
}

/* Add top margin to push content below stats banner */
.content-section {
    margin-top: 0;
    padding-top: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 10;
}

/* Ensure no gaps on any device */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
    }
    
    .hero-media-item video {
        min-width: 120%;
        min-height: 120%;
    }
}

@media (max-width: 480px) {
    .hero-media-item video {
        min-width: 150%;
        min-height: 150%;
    }
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.75) contrast(1.1) saturate(1.1);
}

/* Video overlay removed for cleaner video display */

.video-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-text {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-title {
    font-family: var(--heading-font);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-title-black {
    font-family: 'Arial Black', 'Helvetica', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;

    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.8);
}

.hero-title-yellow {
    font-family: 'Arial Black', 'Helvetica', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #FFD700 !important;
    line-height: 1.2;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-black {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
 
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}

.hero-subtitle-yellow {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #FFFF00 !important;
    font-weight: 600;
    background: linear-gradient(45deg, #FFFF00, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Game Selector Buttons */
.game-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.game-selector-bottom {
    display: flex;
    gap: 1rem;
    justify-content: center;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.btn-game-selector {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-game-selector:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-game-selector.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

/* Video Controls */
.video-controls {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 10px;
    z-index: 1001;
}

.btn-video-control {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-video-control:hover {
    background: rgba(255, 107, 53, 0.9);
    border-color: #ff6b35;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Mobile video controls */
@media (max-width: 768px) {
    .video-controls {
        bottom: 20px;
        right: 20px;
        gap: 8px;
    }
    
    .btn-video-control {
        width: 45px;
        height: 45px;
    }
    
    .btn-video-control i {
        font-size: 1rem;
    }
}

/* Hero Buttons */
.hero-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.hero-buttons .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}

.hero-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

/* Responsive Design for Video Hero */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .game-selector {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn-game-selector {
        text-align: center;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .video-controls {
        bottom: 10px;
        right: 10px;
    }
    
    .btn-video-control {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.75rem; font-weight: 600; }
h4 { font-size: 1.5rem; font-weight: 600; }
h5 { font-size: 1.25rem; font-weight: 600; }
h6 { font-size: 1.1rem; font-weight: 600; }

.text-primary { color: var(--text-primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-muted { color: var(--text-muted) !important; }

/* Enhanced Match Cards - Mobile Optimized */
.match-card {
    background: var(--gradient-dark);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    max-width: 100%;
}

.match-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--shadow-light);
    border-color: var(--primary-color);
}

.match-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.match-card:hover::before {
    opacity: 1;
}

/* Mobile-Optimized Mode Image Header */
.match-card .card-img-top {
    position: relative;
    height: 160px;
    overflow: hidden;
    background: var(--gradient-secondary);
}

.match-card .card-img-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.match-card:hover .card-img-top img {
    transform: scale(1.08);
}

/* Larger, Better Image Placeholders */
.mode-placeholder {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 50%, #FFB366 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Rajdhani', sans-serif;
    position: relative;
    overflow: hidden;
}

.mode-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer-bg 3s ease-in-out infinite alternate;
}

@keyframes shimmer-bg {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(180deg) scale(1.1); }
}

.mode-placeholder .mode-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.mode-placeholder .mode-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.mode-placeholder .mode-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.2rem;
}

/* Map Placeholder */
.map-placeholder {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #007bff 0%, #6f42c1 50%, #8e4ec6 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Rajdhani', sans-serif;
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer-bg 3s ease-in-out infinite alternate;
}

.map-placeholder .map-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.map-placeholder .map-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
}

/* Badge Overlays */
.badge-game {
    background: var(--gradient-primary);
    color: white;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.team-size-badge {
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark-color);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.map-badge {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

/* Card Body - Compact and Mobile-Friendly */
.match-card .card-body {
    padding: 1.2rem;
    background: var(--gradient-dark);
}

.match-card .card-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.match-card .card-text {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Compact Enhanced Countdown Timer */
.countdown-timer {
    background: var(--gradient-secondary);
    padding: 0.8rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 0.8rem;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.countdown-display {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
    font-weight: 500;
}

/* Compact Match Info Grid */
.match-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.info-item {
    text-align: center;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.info-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
    font-weight: 500;
}

.info-value {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Compact Prize Info */
.prize-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem;
    background: var(--gradient-primary);
    border-radius: 8px;
    margin-bottom: 0.8rem;
}

.prize-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.prize-amount {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

/* Progress Bar with Animation */
.slots-progress {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    height: 5px;
    margin-bottom: 0.4rem;
    overflow: hidden;
}

.slots-progress-bar {
    background: var(--gradient-primary);
    height: 100%;
    border-radius: 8px;
    transition: width 0.5s ease;
    position: relative;
}

.slots-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.3) 50%, transparent 60%);
    animation: progress-shine 2s infinite;
}

@keyframes progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.slots-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
}

/* Match Card Enhancements */
.match-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 0;
}

/* Card Image Top Adjustments */
.match-card .card-img-top {
    height: 180px;
    overflow: hidden;
    position: relative;
    border-radius: 12px 12px 0 0;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 992px) {
    .match-card .card-img-top {
        height: 140px;
    }
    
    .mode-placeholder, .map-placeholder {
        height: 140px;
    }
    
    .mode-placeholder .mode-icon, .map-placeholder .map-icon {
        font-size: 2.5rem;
    }
    
    .mode-placeholder .mode-title, .map-placeholder .map-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .match-card {
        margin-bottom: 1rem;
        border-radius: 12px;
    }
    
    .match-card .card-img-top {
        height: 120px;
    }
    
    .mode-placeholder, .map-placeholder {
        height: 120px;
    }
    
    .mode-placeholder .mode-icon, .map-placeholder .map-icon {
        font-size: 2rem;
    }
    
    .mode-placeholder .mode-title, .map-placeholder .map-title {
        font-size: 1.1rem;
    }
    
    .match-card .card-body {
        padding: 1rem;
    }
    
    .match-card .card-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .countdown-timer {
        padding: 0.6rem;
    }
    
    .countdown-display {
        font-size: 1rem;
    }
    
    .info-item {
        padding: 0.5rem;
    }
    
    .badge-game, .team-size-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    .map-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
    
    .btn-match-action {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
}

/* QR Code Styling */
.qr-code-container {
    background: white !important;
    border-radius: 15px !important;
    padding: 20px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: inline-block;
    border: 2px solid var(--primary-color);
}

.qr-code-container img {
    border-radius: 10px;
    max-width: 200px;
    max-height: 200px;
    width: 100%;
    height: auto;
}

@media (max-width: 576px) {
    .qr-code-container {
        padding: 15px !important;
    }
    
    .qr-code-container img {
        max-width: 180px;
        max-height: 180px;
    }
}

@media (max-width: 576px) {
    .match-card .card-img-top {
        height: 100px;
    }
    
    .mode-placeholder, .map-placeholder {
        height: 100px;
    }
    
    .mode-placeholder .mode-icon, .map-placeholder .map-icon {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }
    
    .mode-placeholder .mode-title, .map-placeholder .map-title {
        font-size: 1rem;
    }
    
    .mode-placeholder .mode-subtitle {
        font-size: 0.8rem;
    }
    
    .match-info {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
    
    .prize-info {
        flex-direction: column;
        text-align: center;
        gap: 0.3rem;
        padding: 0.5rem;
    }
    
    .countdown-timer {
        padding: 0.5rem;
        margin-bottom: 0.6rem;
    }
    
    .match-card .card-body {
        padding: 0.8rem;
    }
}

/* Mobile-Optimized Buttons */
.btn-match-action {
    width: 100%;
    padding: 0.8rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 10px;
    color: white;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-match-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-match-action:hover::before {
    left: 100%;
}

.btn-match-action:hover {
    background: linear-gradient(135deg, #FF8C42 0%, #FFB366 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-light);
    color: white;
}

.btn-registered {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.btn-registered:hover {
    background: linear-gradient(135deg, #20c997 0%, #17a2b8 100%);
}

.btn-disabled {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    cursor: not-allowed;
}

/* Status Badges */
.status-live {
    background: linear-gradient(45deg, #dc3545, #fd7e14);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    animation: pulse-live 2s infinite;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .match-card .card-img-top {
        height: 120px;
    }
    
    .match-card .card-body {
        padding: 1.2rem;
    }
    
    .match-card .card-title {
        font-size: 1.2rem;
    }
    
    .countdown-display {
        font-size: 1.1rem;
    }
    
    .badge-game, .team-size-badge {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
}

@media (max-width: 576px) {
    .match-info {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .prize-info {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* Loading States */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer-loading 1.5s infinite;
}

@keyframes shimmer-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Enhanced Navbar */
.navbar {
    background: rgba(15, 20, 25, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.5rem !important;
    color: var(--text-primary) !important;
}

/* Enhanced Stats Cards */
.stats-card {
    background: var(--gradient-dark);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stats-card:hover::before {
    transform: scaleX(1);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-light);
}

.stats-card i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stats-card h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stats-card small {
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
