h2.services-title {
    text-align: center;
    margin-top: 40px;
    font-size: 2em;
}

.services-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    margin: 32px 0;
}

.service-block {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    padding: 32px 28px;
    min-width: 220px;
    max-width: 320px;
    flex: 1 1 220px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}

.service-block:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
    transform: translateY(-4px) scale(1.03);
}

.service-block strong {
    display: block;
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #d32f2f;
}

/* ----------------------------------------
   SUPERADMIN BADGE
----------------------------------------- */
.superadmin-badge {
    display: inline-block;
    background: linear-gradient(90deg, #d32f2f 0%, #ff9800 100%);
    color: #fff;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.15);
    letter-spacing: 1px;
    font-size: 1.1em;
    text-transform: uppercase;
    border: 2px solid #fff3e0;
    margin: 8px 0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.superadmin-badge:hover {
    transform: scale(1.07);
    box-shadow: 0 4px 16px rgba(211, 47, 47, 0.25);
}

/* ----------------------------------------
   ALGEMENE INSTELLINGEN
----------------------------------------- */
html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    padding-top: 80px;
    font-family: "Poppins", Arial, sans-serif;
    background: #f7f7fb;
    color: #222;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Main content wrapper - takes remaining space */
body>header,
body>.navbar {
    flex-shrink: 0;
}

/* All content except footer should grow */
body>*:not(footer) {
    flex: 1 0 auto;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
}

/* ----------------------------------------
   NAVIGATIEBALK - PROFESSIONEEL & MODERN
----------------------------------------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0f172a;
    /* Modern Navy */
    padding: 0 50px;
    color: white;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}


/* Ensure language selector is at the end of navbar on desktop */
.navbar .language-selector-header {
    order: 999;
    margin-left: auto;
}

/* Mobile Menu Toggle Button - Professional Design */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    padding: 10px 12px;
    z-index: 1001;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mobile-menu-toggle.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.mobile-menu-toggle span {
    width: 26px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
    background: white;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
    background: white;
}

.logo {
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: transform 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
    flex: 1;
    justify-content: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    margin-right: auto;
}

/* Hide nav-links by default on mobile, show only in hamburger menu */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
    }
}

.nav-links li {
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Dropdown Menu - Simple hover like example */
.dropdown-menu-item {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.dropdown-arrow-nav {
    font-size: 10px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    padding: 12px 0;
    z-index: 1001;
    border-radius: 8px;
    list-style: none;
    margin: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Show dropdown on hover */
.dropdown-menu-item:hover .dropdown-menu {
    display: block;
}

.dropdown-menu-item:hover .dropdown-arrow-nav {
    transform: rotate(180deg);
}

/* Also show when clicked (for mobile) */
.dropdown-menu-item.dropdown-open .dropdown-menu {
    display: block !important;
}

.dropdown-menu-item.dropdown-open .dropdown-arrow-nav {
    transform: rotate(180deg);
}

/* Desktop: Hover works automatically with CSS */
@media (min-width: 769px) {
    .dropdown-menu-item:hover .dropdown-menu {
        display: block;
    }
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
    width: 100%;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    color: #2c2c2c;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    white-space: nowrap;
    position: relative;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, #cc0000, #b30000);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 4px 4px 0;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: linear-gradient(90deg,
            rgba(204, 0, 0, 0.08) 0%,
            rgba(204, 0, 0, 0.05) 100%);
    color: #cc0000;
    padding-left: 32px;
    transform: translateX(4px);
}

.dropdown-menu a:hover::before {
    width: 4px;
}

.dropdown-menu a::after {
    display: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
    white-space: nowrap;
    display: inline-block;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.nav-links a.active {
    background: rgba(255, 255, 255, 0.12);
    padding: 6px 12px;
    border-radius: 8px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.login-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #cc0000 !important;
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(204, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.login-btn:hover::before {
    width: 300px;
    height: 300px;
}

.login-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
}

.login-btn span {
    position: relative;
    z-index: 1;
}

.admin-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white !important;
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 14px rgba(255, 107, 53, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-decoration: none;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.admin-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.admin-btn:hover::before {
    width: 300px;
    height: 300px;
}

.admin-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 8px 24px rgba(255, 107, 53, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #f7931e 0%, #ff6b35 100%);
}

.admin-btn span {
    position: relative;
    z-index: 1;
}

.language-selector {
    display: flex;
    gap: 10px;
    margin-left: 30px;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    padding-left: 30px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Language Selector in Nav - Beautiful modern design */
.language-selector-nav {
    margin-left: 20px;
    flex-shrink: 0;
    order: 999;
}

.language-selector-header {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.15);
    padding: 3px;
    border-radius: 30px;
    backdrop-filter: blur(15px);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.language-selector-header:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.language-selector-header .lang-btn {
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    background: transparent;
    white-space: nowrap;
}

.language-selector-header .lang-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.language-selector-header .lang-btn:hover::before {
    width: 120px;
    height: 120px;
}

.language-selector-header .lang-btn span,
.language-selector-header .lang-btn {
    position: relative;
    z-index: 1;
}

.language-selector-header .lang-btn:hover {
    transform: translateY(-1px);
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.language-selector-header .lang-btn.active {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #cc0000;
    font-weight: 700;
    box-shadow:
        0 4px 12px rgba(255, 255, 255, 0.4),
        0 2px 6px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.language-selector-header .lang-btn.active::before {
    background: rgba(204, 0, 0, 0.05);
    width: 100%;
    height: 100%;
    border-radius: 25px;
}

.language-selector-header .lang-btn.active:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow:
        0 6px 18px rgba(255, 255, 255, 0.5),
        0 3px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Desktop/Tablet: Enhanced styling for larger screens */
@media (min-width: 769px) {
    .language-selector-nav {
        margin-left: 30px;
    }

    .language-selector-header {
        gap: 6px;
        padding: 4px;
    }

    .language-selector-header .lang-btn {
        padding: 9px 20px;
        font-size: 13px;
        letter-spacing: 0.3px;
    }

    .language-selector-header .lang-btn.active {
        padding: 9px 22px;
    }
}

.lang-btn {
    color: white;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.4);
    display: inline-block;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-2px);
}

.lang-btn.active {
    background: white;
    color: #cc0000;
    border-color: white;
    font-weight: 700;
}

/* ----------------------------------------
   USER MENU (NA INLOGGEN)
----------------------------------------- */
.user-menu-container {
    position: relative;
    margin-left: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.user-name-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: white !important;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.user-name-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.user-icon {
    font-size: 18px;
    display: flex;
    align-items: center;
}

.user-name-text {
    white-space: nowrap;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
    margin-left: 4px;
}

.user-menu-container:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.user-menu-container:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #cc0000;
    padding-left: 22px;
}

.dropdown-item span:first-child {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.dropdown-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 4px 0;
}

.logout-item {
    color: #dc3545;
}

.logout-item:hover {
    background: #fff5f5;
    color: #c82333;
}

/* ----------------------------------------
   HERO SECTIE - MODERN DESIGN
----------------------------------------- */
.hero-modern {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    margin-top: 70px;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    will-change: opacity;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
}

.hero-quote {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 50px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
    letter-spacing: -0.5px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn-primary {
    background: #007bff;
    color: white;
    padding: 16px 40px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 16px 40px;
    border: 2px solid white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background: white;
    color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.hero-slider-indicators {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.hero-slider-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slider-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.hero-slider-indicators .indicator.active {
    background: white;
    width: 32px;
    border-radius: 6px;
}

.cta {
    background: #cc0000;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    display: inline-block;
    margin-top: 20px;
}

.cta:hover {
    background: #a30000;
}

/* ----------------------------------------
   MATCHES HOME SECTION
----------------------------------------- */
.matches-home-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.matches-home-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

.match-card-home {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.match-card-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #cc0000 0%, #990000 100%);
}

.match-card-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(204, 0, 0, 0.15);
    border-color: #cc0000;
}

.latest-result-card {
    background: linear-gradient(135deg, #ffffff 0%, #fff9f9 100%);
}

.next-match-card-home {
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
}

.match-card-header-home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.match-card-header-home h3 {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #cc0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.competition-badge-home {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a1a;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.match-teams-home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.match-team-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.match-team-home img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
    background: #f8f9fa;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-logo-placeholder-home {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.match-team-home span {
    font-weight: 700;
    font-size: 16px;
    color: #333;
    text-align: center;
}

.match-vs-home {
    font-size: 18px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.match-score-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.final-score-home {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 36px;
    font-weight: 900;
}

.score-home,
.score-away {
    color: #cc0000;
    min-width: 40px;
    text-align: center;
}

.score-separator {
    color: #999;
}

.draw-badge-home {
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-left: 10px;
}

.half-time-score-home {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}

.half-time-label {
    background: #f0f0f0;
    color: #666;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.match-meta-home {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

.match-date-home,
.match-time-home {
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.location-link-home {
    color: #cc0000;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.location-link-home:hover {
    color: #990000;
    transform: translateX(3px);
}

.view-all-link-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cc0000;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

.view-all-link-home::after {
    content: '→';
    transition: transform 0.3s ease;
}

.view-all-link-home:hover {
    color: #990000;
    gap: 12px;
}

.view-all-link-home:hover::after {
    transform: translateX(5px);
}

.video-container-home {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background: #000;
    margin-top: 20px;
    margin-bottom: 15px;
}

.video-container-home iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.live-timer-home,
.countdown-timer-home,
.half-time-indicator-home {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding: 10px 16px;
    border-radius: 8px;
}

.live-timer-home {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.countdown-timer-home {
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.3);
}

.half-time-indicator-home {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.live-indicator {
    font-size: 12px;
    animation: pulse-live 1.5s ease-in-out infinite;
}

.live-text,
.half-time-text {
    color: #dc3545;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}

.match-timer-home,
.match-countdown-home {
    color: #333;
    font-weight: 700;
    font-size: 14px;
    font-family: 'Courier New', monospace;
}

.half-time-icon {
    font-size: 14px;
}

/* Featured Matches Section (Next Match & Latest Result) */
.featured-matches-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
}

.featured-matches-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.featured-match-card {
    background: white;
    border-radius: 20px;
    /* Slightly tighter radius */
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    /* Subtle Shadow */
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Very subtle border */
    position: relative;
    overflow: hidden;
}

.featured-match-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #cc0000;
    transform: scaleX(0);
    /* Hidden by default */
    transition: transform 0.3s ease;
    transform-origin: left;
}

.featured-match-card:hover::before {
    transform: scaleX(1);
    /* Slide in on hover */
}

.featured-match-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.05);
}

.featured-match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.featured-match-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    /* Navy */
    margin: 0;
    letter-spacing: -0.5px;
}

.competition-badge-featured {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a1a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.featured-match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.featured-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.featured-team-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
    background: white;
    padding: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.featured-team-logo:hover {
    transform: scale(1.1);
}

.featured-team-logo-placeholder {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.featured-team-name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    text-align: center;
}

.featured-vs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 100px;
}

.vs-text {
    font-size: 16px;
    font-weight: 600;
    color: #94a3b8;
    /* Muted Slate */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.match-date-time {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.featured-score {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 120px;
    justify-content: center;
}

.score-number {
    font-size: 42px;
    /* Larger */
    font-weight: 800;
    color: #0f172a;
    /* Navy */
    font-family: 'Poppins', sans-serif;
    font-variant-numeric: tabular-nums;
    letter-spacing: -1px;
}

.score-separator-featured {
    font-size: 28px;
    font-weight: 700;
    color: #999;
}

.draw-score-featured .score-number {
    color: #ff6b35;
}

.draw-badge-featured {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-left: 8px;
}

.featured-match-date {
    text-align: center;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.featured-match-location {
    text-align: center;
    margin-bottom: 15px;
}

.location-link-featured {
    color: #cc0000;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(204, 0, 0, 0.05);
}

.location-link-featured:hover {
    background: rgba(204, 0, 0, 0.1);
    transform: translateY(-2px);
}

.featured-match-video {
    text-align: center;
    margin-top: 20px;
}

.watch-match-btn-featured {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(204, 0, 0, 0.3);
}

.watch-match-btn-featured:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(204, 0, 0, 0.4);
    background: linear-gradient(135deg, #990000 0%, #cc0000 100%);
}

@media (max-width: 768px) {
    .featured-matches-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .featured-match-card {
        padding: 30px 20px;
    }

    .featured-match-teams {
        flex-direction: column;
        gap: 20px;
    }

    .featured-vs {
        padding: 10px 0;
    }

    .featured-score {
        padding: 10px 0;
    }
}

/* Upcoming Matches Section */
.upcoming-matches-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #f0f8ff 100%);
    position: relative;
    overflow: hidden;
}

.upcoming-matches-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 102, 204, 0.2) 50%, transparent 100%);
}

.upcoming-matches-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-header-upcoming {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    padding-bottom: 25px;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, transparent 0%, #0066cc 50%, transparent 100%) 1;
    position: relative;
}

.section-header-upcoming::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #0066cc 50%, transparent 100%);
}

.section-header-upcoming h2 {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -1px;
    position: relative;
    padding-left: 15px;
}

.section-header-upcoming h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 40px;
    background: linear-gradient(180deg, #0066cc 0%, #004d99 100%);
    border-radius: 3px;
}

.view-all-upcoming-link,
.view-all-results-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(0, 102, 204, 0.03);
    border-radius: 6px;
    border: 1px solid rgba(0, 102, 204, 0.15);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 102, 204, 0.08);
}


.view-all-upcoming-link::after,
.view-all-results-link::after {
    content: '→';
    transition: transform 0.3s ease;
    font-size: 16px;
    font-weight: 600;
}

.view-all-upcoming-link:hover {
    color: #0052a3;
    gap: 8px;
    background: rgba(0, 102, 204, 0.06);
    box-shadow: 0 3px 10px rgba(0, 102, 204, 0.12);
    border-color: rgba(0, 102, 204, 0.25);
}

.view-all-upcoming-link:hover::after,
.view-all-results-link:hover::after {
    transform: translateX(4px);
}

.view-all-results-link {
    color: #cc0000;
    background: rgba(204, 0, 0, 0.04);
    border-color: rgba(204, 0, 0, 0.15);
}

.view-all-results-link:hover {
    color: #990000;
    background: rgba(204, 0, 0, 0.06);
    box-shadow: 0 3px 10px rgba(204, 0, 0, 0.12);
    border-color: rgba(204, 0, 0, 0.25);
}

.upcoming-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.upcoming-card-home {
    background: white;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 8px 30px rgba(0, 102, 204, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(0, 102, 204, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.upcoming-card-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066cc 0%, #004d99 50%, #0066cc 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.upcoming-card-home::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.upcoming-card-home:hover::after {
    opacity: 1;
}

.upcoming-card-home:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 102, 204, 0.15), 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 102, 204, 0.3);
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.upcoming-header-home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f4f8;
    position: relative;
}

.upcoming-header-home::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #0066cc 0%, transparent 100%);
    border-radius: 2px;
}

.upcoming-date-small {
    font-size: 13px;
    color: #666;
    font-weight: 700;
    background: #f8fafc;
    padding: 6px 12px;
    border-radius: 10px;
    border: 1px solid #e8ecf0;
}

.upcoming-teams-home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding: 15px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 15px;
    border: 1px solid #e8ecf0;
}

.upcoming-team-small {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

.upcoming-team-small img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 12px;
    background: white;
    padding: 5px;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
    transition: transform 0.3s ease;
    border: 2px solid rgba(0, 102, 204, 0.1);
}

.upcoming-card-home:hover .upcoming-team-small img {
    transform: scale(1.1) rotate(5deg);
}

.upcoming-vs-small {
    font-size: 12px;
    font-weight: 700;
    color: #0066cc;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 30px;
    text-align: center;
}

.upcoming-time-status {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upcoming-time-small {
    font-size: 14px;
    font-weight: 700;
    color: #0066cc;
}

.live-indicator-small {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.live-dot-small {
    font-size: 10px;
    animation: pulse-live 1.5s ease-in-out infinite;
}

.live-text-small {
    color: #dc3545;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
}

.half-time-indicator-small {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.half-time-icon-small {
    font-size: 12px;
}

.half-time-text-small {
    color: #ffc107;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
}

.upcoming-location-small {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

@keyframes pulse-live {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Recent Results Section */
.recent-results-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #f0f8ff 0%, #f8fafc 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.recent-results-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(204, 0, 0, 0.2) 50%, transparent 100%);
}

.recent-results-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-header-results {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    padding-bottom: 25px;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, transparent 0%, #cc0000 50%, transparent 100%) 1;
    position: relative;
}

.section-header-results::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #cc0000 50%, transparent 100%);
}

.section-header-results h2 {
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(135deg, #1a1a1a 0%, #cc0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}


.results-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.result-card-home {
    background: white;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 8px 30px rgba(204, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(204, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.result-card-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #cc0000 0%, #990000 50%, #cc0000 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.result-card-home::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(204, 0, 0, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.result-card-home:hover::after {
    opacity: 1;
}

.result-card-home:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(204, 0, 0, 0.15), 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: rgba(204, 0, 0, 0.3);
}

.result-header-home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f4f8;
    position: relative;
}

.result-header-home::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #cc0000 0%, transparent 100%);
    border-radius: 2px;
}

.competition-badge-small {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a1a;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-date-small {
    font-size: 12px;
    color: #999;
    font-weight: 600;
}

.result-teams-home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding: 15px;
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border-radius: 15px;
    border: 1px solid #ffe0e0;
}

.result-team-small {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

.result-team-small img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 12px;
    background: white;
    padding: 5px;
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 2px solid rgba(204, 0, 0, 0.1);
}

.result-card-home:hover .result-team-small img {
    transform: scale(1.1) rotate(-5deg);
}

.team-logo-mini-home {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.result-score-small {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 900;
    color: #cc0000;
    min-width: 100px;
    justify-content: center;
    padding: 10px 15px;
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.05) 0%, rgba(153, 0, 0, 0.05) 100%);
    border-radius: 12px;
    border: 2px solid rgba(204, 0, 0, 0.1);
}

.result-score-small .score-home,
.result-score-small .score-away {
    color: #cc0000;
    min-width: 25px;
    text-align: center;
}

.result-score-small .score-separator {
    color: #999;
}

.draw-badge-mini {
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    margin-left: 6px;
}

.result-half-time-small {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.half-time-label-small {
    background: #f0f0f0;
    color: #666;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.result-location-small {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.location-link-small {
    color: #cc0000;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.location-link-small:hover {
    color: #990000;
}

@media (max-width: 768px) {
    .matches-home-container {
        grid-template-columns: 1fr;
    }

    .match-card-home {
        padding: 25px;
    }

    .final-score-home {
        font-size: 28px;
    }

    .match-team-home img,
    .team-logo-placeholder-home {
        width: 60px;
        height: 60px;
    }

    .results-grid-home {
        grid-template-columns: 1fr;
    }

    .section-header-results {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .upcoming-grid-home {
        grid-template-columns: 1fr;
    }

    .section-header-upcoming {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* ----------------------------------------
   GALLERY / FOTO SECTIE
----------------------------------------- */
.gallery-section {
    position: relative;
    padding: 40px 20px;
    background: #f8f9fa;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Gallery section in content area doesn't need background animation */
.content-gallery .gallery-section::before {
    display: none;
}

.content-gallery .gallery-section {
    background: #f8f9fa !important;
    background-image: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%) !important;
    padding: 60px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

@keyframes gallery-rotate {
    0% {
        background-image: url('/assets/images/club-photo-1.jpg');
        opacity: 0.3;
    }

    10% {
        background-image: url('/assets/images/club-photo-2.jpg');
        opacity: 0.3;
    }

    20% {
        background-image: url('/assets/images/club-photo-3.jpg');
        opacity: 0.3;
    }

    30% {
        background-image: url('/assets/images/club-photo-4.jpg');
        opacity: 0.3;
    }

    40% {
        background-image: url('/assets/images/club-photo-5.jpg');
        opacity: 0.3;
    }

    50% {
        background-image: url('/assets/images/club-photo-6.jpg');
        opacity: 0.3;
    }

    60% {
        background-image: url('/assets/images/club-photo-7.jpg');
        opacity: 0.3;
    }

    70% {
        background-image: url('/assets/images/club-photo-8.jpg');
        opacity: 0.3;
    }

    80% {
        background-image: url('/assets/images/club-photo-9.jpg');
        opacity: 0.3;
    }

    90% {
        background-image: url('/assets/images/club-photo-10.jpg');
        opacity: 0.3;
    }

    100% {
        background-image: url('/assets/images/club-photo-1.jpg');
        opacity: 0.3;
    }
}

.gallery-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 0;
    color: #333;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.section-header-with-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-view-team,
.btn-view-matches {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-view-team {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3);
}

.btn-view-team:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(204, 0, 0, 0.4);
    background: linear-gradient(135deg, #990000 0%, #cc0000 100%);
}

.btn-view-matches {
    background: white;
    color: #cc0000;
    border: 2px solid #cc0000;
    box-shadow: 0 2px 8px rgba(204, 0, 0, 0.1);
}

.btn-view-matches:hover {
    background: #cc0000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(204, 0, 0, 0.3);
}

.gallery-section-header {
    margin-top: 50px;
    margin-bottom: 30px;
    text-align: center;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.gallery-section-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.gallery-item-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #f0f0f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.gallery-item-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(204, 0, 0, 0.3);
}

.gallery-item-wrapper:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s ease, filter 0.3s ease;
    display: block;
    min-height: 300px;
    position: relative;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
}

.gallery-item-wrapper:hover .gallery-item {
    transform: scale(1.1);
    filter: brightness(0.85);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(204, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.gallery-zoom-icon {
    font-size: 48px;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: pulse-zoom 2s ease-in-out infinite;
}

@keyframes pulse-zoom {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.gallery-section[data-animate] .gallery-item-wrapper {
    animation: none;
}

.gallery-section[data-animate].visible .gallery-item-wrapper {
    animation: slideInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.gallery-section[data-animate].visible .gallery-item-wrapper:nth-child(1) {
    animation-delay: 0.2s;
}

.gallery-section[data-animate].visible .gallery-item-wrapper:nth-child(2) {
    animation-delay: 0.4s;
}

.gallery-section[data-animate].visible .gallery-item-wrapper:nth-child(3) {
    animation-delay: 0.6s;
}

.gallery-section[data-animate].visible .gallery-item-wrapper:nth-child(4) {
    animation-delay: 0.8s;
}

.gallery-section[data-animate].visible .gallery-item-wrapper:nth-child(5) {
    animation-delay: 1.0s;
}

.gallery-section[data-animate].visible .gallery-item-wrapper:nth-child(6) {
    animation-delay: 1.2s;
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

    60% {
        opacity: 0.8;
        transform: translateY(-5px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.gallery-item.loaded {
    background-color: transparent;
    background-image: none;
}

/* Lightbox Styles */
.gallery-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.gallery-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.gallery-lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 48px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.gallery-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.gallery-lightbox-prev,
.gallery-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 48px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    user-select: none;
}

.gallery-lightbox-prev {
    left: 30px;
}

.gallery-lightbox-next {
    right: 30px;
}

.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
    background: rgba(204, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

/* ----------------------------------------
   MATCHES SECTION
----------------------------------------- */
.matches-section {
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px 0;
}

.next-match-card {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 24px rgba(204, 0, 0, 0.3);
    color: white;
    position: relative;
    overflow: hidden;
}

.next-match-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.match-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: white;
}

.match-badge {
    font-size: 28px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.match-content {
    position: relative;
    z-index: 1;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 20px;
}

.team {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.team-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 8px;
    background: white;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.team-logo-placeholder {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.team-name {
    display: none;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.vs-divider {
    font-size: 18px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    padding: 0 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.match-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.match-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 18px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    font-size: 14px;
    font-weight: 600;
}

.detail-icon {
    font-size: 18px;
}

.recent-matches-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #e8e8e8;
}

.recent-matches-section h3 {
    font-size: 26px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.recent-matches-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    border-radius: 2px;
}

.recent-matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.match-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(204, 0, 0, 0.2);
    border-color: #cc0000;
}

.match-teams-small {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    gap: 15px;
}

.team-small {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.team-logo-small {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 6px;
    background: white;
    padding: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.team-logo-placeholder-small {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.team-name-small {
    display: none;
}

.team-score {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #cc0000;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 8px;
}

.vs-small {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.match-date-small {
    text-align: center;
    font-size: 13px;
    color: #666;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
}

.match-location-small {
    color: #999;
}

@media (max-width: 768px) {
    .match-teams {
        flex-direction: column;
        gap: 15px;
    }

    .vs-divider {
        padding: 10px 0;
    }

    .match-details {
        flex-direction: column;
        gap: 12px;
    }

    .match-detail-item {
        justify-content: center;
    }

    .recent-matches-grid {
        grid-template-columns: 1fr;
    }

    .next-match-card {
        padding: 20px;
    }

    .match-header h3 {
        font-size: 20px;
    }

    .team-name {
        font-size: 18px;
    }
}

/* Responsive Styles */
@media (max-width: 968px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-quote {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .hero-modern {
        height: 80vh;
        min-height: 600px;
        background-attachment: scroll;
    }

    .hero-quote {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .content-text h2 {
        font-size: 28px;
    }

    .content-section {
        padding: 60px 20px;
    }

    .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    .gallery-item {
        height: 220px;
        min-height: 220px;
    }

    .gallery-lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 36px;
        width: 40px;
        height: 40px;
    }

    .gallery-lightbox-prev,
    .gallery-lightbox-next {
        font-size: 36px;
        width: 50px;
        height: 50px;
    }

    .gallery-lightbox-prev {
        left: 15px;
    }

    .gallery-lightbox-next {
        right: 15px;
    }

    .gallery-zoom-icon {
        font-size: 36px;
    }
}

/* ----------------------------------------
   ABONNEMENTEN
----------------------------------------- */
.supporter-hero {
    background: linear-gradient(135deg, #cc0000 0%, #a30000 50%, #8a0000 100%);
    color: white;
    text-align: center;
    padding: 100px 20px 80px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.supporter-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.supporter-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}

.supporter-hero p {
    font-size: 20px;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.pricing-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    padding: 100px 20px;
    margin-top: 0;
    position: relative;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(204, 0, 0, 0.2) 50%, transparent 100%);
}

.pricing-title {
    text-align: center;
    color: #1a1a1a;
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-transform: none;
    position: relative;
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-section>p,
.pricing-intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    color: #555;
    font-size: 17px;
    line-height: 1.8;
    font-weight: 400;
    padding: 0 20px;
}

.pricing-intro-text {
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.05) 0%, rgba(255, 255, 255, 0.05) 100%);
    padding: 30px 40px;
    border-radius: 16px;
    border-left: 4px solid #cc0000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.pricing-plans {
    display: flex !important;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white !important;
    border-radius: 24px;
    width: 340px;
    min-width: 340px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    border: 2px solid rgba(0, 0, 0, 0.05);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, transparent 0%, currentColor 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.pricing-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    transform: scale(1.08);
    z-index: 1;
    border: 3px solid;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15), 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.pricing-card.featured::after {
    content: '⭐ POPULAIR';
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 6px 40px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    transform: rotate(45deg);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    z-index: 10;
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-12px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2), 0 0 0 6px rgba(16, 185, 129, 0.15);
}

.plan-header {
    padding: 35px 20px;
    color: white;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.plan-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

.basic-plan .plan-header {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
}

.premium-plan .plan-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.business-plan .plan-header {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.plan-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.plan-price {
    padding: 40px 20px 30px;
    background: linear-gradient(180deg, white 0%, #fafafa 100%);
    position: relative;
}

.price-amount {
    font-size: 56px;
    font-weight: 900;
    display: block;
    line-height: 1;
    letter-spacing: -2px;
    position: relative;
}

.basic-plan .price-amount {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.premium-plan .price-amount {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.business-plan .price-amount {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 15px;
    font-weight: 600;
    display: block;
    margin-top: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.basic-plan .price-period {
    color: #a855f7;
}

.premium-plan .price-period {
    color: #10b981;
}

.business-plan .price-period {
    color: #f97316;
}

.plan-divider {
    height: 3px;
    margin: 0 30px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent 0%, currentColor 20%, currentColor 80%, transparent 100%);
    opacity: 0.3;
}

.basic-plan .plan-divider {
    color: #a855f7;
    background: linear-gradient(90deg, transparent 0%, #a855f7 20%, #a855f7 80%, transparent 100%);
}

.premium-plan .plan-divider {
    color: #10b981;
    background: linear-gradient(90deg, transparent 0%, #10b981 20%, #10b981 80%, transparent 100%);
}

.business-plan .plan-divider {
    color: #f97316;
    background: linear-gradient(90deg, transparent 0%, #f97316 20%, #f97316 80%, transparent 100%);
}

.plan-features-list {
    list-style: none;
    padding: 30px 25px;
    margin: 0;
    text-align: left;
    background: white;
    min-height: 280px;
}

.plan-features-list li {
    padding: 14px 0 14px 32px;
    font-size: 15px;
    color: #444;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.plan-features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 14px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    color: white;
}

.basic-plan .plan-features-list li::before {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
}

.premium-plan .plan-features-list li::before {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.business-plan .plan-features-list li::before {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.plan-features-list li:hover {
    color: #1a1a1a;
    padding-left: 36px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.02) 0%, transparent 100%);
}

.plan-features-list li:last-child {
    border-bottom: none;
}

.pricing-card .payment-section {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    padding: 0;
}

.payment-section {
    margin-top: 35px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.payment-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 18px;
    font-weight: 600;
}

.signup-btn {
    display: block;
    width: calc(100% - 40px);
    padding: 20px 30px;
    margin: 0 20px 25px;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
    border: none;
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.signup-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.signup-btn:hover::before {
    width: 400px;
    height: 400px;
}

.signup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    letter-spacing: 3px;
}

.basic-plan .signup-btn {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
}

.basic-plan .signup-btn:hover {
    background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
}

.premium-plan .signup-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.premium-plan .signup-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.business-plan .signup-btn {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.business-plan .signup-btn:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

/* Buy Now Button - Extra Prominent */
.buy-btn {
    font-size: 18px !important;
    font-weight: 900 !important;
    padding: 22px 35px !important;
    letter-spacing: 2.5px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25),
        0 0 0 3px rgba(255, 255, 255, 0.1) !important;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.buy-btn::after {
    content: '→';
    margin-left: 10px;
    font-size: 20px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.buy-btn:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35),
        0 0 0 4px rgba(255, 255, 255, 0.15) !important;
    letter-spacing: 3px !important;
}

.buy-btn:hover::after {
    transform: translateX(5px);
}

.basic-plan .buy-btn {
    background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%) !important;
}

.basic-plan .buy-btn:hover {
    background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%) !important;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.5),
        0 0 0 4px rgba(168, 85, 247, 0.2) !important;
}

.premium-plan .buy-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.premium-plan .buy-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.5),
        0 0 0 4px rgba(16, 185, 129, 0.2) !important;
}

.business-plan .buy-btn {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
}

.business-plan .buy-btn:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.5),
        0 0 0 4px rgba(249, 115, 22, 0.2) !important;
}

.choose-btn.pay-btn {
    background: linear-gradient(135deg, #cc0000 0%, #a30000 100%) !important;
    color: white !important;
    width: 100%;
    padding: 22px 40px !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.35),
        0 0 0 0 rgba(204, 0, 0, 0.5) !important;
    border: none !important;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    margin: 0 !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.choose-btn.pay-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.choose-btn.pay-btn:hover::before {
    width: 300px;
    height: 300px;
}

.choose-btn.pay-btn::after {
    content: '→';
    margin-left: 10px;
    font-size: 24px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.choose-btn.pay-btn:hover::after {
    transform: translateX(5px);
}

.choose-btn.pay-btn:hover {
    background: linear-gradient(135deg, #a30000 0%, #8a0000 100%) !important;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(204, 0, 0, 0.45),
        0 0 0 8px rgba(204, 0, 0, 0.1) !important;
    color: white !important;
    letter-spacing: 3px;
}

.choose-btn.pay-btn:active {
    transform: translateY(-2px) scale(1);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.35) !important;
    transition: all 0.1s ease;
}

.choose-btn {
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 15px;
    color: white;
    border: none;
    cursor: pointer;
}

.choose-btn:last-child {
    margin-bottom: 0;
}

.choose-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.red-btn {
    background: #cc0000;
}

.red-btn:hover {
    background: #a30000;
}

.premium-btn {
    background: #1a1a1a;
}

.premium-btn:hover {
    background: #333;
}

.stripe-btn {
    background: #635bff;
}

.stripe-btn:hover {
    background: #4f46e5;
}

.onetime-btn {
    background: #6c757d;
}

.onetime-btn:hover {
    background: #5a6268;
}

/* Mobile Responsive Styles for Supporter Page */
@media (max-width: 768px) {
    .supporter-hero {
        padding: 60px 15px 50px;
        margin-top: 70px;
    }

    .supporter-hero h1 {
        font-size: 32px;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .supporter-hero p {
        font-size: 16px;
        line-height: 1.5;
        padding: 0 10px;
    }

    .pricing-section {
        padding: 40px 15px;
    }

    .pricing-title {
        font-size: 26px;
        margin-bottom: 20px;
        letter-spacing: 0;
    }

    .pricing-section>p,
    .pricing-intro-text {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 30px;
        padding: 20px 15px;
    }

    .pricing-plans {
        flex-direction: column;
        align-items: stretch;
        gap: 25px;
        padding: 0;
        width: 100%;
    }

    .pricing-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: unset !important;
        margin: 0;
        box-sizing: border-box;
    }

    .pricing-card.featured {
        transform: scale(1);
        border-width: 2px;
    }

    .pricing-card.featured::after {
        top: 15px;
        right: -30px;
        font-size: 9px;
        padding: 5px 30px;
    }

    .pricing-card:hover {
        transform: translateY(-5px) scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px) scale(1);
    }

    .plan-header {
        padding: 25px 15px;
        font-size: 18px;
    }

    .plan-header h3 {
        font-size: 18px;
        letter-spacing: 1px;
    }

    .plan-price {
        padding: 30px 15px 20px;
    }

    .price-amount {
        font-size: 42px;
    }

    .price-period {
        font-size: 13px;
        margin-top: 8px;
    }

    .plan-divider {
        margin: 0 20px;
    }

    .plan-features-list {
        padding: 20px 15px;
        min-height: auto;
    }

    .plan-features-list li {
        padding: 12px 0 12px 28px;
        font-size: 14px;
        line-height: 1.5;
    }

    .plan-features-list li::before {
        width: 20px;
        height: 20px;
        top: 12px;
        font-size: 11px;
    }

    .plan-features-list li:hover {
        padding-left: 30px;
    }

    .signup-btn {
        width: calc(100% - 30px);
        margin: 0 15px 20px;
        padding: 18px 20px;
        font-size: 14px;
        letter-spacing: 1.5px;
    }

    /* Ensure all pricing cards are visible and scrollable if needed */
    .pricing-section {
        overflow-x: visible;
        overflow-y: visible;
    }

    .pricing-plans {
        overflow-x: visible;
        overflow-y: visible;
    }

    .plan.premium::before {
        right: 50%;
        transform: translateX(50%);
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .supporter-hero {
        padding: 50px 10px 40px;
    }

    .supporter-hero h1 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .supporter-hero p {
        font-size: 15px;
        padding: 0;
    }

    .pricing-section {
        padding: 30px 10px;
    }

    .pricing-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .pricing-section>p,
    .pricing-intro-text {
        font-size: 13px;
        padding: 15px 10px;
        margin-bottom: 25px;
    }

    .pricing-plans {
        gap: 20px;
        width: 100%;
    }

    .pricing-card {
        border-radius: 16px;
        width: 100% !important;
        max-width: 100% !important;
        min-width: unset !important;
    }

    .pricing-card.featured::after {
        top: 12px;
        right: -28px;
        font-size: 8px;
        padding: 4px 25px;
    }

    .plan-header {
        padding: 20px 12px;
        font-size: 16px;
    }

    .plan-header h3 {
        font-size: 16px;
    }

    .plan-price {
        padding: 25px 12px 18px;
    }

    .price-amount {
        font-size: 36px;
    }

    .price-period {
        font-size: 12px;
    }

    .plan-features-list {
        padding: 18px 12px;
    }

    .plan-features-list li {
        padding: 10px 0 10px 26px;
        font-size: 13px;
    }

    .plan-features-list li::before {
        width: 18px;
        height: 18px;
        top: 10px;
        font-size: 10px;
    }

    .signup-btn {
        width: calc(100% - 24px);
        margin: 0 12px 18px;
        padding: 16px 18px;
        font-size: 13px;
        letter-spacing: 1px;
    }

    /* Ensure all pricing cards are visible on very small screens */
    .pricing-card {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Very Small Devices */
@media (max-width: 360px) {
    .supporter-hero h1 {
        font-size: 24px;
    }

    .supporter-hero p {
        font-size: 14px;
    }

    .pricing-title {
        font-size: 20px;
    }

    .price-amount {
        font-size: 32px;
    }

    .plan-features-list li {
        font-size: 12px;
    }

    .signup-btn {
        font-size: 12px;
        padding: 14px 16px;
    }
}

/* ----------------------------------------
   PREMIUM CONTENT STYLE
----------------------------------------- */
.premium-container {
    max-width: 900px;
    margin: 50px auto;
    background: #ffffff;
    border: 3px solid #cc0000;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
}

.premium-box {
    background: #f8f8f8;
    padding: 25px;
    border-left: 6px solid #cc0000;
    border-radius: 6px;
    margin-top: 20px;
}

/* ----------------------------------------
   FORMULIEREN (LOGIN/REGISTER)
----------------------------------------- */
.form-container {
    max-width: 400px;
    margin: 80px auto;
    padding: 30px;
    background: #ffffff;
    border: 2px solid #cc0000;
    border-radius: 12px;
    text-align: center;
}

.form-container input {
    width: 90%;
    padding: 12px;
    border: 1px solid #cc0000;
    border-radius: 6px;
    margin: 10px 0;
}

.password-input-wrapper {
    position: relative;
    width: 90%;
    margin: 10px auto;
}

.password-input-wrapper input {
    width: 100%;
    padding-right: 45px;
    margin: 0;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    padding: 5px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.password-toggle:hover {
    opacity: 1;
}

.password-requirements {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin: 15px auto;
    width: 90%;
    text-align: left;
}

.password-req-title {
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #333;
    font-size: 14px;
}

.password-req-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-req-list li {
    padding: 6px 0;
    padding-left: 25px;
    position: relative;
    font-size: 13px;
    color: #666;
    transition: all 0.3s ease;
}

.password-req-list li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #f44336;
    font-weight: bold;
    transition: all 0.3s ease;
}

.password-req-list li.req-met {
    color: #4caf50;
}

.password-req-list li.req-met::before {
    content: '✓';
    color: #4caf50;
}

.password-req-list li.req-unmet {
    color: #666;
}

.password-req-list li.req-unmet::before {
    content: '✗';
    color: #f44336;
}

.form-container button {
    width: 95%;
    padding: 12px;
    background: #cc0000;
    color: white;
    border-radius: 6px;
    border: none;
    font-size: 16px;
    font-weight: bold;
}

/* ----------------------------------------
   FOOTER
----------------------------------------- */
/* Main content wrapper - takes remaining space */
body>header,
body>.navbar {
    flex-shrink: 0;
}

/* All content except footer should grow to push footer down */
body>*:not(footer):not(header):not(.navbar) {
    flex: 1 0 auto;
}

footer {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    color: white;
    margin-top: auto;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    display: inline-block;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.footer-section p {
    margin: 10px 0;
    line-height: 1.9;
    color: white;
    font-size: 15px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
    font-size: 15px;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.footer-section ul li a::before {
    content: '→';
    margin-right: 8px;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
    left: -20px;
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.footer-section ul li a:hover::before {
    opacity: 1;
    left: 0;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.social-link span {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.social-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    fill: currentColor;
}

/* WhatsApp - Green */
.social-link[aria-label="WhatsApp"] {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.4);
}

.social-link[aria-label="WhatsApp"]:hover {
    background: rgba(37, 211, 102, 0.3);
    border-color: #25D366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.social-link[aria-label="WhatsApp"] .social-icon {
    fill: #25D366;
}

.social-link[aria-label="WhatsApp"]:hover .social-icon {
    fill: #25D366;
    transform: scale(1.1);
}

/* Facebook - Blue */
.social-link[aria-label="Facebook"] {
    background: rgba(24, 119, 242, 0.2);
    border-color: rgba(24, 119, 242, 0.4);
}

.social-link[aria-label="Facebook"]:hover {
    background: rgba(24, 119, 242, 0.3);
    border-color: #1877F2;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.social-link[aria-label="Facebook"] .social-icon {
    fill: #1877F2;
}

.social-link[aria-label="Facebook"]:hover .social-icon {
    fill: #1877F2;
    transform: scale(1.1);
}

/* TikTok - White for better readability */
.social-link[aria-label="TikTok"] {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.social-link[aria-label="TikTok"]:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-link[aria-label="TikTok"] .social-icon {
    fill: white;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.social-link[aria-label="TikTok"]:hover .social-icon {
    fill: white;
    transform: scale(1.1);
}

/* Instagram - Pink/Purple */
.social-link[aria-label="Instagram"] {
    background: rgba(225, 48, 108, 0.2);
    border-color: rgba(225, 48, 108, 0.4);
}

.social-link[aria-label="Instagram"]:hover {
    background: rgba(225, 48, 108, 0.3);
    border-color: #E1306C;
    box-shadow: 0 4px 12px rgba(225, 48, 108, 0.3);
}

.social-link[aria-label="Instagram"] .social-icon {
    fill: #E1306C;
}

.social-link[aria-label="Instagram"]:hover .social-icon {
    fill: #E1306C;
    transform: scale(1.1);
}

/* YouTube - Red */
.social-link[aria-label="YouTube"] {
    background: rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.4);
}

.social-link[aria-label="YouTube"]:hover {
    background: rgba(255, 0, 0, 0.3);
    border-color: #FF0000;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.social-link[aria-label="YouTube"] .social-icon {
    fill: #FF0000;
}

.social-link[aria-label="YouTube"]:hover .social-icon {
    fill: #FF0000;
    transform: scale(1.1);
}

.social-link:hover {
    transform: translateX(5px);
}

.social-link:hover .social-icon {
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.footer-bottom a {
    color: white;
    text-decoration: underline;
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
    display: inline;
    font-weight: 600;
}

.footer-bottom a:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.footer-legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.footer-legal-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-legal-links span {
    color: rgba(255, 255, 255, 0.6);
}

.subscription-box {
    max-width: 700px;
    margin: 40px auto;
    background: white;
    border: 3px solid #cc0000;
    border-radius: 12px;
    padding: 25px 30px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

.subscription-box h2 {
    margin-top: 0;
    color: #cc0000;
    font-size: 28px;
    font-weight: 700;
}

.sub-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.sub-row span {
    font-weight: 600;
}

.sub-active {
    color: green;
    font-weight: bold;
}

.sub-inactive {
    color: red;
    font-weight: bold;
}

.subtype {
    background: #cc0000;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
}

.dashboard-container {
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    border: 3px solid #cc0000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.badge-box {
    margin-bottom: 30px;
}

.badge {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
}

.premium-badge {
    background: gold;
    color: black;
    border: 2px solid #cc0000;
}

.supporter-badge {
    background: #cc0000;
    color: white;
}

.none-badge {
    background: #f2f2f2;
    color: #777;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin: 30px 0;
}

.info-box {
    background: #fafafa;
    padding: 18px;
    border-radius: 8px;
    border-left: 4px solid #cc0000;
    text-align: left;
}

/* -----------------------------
   CLIENTS / PARTNERS (MARQUEE)
   Unified and responsive styles
------------------------------ */

/* CLIENTS SECTION - Professional Slider */
.section.clients-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
    overflow: hidden;
}

.clients-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

.clients-header {
    text-align: center;
    margin-bottom: 60px;
}

.clients-header .eyebrow {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #cc0000;
    margin-bottom: 12px;
    display: block;
}

.clients-header .clients-title {
    font-size: 42px;
    font-weight: 700;
    color: #111;
    margin-bottom: 16px;
    line-height: 1.2;
}

.clients-header .clients-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}


.clients-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(204, 0, 0, 0.1), transparent);
}

.clients-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(204, 0, 0, 0.1), transparent);
}

.clients-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #111;
    font-size: 32px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.clients-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #cc0000, transparent);
    border-radius: 2px;
}

.clients-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

.clients-slider-bottom {
    margin-bottom: 0;
}

.clients-track {
    display: flex;
    gap: 32px;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
    padding: 20px 0;
    flex-shrink: 0;
    width: fit-content;
}

.clients-track.track-left {
    animation: clients-scroll-left 30s linear infinite;
}

.clients-track.track-right {
    animation: clients-scroll-right 35s linear infinite;
}

.client-logo-card {
    min-width: 140px;
    height: 90px;
    padding: 0.8rem 1rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    backdrop-filter: blur(6px);
    border: 2px solid rgba(204, 0, 0, 0.15);
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.12),
        0 2px 10px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.client-logo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity .3s ease;
}

.client-logo-card:hover::before {
    opacity: 1;
}

.client-logo-card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform .3s ease, filter .3s ease;
}

.client-logo-card:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.client-logo-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 45px rgba(204, 0, 0, 0.25),
        0 5px 15px rgba(0, 0, 0, 0.15),
        0 0 30px rgba(204, 0, 0, 0.3);
    border-color: rgba(204, 0, 0, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
}

.client-logo-card:active {
    transform: translateY(-6px) scale(1.02);
}

.clients-slider:hover .clients-track {
    animation-play-state: paused;
}

/* Gradient overlay on edges for professional fade effect */
.clients-slider::before,
.clients-slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px;
    z-index: 10;
    pointer-events: none;
}

.clients-slider::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 30%, transparent 100%);
}

.clients-slider::after {
    right: 0;
    background: linear-gradient(270deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 30%, transparent 100%);
}

/* Legacy support */
.clients-container:hover .clients-row {
    animation-play-state: paused;
}

/* Responsive Styles */
@media (max-width: 900px) {
    .clients-section .container {
        padding: 0 20px;
    }

    .clients-header {
        margin-bottom: 40px;
    }

    .clients-header .clients-title {
        font-size: 32px;
    }

    .clients-header .clients-subtitle {
        font-size: 16px;
    }

    .clients-track {
        gap: 20px;
        padding: 15px 0;
    }

    .clients-track.track-left {
        animation-duration: 35s;
    }

    .clients-track.track-right {
        animation-duration: 40s;
    }

    .client-logo-card {
        min-width: 120px;
        height: 80px;
        padding: 0.6rem 0.8rem;
    }
}

@media (max-width: 768px) {
    .section.clients-section {
        padding: 60px 0;
    }

    .clients-section .container {
        padding: 0 15px;
    }

    .clients-header {
        margin-bottom: 30px;
    }

    .clients-header .clients-title {
        font-size: 28px;
    }

    .clients-header .clients-subtitle {
        font-size: 15px;
    }

    .clients-track {
        gap: 16px;
        padding: 12px 0;
    }

    .client-logo-card {
        min-width: 100px;
        height: 70px;
        padding: 0.5rem 0.7rem;
        font-size: 12px;
    }

    .clients-slider::before,
    .clients-slider::after {
        width: 100px;
    }
}

@media (max-width: 480px) {
    .section.clients-section {
        padding: 40px 0;
    }

    .clients-header .clients-title {
        font-size: 24px;
    }

    .clients-header .clients-subtitle {
        font-size: 14px;
    }

    .clients-track {
        gap: 12px;
    }

    .client-logo-card {
        min-width: 85px;
        height: 60px;
        padding: 0.4rem 0.6rem;
        font-size: 11px;
    }

    .clients-slider::before,
    .clients-slider::after {
        width: 60px;
    }
}

/* Legacy support - keep for backwards compatibility */
.clients-row {
    display: flex;
    gap: 24px;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
    padding: 8px 0;
    flex-shrink: 0;
    width: fit-content;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes clients-scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes clients-scroll-right {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}


@media (max-width: 900px) {
    .clients-row:nth-of-type(1) {
        animation-duration: 28s;
    }

    .clients-row:nth-of-type(2) {
        animation-duration: 32s;
    }

    .clients-row {
        gap: 14px;
    }

    .client-logo-card {
        min-width: 110px;
        height: 75px;
        padding: 8px 10px;
        font-size: 13px;
    }

    .clients-section h2 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .clients-section {
        padding: 30px 0;
    }

    .clients-section h2 {
        font-size: 22px;
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .clients-container {
        padding: 0;
        gap: 15px;
    }

    .clients-container::before,
    .clients-container::after {
        width: 80px;
    }

    .clients-row:nth-of-type(1) {
        animation-duration: 30s;
    }

    .clients-row:nth-of-type(2) {
        animation-duration: 34s;
    }

    .clients-row {
        gap: 12px;
    }

    .client-logo-card {
        min-width: 100px;
        height: 70px;
        padding: 8px 10px;
        border-radius: 1rem;
        font-size: 12px;
    }

    .client-logo-card img {
        max-width: 90%;
        max-height: 90%;
    }
}

@media (max-width: 480px) {
    .clients-section {
        padding: 25px 0;
    }

    .clients-section h2 {
        font-size: 20px;
        margin-bottom: 15px;
        padding: 0 10px;
    }

    .clients-container {
        padding: 0;
        gap: 12px;
    }

    .clients-container::before,
    .clients-container::after {
        width: 60px;
    }

    .clients-row:nth-of-type(1) {
        animation-duration: 35s;
    }

    .clients-row:nth-of-type(2) {
        animation-duration: 38s;
    }

    .clients-row {
        gap: 10px;
    }

    .client-logo-card {
        min-width: 85px;
        height: 60px;
        padding: 6px 8px;
        border-radius: 0.8rem;
        font-size: 11px;
        border-width: 1.5px;
    }

    .client-logo-card img {
        max-width: 85%;
        max-height: 85%;
    }

    .client-logo-card:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 12px 25px rgba(204, 0, 0, 0.25), 0 0 25px rgba(204, 0, 0, 0.3);
    }
}

@media (max-width: 360px) {
    .clients-section h2 {
        font-size: 18px;
    }

    .clients-container {
        padding: 0;
    }

    .clients-container::before,
    .clients-container::after {
        width: 50px;
    }

    .clients-row:nth-of-type(1) {
        animation-duration: 38s;
    }

    .clients-row:nth-of-type(2) {
        animation-duration: 40s;
    }

    .clients-row {
        gap: 8px;
    }

    .client-logo-card {
        min-width: 75px;
        height: 55px;
        padding: 5px 6px;
        font-size: 10px;
    }
}

/* ----------------------------------------
   ABOUT PAGE
----------------------------------------- */
.about-hero {
    background: linear-gradient(135deg, #cc0000 0%, #a30000 100%);
    color: white;
    text-align: center;
    padding: 120px 20px 80px;
    margin-top: 70px;
}

.about-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.about-content {
    background: white;
    padding: 80px 20px;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.2;
}

.about-text p {
    font-size: 20px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 30px;
}

.about-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: #cc0000;
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 36px;
    }

    .about-text h2 {
        font-size: 32px;
    }

    .about-text p {
        font-size: 18px;
    }

    .about-text h3 {
        font-size: 24px;
    }

    .section-header-with-actions {
        flex-direction: column;
        text-align: center;
    }

    .section-actions {
        justify-content: center;
        width: 100%;
    }

    .gallery-section h2 {
        font-size: 28px;
    }

    .gallery-section-header h3 {
        font-size: 24px;
    }

    /* User menu responsive */
    .user-name-text {
        display: none;
    }

    .user-name-btn {
        padding: 10px 14px;
    }

    .user-dropdown {
        right: -10px;
        min-width: 200px;
    }

    body {
        padding-top: 70px;
    }

    .navbar {
        padding: 12px 20px;
        height: 70px;
        flex-wrap: wrap;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .logo {
        font-size: 20px;
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .nav-links {
        display: none !important;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease, visibility 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        z-index: 999;
        -webkit-overflow-scrolling: touch;
        flex: 0;
        justify-content: flex-start;
    }

    .nav-links.active {
        display: flex !important;
        max-height: calc(100vh - 70px);
        padding: 20px 0;
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        list-style: none;
        margin: 0;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 15px 20px;
        font-size: 16px;
        width: 100%;
        box-sizing: border-box;
        transition: background-color 0.2s ease;
        -webkit-tap-highlight-color: transparent;
        text-decoration: none;
        color: white;
        cursor: pointer;
        user-select: none;
        -webkit-user-select: none;
        touch-action: manipulation;
    }

    .nav-links a:active,
    .nav-links a:focus {
        background: rgba(255, 255, 255, 0.2);
        outline: none;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a.active {
        background: rgba(255, 255, 255, 0.15);
        padding: 15px 20px;
    }

    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: none;
    }

    /* Language selector is now only in header, not in menu */
    .nav-links .language-selector {
        display: none !important;
    }

    /* Language selector in nav on mobile */
    .language-selector-nav {
        margin-left: 0;
        width: 100%;
        padding: 15px 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .language-selector-header {
        width: 100%;
        justify-content: center;
    }

    /* Mobile dropdown menu - Click to open/close */
    .dropdown-menu {
        position: static;
        transform: none;
        display: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
        margin-top: 0;
        margin-left: 20px;
        min-width: auto;
        width: 100%;
    }

    .dropdown-menu-item.dropdown-open .dropdown-menu {
        display: block !important;
    }

    /* Disable hover on mobile */
    .dropdown-menu-item:hover .dropdown-menu {
        display: none;
    }

    .dropdown-menu a {
        color: white;
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: block;
        width: 100%;
    }

    .dropdown-menu a:hover,
    .dropdown-menu a:active {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        padding-left: 25px;
    }

    .dropdown-arrow-nav {
        margin-left: 5px;
        transition: transform 0.3s ease;
        display: inline-block;
    }

    .dropdown-menu-item.dropdown-open .dropdown-arrow-nav {
        transform: rotate(180deg);
    }

    /* Ensure dropdown trigger is clickable on mobile */
    .dropdown-trigger {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .user-menu-container {
        margin-left: 0;
        width: 100%;
    }

    .user-name-btn {
        width: 100%;
        justify-content: center;
    }

    .login-btn,
    .admin-btn {
        width: calc(100% - 40px);
        margin: 0 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .user-name-btn {
        padding: 8px 12px;
        font-size: 14px;
    }

    .user-icon {
        font-size: 16px;
    }

    .dropdown-arrow {
        display: none;
    }

    .nav-links {
        gap: 10px;
    }

    .nav-links a {
        font-size: 14px;
    }
}

/* ----------------------------------------
   TEAM PAGE
----------------------------------------- */
/* OneFootball-style Team Header */
.team-header-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 1px solid #e0e0e0;
    padding: 50px 20px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.team-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #cc0000 0%, #990000 50%, #cc0000 100%);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.team-header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
}

.team-logo-large {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    position: relative;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-5px) scale(1.02);
    }
}

.team-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
    transition: all 0.3s ease;
}

.team-logo-large:hover img {
    transform: scale(1.05) rotate(5deg);
    filter: drop-shadow(0 12px 30px rgba(204, 0, 0, 0.3));
}

.team-logo-placeholder-large {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-logo-placeholder-large:hover {
    background: linear-gradient(135deg, #ffe0e0 0%, #ffcccc 100%);
    transform: scale(1.05);
}

.team-header-info h1 {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, #1a1a1a 0%, #cc0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 15px 0;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.team-age-group {
    display: inline-block;
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.team-age-group:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.4);
}

/* Navigation Tabs */
.team-nav-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 2px solid #e0e0e0;
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.team-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.team-nav-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid transparent;
}

.nav-tab {
    padding: 20px 30px;
    text-decoration: none;
    color: #666;
    font-weight: 700;
    font-size: 16px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-tab::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #cc0000 0%, #990000 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-tab:hover {
    color: #cc0000;
    background: linear-gradient(180deg, rgba(204, 0, 0, 0.05) 0%, transparent 100%);
}

.nav-tab:hover::before {
    transform: scaleX(1);
}

.nav-tab.active {
    color: #cc0000;
    background: linear-gradient(180deg, rgba(204, 0, 0, 0.08) 0%, transparent 100%);
}

.nav-tab.active::before {
    transform: scaleX(1);
}

/* Tab Content */
.tab-content {
    display: none;
}

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

/* Overview Container */
.team-overview-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    min-height: 100vh;
}

.overview-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.overview-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #cc0000 0%, #990000 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.overview-card:hover {
    box-shadow: 0 8px 30px rgba(204, 0, 0, 0.15);
    transform: translateY(-5px) scale(1.01);
    border-color: rgba(204, 0, 0, 0.2);
}

.overview-card:hover::before {
    transform: scaleX(1);
}

.card-header h3 {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #1a1a1a 0%, #cc0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 16px;
}

.card-header h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #cc0000 0%, transparent 100%);
}

/* Match Result Display */
.match-result-display,
.match-fixture-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.match-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.match-team img,
.team-logo-mini {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid rgba(204, 0, 0, 0.1);
}

.match-team:hover img,
.match-team:hover .team-logo-mini {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.2);
    border-color: rgba(204, 0, 0, 0.3);
}

.team-logo-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.match-team span {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.match-score {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(135deg, #1a1a1a 0%, #cc0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.score-home,
.score-away {
    min-width: 40px;
    text-align: center;
}

.score-separator {
    color: #999;
}

.match-vs {
    font-size: 14px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.match-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.match-date,
.match-time,
.match-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #555;
}

.match-date {
    color: #cc0000;
}

.match-time {
    color: #666;
}

.match-location {
    color: #888;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cc0000;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

.view-all-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.view-all-link:hover {
    color: #990000;
    gap: 12px;
}

.view-all-link:hover::after {
    transform: translateX(5px);
}

/* Competition Badge */
.competition-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a1a;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    margin-bottom: 8px;
}

.match-competition {
    margin-bottom: 10px;
}

.match-date-time {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.match-status {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Fixtures & Results Lists */
.fixtures-list,
.results-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fixture-item,
.result-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.fixture-item:hover,
.result-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-color: #cc0000;
}

.fixture-teams,
.result-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px;
}

.fixture-team,
.result-team {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.fixture-team img,
.result-team img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    background: white;
    padding: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.fixture-team span,
.result-team span {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.fixture-vs {
    font-size: 14px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-score {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 20px;
}

.score-home,
.score-away {
    min-width: 30px;
    text-align: center;
}

.score-separator {
    color: #999;
}

.fixture-meta,
.result-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
}

.fixture-date,
.fixture-time,
.fixture-location,
.result-date,
.result-location {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Location Links */
.location-link {
    color: #cc0000;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(204, 0, 0, 0.05);
}

.location-link:hover {
    color: #990000;
    background: rgba(204, 0, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(204, 0, 0, 0.2);
}

.match-location-link {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.match-location-link .location-link {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
}

.match-location-link .location-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

.fixture-location.location-link,
.result-location.location-link {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.fixture-location.location-link:hover,
.result-location.location-link:hover {
    background: rgba(204, 0, 0, 0.05);
    padding: 4px 8px;
    border-radius: 6px;
}

.match-location .location-link {
    color: #cc0000;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.match-location .location-link:hover {
    color: #990000;
}

/* News & Transfers Placeholders */
.news-placeholder,
.transfers-placeholder,
.no-fixtures,
.no-results {
    text-align: center;
    padding: 80px 20px;
    color: #999;
}

.placeholder-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.news-placeholder h3,
.transfers-placeholder h3 {
    font-size: 24px;
    color: #666;
    margin-bottom: 10px;
}

.news-placeholder p,
.transfers-placeholder p,
.no-fixtures p,
.no-results p {
    font-size: 16px;
    color: #999;
}

/* Video Sections */
.match-video-section,
.result-video-section,
.fixture-video-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.match-video-section h4 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-video-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.watch-video-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

.watch-video-btn:hover {
    background: linear-gradient(135deg, #990000 0%, #cc0000 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.4);
}

/* Draw Score Styling */
.draw-score {
    position: relative;
}

.draw-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 10px;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
    animation: pulse-draw 2s ease-in-out infinite;
}

@keyframes pulse-draw {

    0%,
    100% {
        box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
    }

    50% {
        box-shadow: 0 2px 12px rgba(255, 165, 0, 0.5);
    }
}

.draw-score .score-home,
.draw-score .score-away {
    color: #ff8c00;
    font-weight: 900;
}

.draw-match {
    position: relative;
}

.draw-label {
    display: block;
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
    box-shadow: 0 2px 6px rgba(255, 165, 0, 0.3);
}

/* Half-Time Score Styling */
.half-time-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
}

.half-time-label {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.half-time-score .score-home,
.half-time-score .score-away {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 14px;
}

.half-time-score .score-separator {
    color: rgba(255, 255, 255, 0.6);
}

.result-score .half-time-score {
    border-top: 1px solid #e0e0e0;
    margin-top: 8px;
    padding-top: 8px;
}

.result-score .half-time-label {
    background: #f0f0f0;
    color: #666;
}

.result-score .half-time-score .score-home,
.result-score .half-time-score .score-away {
    color: #666;
}

.result-score .half-time-score .score-separator {
    color: #999;
}

.final-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Live Timer Styling */
.live-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(220, 53, 69, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(220, 53, 69, 0.4);
}

.live-indicator {
    font-size: 12px;
    animation: pulse-live 1.5s ease-in-out infinite;
}

@keyframes pulse-live {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.live-text {
    color: #dc3545;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.match-timer {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    font-size: 14px;
    font-family: 'Courier New', monospace;
}

.countdown-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(0, 123, 255, 0.3);
}

.countdown-label {
    color: #007bff;
    font-weight: 600;
    font-size: 12px;
}

.match-countdown {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    font-size: 14px;
    font-family: 'Courier New', monospace;
}

/* Half-Time and Finished Indicators */
.half-time-indicator,
.finished-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 8px;
}

.half-time-indicator {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.4);
}

.finished-indicator {
    background: rgba(108, 117, 125, 0.2);
    border: 1px solid rgba(108, 117, 125, 0.4);
}

.half-time-icon,
.finished-icon {
    font-size: 14px;
}

.half-time-text,
.finished-text {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Stats Card */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-box {
    text-align: center;
    padding: 25px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-box:hover {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(204, 0, 0, 0.2);
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.15);
}

.stat-box:hover::before {
    opacity: 1;
}

.stat-box .stat-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.stat-box .stat-value {
    font-size: 40px;
    font-weight: 900;
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(204, 0, 0, 0.2);
}

.stat-box .stat-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Form Guide */
.form-guide-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-match-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.form-match-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #28a745 0%, #20c997 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.form-match-item:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    transform: translateX(5px);
    border-color: rgba(204, 0, 0, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.form-match-item:hover::before {
    transform: scaleY(1);
}

.form-result {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-radius: 50%;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.form-match-item:hover .form-result {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.form-match-teams {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.form-match-teams span:first-child {
    font-weight: 600;
    color: #333;
}

.form-match-teams span:last-child {
    font-weight: 600;
    color: #333;
}

.form-score {
    color: #666;
    font-weight: 600;
}

.form-date {
    font-size: 12px;
    color: #999;
    flex-shrink: 0;
}

/* Squad Container */
.team-squad-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    min-height: 100vh;
}

.team-hero {
    display: none;
    /* Hide old hero, using new header instead */
}

.team-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(204, 0, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(204, 0, 0, 0.15) 0%, transparent 50%),
        url('data:image/svg+xml,<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="200" height="200" patternUnits="userSpaceOnUse"><path d="M 200 0 L 0 0 0 200" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 1;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {

    0%,
    100% {
        background-position: 0% 0%, 100% 100%, 0% 0%;
        opacity: 1;
    }

    50% {
        background-position: 100% 100%, 0% 0%, 50% 50%;
        opacity: 0.8;
    }
}

.team-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(204, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(204, 0, 0, 0.4);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(204, 0, 0, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(204, 0, 0, 0);
    }
}

.badge-icon {
    font-size: 18px;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.team-hero h1 {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 22px;
    opacity: 0.9;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.team-stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(204, 0, 0, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-icon {
    font-size: 48px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-number {
    font-size: 56px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 4px 15px rgba(204, 0, 0, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, #ffcccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 14px;
    opacity: 0.85;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-scroll-indicator {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.scroll-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

.scroll-arrow {
    font-size: 24px;
    animation: bounceArrow 1.5s ease-in-out infinite;
}

@keyframes bounceArrow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

.teams-filter-section {
    background: white;
    padding: 30px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 70px;
    z-index: 100;
    border-bottom: 2px solid #e0e0e0;
}

.teams-filter-container {
    max-width: 1200px;
    margin: 0 auto;
}

.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto 25px;
}

.search-box input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.search-box input:focus {
    outline: none;
    border-color: #cc0000;
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    pointer-events: none;
}

.filter-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #666;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn:hover {
    border-color: #cc0000;
    color: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.2);
}

.filter-btn.active {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    color: white;
    border-color: #cc0000;
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3);
}

.teams-section {
    padding: 60px 20px;
    background: #f8f9fa;
}

.teams-container {
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #e0e0e0;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(204, 0, 0, 0.2);
    border-color: #cc0000;
}

.team-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 3px solid #cc0000;
    gap: 30px;
    flex-wrap: wrap;
}

.team-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.team-logo-wrapper {
    flex-shrink: 0;
}

.team-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
    background: white;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 3px solid #f0f0f0;
    transition: all 0.3s ease;
}

.team-card:hover .team-logo-img {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.2);
    border-color: #cc0000;
}

.team-logo-placeholder {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 3px solid #f0f0f0;
}

.team-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.team-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #cc0000;
    margin: 0;
}

.team-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.team-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    min-width: 80px;
    transition: all 0.3s ease;
}

.team-card:hover .team-stat-item {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
    transform: translateY(-3px);
}

.team-stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #cc0000;
    line-height: 1;
}

.team-stat-label {
    font-size: 12px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.age-group-badge {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3);
}

.team-description {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #cc0000;
}

.team-category {
    margin-top: 35px;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.category-icon {
    font-size: 28px;
}

.category-count {
    font-size: 18px;
    color: #999;
    font-weight: 500;
    margin-left: auto;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.member-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #cc0000 0%, #990000 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: #d0d0d0;
    background: white;
}

.member-card:hover::before {
    transform: scaleX(1);
}

.trainer-card {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
}

.trainer-card:hover {
    background: linear-gradient(135deg, #ffe0e0 0%, #ffcccc 100%);
}

.player-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-color: #e8e8e8;
}

.player-card:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-color: #d0d0d0;
}

.member-photo {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background: #f0f0f0;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: linear-gradient(135deg, #e0e0e0 0%, #f0f0f0 100%);
}

.member-info {
    position: relative;
    text-align: center;
}

.member-info h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.captain-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a1a;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
    border: 2px solid white;
    flex-shrink: 0;
}


.member-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 10px 0 8px 0;
}

.member-position {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    margin: 0;
    padding: 6px 12px;
    background: rgba(204, 0, 0, 0.1);
    border-radius: 20px;
    display: inline-block;
}

.no-teams,
.no-members {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 18px;
    background: white;
    border-radius: 12px;
    border: 2px dashed #ddd;
}

.no-teams-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .team-header-section {
        padding: 30px 15px;
    }

    .team-header-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .team-logo-large {
        width: 100px;
        height: 100px;
    }

    .team-header-info h1 {
        font-size: 32px;
    }

    .team-nav-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-tab {
        padding: 15px 20px;
        font-size: 14px;
        white-space: nowrap;
    }

    .team-overview-container,
    .team-squad-container {
        padding: 20px 15px;
    }

    .overview-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .overview-card {
        padding: 20px;
    }

    .match-result-display,
    .match-fixture-display {
        flex-direction: column;
        gap: 20px;
    }

    .match-score {
        font-size: 28px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-box {
        padding: 15px;
    }

    .stat-box .stat-value {
        font-size: 24px;
    }

    .form-match-item {
        flex-wrap: wrap;
        gap: 10px;
    }

    .form-match-teams {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .team-hero {
        display: none;
    }

    .teams-filter-section {
        padding: 20px 15px;
        top: 70px;
    }

    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .team-card {
        padding: 25px;
    }

    .team-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .team-header-left {
        width: 100%;
    }

    .team-stats {
        width: 100%;
        justify-content: space-around;
    }

    .team-header h2 {
        font-size: 24px;
    }

    .team-logo-img,
    .team-logo-placeholder {
        width: 60px;
        height: 60px;
    }

    .team-logo-placeholder {
        font-size: 30px;
    }

    .members-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .member-card {
        padding: 15px;
    }

    .member-info h4 {
        font-size: 16px;
    }

    .category-title {
        font-size: 20px;
    }

    .category-count {
        font-size: 16px;
    }
}

/* ----------------------------------------
   MATCHES PAGE
----------------------------------------- */
.matches-hero {
    background: linear-gradient(135deg, #cc0000 0%, #a30000 100%);
    color: white;
    text-align: center;
    padding: 120px 20px 80px;
    margin-top: 70px;
}

/* Ensure no white space between header and hero */
body>header+.matches-hero,
.matches-hero:first-of-type {
    margin-top: 0;
}

.matches-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.matches-hero p {
    font-size: 18px;
    opacity: 0.95;
}

.matches-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.matches-hero p {
    font-size: 18px;
    opacity: 0.95;
}

.matches-section {
    padding: 220px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #f0f4f8 100%);
    position: relative;
}

.matches-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(204, 0, 0, 0.2) 50%, transparent 100%);
}

.matches-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.matches-category {
    margin-bottom: 60px;
}

.matches-category:last-child {
    margin-bottom: 0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, transparent 0%, #cc0000 50%, transparent 100%) 1;
    position: relative;
}

.category-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #cc0000 50%, transparent 100%);
}

.category-icon {
    font-size: 36px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.match-card-large {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(204, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.match-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #cc0000 0%, #990000 50%, #cc0000 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.match-card-large::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(204, 0, 0, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.match-card-large:hover::after {
    opacity: 1;
}

.match-card-large:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(204, 0, 0, 0.15), 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: rgba(204, 0, 0, 0.3);
}

.match-card-large.past {
    opacity: 0.9;
}

.match-card-large.past::before {
    background: linear-gradient(90deg, #666 0%, #999 100%);
}

.match-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.match-date-badge {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    color: white;
    padding: 12px 18px;
    border-radius: 12px;
    text-align: center;
    min-width: 70px;
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3);
}

.match-date-badge.past {
    background: linear-gradient(135deg, #666 0%, #999 100%);
}

.date-day {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
    letter-spacing: 1px;
}

.match-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    font-weight: 600;
}

.location-icon {
    font-size: 16px;
}

.match-teams-large {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.team-large {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.team-logo-large {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
    background: white;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.team-logo-placeholder {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.team-name-large {
    display: none;
}

.team-score-large {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #cc0000;
    margin-top: 8px;
}

.vs-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    min-width: 80px;
}

.match-time {
    font-size: 14px;
    color: #cc0000;
    font-weight: 600;
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 20px;
}

.score-divider {
    font-size: 24px;
    color: #cc0000;
    font-weight: 700;
}

.no-matches {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 16px;
    color: #666;
    font-size: 18px;
    border: 2px dashed #ddd;
}

@media (max-width: 768px) {
    .matches-hero h1 {
        font-size: 36px;
    }

    .matches-hero p {
        font-size: 16px;
    }

    .matches-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .match-card-large {
        padding: 20px;
    }

    .match-teams-large {
        flex-direction: column;
        gap: 15px;
    }

    .vs-large {
        padding: 10px 0;
    }

    .team-name-large {
        font-size: 18px;
    }

    .team-score-large {
        font-size: 28px;
    }

    .category-header {
        font-size: 24px;
    }
}

/* ----------------------------------------
   QUICK STATS SECTION
----------------------------------------- */
.quick-stats-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.quick-stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #cc0000 50%, transparent 100%);
}

.quick-stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(204, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #cc0000 0%, #990000 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(204, 0, 0, 0.15);
    border-color: rgba(204, 0, 0, 0.3);
}

.stat-icon {
    font-size: 48px;
    line-height: 1;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: #cc0000;
    line-height: 1.2;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .quick-stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        padding: 20px 15px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .stat-icon {
        font-size: 40px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .quick-stats-container {
        grid-template-columns: 1fr;
    }
}

/* ----------------------------------------
   NEWSLETTER SECTION
----------------------------------------- */
.newsletter-section {
    padding: 80px 20px;
    background: #0f172a;
    /* Navy */
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

.newsletter-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter-content {
    text-align: center;
}

.newsletter-icon-wrapper {
    margin-bottom: 20px;
}

.newsletter-icon {
    font-size: 64px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.newsletter-content h2 {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.newsletter-content>p {
    font-size: 18px;
    margin: 0 0 40px 0;
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 500;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto 30px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

.newsletter-input-wrapper {
    flex: 1;
    min-width: 250px;
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 20px;
    font-size: 20px;
    z-index: 2;
    pointer-events: none;
}

.newsletter-input {
    width: 100%;
    padding: 18px 25px 18px 55px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-family: "Poppins", Arial, sans-serif;
    background: white;
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    outline: none;
    box-sizing: border-box;
}

.newsletter-input::placeholder {
    color: #999;
    opacity: 0.8;
}

.newsletter-input:focus {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.newsletter-input:invalid:not(:placeholder-shown) {
    border: 2px solid rgba(244, 67, 54, 0.5);
}

.newsletter-input:valid:not(:placeholder-shown) {
    border: 2px solid rgba(76, 175, 80, 0.5);
}

.newsletter-btn {
    padding: 18px 45px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    font-family: "Poppins", Arial, sans-serif;
    background: white;
    color: #cc0000;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.newsletter-btn:hover:not(:disabled) {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.newsletter-btn:active:not(:disabled) {
    transform: translateY(0);
}

.newsletter-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loader {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.newsletter-privacy {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

.whatsapp-link-container {
    margin: 25px 0;
    text-align: center;
}

.whatsapp-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 35px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.whatsapp-link-btn:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-link-btn:active {
    transform: translateY(0);
}

.whatsapp-icon {
    font-size: 24px;
    line-height: 1;
}

@media (max-width: 768px) {
    .whatsapp-link-btn {
        padding: 14px 30px;
        font-size: 14px;
    }

    .whatsapp-icon {
        font-size: 20px;
    }
}

#newsletterMessageContainer {
    min-height: 50px;
    margin-bottom: 20px;
}

.newsletter-message {
    padding: 15px 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 600;
    animation: slideDown 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 90%;
    text-align: left;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.newsletter-success {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 2px solid #4caf50;
    backdrop-filter: blur(10px);
}

.newsletter-error {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 2px solid #f44336;
    backdrop-filter: blur(10px);
}

.message-icon {
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.newsletter-divider {
    margin: 30px 0 25px;
    position: relative;
    text-align: center;
}

.newsletter-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.newsletter-divider span {
    background: #0f172a;
    /* Navy background to match section */
    padding: 0 20px;
    position: relative;
    color: #94a3b8;
    /* Muted Slate */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .newsletter-content h2 {
        font-size: 32px;
    }

    .newsletter-content>p {
        font-size: 16px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-input {
        min-width: 100%;
    }

    .newsletter-btn {
        width: 100%;
    }
}

/* ----------------------------------------
   ENHANCED FOOTER
----------------------------------------- */
footer {
    background: #0b1120;
    /* Darker Navy for Footer */
    color: white;
    margin-top: auto;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #cc0000;
    /* Red accent line */
    display: inline-block;
    text-shadow: none;
    letter-spacing: 0.5px;
}

.footer-section p {
    margin: 10px 0;
    line-height: 1.9;
    color: white;
    font-size: 15px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
    font-size: 15px;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.footer-section ul li a::before {
    content: '→';
    margin-right: 8px;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
    left: -20px;
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.footer-section ul li a:hover::before {
    opacity: 1;
    left: 0;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.social-link span {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.social-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    fill: currentColor;
}

/* WhatsApp - Green */
.social-link[aria-label="WhatsApp"] {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.4);
}

.social-link[aria-label="WhatsApp"]:hover {
    background: rgba(37, 211, 102, 0.3);
    border-color: #25D366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.social-link[aria-label="WhatsApp"] .social-icon {
    fill: #25D366;
}

.social-link[aria-label="WhatsApp"]:hover .social-icon {
    fill: #25D366;
    transform: scale(1.1);
}

/* Facebook - Blue */
.social-link[aria-label="Facebook"] {
    background: rgba(24, 119, 242, 0.2);
    border-color: rgba(24, 119, 242, 0.4);
}

.social-link[aria-label="Facebook"]:hover {
    background: rgba(24, 119, 242, 0.3);
    border-color: #1877F2;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.social-link[aria-label="Facebook"] .social-icon {
    fill: #1877F2;
}

.social-link[aria-label="Facebook"]:hover .social-icon {
    fill: #1877F2;
    transform: scale(1.1);
}

/* TikTok - White for better readability */
.social-link[aria-label="TikTok"] {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.social-link[aria-label="TikTok"]:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-link[aria-label="TikTok"] .social-icon {
    fill: white;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.social-link[aria-label="TikTok"]:hover .social-icon {
    fill: white;
    transform: scale(1.1);
}

/* Instagram - Pink/Purple */
.social-link[aria-label="Instagram"] {
    background: rgba(225, 48, 108, 0.2);
    border-color: rgba(225, 48, 108, 0.4);
}

.social-link[aria-label="Instagram"]:hover {
    background: rgba(225, 48, 108, 0.3);
    border-color: #E1306C;
    box-shadow: 0 4px 12px rgba(225, 48, 108, 0.3);
}

.social-link[aria-label="Instagram"] .social-icon {
    fill: #E1306C;
}

.social-link[aria-label="Instagram"]:hover .social-icon {
    fill: #E1306C;
    transform: scale(1.1);
}

/* YouTube - Red */
.social-link[aria-label="YouTube"] {
    background: rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.4);
}

.social-link[aria-label="YouTube"]:hover {
    background: rgba(255, 0, 0, 0.3);
    border-color: #FF0000;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.social-link[aria-label="YouTube"] .social-icon {
    fill: #FF0000;
}

.social-link[aria-label="YouTube"]:hover .social-icon {
    fill: #FF0000;
    transform: scale(1.1);
}

.social-link:hover {
    transform: translateX(5px);
}

.social-link:hover .social-icon {
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.footer-bottom a {
    color: white;
    text-decoration: underline;
    transition: all 0.3s ease;
    font-weight: 600;
}

.footer-bottom a:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-container {
        padding: 40px 20px 20px;
    }
}

/* ----------------------------------------
   COOKIE CONSENT BANNER
----------------------------------------- */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 250px;
}

.cookie-consent-text strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
    color: white;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.cookie-consent-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "Poppins", Arial, sans-serif;
}

.cookie-btn-accept {
    background: #25D366;
    color: white;
}

.cookie-btn-accept:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.cookie-btn-reject {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        max-width: 150px;
    }
}

/* ----------------------------------------
   LAZY LOADING FOR IMAGES
----------------------------------------- */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* ----------------------------------------
   CONTACT PAGE
----------------------------------------- */
.contact-hero {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    color: white;
    text-align: center;
    padding: 80px 20px 60px;
    margin-top: 70px;
}

.contact-hero-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-hero-content p {
    font-size: 20px;
    opacity: 0.95;
}

.contact-section {
    padding: 60px 20px;
    background: #f8f9fa;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.contact-info h2 {
    color: #cc0000;
    margin-bottom: 30px;
    font-size: 28px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.contact-info-item strong {
    display: block;
    color: #333;
    margin-bottom: 8px;
    font-size: 16px;
}

.contact-info-item p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.contact-info-item a {
    color: #cc0000;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-item a:hover {
    color: #990000;
    text-decoration: underline;
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h2 {
    color: #cc0000;
    margin-bottom: 30px;
    font-size: 28px;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #cc0000;
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .submit-btn {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3);
}

.contact-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(204, 0, 0, 0.4);
}

.contact-form .submit-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-hero-content h1 {
        font-size: 36px;
    }

    .contact-hero-content p {
        font-size: 18px;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

/* ----------------------------------------
   FAQ PAGE
----------------------------------------- */
.faq-hero {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    color: white;
    text-align: center;
    padding: 80px 20px 60px;
    margin-top: 70px;
}

.faq-hero-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.faq-hero-content p {
    font-size: 20px;
    opacity: 0.95;
}

.faq-section {
    padding: 60px 20px;
    background: #f8f9fa;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 50px;
}

.faq-category-title {
    color: #cc0000;
    font-size: 32px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #cc0000;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-q-text {
    font-weight: 600;
    font-size: 18px;
    color: #333;
    flex: 1;
}

.faq-icon {
    color: #cc0000;
    font-size: 14px;
    transition: transform 0.3s;
    margin-left: 15px;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #f8f9fa;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

.faq-answer p {
    padding: 20px 25px;
    margin: 0;
    color: #666;
    line-height: 1.8;
}

.faq-contact-cta {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
}

.faq-contact-cta p {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.faq-contact-btn {
    display: inline-block;
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3);
}

.faq-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(204, 0, 0, 0.4);
}

.no-faqs {
    background: white;
    padding: 60px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.no-faqs p {
    font-size: 18px;
    color: #666;
}

@media (max-width: 768px) {
    .faq-hero-content h1 {
        font-size: 36px;
    }

    .faq-hero-content p {
        font-size: 18px;
    }

    .faq-category-title {
        font-size: 24px;
    }

    .faq-q-text {
        font-size: 16px;
    }

    .faq-contact-cta {
        padding: 30px 20px;
    }
}

/* ----------------------------------------
   LEGAL PAGES (Privacy, Terms)
----------------------------------------- */
.legal-hero {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    color: white;
    text-align: center;
    padding: 80px 20px 60px;
    margin-top: 70px;
}

.legal-hero-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.legal-hero-content p {
    font-size: 18px;
    opacity: 0.95;
}

.legal-content {
    padding: 60px 20px;
    background: #f8f9fa;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    color: #cc0000;
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.legal-section p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.legal-section ul {
    margin: 15px 0;
    padding-left: 30px;
}

.legal-section li {
    line-height: 1.8;
    color: #666;
    margin-bottom: 10px;
}

.legal-section a {
    color: #cc0000;
    text-decoration: none;
    transition: color 0.3s;
}

.legal-section a:hover {
    color: #990000;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-hero-content h1 {
        font-size: 36px;
    }

    .legal-container {
        padding: 30px 20px;
    }

    .legal-section h2 {
        font-size: 24px;
    }
}

/* ----------------------------------------
   BREADCRUMBS
----------------------------------------- */
.breadcrumbs {
    background: #f8f9fa;
    padding: 15px 20px;
    margin-top: 70px;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumbs-nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.breadcrumbs-nav a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs-nav a:hover {
    color: #cc0000;
}

.breadcrumbs-nav span {
    color: #999;
}

.breadcrumbs-nav .current {
    color: #333;
    font-weight: 600;
}

/* ----------------------------------------
   SEARCH FUNCTIONALITY
----------------------------------------- */
.search-container {
    position: relative;
    display: inline-block;
}

.search-input {
    padding: 10px 40px 10px 15px;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
    width: 250px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #cc0000;
    width: 300px;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #cc0000;
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #990000;
}

/* ----------------------------------------
   SUBSCRIPTION MANAGEMENT
----------------------------------------- */
.subscription-management-container {
    max-width: 900px;
    margin: 90px auto 40px;
    padding: 0 20px;
}

.subscription-header {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    color: white;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
}

.subscription-header h1 {
    margin: 0 0 10px 0;
    font-size: 32px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.subscription-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 16px;
}

.subscription-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
    border-bottom: none;
}

.plan-badge {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 16px;
}

.change-plan-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.change-plan-section h2 {
    margin: 0 0 20px 0;
    color: #cc0000;
    font-size: 24px;
}

.plan-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.plan-option-card {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.plan-option-card:hover {
    border-color: #cc0000;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.15);
}

.plan-option-card h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 20px;
}

.plan-option-card .price {
    margin: 0 0 15px 0;
    color: #cc0000;
    font-size: 24px;
    font-weight: 700;
}

.change-plan-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.change-plan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.3);
}

.cancel-section {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.cancel-section h2 {
    margin: 0 0 15px 0;
    color: #856404;
    font-size: 24px;
}

.cancel-section p {
    color: #856404;
    margin-bottom: 20px;
}

.cancel-btn {
    width: 100%;
    padding: 15px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
}

.no-subscription {
    background: white;
    border-radius: 12px;
    padding: 60px 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.no-subscription h2 {
    color: #666;
    margin-bottom: 15px;
}

.no-subscription p {
    color: #999;
    margin-bottom: 30px;
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .subscription-management-container {
        margin-top: 70px;
        padding: 0 15px;
    }

    .subscription-header {
        padding: 30px 20px;
    }

    .subscription-header h1 {
        font-size: 24px;
    }

    .subscription-card,
    .change-plan-section,
    .cancel-section {
        padding: 20px;
    }

    .plan-options {
        grid-template-columns: 1fr;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ========================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   ======================================== */

/* Footer Mobile Responsive */
@media (max-width: 768px) {
    .footer-container {
        padding: 40px 15px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .footer-section p {
        font-size: 14px;
    }

    .footer-section ul li a {
        font-size: 14px;
    }

    .social-links {
        flex-wrap: wrap;
        gap: 10px;
    }

    .social-link {
        padding: 10px 15px;
        font-size: 13px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-legal-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* Homepage Mobile Responsive */
@media (max-width: 768px) {
    .hero-modern {
        min-height: 500px;
    }

    .hero-quote {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .matches-home-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .match-card-home {
        padding: 25px 20px;
    }

    .upcoming-matches-section,
    .recent-results-section {
        padding: 60px 15px;
    }

    .upcoming-matches-grid,
    .recent-results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .quick-stats-section {
        padding: 50px 15px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        padding: 20px 15px;
    }

    .stat-value {
        font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
    }

    .player-register-cta {
        padding: 50px 15px;
    }

    .player-register-cta h2 {
        font-size: 28px;
    }

    .player-register-cta p {
        font-size: 16px;
    }
}

/* Matches Page Mobile Responsive */
@media (max-width: 768px) {
    .matches-hero {
        padding: 60px 15px 50px;
    }

    .matches-hero h1 {
        font-size: 32px;
    }

    .matches-hero p {
        font-size: 16px;
    }

    .matches-section {
        padding: 40px 15px;
    }

    .match-card-large {
        padding: 25px 20px;
    }

    .match-teams {
        flex-direction: column;
        gap: 15px;
    }

    .team-logo {
        width: 60px;
        height: 60px;
    }

    .match-score {
        font-size: 36px;
    }
}

/* Team Page Mobile Responsive */
@media (max-width: 768px) {
    .team-header-section {
        padding: 30px 15px;
    }

    .team-header-content {
        flex-direction: column;
        text-align: center;
    }

    .team-logo-large {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }

    .team-tabs {
        flex-wrap: wrap;
        gap: 10px;
    }

    .team-tab {
        padding: 10px 15px;
        font-size: 14px;
    }

    .squad-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .player-card {
        padding: 20px 15px;
    }
}

/* About Page Mobile Responsive */
@media (max-width: 768px) {
    .about-hero {
        padding: 60px 15px 50px;
    }

    .about-hero h1 {
        font-size: 32px;
    }

    .about-content {
        padding: 40px 15px;
    }

    .about-section {
        padding: 30px 15px;
    }
}

/* Contact Page Mobile Responsive */
/* Club Location Section */
.club-location-section {
    position: relative;
}

@media (max-width: 768px) {
    .club-location-section {
        padding: 60px 15px !important;
        margin: 40px 0 !important;
    }

    .club-location-section h2 {
        font-size: 32px !important;
        margin-bottom: 15px !important;
    }

    .club-location-section>div>div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .club-location-section iframe {
        height: 350px !important;
    }

    .club-location-section>div>div>div[style*="padding: 30px"] {
        padding: 20px !important;
    }

    .club-location-section>div>div>div[style*="padding: 40px"] {
        padding: 25px !important;
    }

    .club-location-section h3 {
        font-size: 22px !important;
    }

    .club-location-section a[style*="padding: 18px 25px"] {
        padding: 15px 20px !important;
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {
    .club-location-section iframe {
        height: 300px !important;
    }

    .club-location-section h2 {
        font-size: 28px !important;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 40px 15px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 20px 15px;
    }

    .contact-form-container {
        padding: 25px 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    body {
        padding-top: 65px;
    }

    .navbar {
        padding: 10px 15px;
        height: 65px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .logo {
        font-size: 18px;
    }

    .nav-links {
        display: none !important;
        top: 65px;
    }

    .nav-links.active {
        display: flex !important;
        max-height: calc(100vh - 65px);
    }

    .mobile-menu-toggle {
        display: flex !important;
    }

    .hero-quote {
        font-size: 24px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .match-card-large {
        padding: 20px 15px;
    }

    .match-score {
        font-size: 28px;
    }

    .footer-section h3 {
        font-size: 18px;
    }

    .footer-section p,
    .footer-section ul li a {
        font-size: 13px;
    }

    .social-link {
        padding: 8px 12px;
        font-size: 12px;
    }

    .contact-card {
        padding: 15px 12px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 14px;
    }
}

/* Very Small Devices */
@media (max-width: 360px) {
    .logo {
        font-size: 16px;
    }

    .hero-quote {
        font-size: 20px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 14px;
    }

    .match-score {
        font-size: 24px;
    }

    .stat-value {
        font-size: 24px;
    }
}

/* end of file */