
:root {
    --primary-color: #dc3443;
    --secondary-color: #1b1b1b;
    --accent-color: #dc2626;
    --dark-bg: #0f172a;
    --light-text: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.1);
    --card-border: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--light-text);
    background-color: var(--dark-bg);
    overflow-x: hidden;
}

/* Hero Background */
.hero-bg {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/web/images/bg-2.jpeg') center/cover;
    opacity: 0.7;
    filter: brightness(0.3) blur(1px);
    z-index: -1;
}

.match-hero{
    padding-top: 120px!important;
    padding-bottom: 60px!important;
}

.matches-hero{
    padding-top: 220px!important;
    padding-bottom: 60px!important;
}

/* Glass Effect Cards */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.navbar {
    background: rgba(15, 23, 42, 0.9) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 0 !important;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--light-text) !important;
}

.nav-link {
    color: var(--light-text) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 0.9rem;
    color: white !important;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(220, 52, 67, 0.4);
    color: white !important;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--light-text);
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--light-text);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 10px 20px !important;
    font-size: 1rem !important;
}

/* Typography */
.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Sponsor Logo */
.sponsor-logo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sponsor-logo img {
    height: 40px;
    width: auto;
}

/* Mobile First */
@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll;
    }
    
    .sponsor-logo {
        bottom: 10px;
        right: 10px;
        padding: 8px;
    }
    
    .sponsor-logo img {
        height: 30px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-hero {
    padding-top: 220px!important;
    padding-bottom: 160px!important;
  min-height: unset!important;
}



.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Sponsor Color Overrides */
.text-warning {
    color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: white !important;
}

.bg-warning {
    background-color: var(--primary-color) !important;
    color: white !important;
}

/* Button Text Color Overrides */
.btn-primary,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:visited {
    color: white !important;
}

.btn-primary:hover {
    color: white !important;
}

/* Ensure all text on dark backgrounds is light */
[class*="btn-primary"],
[class*="bg-primary"] {
    color: white !important;
}

[class*="btn-primary"] *,
[class*="bg-primary"] * {
    color: white !important;
}

/* Countdown Timer Styles */
.countdown-number {
    display: inline-block;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin: 0 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-label {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0.25rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .countdown-number {
        font-size: 2rem;
        margin: 0 0.25rem;
    }
    
    .countdown-label {
        font-size: 1rem;
        margin: 0 0.15rem;
    }
}

/* Score Tabs Grid */
#scoreTabsGrid {
    display: flex !important;
    flex-wrap: wrap !important;
}

#scoreTabsGrid .col-lg-1 {
    flex: 0 0 10% !important;
    max-width: 10% !important;
}

#scoreTabsGrid .col-md-2 {
    flex: 0 0 16.666667% !important;
    max-width: 16.666667% !important;
}

#scoreTabsGrid .col-sm-3 {
    flex: 0 0 20% !important;
    max-width: 20% !important;
}

#scoreTabsGrid .col-3 {
    flex: 0 0 20% !important;
    max-width: 20% !important;
}

/* Score Tab Navigation */
.score-tab-btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 8px 16px;
    transition: all 0.3s ease;
    border-width: 2px;
}

.score-tab-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.score-tab-btn.active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(220, 52, 67, 0.4);
}

/* Score Tab Button Colors */
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
    color: white !important;
}

/* Score Tab Cards */
#scoreTabsGrid .glass-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#scoreTabsGrid .glass-card:hover:not(.opacity-50) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

#scoreTabsGrid .glass-card.border-warning {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(220, 52, 67, 0.2);
}

/* Score Text Styling */
#scoreTabsGrid .glass-card .h4 {
    color: white !important;
    font-weight: 700;
}

#scoreTabsGrid .glass-card .text-primary {
    color: white !important;
}

#scoreTabsGrid .glass-card .text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Slot Counter Badges */
#scoreTabsGrid .badge {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}

@media (max-width: 768px) {
    #scoreTabsGrid .col-lg-1,
    #scoreTabsGrid .col-md-2,
    #scoreTabsGrid .col-sm-3 {
        flex: 0 0 20% !important;
        max-width: 20% !important;
    }
    
    #scoreTabsGrid .glass-card {
        text-align: center !important;
        padding: 0.75rem !important;
    }
    
    #scoreTabsGrid .glass-card .h5 {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    #scoreTabsGrid .glass-card .small {
        font-size: 0.75rem !important;
        line-height: 1.2 !important;
    }
    
    #scoreTabsGrid .glass-card .badge {
        font-size: 0.65rem !important;
        padding: 0.25rem 0.5rem !important;
    }
    
    /* Mobile score tab navigation */
    .score-tab-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}