/* MeNoHero - Main Stylesheet */
:root {
    /* PUBG-inspired color scheme */
    --primary: #ffc700;
    --secondary: #1a1f24;
    --accent: #ff4655;
    --dark: #0f1923;
    --light: #ffffff;
    --gray: #8b939c;
    --success: #00ff8c;
    --warning: #ff7800;
    --danger: #ff4655;
    --info: #5bc0de;
    
    /* Rank colors */
    --rank1: #ffd700; /* Gold */
    --rank2: #c0c0c0; /* Silver */
    --rank3: #cd7f32; /* Bronze */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, #ff7800 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
    
    /* Typography */
    --font-primary: 'Rajdhani', sans-serif;
    --font-secondary: 'Barlow', sans-serif;
    
    /* Section Spacing */
    --section-spacing-xl: 120px;
    --section-spacing-lg: 100px;
    --section-spacing-md: 80px;
    --section-spacing-sm: 60px;
    --section-spacing-xs: 40px;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Section Spacing */
.section-padding {
    padding: var(--section-spacing-lg) 0;
    position: relative;
    z-index: 1;
}

.section-padding-sm {
    padding: var(--section-spacing-md) 0;
    position: relative;
}

.section-margin-bottom {
    margin-bottom: var(--section-spacing-md);
}

.section-margin-top {
    margin-top: var(--section-spacing-md);
}

/* For larger gap between sections */
.section-padding-lg {
    padding: var(--section-spacing-xl) 0;
}

/* Section Title Styles */
.section-title {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary);
}

/* Buttons */
.btn {
    font-family: var(--font-primary);
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: var(--dark);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--dark);
}

/* Navigation */
.navbar {
    background: var(--secondary);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1000; /* Higher z-index to ensure it's above all other elements */
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* Navigation Links */
.nav-link {
    color: var(--light) !important;
    font-weight: 600;
    padding: 0.5rem 1rem;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    opacity: 0;
}

.nav-link:hover {
    color: var(--primary) !important;
    text-shadow: 0 0 8px rgba(255, 199, 0, 0.3);
}

.nav-link:hover::before {
    width: 80%;
    opacity: 1;
}

.nav-link:hover i {
    transform: translateY(-2px);
    color: var(--primary);
}

.nav-link.active {
    color: var(--primary) !important;
    font-weight: 700;
}

.nav-link.active::before {
    width: 80%;
    opacity: 1;
}

.nav-link i {
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

/* Navbar Buttons */
.nav-buttons .btn {
    transform: skewX(-5deg);
    transition: all 0.3s ease;
}

.nav-buttons .btn:hover {
    transform: skewX(-5deg) translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.nav-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #ffdd44 0%, var(--warning) 100%);
}

.nav-buttons .btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.nav-buttons .btn-outline-primary:hover {
    background: rgba(255, 199, 0, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

/* Mobile Navigation */
.navbar-toggler {
    border: none;
    outline: none !important;
    box-shadow: none !important;
    color: var(--primary);
    padding: 0.5rem;
}

.navbar-toggler i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.navbar-toggler:hover i {
    transform: rotate(90deg);
}

@media (max-width: 992px) {
    .navbar-collapse {
        background: var(--dark);
        border-radius: 0 0 8px 8px;
        padding: 1rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        border-top: 1px solid var(--primary);
    }
    
    .nav-link::before {
        left: 0;
        transform: none;
    }
    
    .nav-link:hover::before {
        width: 50%;
    }
    
    .nav-link.active::before {
        width: 50%;
    }
    
    .nav-buttons {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Hero Section Fixes */
.hero-banner {
    padding-top: 9rem;
    padding-bottom: 12rem;
    min-height: auto;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #080a12 0%, #0f1424 100%);
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='2' fill='rgba(255,255,255,0.03)' /%3E%3C/svg%3E");
    background-repeat: repeat;
    z-index: 1;
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(66, 71, 171, 0.2) 0%, transparent 70%);
    z-index: 3;
}

.hero-content {
    margin-bottom: 5rem;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 1.5rem !important;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 198, 0, 0.3);
    animation: pulseBadge 2s infinite ease-in-out;
    width: auto;
    display: block;
    text-align: center;
}

@keyframes pulseBadge {
    0% { box-shadow: 0 0 0 0 rgba(255, 198, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 198, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 198, 0, 0); }
}

.hero-title {
    margin-bottom: 1.5rem;
    font-size: 4.5rem;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
    line-height: 1.2;
}

.hero-title .text-primary {
    background: linear-gradient(to right, #ffd700, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer; /* Ensure cursor changes to pointer */
    text-decoration: none; /* Remove any decoration */
    display: inline-block; /* Ensure proper display */
}

.hero-buttons .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.hero-stats-container {
    position: relative;
    transform: translateY(0);
    margin-top: 2rem;
    z-index: 10;
}

.hero-stats {
    display: flex;
    justify-content: space-between;
    background: rgba(15, 17, 35, 0.8);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-item {
    text-align: center;
    padding: 0 1rem;
    position: relative;
}

.hero-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 70%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.hero-stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 198, 0, 0.2), rgba(255, 198, 0, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: var(--primary);
    font-size: 1.25rem;
    position: relative;
    border: 1px solid rgba(255, 198, 0, 0.2);
}

.hero-stat-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255, 198, 0, 0.3);
    animation: ripple 2s infinite ease-out;
    z-index: -1;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.hero-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 0.25rem;
    background: linear-gradient(to right, var(--light) 30%, var(--primary) 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .hero-banner {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-content {
        margin-bottom: 3rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-stat-item:not(:last-child)::after {
        display: none;
    }
}

/* Features Section */
.section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.25rem;
    border: 1px solid var(--primary);
    box-shadow: 0 0 15px rgba(255, 198, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.section-badge::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 198, 0, 0.5), transparent 70%);
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 0.7; transform: scale(1.1); }
    100% { opacity: 0.3; transform: scale(0.8); }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

.section-title .text-primary {
    background: linear-gradient(to right, #ffd700, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(15, 17, 35, 0.6);
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 198, 0, 0.1) 0%, rgba(15, 17, 35, 0) 100%);
    z-index: -1;
    transition: all 0.5s ease;
    opacity: 0;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255, 198, 0, 0.3) 0%, transparent 70%);
    top: -50%;
    left: -50%;
    z-index: -2;
    transition: all 0.5s ease;
    opacity: 0;
    transform: scale(0.5);
}

.feature-card:hover::after {
    opacity: 0.5;
    transform: scale(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 198, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    display: inline-block;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(255, 198, 0, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light);
    position: relative;
    z-index: 2;
}

.feature-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--primary);
    margin: 0.75rem auto;
}

.feature-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.feature-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    background: rgba(255, 198, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    z-index: 2;
}

.feature-link:hover {
    background: rgba(255, 198, 0, 0.2);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    letter-spacing: 1px;
    z-index: 3;
}

.feature-card.featured {
    border-color: rgba(255, 198, 0, 0.3);
    background: linear-gradient(135deg, rgba(15, 17, 35, 0.9) 0%, rgba(35, 37, 55, 0.8) 100%);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .feature-title {
        font-size: 1.25rem;
    }
}

/* Program Badge Styles */
.program-badge {
    display: inline-block !important;
    padding: 0.5rem 1.5rem !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 30px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: var(--primary) !important;
    letter-spacing: 1px !important;
    margin-bottom: 1.5rem !important;
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 198, 0, 0.3) !important;
    animation: pulseBadge 2s infinite ease-in-out !important;
    width: auto !important;
    height: auto !important;
    justify-content: center !important;
    align-items: center !important;
}

.program-badge.missions {
    background: rgba(255, 162, 0, 0.1) !important; 
}

.program-badge.leaderboard {
    background: rgba(0, 162, 255, 0.1) !important;
}

.program-badge.tournaments {
    background: rgba(255, 0, 100, 0.1) !important;
}

/* Tournament Cards */
.tournament-card {
    border-radius: 12px;
    background: linear-gradient(145deg, #141e2a, #0d151e);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    height: 100%;
    margin-bottom: 25px;
    transform: translateY(0);
}

.tournament-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.tournament-card:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, transparent 45%, rgba(255, 198, 0, 0.6) 50%, rgba(255, 198, 0, 0.1) 100%);
    border-radius: 0 0 0 15px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.tournament-card:hover:before {
    opacity: 1;
}

.tournament-banner {
    height: 120px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tournament-banner.featured {
    background: linear-gradient(135deg, #ff7b00 0%, #ff9500 100%);
}

.tournament-banner.squad {
    background: linear-gradient(135deg, #ffc107 0%, #ffda44 100%);
}

.tournament-banner.rookie {
    background: linear-gradient(135deg, #28a745 0%, #5fd778 100%);
}

.tournament-banner.solo {
    background: linear-gradient(135deg, #007bff 0%, #49a7ff 100%);
}

.tournament-banner.duo {
    background: linear-gradient(135deg, #6f42c1 0%, #9f75e5 100%);
}

.banner-icon {
    font-size: 50px;
    color: rgba(255, 255, 255, 0.15);
    position: absolute;
    right: 20px;
    bottom: -15px;
    transform: rotate(15deg);
    transition: all 0.3s ease;
}

.tournament-card:hover .banner-icon {
    transform: rotate(0);
    right: 15px;
    bottom: -5px;
    color: rgba(255, 255, 255, 0.25);
}

.banner-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.banner-overlay .badge {
    padding: 6px 12px;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 11px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 6px;
}

.tournament-details {
    padding: 20px;
}

.tournament-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.tournament-header h4 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tournament-tier {
    background: rgba(255, 198, 0, 0.15);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: #ffc600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tournament-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #7a8999;
}

.tournament-meta span {
    display: flex;
    align-items: center;
}

.tournament-meta span i {
    width: 20px;
    color: #ffc600;
}

.tournament-info {
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.2);
    padding: 12px;
    border-radius: 8px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #eee;
}

.info-item i {
    font-size: 14px;
    width: 20px;
    text-align: center;
}

.prize-pool {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(90deg, rgba(255, 198, 0, 0.15) 0%, rgba(0, 0, 0, 0) 100%);
    border-left: 3px solid #ffc600;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.prize-icon {
    background: rgba(255, 198, 0, 0.15);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ffc600;
}

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

.prize-info span {
    font-size: 12px;
    color: #7a8999;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.prize-info h5 {
    margin: 0;
    font-size: 20px;
    color: #ffc600;
    font-weight: 700;
}

.tournament-footer {
    margin-top: auto;
}

.tournament-footer .btn {
    border-radius: 6px;
    padding: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tournament-footer .btn: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: all 0.6s ease;
}

.tournament-footer .btn:hover:before {
    left: 100%;
}

@media (max-width: 767px) {
    .tournament-card {
        margin-bottom: 20px;
    }
    
    .tournament-banner {
        height: 100px;
    }
    
    .banner-icon {
        font-size: 40px;
    }
    
    .tournament-header h4 {
        font-size: 16px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .prize-info h5 {
        font-size: 18px;
    }
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--secondary);
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Mission Section */
.missions {
    padding: 6rem 0;
}

.mission-card {
    background: var(--secondary);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mission-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.mission-title {
    font-size: 1.25rem;
    margin: 0;
}

.mission-reward {
    color: var(--success);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link {
    color: var(--gray);
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    color: var(--dark);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
}

/* Brand Text Animation */
.brand-text {
    display: inline-block;
    position: relative;
}

.brand-text .me {
    color: var(--light);
    background: linear-gradient(
        to right,
        var(--light) 20%,
        var(--primary) 40%,
        var(--primary) 60%,
        var(--light) 80%
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineRight 4s ease-in-out infinite;
}

.brand-text .no {
    color: var(--primary);
    position: relative;
    background: linear-gradient(
        to right,
        var(--primary) 10%,
        #ffdd44 30%,
        var(--primary) 50%,
        #ffdd44 70%,
        var(--primary) 90%
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineLeft 3s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255, 199, 0, 0.3);
}

.brand-text .hero {
    color: var(--light);
    background: linear-gradient(
        to right,
        var(--light) 0%,
        var(--accent) 50%,
        var(--light) 100%
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: flicker 5s linear infinite, shineRight 6s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(255, 70, 85, 0.3);
}

@keyframes shineRight {
    0% {
        background-position: -50% 0;
    }
    50% {
        background-position: 150% 0;
    }
    100% {
        background-position: -50% 0;
    }
}

@keyframes shineLeft {
    0% {
        background-position: 150% 0;
    }
    50% {
        background-position: -50% 0;
    }
    100% {
        background-position: 150% 0;
    }
}

@keyframes flicker {
    0%, 100% {
        opacity: 1;
    }
    4% {
        opacity: 0.9;
    }
    8% {
        opacity: 1;
    }
    70% {
        opacity: 0.95;
    }
    72% {
        opacity: 1;
    }
}

/* Remove hover styles since animations are now default */
.navbar-brand:hover .me,
.navbar-brand:hover .no,
.navbar-brand:hover .hero {
    animation-play-state: running;
}

/* Mission Page Styles */
.military-badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--dark);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.military-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 199, 0, 0.3), transparent);
    animation: shine 2s infinite;
}

.military-badge i {
    font-size: 2.5rem;
    color: var(--primary);
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Mission Counter */
.mission-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto;
    gap: 0.5rem;
}

.counter-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--primary);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    min-width: 80px;
}

.counter-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.counter-label {
    font-size: 0.75rem;
    color: var(--gray);
    letter-spacing: 1px;
}

.counter-separator {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-top: -0.5rem;
}

/* Mission Active Card */
.mission-active-card {
    background: var(--secondary);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--primary);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
}

.mission-active-header {
    background: var(--dark);
    padding: 1.5rem;
    border-bottom: 1px solid var(--primary);
    position: relative;
}

.mission-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.status-badge {
    background: var(--primary);
    color: var(--dark);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.status-badge::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: #ff0000;
    border-radius: 50%;
    margin-right: 0.5rem;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.mission-date {
    color: var(--gray);
    font-size: 0.9rem;
}

.mission-title {
    margin: 0;
    color: var(--light);
    font-size: 2rem;
    font-weight: 700;
}

.mission-active-body {
    padding: 1.5rem;
}

.mission-objective h4 {
    color: var(--primary);
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.mission-description {
    font-size: 1.5rem;
    color: var(--light);
    margin-bottom: 1.5rem;
}

.mission-rules h5 {
    color: var(--light);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.mission-rules ul {
    list-style: none;
    padding-left: 1rem;
}

.mission-rules ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray);
}

.mission-rules ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.mission-difficulty {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    gap: 0.5rem;
    color: var(--gray);
}

.difficulty-meter {
    display: flex;
    gap: 3px;
    margin: 0 0.5rem;
}

.difficulty-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--dark);
    border: 1px solid var(--gray);
}

.difficulty-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.difficulty-label {
    color: var(--primary);
    font-weight: 600;
}

/* Mission Rewards */
.mission-rewards {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
}

.mission-rewards h4 {
    color: var(--primary);
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.reward-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.reward-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reward-icon {
    width: 40px;
    height: 40px;
    background: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.reward-details {
    display: flex;
    flex-direction: column;
}

.reward-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
}

.reward-name {
    font-size: 0.8rem;
    color: var(--gray);
    letter-spacing: 1px;
}

/* Mission Footer */
.mission-active-footer {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.submission-form label {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.submission-form small {
    color: var(--gray);
    display: block;
    margin-top: 0.5rem;
}

.submission-form .form-control {
    background: var(--dark);
    border: 1px solid var(--gray);
    color: var(--light);
    padding: 0.75rem 1rem;
}

.submission-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(255, 199, 0, 0.25);
}

.login-prompt {
    padding: 2rem 1rem;
}

.login-prompt p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* Step Cards */
.mission-steps {
    position: relative;
}

.step-card {
    background: var(--secondary);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    position: relative;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    font-size: 2rem;
}

.step-title {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.step-card p {
    color: var(--gray);
}

.step-arrow {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 2rem;
    z-index: 1;
}

/* Winner Cards */
.winner-card {
    background: var(--secondary);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.3s ease;
}

.winner-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.winner-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--primary);
    font-size: 1.2rem;
}

.winner-date {
    color: var(--gray);
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.winner-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.winner-avatar {
    position: relative;
}

.avatar-icon {
    width: 50px;
    height: 50px;
    background: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
}

.online-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray);
    border: 2px solid var(--secondary);
    position: absolute;
    bottom: 0;
    right: 0;
}

.online-status.active {
    background: var(--success);
}

.winner-details h4 {
    color: var(--light);
    margin: 0;
    font-size: 1.2rem;
}

.winner-tier {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
}

.mission-completed {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mission-name {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.mission-desc {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

@media (max-width: 992px) {
    .mission-active-body .row {
        flex-direction: column;
    }
    
    .mission-rewards {
        margin-top: 2rem;
    }
    
    .step-arrow {
        display: none;
    }
    
    .step-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .counter-item {
        min-width: 60px;
        padding: 0.5rem;
    }
    
    .counter-value {
        font-size: 1.5rem;
    }
    
    .mission-title {
        font-size: 1.5rem;
    }
    
    .mission-description {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .mission-counter {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .mission-status {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .winner-card {
        margin-bottom: 1rem;
    }
}

/* Tournament Page Styles */
.section-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--dark);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    overflow: hidden;
}

.section-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 199, 0, 0.3), transparent);
    animation: shine 2s infinite;
}

.section-badge i {
    font-size: 1.75rem;
    color: var(--primary);
}

/* Quick Stats Section */
.quick-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1px solid var(--primary);
}

.stat-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.stat-info p {
    font-weight: 600;
}

/* Tournament Card */
.tournament-card {
    background: var(--secondary);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tournament-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.tournament-banner {
    height: 100px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tournament-banner.featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--warning) 100%);
}

.tournament-banner.squad {
    background: linear-gradient(135deg, var(--warning) 0%, #ff4500 100%);
}

.tournament-banner.rookie {
    background: linear-gradient(135deg, var(--success) 0%, #00966d 100%);
}

.banner-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
    position: absolute;
    right: -10px;
    bottom: -10px;
}

.banner-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
}

.tournament-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tournament-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.tournament-header h4 {
    margin: 0;
    font-size: 1.25rem;
}

.tournament-tier {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 199, 0, 0.1);
    border-radius: 4px;
}

.tournament-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.tournament-meta i {
    color: var(--primary);
}

.tournament-info {
    margin-bottom: 1.25rem;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--light);
}

.prize-pool {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    margin-bottom: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.prize-icon {
    width: 40px;
    height: 40px;
    background: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

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

.prize-info span {
    font-size: 0.8rem;
    color: var(--gray);
}

.prize-info h5 {
    color: var(--success);
    margin: 0;
    font-weight: 700;
}

.tournament-footer {
    margin-top: auto;
}

/* Live Tournament Card */
.live-tournament-card {
    background: var(--secondary);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--primary);
    position: relative;
    padding: 2rem 2rem 2rem 2rem;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
}

.live-indicator {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    z-index: 5;
}

.live-indicator .pulse {
    width: 10px;
    height: 10px;
    background: #ff0000;
    border-radius: 50%;
    display: inline-block;
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0% { 
        transform: scale(0.8);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }
    
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }
    
    100% {
        transform: scale(0.8);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

.tournament-content {
    position: relative;
    z-index: 1;
    padding-top: 1rem;
}

.tournament-header h3 {
    margin: 0;
    font-size: 1.75rem;
    padding-right: 80px; /* Make room for the live indicator */
}

@media (max-width: 992px) {
    .action-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .action-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .stat-group {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    .tournament-header h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .live-tournament-card {
        padding: 1.5rem;
    }
    
    .live-indicator {
        position: relative;
        top: 0;
        right: 0;
        display: inline-flex;
        margin-bottom: 1rem;
        align-self: flex-start;
    }
    
    .tournament-header h3 {
        padding-right: 0;
        margin-top: 0.5rem;
    }
    
    .tournament-content {
        display: flex;
        flex-direction: column;
        padding-top: 0;
    }
    
    .tournament-status {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

.tournament-status .status-badge {
    background: var(--primary);
    color: var(--dark);
}

.match-count {
    color: var(--gray);
    font-weight: 600;
}

.tournament-progress {
    margin: 1.5rem 0;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.progress {
    height: 10px;
    background: var(--dark);
    overflow: hidden;
    border-radius: 5px;
}

.progress-bar {
    border-radius: 5px;
    background: var(--gradient-primary);
}

.tournament-stats {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--dark);
    border-radius: 8px;
}

.stat-group {
    display: flex;
    justify-content: space-around;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.stat i {
    font-size: 1.25rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Champion Cards */
.champion-card {
    background: var(--secondary);
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.champion-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.champion-banner {
    height: 80px;
    background: var(--gradient-primary);
    position: relative;
}

.champion-rank {
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: var(--primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.champion-rank i {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.champion-details {
    padding: 1.5rem;
    position: relative;
}

.champion-avatar {
    position: absolute;
    top: -40px;
    left: 1.5rem;
    width: 80px;
    height: 80px;
    background: var(--dark);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 2rem;
}

.champion-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid var(--dark);
}

.champion-status.online {
    background: var(--success);
}

.champion-status.offline {
    background: var(--gray);
}

.champion-info {
    margin-left: 95px;
    margin-bottom: 1.5rem;
}

.champion-info h4 {
    margin: 0;
    font-size: 1.25rem;
}

.team-name {
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.champion-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.champion-stats .stat {
    text-align: center;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray);
}

.stat-value {
    font-weight: 700;
    color: var(--light);
}

.champion-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tournament-name {
    font-size: 0.8rem;
    color: var(--gray);
}

/* Modal Styling */
.modal-content {
    background: var(--secondary);
    border: 1px solid var(--primary);
}

.modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.modal-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.form-control, .form-select {
    background: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
}

.form-control:focus, .form-select:focus {
    background: var(--dark);
    color: var(--light);
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(255, 199, 0, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .tournament-banner {
        height: 80px;
    }
    
    .quick-stat {
        margin-bottom: 1.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .champion-avatar {
        width: 60px;
        height: 60px;
        top: -30px;
        font-size: 1.5rem;
    }
    
    .champion-info {
        margin-left: 75px;
    }
}

@media (max-width: 768px) {
    .tournament-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-group {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .champion-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .champion-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .tournament-card {
        margin-bottom: 1.5rem;
    }
    
    .live-indicator {
        position: relative;
        top: 0;
        right: 0;
        display: inline-flex;
        margin-bottom: 1rem;
    }
    
    .tournament-header h3 {
        font-size: 1.5rem;
    }
}

/* Hero Section Fixes */
.hero-banner {
    padding-top: 9rem;
    padding-bottom: 12rem;
    min-height: auto;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #080a12 0%, #0f1424 100%);
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='2' fill='rgba(255,255,255,0.03)' /%3E%3C/svg%3E");
    background-repeat: repeat;
    z-index: 1;
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(66, 71, 171, 0.2) 0%, transparent 70%);
    z-index: 3;
}

.hero-content {
    margin-bottom: 5rem;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 1.5rem !important;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 198, 0, 0.3);
    animation: pulseBadge 2s infinite ease-in-out;
    width: auto;
    display: block;
    text-align: center;
}

@keyframes pulseBadge {
    0% { box-shadow: 0 0 0 0 rgba(255, 198, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 198, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 198, 0, 0); }
}

.hero-title {
    margin-bottom: 1.5rem;
    font-size: 4.5rem;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
    display: inline-block;
    line-height: 1.2;
}

.hero-title .text-primary {
    background: linear-gradient(to right, #ffd700, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer; /* Ensure cursor changes to pointer */
    text-decoration: none; /* Remove any decoration */
    display: inline-block; /* Ensure proper display */
}

.hero-buttons .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.hero-stats-container {
    position: relative;
    transform: translateY(0);
    margin-top: 2rem;
    z-index: 10;
}

.hero-stats {
    display: flex;
    justify-content: space-between;
    background: rgba(15, 17, 35, 0.8);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-item {
    text-align: center;
    padding: 0 1rem;
    position: relative;
}

.hero-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 70%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.hero-stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 198, 0, 0.2), rgba(255, 198, 0, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: var(--primary);
    font-size: 1.25rem;
    position: relative;
    border: 1px solid rgba(255, 198, 0, 0.2);
}

.hero-stat-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255, 198, 0, 0.3);
    animation: ripple 2s infinite ease-out;
    z-index: -1;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.hero-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 0.25rem;
    background: linear-gradient(to right, var(--light) 30%, var(--primary) 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .hero-banner {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-content {
        margin-bottom: 3rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-stat-item:not(:last-child)::after {
        display: none;
    }
}

/* Features Section */
.section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.25rem;
    border: 1px solid var(--primary);
    box-shadow: 0 0 15px rgba(255, 198, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.section-badge::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 198, 0, 0.5), transparent 70%);
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 0.7; transform: scale(1.1); }
    100% { opacity: 0.3; transform: scale(0.8); }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

.section-title .text-primary {
    background: linear-gradient(to right, #ffd700, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(15, 17, 35, 0.6);
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 198, 0, 0.1) 0%, rgba(15, 17, 35, 0) 100%);
    z-index: -1;
    transition: all 0.5s ease;
    opacity: 0;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255, 198, 0, 0.3) 0%, transparent 70%);
    top: -50%;
    left: -50%;
    z-index: -2;
    transition: all 0.5s ease;
    opacity: 0;
    transform: scale(0.5);
}

.feature-card:hover::after {
    opacity: 0.5;
    transform: scale(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 198, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    display: inline-block;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(255, 198, 0, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light);
    position: relative;
    z-index: 2;
}

.feature-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--primary);
    margin: 0.75rem auto;
}

.feature-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.feature-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    background: rgba(255, 198, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    z-index: 2;
}

.feature-link:hover {
    background: rgba(255, 198, 0, 0.2);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    letter-spacing: 1px;
    z-index: 3;
}

.feature-card.featured {
    border-color: rgba(255, 198, 0, 0.3);
    background: linear-gradient(135deg, rgba(15, 17, 35, 0.9) 0%, rgba(35, 37, 55, 0.8) 100%);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .feature-title {
        font-size: 1.25rem;
    }
}

/* Program Badge Styles */
.program-badge {
    display: inline-block !important;
    padding: 0.5rem 1.5rem !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 30px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: var(--primary) !important;
    letter-spacing: 1px !important;
    margin-bottom: 1.5rem !important;
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 198, 0, 0.3) !important;
    animation: pulseBadge 2s infinite ease-in-out !important;
    width: auto !important;
    height: auto !important;
    justify-content: center !important;
    align-items: center !important;
}

.program-badge.missions {
    background: rgba(255, 162, 0, 0.1) !important; 
}

.program-badge.leaderboard {
    background: rgba(0, 162, 255, 0.1) !important;
}

.program-badge.tournaments {
    background: rgba(255, 0, 100, 0.1) !important;
}

/* Enhanced Footer Styles */
.footer {
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 2rem;
    letter-spacing: 1px;
}

.footer-heading {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-links a i {
    font-size: 0.7rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover i {
    opacity: 1;
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
    padding: 0.75rem 1rem;
}

.newsletter-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.newsletter-form .btn {
    padding: 0.75rem 1.5rem;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-bottom {
    padding-top: 1rem;
}

.footer-bottom-links a {
    color: var(--gray);
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

.social-links-footer {
    display: flex;
    gap: 1rem;
}

.social-link-footer {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.social-link-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: all 0.5s ease;
}

.social-link-footer:hover::before {
    left: 100%;
}

.social-link-footer:hover {
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-link-footer.discord:hover {
    background: #5865F2;
}

.social-link-footer.twitter:hover {
    background: #000000;
}

.social-link-footer.youtube:hover {
    background: #FF0000;
}

.social-link-footer.facebook:hover {
    background: #4267B2;
}

.back-to-top {
    position: fixed;
    bottom: -60px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: 0 0 15px rgba(255, 199, 0, 0.3);
}

.back-to-top.active {
    bottom: 20px;
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: #ffdd44;
    color: var(--dark);
}

@media (max-width: 768px) {
    .footer {
        padding-top: 3rem;
    }
    
    .footer-heading {
        margin-top: 1rem;
    }
    
    .social-links-footer {
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .footer-bottom {
        text-align: center;
    }
}

/* Stats Bar */
.stats-bar {
    background-color: rgba(15, 20, 25, 0.95);
    border-radius: 10px;
    margin: -20px auto 40px;
    position: relative;
    z-index: 10;
    max-width: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}

.stats-bar::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.stats-container {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    min-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.stat-box {
    text-align: center;
    padding: 0 10px;
    flex: 1;
    white-space: nowrap;
}

.stat-box i {
    font-size: 1.5rem;
    margin-bottom: 5px;
    display: block;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

@media (min-width: 992px) {
    .stats-container {
        max-width: 1200px;
        min-width: auto;
    }
    
    .stats-bar {
        overflow-x: visible;
    }
}

@media (max-width: 767px) {
    .hide-sm {
        display: none;
    }
    
    .stats-container {
        justify-content: space-around;
    }
    
    .stats-bar {
        margin: 0 auto 30px;
        border-radius: 0;
    }
}

@media (max-width: 575px) {
    .hide-xs {
        display: none;
    }
    
    .stat-box {
        padding: 0 5px;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
}

/* Global Statistics Bar */
.global-stats-bar {
    background-color: rgba(11, 15, 18, 0.9);
    position: relative;
    margin-top: -20px;
    margin-bottom: 40px;
    z-index: 99;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.global-stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 25px 15px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}

.global-stats-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.global-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    min-width: 120px;
    position: relative;
}

.global-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.global-stat i {
    font-size: 24px;
    margin-bottom: 10px;
}

.global-stat .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.global-stat .stat-label {
    font-size: 11px;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .global-stat .stat-value {
        font-size: 24px;
    }
}

@media (max-width: 992px) {
    .global-stats-container {
        padding: 20px 10px;
    }
    
    .global-stat {
        padding: 0 15px;
    }
    
    .global-stat i {
        font-size: 20px;
        margin-bottom: 5px;
    }
    
    .global-stat .stat-value {
        font-size: 20px;
    }
    
    .global-stat .stat-label {
        font-size: 9px;
    }
}

@media (max-width: 768px) {
    .global-stats-bar {
        margin-top: 0;
    }
    
    .global-stats-container {
        justify-content: flex-start;
        padding: 15px 5px;
    }
    
    .global-stat {
        min-width: 100px;
    }
}

@media (max-width: 576px) {
    .global-stat .stat-value {
        font-size: 18px;
    }
    
    .global-stat i {
        font-size: 18px;
    }
    
    .global-stat .stat-label {
        font-size: 8px;
        letter-spacing: 1px;
    }
}

/* Form Elements Styling */
.custom-input {
    background-color: rgba(15, 20, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.custom-input:focus {
    background-color: rgba(15, 20, 25, 0.8);
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
    color: #fff;
}

.custom-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-select.custom-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffc107' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    appearance: none;
}

.form-check-input {
    background-color: rgba(15, 20, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}

.form-label {
    color: #e5e5e5;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.custom-checkbox .form-check-label {
    color: rgba(255, 255, 255, 0.8);
}

/* Login/Register Page Specific */
.card-header h3 {
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-footer a {
    font-weight: 600;
    transition: all 0.3s ease;
}

.card-footer a:hover {
    color: #fff;
    text-decoration: none;
}

/* Add purple badge style for duo tournaments */
.bg-purple {
    background-color: #6f42c1;
    color: #ffffff;
}

/* Add shine animation to tournament cards on hover */
@keyframes shine {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 0%;
    }
}

.tournament-footer .btn:hover {
    background-image: linear-gradient(45deg, #ff9500 0%, #ffc600 40%, #ff9500 60%, #ffc600 100%);
    background-size: 200% 100%;
    animation: shine 1.5s infinite linear;
    color: #0f1923;
    border-color: transparent;
    font-weight: 700;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
}

/* Tournament Spacing & Dividers */
.divider-line {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 198, 0, 0.3), transparent);
    margin: var(--section-spacing-sm) 0;
    position: relative;
}

.divider-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, rgba(255, 199, 0, 0.1), var(--primary), rgba(255, 199, 0, 0.1));
    border-radius: 5px;
}

/* Consistent spacing between sections */
section + section {
    position: relative;
}

/* For maintaining proper vertical rhythm when sections have the same background */
.bg-dark + .bg-dark,
.bg-dark-overlay + .bg-dark-overlay,
.bg-gradient + .bg-gradient {
    padding-top: 0;
}

/* Space before all divider lines */
.divider-line {
    margin-top: var(--section-spacing-sm);
    margin-bottom: var(--section-spacing-sm);
}

/* Improved Hero Section Spacing */
.page-hero {
    position: relative;
    z-index: 1;
    padding: calc(var(--section-spacing-md) + 20px) 0 var(--section-spacing-sm);
}

@media (max-width: 991px) {
    .page-hero {
        padding: var(--section-spacing-md) 0 var(--section-spacing-sm);
    }
}

@media (max-width: 767px) {
    .page-hero {
        padding: var(--section-spacing-sm) 0 var(--section-spacing-xs);
    }
}

@media (max-width: 576px) {
    .page-hero {
        padding: var(--section-spacing-xs) 0 calc(var(--section-spacing-xs) / 1.5);
    }
}

/* Heroes Page Styles */
.hero-filter {
    text-align: center;
    margin-bottom: 2rem;
}

.hero-filter-buttons .btn {
    margin: 0 0.25rem;
    border-radius: 30px;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-filter-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-filter-buttons .btn.active {
    background: var(--gradient-primary);
    color: var(--dark);
    border-color: transparent;
}

.hero-card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, #141e2a, #0d151e);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    backface-visibility: hidden;
    transform: translateZ(0);
}

.hero-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 198, 0, 0.2);
}

.hero-card:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 198, 0, 0.1), transparent 30%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.hero-card:hover:after {
    opacity: 1;
}

.hero-card-banner {
    height: 80px;
    position: relative;
    background: var(--gradient-dark);
    overflow: hidden;
    z-index: 1; /* Ensure lower z-index than navbar */
}

.hero-card-banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern-tactical.svg') center/50px;
    opacity: 0.05;
    animation: moveBackground 30s linear infinite;
}

@keyframes moveBackground {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

.hero-card-banner.tier-1 {
    background: linear-gradient(135deg, #ffd700 0%, #ff9500 100%);
}

.hero-card-banner.tier-2 {
    background: linear-gradient(135deg, #c0c0c0 0%, #8a8a8a 100%);
}

.hero-card-banner.tier-3 {
    background: linear-gradient(135deg, #cd7f32 0%, #8b5a2b 100%);
}

.hero-card-banner.tier-4 {
    background: linear-gradient(135deg, #2e8b57 0%, #196f3d 100%);
}

.tier-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--primary);
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    font-size: 0.8rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
    z-index: 5;
}

.hero-card-avatar {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--dark);
    border: 3px solid var(--primary);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.hero-card:hover .hero-card-avatar {
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 198, 0, 0.3);
}

.hero-card-avatar .avatar-icon {
    font-size: 2rem;
    color: var(--light);
}

.status-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--gray);
    border: 2px solid var(--dark);
}

.status-indicator.online {
    background: var(--success);
    box-shadow: 0 0 10px rgba(0, 255, 140, 0.5);
    animation: pulse 2s infinite;
}

.hero-card-content {
    padding: 4rem 1.25rem 1.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.hero-name {
    margin: 0 0 0.25rem;
    font-size: 1.5rem;
    color: var(--light);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.hero-card:hover .hero-name {
    color: var(--primary);
}

.hero-uid {
    margin: 0 0 1.5rem;
    font-size: 0.9rem;
    color: var(--primary);
    font-family: monospace;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.hero-card:hover .hero-uid {
    opacity: 1;
}

.hero-social {
    margin-top: auto;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.hero-social a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    transition: all 0.3s ease;
    font-size: 1.25rem;
    position: relative;
    overflow: hidden;
}

.hero-social a:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.5s ease;
}

.hero-social a:hover:before {
    transform: scale(1);
}

.hero-social a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.hero-social a[title="Twitter"]:hover {
    background: #1DA1F2;
    color: white;
}

.hero-social a[title="YouTube"]:hover {
    background: #FF0000;
    color: white;
}

.hero-social a[title="Twitch"]:hover {
    background: #6441A4;
    color: white;
}

@media (max-width: 768px) {
    .hero-card {
        max-width: 300px;
        margin: 0 auto 1.5rem;
    }
    
    .hero-card-content {
        padding: 4rem 1rem 1rem;
    }
}

@media (max-width: 576px) {
    .hero-name {
        font-size: 1.35rem;
    }
    
    .hero-uid {
        margin-bottom: 1rem;
    }
    
    .hero-social {
        gap: 1rem;
    }
    
    .hero-social a {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
}

/* Improved hero filter buttons */
.hero-filter-buttons {
    display: inline-flex;
    padding: 5px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-filter-buttons .btn {
    border-radius: 30px;
    padding: 8px 16px;
    margin: 0 5px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-filter-buttons .btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    opacity: 0;
    background: linear-gradient(135deg, #ffc600 0%, #ff7b00 100%);
    z-index: -1;
    transition: opacity 0.3s ease;
}

.hero-filter-buttons .btn.active:before,
.hero-filter-buttons .btn:hover:before {
    opacity: 1;
}

.hero-filter-buttons .btn.active,
.hero-filter-buttons .btn:hover {
    color: var(--dark);
    border-color: transparent;
}

.hero-filter-buttons .btn:not(.active):hover {
    transform: translateY(-2px);
}

/* Hero animation classes */
.hero-fade-out {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Add pulse animation for online indicators */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 140, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 140, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 140, 0); }
}

.status-indicator.online {
    animation: pulse 2s infinite;
}

/* Tier Card Styles */
.tier-card {
    background: linear-gradient(145deg, #141e2a, #0d151e);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1; /* Lower z-index than navbar */
}

.tier-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.tier-card-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.tier-title {
    display: flex;
    flex-direction: column;
}

.tier-title h3 {
    margin: 0.5rem 0 0;
    font-size: 1.5rem;
    color: var(--light);
}

.tier-card-body {
    padding: 1.5rem;
}

.tier-description {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.tier-requirements h4 {
    color: var(--light);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.tier-requirements ul {
    list-style: none;
    padding-left: 1rem;
    margin-bottom: 0;
}

.tier-requirements li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray);
}

.tier-requirements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Tier specific styles */
.tier-card.tier-1 .tier-card-header {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%);
    border-left: 3px solid #ffd700;
}

.tier-card.tier-2 .tier-card-header {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.1) 0%, transparent 100%);
    border-left: 3px solid #c0c0c0;
}

.tier-card.tier-3 .tier-card-header {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.1) 0%, transparent 100%);
    border-left: 3px solid #cd7f32;
}

.tier-card.tier-4 .tier-card-header {
    background: linear-gradient(135deg, rgba(46, 139, 87, 0.1) 0%, transparent 100%);
    border-left: 3px solid #2e8b57;
}

@media (max-width: 768px) {
    .tier-card {
        margin-bottom: 1.5rem;
    }
    
    .tier-title h3 {
        font-size: 1.35rem;
    }
}

/* Fix for hero cards */
.hero-card-banner {
    height: 80px;
    position: relative;
    background: var(--gradient-dark);
    overflow: hidden;
    z-index: 1; /* Ensure lower z-index than navbar */
}

/* Hero card sections z-index fix */
.section-padding-sm, 
.section-padding,
.global-stats-bar,
.page-hero {
    position: relative;
    z-index: 1; /* Lower than navbar */
}

/* Set appropriate z-index for fixed elements */
.back-to-top {
    z-index: 99;
}

/* Process Card Styles */
.process-card {
    background: linear-gradient(145deg, #141e2a, #0d151e);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.process-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.process-card-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.process-card-header h3 {
    color: var(--light);
    font-size: 1.75rem;
    margin-bottom: 0;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
}

.process-step:hover {
    transform: translateY(-5px);
    background: rgba(255, 198, 0, 0.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.process-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--dark);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.process-step:hover .process-icon {
    background: linear-gradient(135deg, var(--primary) 0%, #ff9500 100%);
    color: var(--dark);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 198, 0, 0.3);
}

.process-step h4 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--gray);
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .process-step {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .process-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .process-step h4 {
        font-size: 1.1rem;
    }
}

/* Modified Hero Card Banner Styles for Content Heroes */
.hero-card-banner.tier-1 {
    background: linear-gradient(135deg, #6441a4 0%, #483d8b 100%); /* Twitch-inspired for streamers */
}

.hero-card-banner.tier-2 {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%); /* YouTube-inspired for content creators */
}

.hero-card-banner.tier-3 {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8ecf 100%); /* Twitter-inspired for social media */
}

.hero-card-banner.tier-4 {
    background: linear-gradient(135deg, #ff6b00 0%, #ff9a55 100%); /* Rising stars */
}

/* Enhanced Benefit Card Styles */
.benefit-card {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.benefit-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 198, 0, 0.1) 0%, transparent 80%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.benefit-card:hover:before {
    opacity: 1;
}

.benefit-highlight {
    margin-top: auto;
    padding-top: 1rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.benefit-highlight:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

/* Testimonial Card */
.testimonial-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-content {
    position: relative;
    padding-left: 2rem;
}

.quote-icon {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--primary);
    font-size: 2rem;
    opacity: 0.5;
}

.testimonial-card blockquote {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--light);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--dark);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
}

.author-info h4 {
    margin: 0;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 700;
}

.author-info p {
    margin: 0;
    color: var(--gray);
    font-size: 0.9rem;
}

/* Application Section Enhancements */
.hero-application-section {
    position: relative;
}

.hero-application-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern-tactical.svg') center/150px;
    opacity: 0.02;
    pointer-events: none;
}

.application-steps {
    text-align: left;
    padding-right: 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.application-highlights {
    text-align: left;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.highlights-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.highlights-header h4 {
    margin: 0;
    color: var(--light);
    font-size: 1.2rem;
}

.highlights-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.highlights-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--gray);
}

.highlights-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.highlights-note {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--primary);
    font-style: italic;
}

/* Application Timer */
.application-timer {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1rem;
    max-width: 450px;
    margin: 0 auto;
}

.timer-label {
    color: var(--light);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.countdown-display {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.countdown-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.count-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    min-width: 2.5rem;
    text-align: center;
}

.count-label {
    font-size: 0.8rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .application-steps {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-right: 0;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }
    
    .application-highlights {
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .count-number {
        font-size: 1.5rem;
    }
    
    .countdown-display {
        gap: 1rem;
    }
}

/* Programs Showcase Styles */
.programs-showcase {
    padding: 2rem 0;
}

.program-row {
    padding: 2.5rem 0;
    position: relative;
}

.program-row:not(:last-child):after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15%;
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 198, 0, 0.3), transparent);
}

.program-content {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.program-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
    border: 1px solid var(--primary);
    box-shadow: 0 0 15px rgba(255, 198, 0, 0.2);
}

.program-title {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    color: var(--light);
    position: relative;
    display: inline-block;
}

.program-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.program-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--light);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.program-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.program-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray);
    font-size: 0.95rem;
}

.program-feature i {
    font-size: 1.1rem;
}

.program-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 350px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.program-image {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    transition: all 0.5s ease;
}

.program-image:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.program-row:hover .program-image {
    transform: scale(1.05);
}

.missions-image {
    background-image: url('../images/missions-bg.jpg');
}

.leaderboard-image {
    background-image: url('../images/leaderboard-bg.jpg');
}

.tournaments-image {
    background-image: url('../images/tournaments-bg.jpg');
}

.private-tournaments-image {
    background-image: url('../images/private-tournaments-bg.jpg');
}

.overlay-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 198, 0, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
    pointer-events: none;
}

.program-row:hover .overlay-glow {
    opacity: 1;
}

.image-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding: 1.5rem;
    z-index: 3;
}

.image-stat {
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 198, 0, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    backdrop-filter: blur(5px);
}

.image-stat .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.image-stat .stat-label {
    font-size: 0.8rem;
    color: var(--light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .program-title {
        font-size: 2rem;
    }
    
    .program-features {
        grid-template-columns: 1fr;
    }
    
    .program-image-container {
        height: 250px;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .program-row {
        padding: 2rem 0;
    }
    
    .program-content {
        padding: 1rem 0;
    }
    
    .image-stat {
        padding: 0.5rem 1rem;
    }
    
    .image-stat .stat-value {
        font-size: 1.25rem;
    }
}

/* Programs Showcase Section */
.programs-showcase {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.programs-showcase h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.programs-showcase h2:after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    margin: 15px auto 0;
}

.program-row {
    padding: 40px 0;
    position: relative;
}

.program-row:not(:last-child):after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.program-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 30px;
}

.program-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #fff;
}

.program-badge.missions {
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
}

.program-badge.leaderboard {
    background: linear-gradient(135deg, #0072ff, #00c6ff);
}

.program-badge.tournaments {
    background: linear-gradient(135deg, #764ba2, #667eea);
}

.program-badge.private-tournaments {
    background: linear-gradient(135deg, #fc5c7d, #6a82fb);
}

.program-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.program-description {
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.program-features {
    margin-bottom: 20px;
}

.program-feature {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.9);
}

.program-feature i {
    margin-right: 10px;
    color: #ff7e5f;
}

.program-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    border-radius: 30px;
    background: transparent;
    border: 2px solid #ff7e5f;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.program-btn:hover {
    background: #ff7e5f;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.program-btn i {
    margin-left: 5px;
}

.program-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    height: 300px;
}

.program-image.missions {
    background: linear-gradient(135deg, #2b5876, #4e4376);
}

.program-image.leaderboard {
    background: linear-gradient(135deg, #134e5e, #71b280);
}

.program-image.tournaments {
    background: linear-gradient(135deg, #3a1c71, #d76d77, #ffaf7b);
}

.program-image.private-tournaments {
    background: linear-gradient(135deg, #c31432, #240b36);
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-image:hover img {
    transform: scale(1.05);
}

.program-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: all 0.3s ease;
}

.program-image:hover .program-image-overlay {
    background: rgba(0,0,0,0.2);
}

.program-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.program-stat {
    text-align: center;
    color: #fff;
}

.program-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.program-stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 992px) {
    .program-row {
        text-align: center;
    }
    
    .program-content {
        padding: 30px 15px;
    }
    
    .program-image {
        margin-bottom: 30px;
        height: 250px;
    }
    
    .program-row:nth-child(even) .col-lg-6:first-child {
        order: 0;
    }
}

@media (max-width: 576px) {
    .programs-showcase {
        padding: 50px 0;
    }
    
    .program-title {
        font-size: 1.8rem;
    }
    
    .program-stat-value {
        font-size: 1.5rem;
    }
    
    .program-stat-label {
        font-size: 0.7rem;
    }
}

/* Responsive section spacing */
@media (max-width: 991px) {
    .section-padding {
        padding: var(--section-spacing-md) 0;
    }
    
    .section-padding-sm {
        padding: var(--section-spacing-sm) 0;
    }
    
    .section-padding-lg {
        padding: var(--section-spacing-lg) 0;
    }
}

@media (max-width: 767px) {
    .section-padding {
        padding: var(--section-spacing-md) 0;
    }
    
    .section-padding-sm {
        padding: var(--section-spacing-sm) 0;
    }
    
    .divider-line {
        margin-top: var(--section-spacing-xs);
        margin-bottom: var(--section-spacing-xs);
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: var(--section-spacing-sm) 0;
    }
    
    .section-padding-sm {
        padding: var(--section-spacing-xs) 0;
    }
    
    .section-padding-lg {
        padding: var(--section-spacing-md) 0;
    }
    
    .divider-line {
        margin-top: calc(var(--section-spacing-xs) / 2);
        margin-bottom: calc(var(--section-spacing-xs) / 2);
    }
}

/* Spacing Utilities */
.mb-section {
    margin-bottom: var(--section-spacing-sm);
}

.mb-section-sm {
    margin-bottom: var(--section-spacing-xs);
}

.mt-section {
    margin-top: var(--section-spacing-sm);
}

.mt-section-sm {
    margin-top: var(--section-spacing-xs);
}

.py-section {
    padding-top: var(--section-spacing-sm);
    padding-bottom: var(--section-spacing-sm);
}

.py-section-sm {
    padding-top: var(--section-spacing-xs);
    padding-bottom: var(--section-spacing-xs);
}

/* Section Header Improvements */
.section-header {
    margin-bottom: calc(var(--section-spacing-sm) / 1.5);
}

.section-badge {
    margin-bottom: 1.5rem;
}

/* Content Block Spacing */
.content-block {
    margin-bottom: var(--section-spacing-xs);
}

.content-block:last-child {
    margin-bottom: 0;
}

/* Row Spacing in Sections */
.row + .row {
    margin-top: 2rem;
}

/* Card Grid Spacing */
.card-grid .row {
    margin-bottom: -30px;
}

.card-grid .col-lg-3,
.card-grid .col-lg-4,
.card-grid .col-md-6 {
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    .mb-section {
        margin-bottom: var(--section-spacing-xs);
    }
    
    .mb-section-sm {
        margin-bottom: calc(var(--section-spacing-xs) / 1.5);
    }
    
    .mt-section {
        margin-top: var(--section-spacing-xs);
    }
    
    .section-header {
        margin-bottom: calc(var(--section-spacing-xs) / 1.2);
    }
    
    .row + .row {
        margin-top: 1.5rem;
    }
}

@media (max-width: 576px) {
    .mb-section {
        margin-bottom: calc(var(--section-spacing-xs) / 1.5);
    }
    
    .section-header {
        margin-bottom: var(--section-spacing-xs);
    }
    
    .row + .row {
        margin-top: 1rem;
    }
    
    .card-grid .col-lg-3,
    .card-grid .col-lg-4,
    .card-grid .col-md-6 {
        margin-bottom: 20px;
    }
}

/* Improved Global Stats Bar Spacing */
.global-stats-bar {
    margin-bottom: var(--section-spacing-sm);
    padding: calc(var(--section-spacing-xs) / 1.5) 0;
}

@media (max-width: 767px) {
    .global-stats-bar {
        margin-bottom: var(--section-spacing-xs);
        padding: calc(var(--section-spacing-xs) / 2) 0;
    }
}

/* Consistent Card Spacing */
.tournament-card,
.hero-card,
.mission-card,
.feature-card,
.tier-card,
.benefit-card,
.process-card,
.winner-card {
    margin-bottom: 30px;
    height: 100%;
}

@media (max-width: 576px) {
    .tournament-card,
    .hero-card,
    .mission-card,
    .feature-card,
    .tier-card,
    .benefit-card,
    .process-card,
    .winner-card {
        margin-bottom: 20px;
    }
}

/* Featured Section Spacing */
section.featured-section {
    padding-top: var(--section-spacing-lg);
    padding-bottom: var(--section-spacing-lg);
}

@media (max-width: 767px) {
    section.featured-section {
        padding-top: var(--section-spacing-md);
        padding-bottom: var(--section-spacing-md);
    }
}

/* Footer Section Spacing */
.footer {
    padding-top: var(--section-spacing-lg);
    padding-bottom: 0;
}

.footer-bottom {
    padding-top: var(--section-spacing-xs);
    padding-bottom: var(--section-spacing-xs);
}

@media (max-width: 767px) {
    .footer {
        padding-top: var(--section-spacing-md);
    }
    
    .footer-heading {
        margin-bottom: calc(var(--section-spacing-xs) / 2);
    }
}

.tournament-status {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

/* Enhanced Leaderboard Styles */
.leaderboard-table-container {
    position: relative;
    background: linear-gradient(145deg, rgba(26, 31, 36, 0.7), rgba(15, 25, 35, 0.9));
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 199, 0, 0.1);
    overflow: hidden;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.leaderboard-table {
    margin-bottom: 0;
    table-layout: fixed;
    width: 100%;
    color: var(--light);
    border-collapse: separate;
    border-spacing: 0;
    font-family: var(--font-primary);
}

.leaderboard-table thead {
    background: rgba(0, 0, 0, 0.3);
}

.leaderboard-table thead th {
    padding: 1.25rem 1rem;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    color: var(--primary);
    position: relative;
    white-space: nowrap;
}

.leaderboard-table thead th:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.leaderboard-table tbody tr {
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.leaderboard-table tbody tr:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 199, 0, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    pointer-events: none;
}

.leaderboard-table tbody tr:hover:before {
    opacity: 1;
}

.leaderboard-table tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-bottom-color: rgba(255, 199, 0, 0.2);
}

.leaderboard-table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border: none;
    font-size: 0.95rem;
}

.leaderboard-row td:first-child {
    border-left: 3px solid transparent;
}

.leaderboard-row:hover td:first-child {
    border-left-color: var(--primary);
}

/* Rank badges */
.rank-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto;
    font-size: 1.1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    background: var(--dark);
    color: var(--light);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transform: scale(0);
    animation: rankAppear 0.5s ease forwards;
}

.rank-badge.animate-in {
    animation: rankAppear 0.5s ease forwards;
}

@keyframes rankAppear {
    0% { transform: scale(0); }
    70% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.rank-badge:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.leaderboard-row:hover .rank-badge:before {
    opacity: 1;
}

.rank-1 {
    background: linear-gradient(135deg, #ffd700 0%, #ff9500 100%);
    color: var(--dark);
    border: none;
    font-size: 1.2rem;
}

.rank-2 {
    background: linear-gradient(135deg, #c0c0c0 0%, #8a8a8a 100%);
    color: var(--dark);
    border: none;
}

.rank-3 {
    background: linear-gradient(135deg, #cd7f32 0%, #8b5a2b 100%);
    color: var(--dark);
    border: none;
}

/* Player details */
.player-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid var(--primary);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.player-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.player-name-link {
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.player-name-link:before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.player-name-link:hover {
    color: var(--primary);
}

.player-name-link:hover:before {
    width: 100%;
}

.player-uid-mobile, .completion-date-mobile {
    font-size: 0.8rem;
    color: var(--gray);
}

/* Mission info */
.mission-info {
    display: flex;
    flex-direction: column;
}

.mission-name {
    font-weight: 600;
    margin-bottom: 0.15rem;
    color: var(--primary);
}

.mission-desc {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Video proof button */
.video-proof-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    background: rgba(255, 199, 0, 0.15);
    border: 1px solid var(--primary);
    color: var(--primary);
}

.video-proof-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    background: var(--primary);
    color: var(--dark);
}

.video-proof-btn i {
    transition: transform 0.3s ease;
}

.video-proof-btn:hover i {
    transform: scale(1.2);
}

/* Total wins */
.total-wins {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--success);
    text-shadow: 0 0 10px rgba(0, 255, 140, 0.3);
    font-family: var(--font-primary);
    text-align: center;
    display: block;
}

/* Pagination and Results Info */
.results-info {
    font-size: 0.9rem;
}

.pagination {
    margin-bottom: 0;
}

.pagination .page-item.active .page-link {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: var(--dark);
}

.pagination .page-link {
    background: rgba(0, 0, 0, 0.2);
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: rgba(255, 199, 0, 0.2);
    color: var(--primary);
    border-color: var(--primary);
}

.pagination .page-item.disabled .page-link {
    background: rgba(0, 0, 0, 0.1);
    color: rgba(255, 255, 255, 0.4);
}

/* No Results */
.no-results {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.no-results-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    opacity: 0.6;
}

/* Highlight top 3 rows */
.leaderboard-row:nth-child(1) {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.05) 0%, transparent 80%);
}

.leaderboard-row:nth-child(2) {
    background: linear-gradient(90deg, rgba(192, 192, 192, 0.05) 0%, transparent 80%);
}

.leaderboard-row:nth-child(3) {
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.05) 0%, transparent 80%);
}

/* Leaderboard Filters */
.leaderboard-filters {
    background: linear-gradient(145deg, rgba(26, 31, 36, 0.7), rgba(15, 25, 35, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.leaderboard-filters label {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.leaderboard-filters .form-select,
.leaderboard-filters .form-control {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
    height: 45px;
}

.leaderboard-filters .form-select:focus,
.leaderboard-filters .form-control:focus {
    background: rgba(0, 0, 0, 0.4);
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(255, 199, 0, 0.25);
    color: var(--light);
}

.leaderboard-filters .input-group-text {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .leaderboard-table thead th {
        font-size: 0.9rem;
        padding: 1rem 0.75rem;
    }
    
    .leaderboard-table tbody td {
        padding: 0.75rem;
    }
    
    .rank-badge {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .player-avatar {
        width: 32px;
        height: 32px;
    }
    
    .player-name {
        font-size: 0.95rem;
    }
    
    .mission-name {
        font-size: 0.95rem;
    }
    
    .total-wins {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .leaderboard-table-container {
        border-radius: 8px;
    }
    
    .leaderboard-table thead th {
        font-size: 0.85rem;
        padding: 0.85rem 0.5rem;
    }
    
    .leaderboard-table tbody td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .rank-badge {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .total-wins {
        font-size: 1rem;
    }
    
    .mission-name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 150px;
    }
    
    .mission-desc {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 150px;
    }
    
    .results-info {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .leaderboard-table {
        min-width: 650px;
    }
    
    .leaderboard-filters form {
        flex-direction: column;
    }
    
    .leaderboard-filters .col-md-3 {
        margin-bottom: 1rem;
    }
    
    .results-info,
    .pagination {
        width: 100%;
        text-align: center;
        justify-content: center;
        margin-bottom: 1rem;
    }
}

/* Player Details Modal */
.player-profile-container {
    padding: 1rem;
}

.player-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.player-name-large {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    color: var(--light);
}

.player-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.player-detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--light);
}

@media (max-width: 576px) {
    .player-details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .player-avatar-large {
        width: 80px;
        height: 80px;
    }
    
    .player-name-large {
        font-size: 1.5rem;
    }
}

/* Programs Showcase Section - Text Badges */
.program-badge {
    display: inline-block !important;
    padding: 5px 15px !important;
    border-radius: 20px !important;
    font-size: 0.8rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 15px !important;
    font-weight: 600 !important;
    color: #fff !important;
    width: auto !important;
    height: auto !important;
    border: none !important;
    box-shadow: none !important;
}

.program-badge.missions {
    background: linear-gradient(135deg, #ff7e5f, #feb47b) !important;
}

.program-badge.leaderboard {
    background: linear-gradient(135deg, #0072ff, #00c6ff) !important;
}

.program-badge.tournaments {
    background: linear-gradient(135deg, #764ba2, #667eea) !important;
}

.program-badge.private-tournaments {
    background: linear-gradient(135deg, #fc5c7d, #6a82fb) !important;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(255, 198, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 198, 0, 0.8);
    }
    100% {
        box-shadow: 0 0 5px rgba(255, 198, 0, 0.5);
    }
}

.btn-glow {
    animation: glow 2s infinite ease-in-out;
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255, 198, 0, 0.3) 0%, transparent 70%);
    transform: scale(0);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: -1;
}

.btn-glow:hover::before {
    transform: scale(1);
    opacity: 0.5;
}

.glow-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle at center, rgba(255, 198, 0, 0.8), transparent 70%);
    border-radius: 50%;
    animation: pulseCorner 2s infinite ease-in-out;
}

@keyframes pulseCorner {
    0% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
}

.top-left {
    top: -15px;
    left: -15px;
}

.top-right {
    top: -15px;
    right: -15px;
}

.bottom-left {
    bottom: -15px;
    left: -15px;
}

.bottom-right {
    bottom: -15px;
    right: -15px;
}

.highlighted-card {
    background: rgba(15, 17, 35, 0.8);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 198, 0, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Animation for section entry */
[data-aos="fade-up"] {
    transform: translateY(50px);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

[data-aos="fade-in"] {
    opacity: 0;
    transition: opacity 0.8s ease;
}

[data-aos="fade-in"].aos-animate {
    opacity: 1;
}

/* Enhanced background for sections */
.section-padding {
    position: relative;
    z-index: 1;
}

.section-padding::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(35, 37, 55, 0.4) 0%, transparent 70%);
    z-index: -1;
}

/* Pulse badge effect */
.pulse-badge {
    position: relative;
}

.pulse-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 198, 0, 0.3);
    border-radius: 50%;
    animation: badgePulse 2s infinite;
    z-index: -1;
}

@keyframes badgePulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Tournament Details */
.tournament-banner-content {
    position: relative;
    z-index: 1;
}

.announcement-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 30px;
    background: rgba(255, 198, 0, 0.1);
    border: 1px solid rgba(255, 198, 0, 0.3);
}

.banner-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light);
}

.banner-desc {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.banner-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.banner-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.detail-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 198, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.detail-content {
    flex: 1;
}

.detail-value {
    font-weight: 600;
    color: var(--light);
    font-size: 0.9rem;
}

.detail-label {
    font-size: 0.8rem;
    color: var(--gray);
}

.tournament-countdown {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.countdown-title {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    letter-spacing: 1px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.countdown-box {
    width: 80px;
    height: 80px;
    background: rgba(15, 17, 35, 0.6);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 198, 0, 0.2);
}

.countdown-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--light);
}

.countdown-label {
    font-size: 0.7rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-separator {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: -10px;
}

@media (max-width: 992px) {
    .banner-details {
        grid-template-columns: 1fr;
    }
    
    .countdown-box {
        width: 60px;
        height: 60px;
    }
    
    .countdown-value {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .banner-title {
        font-size: 1.75rem;
    }
    
    .tournament-countdown {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .countdown-timer {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .countdown-box {
        width: 65px;
        height: 65px;
        margin-bottom: 1rem;
    }
}
        margin-bottom: 1rem;
    }
}