:root {
    --bg-dark: #0c0c0c;
    --primary-color: #00ff1a;
    --primary-color-dark: #00cc14;
    --secondary-gray: #1a1a1a;
    --text-light: #ffffff;
    --accent-gray: #333333;
    --spacing: 24px;
    --border-radius: 8px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    color: var(--text-light);
}

/* Navigation */
.navbar {
    background-color: var(--bg-dark) !important;
    border-bottom: 1px solid var(--accent-gray);
    padding: var(--spacing) 0;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar .container {
    padding-left: 38px;  /* 1cm from left */
    padding-right: 38px; /* 1cm from right */
    max-width: 100%;    /* Allow full width */
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
    margin-right: 2rem;
    margin-left: 0;     /* Reset any default margin */
}

.navbar-brand img {
    height: 48px;
    width: auto;
    margin-right: 10px;
    background: none;
    filter: none;
    opacity: 1;
}

.navbar-brand span {
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.navbar-dark .navbar-brand span {
    color: var(--primary-color);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    white-space: nowrap; /* Prevent text wrapping */
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Mobile navigation improvements */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-dark);
        padding: 1rem;
        z-index: 1000;
        border-bottom: 1px solid var(--accent-gray);
        margin-top: 0;
    }

    .navbar-nav {
        padding: 0.5rem 0;
    }

    .nav-item {
        padding: 0.5rem 1rem;
    }

    .navbar-toggler {
        margin-right: 0; /* Ensure toggle button aligns with right margin */
        padding: 0.5rem;
    }
    
    /* Make site title responsive */
    .site-title {
        font-size: 1.5rem; /* Slightly smaller on tablets */
    }
}

@media (min-width: 992px) {
    .navbar-collapse {
        position: static;
        background: none;
        padding: 0;
        border: none;
    }

    .navbar-nav {
        margin-right: 0; /* Ensure nav items align with right margin */
    }
    
    /* Ensure dropdown menu appears from the right side */
    .navbar-collapse {
        display: flex !important;
        justify-content: flex-end !important;
    }
}

/* Added responsive styling for smaller screens */
@media (max-width: 576px) {
    .site-title {
        font-size: 1.2rem; /* Smaller font on phones */
    }
}

/* Very small screens - hide the title completely */
@media (max-width: 360px) {
    .site-title {
        display: none;
    }
}

.nav-link {
    color: var(--text-light) !important;
    transition: color 0.3s ease;
}

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

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

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.carousel-item img {
    object-fit: cover;
    height: 600px;
    filter: brightness(0.9);
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.7);
    padding: var(--spacing);
    border-radius: var(--border-radius);
    bottom: 50%;
    transform: translateY(50%);
    max-width: 700px;
    margin: 0 auto;
    left: 0;
    right: 0;
    backdrop-filter: blur(5px);
    border-left: 5px solid var(--primary-color);
    z-index: 2;
}

.carousel-caption h1 {
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.carousel-caption .btn-success {
    background-color: var(--primary-color);
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.carousel-caption .btn-success:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    z-index: 3;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 20px;
}

/* Dot decorations for hero */
.dot-hero-1 {
    top: 15%;
    right: 25%;
    width: 50px;
    height: 50px;
}

.dot-hero-2 {
    bottom: 25%;
    left: 20%;
}

.x-hero-1 {
    top: 20%;
    left: 25%;
}

.lines-hero-1 {
    bottom: 20%;
    right: 20%;
    width: 180px;
    height: 180px;
}

/* Leagues Section */
.leagues-section {
    background-color: var(--bg-dark);
    padding: 80px 0;
    overflow: hidden;
}

.leagues-section .section-header {
    position: relative;
}

.leagues-section h2 {
    color: var(--text-light);
    position: relative;
    display: inline-block;
}

.leagues-section .lead {
    color: #bbb;
    max-width: 700px;
    margin: 0 auto;
}

.leagues-section .btn-success {
    background-color: var(--primary-color);
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.leagues-section .btn-success:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Dot decorations for leagues section */
.dot-leagues-1 {
    top: 15%;
    right: 10%;
    width: 40px;
    height: 40px;
}

.dot-leagues-2 {
    bottom: 20%;
    left: 10%;
}

.x-leagues-1 {
    top: 70%;
    right: 15%;
}

.lines-leagues-1 {
    top: 10%;
    left: 10%;
    width: 150px;
    height: 150px;
}

/* League Cards */
.league-card {
    background-color: var(--secondary-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: none;
    position: relative;
}

.league-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 255, 26, 0.15);
}

.league-card .card {
    background-color: var(--secondary-gray);
    border: none;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.league-card .card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.league-card:hover .card::after {
    transform: scaleX(1);
    transform-origin: left;
}

.league-card .card-img-container {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.league-card .card-img-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7));
    z-index: 1;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.league-card:hover .card-img-container::before {
    opacity: 0.5;
}

.league-card .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.league-card:hover .card-img-top {
    transform: scale(1.1);
}

.league-card .card-body {
    color: var(--text-light);
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.league-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
    position: relative;
    padding-bottom: 0.75rem;
}

.league-card .card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.league-card .card-text {
    margin-bottom: 1.5rem;
}

.league-card .league-detail {
    display: block;
    margin-bottom: 0.75rem;
    color: #bbb;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.league-card:hover .league-detail {
    color: #fff;
}

.league-card .league-detail i {
    width: 20px;
    margin-right: 8px;
    color: var(--primary-color);
}

.league-card .btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    color: black;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.league-card .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.league-card .btn-primary:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.league-card .btn-primary:hover::before {
    width: 100%;
}

/* Media query for smaller devices */
@media (max-width: 768px) {
    .league-card .card-img-container {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .league-card .card-img-container {
        height: 160px;
    }
}

/* Fixtures Section */
.fixtures-section {
    background-color: var(--accent-gray);
}

.fixture-card {
    background-color: var(--secondary-gray);
    border-radius: var(--border-radius);
    padding: 15px;
    margin-bottom: 0;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 90px;
    justify-content: center;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.fixture-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Played match styling */
.fixture-card:not(.upcoming) {
    background-color: #1a1a1a;
    border-left: 3px solid #333333;
}

/* Upcoming fixture styling */
.fixture-card.upcoming {
    background-color: #0a1a0a;  /* Dark green background */
    border-left: 3px solid var(--primary-color);
}

.fixture-status {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    background-color: rgba(0, 255, 26, 0.2);
    color: #fff;
}

.fixture-status.result-status {
    background-color: rgba(51, 51, 51, 0.6);
    color: #ccc;
}

/* Remove the ::after pseudo-element since we're using a span now */
.fixture-card:not(.upcoming)::after {
    content: none;
}

.fixture-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;  /* Add space for the status label */
}

.team-name {
    flex: 1;
    max-width: 40%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 10px;
    font-size: 0.95rem;  /* Slightly smaller font size */
}

.team-name.team-left {
    text-align: right;
}

.team-name.team-right {
    text-align: left;
}

.score-container {
    flex: 0 0 auto;
    min-width: 80px;
    text-align: center;
    margin: 0 10px;
}

.score {
    background-color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    min-width: 60px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: black;
}

.time {
    display: inline-block;
    min-width: 60px;
    text-align: center;
    font-weight: bold;
    background-color: rgba(0, 204, 20, 0.7);  /* Lighter green */
    color: black;
    padding: 4px 12px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.fixture-date {
    text-align: center;
    margin-top: 6px;  /* Reduced from 10px */
    font-size: 0.8rem;  /* Slightly smaller font size */
}

.fixture-card.upcoming .fixture-date {
    color: #d9d9d9;
    font-weight: 500;
}

.fixture-card.upcoming .text-muted {
    color: #d9d9d9 !important;
}

/* Responsive adjustments for fixtures */
@media (max-width: 576px) {
    .team-name {
        font-size: 0.9rem;
    }
    
    .score, .time {
        min-width: 50px;
        padding: 4px 8px;
        font-size: 0.9rem;
    }
}

/* Forms */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: var(--spacing);
}

.form-control {
    margin-bottom: var(--spacing);
}

/* Footer */
.footer {
    background-color: var(--bg-dark) !important;
    color: #fff;
    padding: 2rem 0;
    border-top: 1px solid var(--accent-gray);
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 1rem;
}

.footer-brand h5 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-size: 1rem;
    color: #bbb;
}

.quick-links-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.quick-links-list {
    padding-left: 0;
}

.quick-links-list li {
    margin-bottom: 0.5rem;
}

.quick-links-list li a {
    color: #bbb;
    font-size: 1rem;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.quick-links-list li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-gray);
    border-radius: 50%;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: black;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section {
        height: 500px;
    }

    .carousel-item img {
        height: 500px;
    }
    
    .carousel-caption {
        width: 80%;
        padding: 1.5rem;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .leagues-section h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 450px;
    }

    .carousel-item img {
        height: 450px;
    }
    
    .carousel-caption {
        bottom: 0;
        transform: none;
        width: 90%;
        padding: 1.25rem;
    }
    
    .carousel-caption h1 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .carousel-caption .btn-success {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .leagues-section {
        padding: 50px 0;
    }
    
    .leagues-section h2 {
        font-size: 2rem;
    }
    
    .leagues-section .btn-success {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }

    .footer .row {
        flex-direction: column;
        text-align: center;
    }

    /* Hide Quick Links on small screens */
    .quick-links-col {
        display: none;
    }

    /* Hide 'Follow Us' on small screens */
    .follow-us-title {
        display: none;
    }

    /* Logo and Social Links centered for small screens */
    .footer-brand {
        margin-bottom: 1rem;
    }

    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    /* Adjust decorative elements */
    .decorative-dot {
        width: 20px !important;
        height: 20px !important;
    }
    
    .decorative-lines {
        width: 80px !important;
        height: 80px !important;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 400px;
    }

    .carousel-item img {
        height: 400px;
    }
    
    .carousel-caption {
        width: 95%;
        padding: 1rem;
        bottom: 10px;
    }
    
    .carousel-caption h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        padding: 10px;
    }
    
    .leagues-section h2 {
        font-size: 1.75rem;
    }
    
    .leagues-section .lead {
        font-size: 1rem;
    }
    
    .leagues-section .btn-success {
        width: 100%;
    }
    
    .league-card .card-img-container {
        height: 180px;
    }
    
    .league-card .card-title {
        font-size: 1.25rem;
    }
    
    .league-card .card-body {
        padding: 1rem;
    }
    
    .league-card .league-detail {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .decorative-dot, 
    .decorative-x {
        display: none;
    }
}

/* Loading States */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing);
}

.loading::after {
    content: "";
    width: 40px;
    height: 40px;
    border: 4px solid var(--secondary-gray);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error States */
.error-message {
    color: black;
    padding: var(--spacing);
    border-radius: var(--border-radius);
    background-color: var(--primary-color);
    margin-bottom: var(--spacing);
}

/* Tables */
.table {
    color: var(--text-light);
    margin-bottom: 0;
    background-color: var(--bg-dark);
    font-size: 1rem;
}

.table thead th {
    background-color: var(--primary-color);
    color: black;
    border: none;
    padding: 12px 16px;
    font-weight: 600;
    text-align: center;
    text-transform: capitalize;
}

.table tbody td {
    padding: 12px 16px;
    border: none;
    text-align: center;
    vertical-align: middle;
}

.table tbody tr:nth-child(odd) {
    background-color: var(--secondary-gray);
}

.table tbody tr:nth-child(even) {
    background-color: rgba(74, 74, 74, 0.7);
}

.table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    padding-left: 24px;
}

.table tbody td:last-child {
    font-weight: 700;
    padding-right: 24px;
}

/* Table Container */
.table-responsive {
    background-color: var(--bg-dark);
    border-radius: var(--border-radius);
    overflow-x: auto; /* Allow horizontal scroll when needed */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    margin-bottom: 2rem;
    width: 100%;
}

/* Tab Navigation */
.nav-tabs {
    border-bottom: 1px solid var(--accent-gray);
}

.nav-tabs .nav-link {
    color: var(--text-light);
    background: none;
    border: none;
    padding: 8px 16px;
    margin-right: 4px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: var(--text-light);
    background-color: rgba(0, 255, 26, 0.2); /* semi-transparent green */
    border: none;
}

.nav-tabs .nav-link.active {
    color: black !important;
    background-color: var(--primary-color);
    border: none;
    font-weight: 500;
}

/* Fixtures section titles */
.fixtures-section h4, 
#fixtures h4,
#fixturesContainer h4,
#fixtures-tab,
#fixturesContent h4 {
    font-weight: 600;
    color: var(--text-light);
}

/* Make sure tab content is visible */
.tab-content {
    padding-top: 20px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* List Groups */
.list-group-item {
    background-color: var(--secondary-gray);
    border: 1px solid var(--accent-gray);
    color: var(--text-light);
    padding: 15px;  /* Match fixture card padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Badges */
.badge.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Custom Card Styles */
.card {
    background-color: var(--secondary-gray);
    border: none;
}

.card-header {
    background-color: var(--primary-color);
    color: black;
    border: none;
}

.card-header h4 {
    color: black;
    font-weight: 600;
    margin-bottom: 0;
}

.card-body {
    color: var(--text-light);
}

/* Match Results */
.team-name {
    font-weight: 500;
    color: var(--text-light);
}

.matchweek-title, .matchday-title {
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-gray);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight: 600;
}

/* League Table Styles */
.table th, .table td {
    vertical-align: middle;
    white-space: nowrap; /* Prevent wrapping so horizontal scroll works */
}

.table th:first-child, .table td:first-child {
    text-align: center;
    width: 50px;
}

/* About Page Styles */
.about-hero {
    background-color: var(--secondary-gray);
    padding: 80px 0;
}

.about-hero h1 {
    color: var(--text-light);
    font-weight: 700;
}

.about-hero .lead {
    color: #e0e0e0;
    font-size: 1.25rem;
}

.about-hero p {
    color: #bbb;
    font-size: 1.1rem;
}

.mission-section {
    background-color: var(--bg-dark);
    padding: 80px 0;
}

.mission-card {
    background-color: var(--secondary-gray);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 3px solid var(--primary-color);
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 26, 0.1);
}

.mission-card .card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.mission-card h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.mission-card p {
    color: #bbb;
    margin-bottom: 0;
}

.features-section {
    background-color: var(--secondary-gray);
    padding: 80px 0;
}

.feature-card {
    background-color: var(--bg-dark);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid var(--primary-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 26, 0.1);
}

.feature-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h4 {
    color: var(--text-light);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #bbb;
    margin-bottom: 0;
}

.contact-section {
    background-color: var(--bg-dark);
    padding: 80px 0;
}

.contact-section h2 {
    color: var(--text-light);
}

.contact-section p {
    color: #bbb;
}

.contact-info a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-color);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-gray);
    border-radius: 50%;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: black;
    transform: translateY(-3px);
}

/* Responsive styles for About page */
@media (max-width: 991.98px) {
    .about-hero {
        padding: 60px 0;
        text-align: center;
    }

    .about-hero img {
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .mission-card, .feature-card {
        margin-bottom: 1.5rem;
    }

    .contact-section {
        padding: 60px 0;
    }
}

/* Signup Page Styles */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/signup-hero.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 5rem 0;
    margin-bottom: 3rem;
}

.signup-section .card {
    border: none;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.signup-section .card:hover {
    transform: translateY(-5px);
}

.signup-section .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.signup-section .form-control,
.signup-section .form-select {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.signup-section .form-control:focus,
.signup-section .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 255, 26, 0.25);
}

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

.signup-section .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    color: black;
}

.signup-section .btn-primary:hover {
    background-color: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
    transform: translateY(-2px);
}

.signup-section .btn-primary:active {
    transform: translateY(0);
}

.signup-section .form-check-label {
    font-weight: 400;
}

.signup-section p.text-muted.small {
    font-size: 0.85rem;
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .signup-section .card-body {
        padding: 1.5rem;
    }
}

/* Football Promo Section */
.football-promo-section {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 !important;
    overflow: hidden;
    background-color: #121212;
    position: relative;
}

.football-promo-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(to right, rgba(0, 20, 0, 0.7), transparent);
    background-size: cover;
    opacity: 0.5;
    z-index: 0;
}

.football-promo-section .row {
    min-height: 600px;
    position: relative;
    z-index: 1;
}

.football-promo-section .bg-dark {
    background-color: #0c0c0c !important;
    position: relative;
    overflow: hidden;
}

.football-promo-section .bg-dark::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 50%, rgba(0, 255, 26, 0.15) 0%, transparent 60%);
    z-index: 0;
}

.football-promo-section .promo-content {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.football-promo-section .logo {
    display: flex;
    align-items: center;
}

.football-promo-section h2 {
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: -1px;
    font-size: 3.5rem;
}

.football-promo-section .text-success {
    color: #00ff1a !important;
}

.football-promo-section .border-success {
    border-color: #00ff1a !important;
}

.football-promo-section .promo-register p {
    font-size: 1.1rem;
    line-height: 1.5;
}

.football-promo-section .promo-image-container {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.football-promo-section .promo-image-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5), transparent);
    z-index: 1;
}

.football-promo-section .promo-image-container img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: grayscale(90%);
    object-position: center;
}

.football-promo-section .register-team {
    background-color: transparent;
    padding: 25px;
    width: 350px;
    right: 50px;
    bottom: 50px;
    z-index: 2;
    text-align: right;
}

.football-promo-section .register-team h3 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.football-promo-section .register-team p {
    margin-bottom: 1.5rem;
}

.football-promo-section .btn-success {
    background-color: #00ff1a;
    border-color: #00ff1a;
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 50px;
    padding: 0.75rem 2rem;
}

.football-promo-section .btn-success:hover {
    background-color: #00cc14;
    border-color: #00cc14;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 255, 26, 0.3);
}

@media (max-width: 768px) {
    .football-promo-section .row {
        flex-direction: column;
    }
    
    .football-promo-section .register-team {
        width: 100%;
        position: relative !important;
        right: 0;
        bottom: 0;
        text-align: center;
        background-color: rgba(0, 0, 0, 0.8);
        padding: 20px;
    }
    
    .football-promo-section .promo-image-container {
        min-height: 400px;
    }
    
    .football-promo-section h2 {
        font-size: 2.5rem;
    }
}

.decorative-x {
    position: absolute;
    width: 25px;
    height: 25px;
    z-index: 1;
    opacity: 0.2;
}

.decorative-x::before,
.decorative-x::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    top: 50%;
    left: 0;
    transform-origin: center;
}

.decorative-x::before {
    transform: translateY(-50%) rotate(45deg);
}

.decorative-x::after {
    transform: translateY(-50%) rotate(-45deg);
}

.x-1 {
    top: 15%;
    left: 45%;
}

.x-2 {
    bottom: 30%;
    right: 20%;
}

.decorative-lines {
    position: absolute;
    width: 100px;
    height: 100px;
    z-index: 1;
    opacity: 0.2;
}

.decorative-lines::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 5px,
        #ffffff 5px,
        #ffffff 7px
    );
}

.lines-1 {
    top: 10%;
    right: 35%;
    width: 150px;
    height: 150px;
}

.lines-2 {
    bottom: 15%;
    right: 45%;
    width: 120px;
    height: 120px;
}

/* League Version Selector */
.version-info {
    display: flex;
    align-items: center;
}

.version-info .badge {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
}

.version-selector {
    display: flex;
    gap: 0.5rem;
}

.season-selector .form-select,
.division-selector .form-select {
    background-color: var(--secondary-gray);
    color: var(--text-light);
    border-color: var(--accent-gray);
    min-width: 150px;
}

.season-selector .form-select:focus,
.division-selector .form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 255, 26, 0.25);
    border-color: var(--primary-color);
}

/* Ensure dark text on green backgrounds */
.badge.bg-primary,
.card-header,
.table thead th,
.score,
.time,
.football-promo-section .btn-success,
.btn-primary,
.btn-success {
    color: #000 !important;
    font-weight: 600;
}

@media (max-width: 576px) {
    .version-info, .version-selector {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .version-selector {
        flex-direction: column;
    }
    
    .season-selector .form-select,
    .division-selector .form-select {
        width: 100%;
    }
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

.carousel-caption h1 {
    animation: fadeInUp 1s ease forwards;
}

.carousel-caption p {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.carousel-caption .btn-success {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.decorative-dot {
    animation: pulse 4s infinite ease-in-out;
    display: none; /* Ensure dots are hidden */
}

.dot-hero-1 {
    animation-delay: 0s;
}

.dot-hero-2 {
    animation-delay: 1s;
}

.dot-leagues-1 {
    animation-delay: 0.5s;
}

.dot-leagues-2 {
    animation-delay: 1.5s;
}

.decorative-lines {
    animation: float 6s infinite ease-in-out;
}

.lines-hero-1 {
    animation-delay: 0s;
}

.lines-leagues-1 {
    animation-delay: 1s;
}

.leagues-section .section-header h2 {
    animation: fadeInUp 1s ease forwards;
}

.leagues-section .section-header p {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

/* Add card reveal animation */
.league-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

#leagues-container > div:nth-child(1) .league-card {
    animation-delay: 0.2s;
}

#leagues-container > div:nth-child(2) .league-card {
    animation-delay: 0.4s;
}

#leagues-container > div:nth-child(3) .league-card {
    animation-delay: 0.6s;
}

.leagues-section .text-center .btn-success {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

/* Leagues Header (replacing hero image) */
.leagues-header {
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    border-bottom: 1px solid var(--accent-gray);
}

.leagues-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 50%, rgba(0, 255, 26, 0.15) 0%, transparent 60%);
    z-index: 0;
}

.leagues-header .row {
    position: relative;
    z-index: 1;
}

.leagues-header h1 {
    color: var(--text-light);
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.leagues-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
}

.leagues-header .lead {
    color: #bbb;
    margin-top: 20px;
}

/* Signup Modal Styles */
.modal-content {
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.modal-content.bg-dark {
    background-color: var(--bg-dark) !important;
    position: relative;
}

.modal-content.bg-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100% 0%, rgba(0, 255, 26, 0.15) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.modal-header, .modal-body, .modal-footer {
    position: relative;
    z-index: 1;
}

.modal-title {
    color: var(--text-light);
    font-weight: 700;
    position: relative;
    display: inline-block;
    font-size: 1.5rem;
}

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

.modal .form-control.bg-secondary,
.modal .form-select.bg-secondary {
    background-color: var(--secondary-gray) !important;
    border: 1px solid var(--accent-gray);
    color: var(--text-light) !important;
}

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

.modal .form-label {
    color: var(--text-light);
    font-weight: 500;
}

.modal .form-check-label {
    color: #e0e0e0;
}

.modal .text-muted.small {
    color: #aaa !important;
}

.modal .btn-primary {
    background-color: var(--primary-color);
    border: none;
    color: #000 !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal .btn-primary:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.modal .btn-secondary {
    background-color: var(--accent-gray);
    border: none;
}

@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.5rem;
    }
}

/* Animation for modal */
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: scale(0.95);
}

.modal.show .modal-dialog {
    transform: scale(1);
}