@import url('https://fonts.googleapis.com/css2?family=Geomini:wght@200..800&family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');
:root {
    --twl-primary: #071739;
    --twl-navy: #0b1a40;
    --twl-navy-dark: #040c1e;
    --twl-red: #db000d;
    --twl-red-dark: #9e0a22;
    --twl-red-light: #e63946;
    --twl-purple: #db000d;
    --twl-purple-dark: #071739;
    --twl-purple-light: #e63946;
    --twl-gold: #f59e0b;
    --twl-gold-dark: #b45309;
    --twl-gold-light: #fde047;
    --twl-bg-dark: #040d1e;
    --twl-panel-bg: rgba(7, 23, 57, 0.75);
    --twl-glass-border: rgba(255, 255, 255, 0.12);
}

body {
    font-family: "Google Sans", sans-serif;
    background-color: #082054;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
    font-family: "geomini", sans-serif !important;
}

.carousel-bleed-right {
    margin-right: calc(50% - 50vw);
    padding-right: calc(50vw - 50%);
}
/* Typography Helpers */
.text-gold { color: var(--twl-gold) !important; }
.text-red { color: var(--twl-red) !important; }
.text-purple { color: var(--twl-red-light) !important; }
.hover-gold:hover { color: var(--twl-gold) !important; transition: 0.3s; }
.hover-red:hover { color: var(--twl-red-light) !important; transition: 0.3s; }
.fw-700 { font-weight: 700 !important; }
.fw-bold { font-weight: 700 !important; }
.flag{ position: absolute; right: 20px; bottom: -4px; }
.flag img{ width:90px; }

@media (max-width: 991.98px) {
    .flag {
        position: absolute;
        right: 50%;
        bottom: -4px;
        transform: translate(50%, 0%);
    }
    .flag img {
        width: 75px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-family: 'Geomini', sans-serif !important;
    border-radius: 0.375rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-gold {
    background: linear-gradient(135deg, var(--twl-red), var(--twl-red-dark));
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(219, 0, 13, 0.35);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(219, 0, 13, 0.55);
    color: #fff;
    background: linear-gradient(135deg, var(--twl-red-light), var(--twl-red));
}

.btn-outline-gold {
    color: #ffffff;
    border: 1.5px solid var(--twl-red);
    background: rgba(219, 0, 13, 0.15);
    transition: all 0.3s ease;
    font-size: 17px;
    font-weight: 700;
}
.btn-outline-gold:hover {
    background: var(--twl-red);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(219, 0, 13, 0.4);
}

.hero-section .btn-outline-light,
.btn-hero-outline {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.hero-section .btn-outline-light:hover,
.btn-hero-outline:hover {
    background: #ffffff !important;
    color: #0b1a40 !important;
    border-color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

/* Glassmorphism Elements */
/*.glass-panel {
    background: var(--twl-panel-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--twl-glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}
*/

.glass-panels{ 
background: #fff;
border-radius: 15px;
padding: 2rem !important;
 }

/* Teams Section & Red Asymmetrical Outlined Card */
.teams-section {
    background-color: #ffffff !important;
    padding: 50px 0; 
}

.teams-section .twl-card,
.teams-section .glass-panel {
    background: #ffffff !important;
    border: 2px solid #db000d !important;
    border-radius: 45px 0 45px 0 !important;
    padding: 3.5rem 3.25rem !important;
    box-shadow: none !important;
}

.teams-section .chromatic-title,
.teams-section .chromatic-title .chromatic-white,
.teams-section .chromatic-title .chromatic-gold {
    color: #db000d !important;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.teams-section .team-ring-name {
    color: #000000 !important;
    font-weight: 700 !important;
    font-size: 0.95rem;
    margin-top: 8px;
    letter-spacing: normal;
}

.teams-section .btn-carousel-circle {
    background: transparent !important;
    border: none !important;
    color: #000000 !important;
    font-size: 1.1rem;
    width: 28px;
    height: 28px;
    padding: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.teams-section .btn-carousel-circle:hover {
    color: #db000d !important;
    transform: scale(1.2);
}

#teams-carousel {
    margin-top: 40px;
}

/* White Background Sections */
.highlights-section,
.video-highlights-section,
.upcoming-matches-section {
    background-color: #ffffff;
}

.upcoming-matches-section .next-match-heading {
    color: #071739 !important;
}
.upcoming-matches-section .timer-label {
    color: #475569 !important;
}

.highlights-section .chromatic-white,
.video-highlights-section .chromatic-white {
    color: #000000 !important;
}

.highlights-section .btn-carousel-circle,
.video-highlights-section .btn-carousel-circle {
    border-color: #cbd5e1 !important;
    color: #071739 !important;
}
.highlights-section .btn-carousel-circle:hover,
.video-highlights-section .btn-carousel-circle:hover {
    background-color: #071739 !important;
    border-color: #071739 !important;
    color: #ffffff !important;
}

.video-highlights-section .home-video-title {
    color: #071739 !important;
    font-weight: 600;
}
.video-highlights-section .home-video-desc {
    color: #464c54 !important;
}

/* BTFF Promo Video Section */
.btff-video-section {
    background: #ffffff;
}
.btff-video-section .chromatic-white {
    color: #111111 !important;
}
.btff-video-wrapper {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}
.btff-promo-video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
    max-height: 770px;
    object-fit: cover;
}
@media (max-width: 768px) {
    .btff-promo-video {
        max-height: 260px;
    }
}

.glass-nav {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--twl-glass-border);
}

.glass-footer {
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(5px);
}

.glass-dropdown {
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--twl-glass-border);
}
.glass-dropdown .dropdown-item {
    color: #ddd;
    transition: 0.2s;
}
.glass-dropdown .dropdown-item:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--twl-gold);
}

/* Forms */
.form-control, .form-select {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}
.form-control:focus, .form-select:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--twl-gold);
    box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25);
    color: #fff;
}

/* Utility */
.main-content {
    flex-shrink: 0; 
}

/* Cards (Teams/Players) */
.twl-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}
/*.twl-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(124, 67, 189, 0.3);
}*/

/* Hero Section */
.hero-section {
    position: relative;
    padding: 215px 0;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: 100%;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;   
    background: rgba(0, 0, 0, 0.5);

    
}


.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Geomini', sans-serif;
    color: #fff;
}

/* Horizontal Scroll Container */
.match-scroll-container::-webkit-scrollbar {
    display: none;
}
.match-scroll-container {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* --- CREATIVE MATCH CARDS --- */
.carousel-section .carousel-arrows {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.carousel-section:hover .carousel-arrows {
    opacity: 1;
}

.creative-match-card {
    flex: 1 0 310px;
    position: relative;
    padding: 2px; /* For the gradient border */
    background: linear-gradient(135deg, var(--twl-purple) 0%, var(--twl-gold) 100%);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.creative-match-card:hover {
    /*transform: translateY(-10px);*/
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.2), 0 5px 15px rgba(74, 20, 140, 0.4);
}

.card-inner {
    background: var(--twl-bg-dark); /* Inner dark background */
    border-radius: 18px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background-image: radial-gradient(circle at top right, rgba(74, 20, 140, 0.3) 0%, transparent 60%),
                      radial-gradient(circle at bottom left, rgba(255, 215, 0, 0.1) 0%, transparent 60%);
}

.match-category {
    text-align: center;
    padding: 15px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.match-category span {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.teams-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 20px;
    position: relative;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.logo-ring {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    border: 2px solid transparent;
    overflow: hidden;
}
.shadow-gold {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    border-color: var(--twl-gold);
}
.shadow-purple {
    box-shadow: 0 0 15px rgba(124, 67, 189, 0.4);
    border-color: var(--twl-purple-light);
}
.logo-ring img {
    width: 90px;
    /* border-radius: 50%; */
}

.team-name {
    color: #fff;
    font-weight: 600;
    font-style: normal;
    font-size: 1.2rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.match-vs {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}
.vs-badge {
    font-size: 1.5rem;
    font-weight: 900;
    font-style: italic;
    background: linear-gradient(to bottom, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
}
.time-text {
    background: var(--twl-gold);
    color: #000;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.match-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}
.score-box {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 8px;
    margin-bottom: 5px;
}
.glow-gold {
    box-shadow: inset 0 0 10px rgba(255, 215, 0, 0.2), 0 0 15px rgba(255, 215, 0, 0.2);
}
.status-text {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.match-date {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #aaa;
    padding-bottom: 20px;
}

.creative-btn {
    display: block;
    text-align: center;
    padding: 15px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s;
}
.btn-report {
    background: var(--twl-purple-dark);
    color: #fff;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.btn-report:hover {
    background: var(--twl-purple);
    color: #fff;
}
.btn-center {
    background: var(--twl-gold-dark);
    color: #000;
}
.btn-center:hover {
    background: var(--twl-gold);
    color: #000;
}

/* --- MATCH HIGHLIGHT CARDS --- */
.highlight-card {
    border-radius: 12px;
    position: relative;
    transition: transform 0.3s ease;
    cursor: pointer;
    background: transparent;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}
.highlight-card:hover {
    transform: translateY(-5px);
}
.highlight-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #111;
    overflow: hidden;
}
.highlight-thumb img.player-img {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 65%;
    object-fit: cover;
    object-position: top;
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}
.highlight-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 70%;
    height: 100%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}
.overlay-green { background: linear-gradient(to right, #149345 50%, transparent 100%); }
.overlay-red { background: linear-gradient(to right, #ff4d45 50%, transparent 100%); }
.overlay-blue { background: linear-gradient(to right, #014695 50%, transparent 100%); }
.overlay-gold { background: linear-gradient(to right, var(--twl-gold-dark) 50%, transparent 100%); }

.highlight-badge {
    position: absolute;
    top: 15px; left: 15px;
}
.highlight-badge i {
    color: #fff;
    font-size: 1.2rem;
    opacity: 0.8;
}
.highlight-teams {
    color: white;
    font-weight: 900;
    font-size: 1.1rem;
    line-height: 1.2;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    margin-top: auto;
}
.highlight-vs {
    background: #000;
    color: #fff;
    font-size: 0.6rem;
    padding: 2px 4px;
    border-radius: 3px;
    vertical-align: middle;
    margin: 0 4px;
}
.highlight-type {
    background: var(--twl-gold);
    color: #000;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 3px 8px;
    display: inline-block;
    align-self: flex-start;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.highlight-type.bg-green {
    background: #00e676;
}
.highlight-info {
    padding: 15px;
    flex-grow: 1;
}
.info-blue { background-color: #014695; }
.info-purple { background-color: #a045ee; }
.info-red { background-color: #ff4d45; }
.info-cyan { background-color: #0dcaf0; }

.highlight-title {
    color: #fff;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 2px;
   
}
.highlight-meta {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    line-height: 1.4;
}
.highlight-desc {
    opacity: 0.9;
    font-size: 1rem;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}
.highlight-date {
   font-size: 0.85rem;
    font-weight: 500;
    opacity: 1;
    color: #082054;
    padding-top: 5px;
}

/* --- HORIZONTAL CAROUSEL --- */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* --- PARTNER LOGOS --- */
.letter-spacing-2 {
    letter-spacing: 2px;
}
.partner-logo {
    max-height: 40px;
    transition: all 0.3s ease;
}
.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%) brightness(100%);
}
.partner-logo-large {
    max-height: 80px;
}
.sponsor-item-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    position: relative;
}
.sponsor-item-wrapper:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 45px;
    background: rgba(255, 255, 255, 0.22);
}
.sponsor-item-wrapper.sponsor-large:not(:last-child)::after {
    height: 65px;
}
@media (max-width: 768px) {
    .sponsor-item-wrapper {
        padding: 0 16px;
    }
    .sponsor-item-wrapper:not(:last-child)::after {
        height: 35px;
    }
    .sponsor-item-wrapper.sponsor-large:not(:last-child)::after {
        height: 45px;
    }
}

/* --- VIDEO CARDS --- */
.video-card .position-relative {
    overflow: hidden;
    border-radius: 0.375rem;
}
.video-card img {
    transition: transform 0.3s ease;
}
.video-card:hover img {
    transform: scale(1.05);
}

/* --- CHROMATIC TITLE --- */
.chromatic-title {
    font-size: 2.5rem;
    font-weight: 700;
    font-style: normal;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    margin-bottom: 0;
    font-family: 'Geomini', sans-serif;
}
.chromatic-white {
    color: #ffffff;
    /*text-shadow: -2.5px 0 0px #ff003c, 2.5px 0 0px #00e5ff;*/
}
.chromatic-gold {
    color: #db000d;
}

@media (max-width: 768px) {
    .chromatic-title {
        font-size: 1.55rem !important;
        line-height: 1.3 !important;
    }
    .partner-logo-large {
        max-height: 45px;
    }
}

/* --- COUNTDOWN TIMER --- */
.timer-num {
    font-size: 3rem;
    font-weight: 600;
    color: #db000d;
    line-height: 1;
    letter-spacing: -2px;
}
.timer-colon {
    font-size: 2rem;
    font-weight: 600;
    color: #db000d;
    line-height: 1;
    margin-top: 8px;
}
.timer-label {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    text-transform: capitalize;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .timer-num { font-size: 2.5rem; }
    .timer-colon { font-size: 2rem; }
}

/* --- EXTRACTED INTERNAL STYLES --- */

/* Styles from team_details.php */
.squad-container {
    max-width: 1480px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 20px;
}
.squad-wrapper {
    color: #0c0721;
    min-height: calc(100vh - 60px);
    padding: 0px;
    font-family: "Google Sans", sans-serif;
    margin-top: 100px;
     margin-bottom: 50px;

}

    .squad-header {
        margin-bottom: 3rem;
        border-bottom: 2px solid #f4f4f6;
        padding-bottom: 1.5rem;
    }

    .squad-header h1 {
        font-size: 3.5rem;
        font-weight: 900;
        text-transform: uppercase;
        margin: 0;
        color: #0c0721;
        font-family: inherit;
        letter-spacing: -1px;
    }

    .squad-meta {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-top: 0.5rem;
    }

    .squad-season {
        font-size: 1.1rem;
        font-weight: 700;
        color: #555;
    }

    .squad-team-tag {
        background-color: #ffd700;
        color: #0c0721;
        padding: 0.2rem 0.8rem;
        border-radius: 4px;
        font-size: 0.8rem;
        font-weight: 800;
        text-transform: uppercase;
    }

    /* Filter Bar Styles */
    .filter-bar {
        display: flex;
        gap: 2rem;
        margin-bottom: 3rem;
        border-bottom: 1px solid #e1e1e6;
        padding-bottom: 0.5rem;
        
    }

    .filter-btn {
        background: none;
        border: none;
        color: #777785;
        font-size: 1.2rem;
        font-weight: 600;
        
        padding: 0.5rem 0;
        cursor: pointer;
        position: relative;
        transition: color 0.2s ease;
        white-space: nowrap;
        font-family: inherit;
    }

    .filter-btn:hover {
        color: #0c0721;
    }

    .filter-btn.active {
        color: #0c0721;
    }

    .filter-btn.active::after {
        content: '';
        position: absolute;
        bottom: -0.6rem;
        left: 0;
        right: 0;
        height: 3px;
        background-color: #0c0721;
    }

    /* Player Grid Styles */
    .player-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    .player-card {
        background-color: #f8f9fc;
        border-radius: 12px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .player-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(12, 7, 33, 0.1);
    }

    .player-photo-box {
        position: relative;
        height: 250px;
        background-color: #f1f2f6;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        overflow: hidden;
    }

    .player-bg-shape {
        position: absolute;
        top: 20%;
        bottom: 0;
        left: 5%;
        right: 5%;
        background-color: <?= $rgbaColor ?>;
        clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 100%);
        z-index: 1;
    }

    .player-photo {
        height: 90%;
        max-width: 90%;
        object-fit: contain;
        z-index: 2;
        position: relative;
        transition: transform 0.3s ease;
    }

    .player-card:hover .player-photo {
        transform: scale(1.05);
    }

    .player-placeholder-icon {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #e4e7eb;
        color: #b0b8c3;
        z-index: 2;
    }

    .player-info {
        padding: 0.9rem 1.1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
        background: #ffffff;
        border-top: 1px solid #f0f0f4;
    }

    .player-name-box {
        display: flex;
        flex-direction: column;
        line-height: 1.15;
        flex: 1;
        min-width: 0;
    }
    .text-default{ color:#00114b }

    .player-first-name {
        font-size: 0.82rem;
        font-weight: 600;
        color: #2b3952;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        margin-bottom: 2px;
    }

    .player-last-name {
        font-size: 1.15rem;
        font-weight: 800;
        color: #0c0721;
        text-transform: uppercase;
        word-break: break-word;
        line-height: 1.15;
    }

    .player-position {
        font-size: 0.85rem;
        font-weight: 600;
        color: #db000d;
        text-transform: uppercase;
        margin-top: 4px;
        letter-spacing: 0.4px;
        text-align: left;
    }

    .player-number-col {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        flex-shrink: 0;
    }

    .player-number-label {
        font-size: 0.65rem;
        font-weight: 700;
        text-transform: uppercase;
        color: #72849a;
        letter-spacing: 0.5px;
        line-height: 1;
        margin-bottom: 3px;
        white-space: nowrap;
    }

    .player-number {
        font-size: 2.1rem;
        font-weight: 900;
        color: #0c0721;
        line-height: 1;
        font-family: inherit;
        opacity: 0.95;
    }

    /* Responsive */
    @media (max-width: 1100px) {
        .player-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    @media (max-width: 768px) {
        .player-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
        }
        .squad-header h1 {
            font-size: 2.5rem;
        }
    }

    @media (max-width: 480px) {
        .player-grid {
            grid-template-columns: 1fr;
        }
    }

/* Extracted from team_details.php */
.empty-state-container { grid-column: 1 / -1; text-align: center; color: #777785; padding: 4rem 1rem; }
.icon-muted { opacity: 0.3; }
.svg-bg-muted { width: 50%; height: 50%; opacity: 0.2; }


/* --- EXTRACTED INTERNAL STYLES --- */

/* Styles from includes/navbar.php */
.main-header {
        width: 100%;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        font-family: "Google Sans", sans-serif;
    }

    .header-top-bar {
        background-color: #db000d; /* Federation Red */
        color: #ffffff;
        font-size: 1.1rem;
        font-weight: 700;        
        text-align: center;
        padding: 0.85rem 1rem;
        font-family: "Geomini", sans-serif;
        letter-spacing: 0.5px;
    }

    .main-header .navbar {
        background-color: #e7e6e7 !important;
        padding: 0.5rem 0;
        border: none;
    }

    .main-header .nav-link {
        color: #000000 !important;
        font-weight: 600;
        font-size: 1rem;
        letter-spacing: 0.5px;
        padding: 0.5rem 0rem !important;
        transition: color 0.2s ease, box-shadow 0.2s ease;
        font-family: "Geomini", sans-serif;
        box-shadow: inset 0 0 #db000d;
        margin: 0 .8rem;
    }

    .main-header .nav-link:hover {
        color: #db000d !important;
        box-shadow: inset 0 -3px #db000d;
    }

    .main-header .nav-link.active,
    .main-header .nav-link.current {
        color: #db000d !important;
        box-shadow: inset 0 -3px #db000d;
    }

    /* Player Registration Button Style */
    .main-header .btn-register {
        background-color: #db000d !important;
        color: #ffffff !important;
        font-weight: 800;
        text-transform: uppercase;
        border: 1.5px solid rgba(255, 255, 255, 0.3);
        border-radius: 50px;
        padding: 0.8rem 1.5rem !important;
        box-shadow: 3px 3px 0px #040c1e;
        transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.2s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-size: 0.95rem;
    }

    .main-header .btn-register:hover {
        transform: translate(-1px, -1px);
        box-shadow: 4px 4px 0px #0a255c;
        background-color: #e01435 !important;
        color: #ffffff !important;
    }

    .main-header .btn-register:active {
        transform: translate(2px, 2px);
        box-shadow: 1px 1px 0px #040c1e;
    }

    /* Header Right Flag (Desktop Only) */
    .header-flag-wrapper {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        margin-left: 1.5rem;
    }
    .header-flag-img {
        height: 70px;
        width: auto;
        object-fit: contain;
        transition: transform 0.3s ease;
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
    }
    .header-flag-img:hover {
        transform: scale(1.08);
    }

    /* Navbar Dropdown styling */
    .main-header .dropdown {
        position: relative;
    }
    
    .main-header .dropdown-menu {
        display: none;
        position: absolute;
        left: 0;
        top: 100%;
        z-index: 1050;
        min-width: 230px;
        padding: 0.5rem 0;
        margin: 0 !important;
        font-size: 0.95rem;
        list-style: none;
        background-color: #071739 !important;
        border: 1px solid rgba(219, 0, 13, 0.3) !important;
        border-radius: 8px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    }
    
    /* Invisible bridge over hover gap to prevent mouse mismatch / flickering */
    .main-header .dropdown-menu::before {
        content: "";
        position: absolute;
        top: -14px;
        left: 0;
        right: 0;
        height: 14px;
        background: transparent;
        pointer-events: auto;
    }

    .main-header .dropdown.show > .dropdown-menu {
        display: block !important;
    }
    @media (min-width: 992px) {
        .main-header .dropdown:hover > .dropdown-menu {
            display: block !important;
        }
    }
    
    .main-header .dropdown-item {
        display: block;
        width: 100%;
        padding: 0.6rem 1.25rem;
        clear: both;
        font-weight: 400;
        color: #fff !important;
        text-align: inherit;
        text-decoration: none;
        white-space: nowrap;
        background-color: transparent;
        border: 0;
        transition: all 0.2s ease;
        font-size: 1.05rem;
        letter-spacing: 0.5px;
    }
    
    .main-header .dropdown-item:hover {
        color: #fbc02d !important;
        background-color: rgba(255, 255, 255, 0.05) !important;
    }
    
    .main-header .dropdown-divider {
        height: 0;
        margin: 0.5rem 0;
        overflow: hidden;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Mobile styles overrides */
    .main-header .navbar-toggler {
        border-color: rgba(12, 7, 33, 0.2);
        padding: 0.4rem 0.6rem;
    }
    
    .main-header .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2812, 7, 33, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    @media (max-width: 991.98px) {
        .main-header .navbar-collapse {
            background-color: #ffffff;
            padding: 1rem;
            border-top: 1px solid rgba(12, 7, 33, 0.1);
            margin-top: 0.5rem;
        }
        .main-header .nav-link {
            padding: 0.5rem 0 !important;
        }
        .main-header .btn-register {
            margin-top: 1rem;
            width: 100%;
            box-shadow: none;
            border: 2px solid #0c0721;
        }
    }

/* Footer Title */
footer {
    background-color: #ffffff;
    color: #000000;
    border-top: 3px solid rgb(251 192 45);
    margin-top: 60px;
    position: relative;
}
.footer-heading { font-weight: 600; color: #000000 !important; }
.footer h5 {
    font-size: 1.1rem;
    font-family: "Geomini", sans-serif;
    color: #000000 !important;
    font-weight: 600;
}
footer .list-unstyled a {
    padding: 4px 0;
    display: block;
    font-size: 1rem;
    color: #475569 !important;
}
footer .list-unstyled a:hover { color: #db000d !important; }

/* Squad Header Styles extracted from team_details.php */
.squad-social-link {
    color: #0c0721;
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #f1f2f6;
    text-decoration: none;
}
.squad-social-link:hover {
    color: #fff;
    background-color: var(--twl-purple-light, #7C43BD);
    transform: translateY(-2px);
}
.squad-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.squad-header-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.squad-header-logo-wrapper {
    height: 130px;
    width: 130px;
    border-radius: 50%;
    background-color: #f8f9fc;
    border: 3px solid #e1e1e6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.squad-header-logo {
    height: 75%;
    width: 75%;
    object-fit: contain;
}
.squad-header-logo-placeholder {
    height: 100%;
    width: 100%;
    background: #f1f2f6;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hover-zoom {
    transition: transform 0.3s ease;
}
.hover-zoom:hover { 
    transform: scale(1.05); 
}

/* Extracted Tab Styles */
.overview-card { background: #f8f9fc; padding: 2rem; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); margin-bottom: 2rem; }
.overview-card-title { color: #0c0721; font-weight:600; font-size: 1.5rem; margin-bottom: 1rem; border-bottom: 2px solid #e1e1e6; padding-bottom: 0.5rem;  font-family: 'Geomini', sans-serif;}
.overview-text { color: #4a4a52; line-height: 1.6; font-size: 1.2rem; }
.overview-highlights-title { color: #0c0721; font-weight: 600; margin-top: 1.5rem; margin-bottom: 1rem; font-size: 1.3rem;
    font-family: 'Geomini', sans-serif;}
.overview-highlights-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.8rem; }
.overview-highlights-item { color: #4a4a52; font-size: 1.2rem; line-height: 1.4; }
.overview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.overview-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.overview-list-item { display: flex; justify-content: space-between; align-items: center; }
.overview-label { color: #777785; font-weight: 600; font-size: 1.2rem;}
.overview-value { color: #0c0721; font-weight: 600; font-size:1.2rem }
.contact-list-item { display: flex; align-items: center; gap: 1rem; }
.contact-icon-wrapper { width: 40px; height: 40px; border-radius: 50%; background: #e1e1e6; display: flex; justify-content: center; align-items: center; color: #0c0721; }
.contact-label { color: #777785; font-size: 1rem; font-weight: 600; }
.squad-filters-bar { margin-bottom: 2rem; border-bottom: none; gap: 1.5rem; }
.fixtures-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 1.5rem !important; }
@media (max-width: 991px) {
    .fixtures-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 575px) {
    .fixtures-grid { grid-template-columns: 1fr !important; }
}
.fixture-card-link { color: inherit; text-decoration: none; display: block; }
.fixture-card-link:hover { text-decoration: none; color: inherit; }
.fixture-card { background: #f8f9fc; border: 1px solid #e1e1e6; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.2s ease, box-shadow 0.2s ease; cursor: pointer; }
.fixture-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.fixture-header { background: var(--twl-purple-light, #7C43BD); color: white; padding: 0.5rem 1rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; }
.fixture-body {
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.fixture-team { display: flex; flex-direction: column; align-items: center; width: 40%; text-align: center; }
.fixture-logo { height: 50px; object-fit: contain; margin-bottom: 0.5rem; }
.fixture-logo-placeholder { height: 50px; width: 50px; background: #e1e1e6; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 0.5rem; }
.fixture-team-name { font-weight: 800; color: #0c0721; font-size: 0.9rem; line-height: 1.2; }
.fixture-score-wrapper { display: flex; flex-direction: column; align-items: center; width: 20%; }
.fixture-score { font-size: 1.5rem; font-weight: 900; color: #0c0721; background: #e1e1e6; padding: 0.2rem 0.8rem; border-radius: 8px; }
.fixture-status.live { color: red; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; margin-top: 0.3rem; }
.fixture-status.finished { color: #777785; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; margin-top: 0.3rem; }
.fixture-time { font-size: 1.2rem; font-weight: 900; color: #0c0721; background: #e1e1e6; padding: 0.3rem 0.6rem; border-radius: 8px; }
.fixture-footer { background: #f1f2f6; text-align: center; padding: 0.5rem; font-size: 0.8rem; color: #777785; font-weight: 600; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }
.gallery-item { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); position: relative; aspect-ratio: 4/3; }
.gallery-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.8)); color: white; padding: 1rem; font-size: 0.9rem; font-weight: 600; }
.sponsors-container { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; align-items: center; padding: 2rem; background: #f8f9fc; border-radius: 12px; }
.sponsor-link { display: block; transition: transform 0.3s ease; }
.sponsor-img {
    height: 80px;
    max-width: 200px;
    object-fit: contain;
    transition: filter 0.3s ease;
}
.sponsor-img:hover { filter: none; }
.team-banner-wrapper { width: 100%; height: 350px; border-radius: 12px; overflow: hidden; margin-bottom: 2rem; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.team-banner-img { width: 100%; height: 100%; object-fit: cover; }

/* Admin Login Page Styles */
:root {
    --login-bg: #082054;
    --login-primary: #082054;
    --login-primary-hover: #0c2a6c;
    --login-text: #666;
    --login-text-dark: #222;
    --login-border: #e0e0e0;
}

body.login-page-body {
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    background-color: var(--login-bg);
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 450px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
    display: flex;
    overflow: hidden;
    margin: 1rem;
}

/* Left Side */
.login-image {
    flex: 1;
    background-color: var(--login-primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Abstract shapes */
.login-image::before {
    content: '';
    position: absolute;
    top: -10%; left: 30%;
    width: 300px; height: 300px;
    border-radius: 50%;
    border: 40px solid rgba(255,255,255,0.05);
    z-index: 1;
}

.login-image::after {
    content: '';
    position: absolute;
    bottom: -20%; left: -10%;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    z-index: 1;
}

.login-image-content {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    border-left: 5px solid rgba(255,255,255,0.3);
}

.login-image-content h2 {
    color: #fff;
    margin: 0;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
}

.login-img-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    z-index: 1;
}

/* Right Side */
.login-form-container {
    flex: 1;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.login-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--login-text-dark);
    margin: 0 0 0.5rem 0;
}

.login-subtitle {
    color: #999;
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
    font-weight: 400;
}

.login-page-body .form-group {
    margin-bottom: 1.5rem;
}

.login-page-body .form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--login-text-dark);
    margin-bottom: 0.5rem;
}

.login-page-body .form-control {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
    color: var(--login-text-dark) !important;
    caret-color: var(--login-text-dark) !important;
    background-color: #fff !important;
    border: 1px solid var(--login-border);
    border-radius: 6px;
    transition: border-color .2s;
    box-sizing: border-box;
    font-family: inherit;
}

/* Fix browser autofill background color */
.login-page-body .form-control:-webkit-autofill,
.login-page-body .form-control:-webkit-autofill:hover, 
.login-page-body .form-control:-webkit-autofill:focus, 
.login-page-body .form-control:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: var(--login-text-dark) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.login-page-body .form-control::placeholder {
    color: #ccc !important;
    font-weight: 400;
    font-family: inherit !important;
}

.login-page-body .form-control:focus {
    outline: none;
    border-color: var(--login-primary);
    box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.1);
}

.password-container {
    position: relative;
}

.password-container i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    cursor: pointer;
}

.btn-login {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--login-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        margin: 1rem;
    }
    .login-image {
        display: none;
    }
    .login-form-container {
        padding: 2.5rem;
    }
}

/* --- PUBLIC FIXTURES PAGE --- */
/*.public-fixture-card-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 40px;
    margin: 0 auto 50px auto;
    max-width: 1100px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}*/

.public-fixture-month-title {
    font-weight: 800;
    font-family: inherit;
    font-size: 1.25rem;
    text-transform: uppercase;
    color: #000;
    margin: 25px 0 10px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #ffcc00;
}

.public-fixture-row-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 25px 15px;
    border-bottom: 1px dashed #e0e0e0;
    font-family: inherit;
        transition: margin .15s ease, box-shadow .15s ease;
    color: #000;
    position: relative;
}

.public-fixture-row-item:hover{   margin-left: -1rem;  margin-right: -1rem; box-shadow: 0 .4rem .5rem 0 rgba(0, 0, 0, .15); }
.public-fixture-row-item:hover:before { width:4px; }

.public-fixture-row-item:last-child {
    border-bottom: none;
}

.public-fixture-row-item:before {position: absolute; content: ""; width: 0px;
    top: 0; left: -.4rem;
    bottom: 0;
    background: linear-gradient(180deg, #cd122d 0, #154284);
    transition: width .2s ease;}

.public-fixture-left-info {
    display: flex;
    align-items: center;
    gap: 35px;
    min-width: 320px;
}

.public-fixture-date-time {
    font-size: 1.1rem;
    white-space: nowrap;
    color: #000;
    font-weight: 600;
}

.public-fixture-venue-info {
    display: flex;
    flex-direction: column;
    font-size: 0.95rem;
    font-weight: 600;
}

.public-fixture-comp {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.public-fixture-ground {
    font-size: 1.1rem;
    color: #000;
    font-weight: 600;
}

.public-fixture-match-details {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 15px;
}

.public-fixture-team-home {
    flex: 1;
    text-align: right;
    font-size: 1.35rem;
    font-family: inherit;
    color: #000;
    font-weight: 600;
}

.public-fixture-team-away {
    flex: 1;
    text-align: left;
    font-size: 1.35rem;
    font-family: inherit;
    color: #000;
    font-weight: 600;
}

.public-fixture-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.public-fixture-score-box {
    background-color: #301551;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.1rem;
    font-family: 'Arial', sans-serif;
    min-width: 50px;
    text-align: center;
    letter-spacing: 2px;
}

.public-fixture-right-info {
    min-width: 90px;
    text-align: right;
}

.live-badge {
    background-color: #dc3545;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    font-family: 'Arial', sans-serif;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

/* --- BAYERN MUNICH MATCHPLAN UI STYLES --- */
.bm-nav-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.bm-tab-pills {
    display: flex;
    gap: 8px;
    align-items: center;
}
.bm-tab-btn {
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid #ccc;
    background: #fff;
    color: #111;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.2s ease;
}
.bm-tab-btn.active {
    background: #111;
    color: #fff;
    border-color: #111;
}
.bm-tab-btn:hover:not(.active) {
    background: #f0f0f0;
}

.bm-filter-selects {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.bm-select {
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #fff;
    font-weight: 600;
    font-size: 0.88rem;
    color: #333;
    outline: none;
}

.bm-months-bar {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}
.bm-month-item {
    font-weight: 600;
    font-size: 1.3rem;
    color: #666;
    text-decoration: none;
    padding-bottom: 6px;
    white-space: nowrap;
    position: relative;
    cursor: pointer;
}
.bm-month-item.active {
    color: #111;
}
.bm-month-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #111;
}

.bm-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    max-width: 100%;
    margin: 0 auto 50px auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    font-family: "Google Sans", sans-serif !important;
}

.bm-month-heading {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: "Google Sans", sans-serif !important;
    color: #111;
    text-transform: uppercase;
    margin: 30px 0 15px 0;
    letter-spacing: 0.5px;
}

.bm-date-bar {
    background: #efeff1;
    padding: 10px 18px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: "Google Sans", sans-serif !important;
    color: #222;
    margin-bottom: 12px;
}

.bm-match-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: "Google Sans", sans-serif !important;
}
.bm-match-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.bm-match-card.is-live {
    border: 2px solid #dc3545;
}

.bm-left-stripe {
    width: 42px;
    background: #dc3545;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.bm-card-body {
    flex: 1;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: "Google Sans", sans-serif !important;
}

.bm-comp-tag {
    color: #dc3545;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-family: "Google Sans", sans-serif !important;
}

.bm-teams-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 16px;
    font-family: "Google Sans", sans-serif !important;
}

.bm-team-home {
    flex: 1;
    text-align: right;
    font-weight: 700;
    font-size: 1.4rem;
    color: #111;
    font-family: "Google Sans", sans-serif !important;
}

.bm-team-away {
    flex: 1;
    text-align: left;
    font-weight: 700;
    font-size: 1.4rem;
    color: #111;
    font-family: "Google Sans", sans-serif !important;
}

.bm-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

.bm-score-display {
    font-weight: 900;
    font-size: 1.45rem;
    color: #111;
    min-width: 60px;
    text-align: center;
    font-family: "Google Sans", sans-serif !important;
}

.bm-venue-sub {
        font-size: 1rem;
    color: #110524;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: "Google Sans", sans-serif !important;
    font-weight: 500;
}

/* --- GALLERY PAGE STYLES --- */
.gallery-hero {
    padding: 50px 0 10px;
    min-height: auto;
}

.gallery-page-container {
    font-family: "Google Sans", sans-serif !important;
}

.gallery-main-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    /*max-width: 1240px;*/
    margin: 0 auto 50px auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.gallery-heading {
    font-size: 1.8rem;
    font-weight: 900;
    color: #111;
    font-family: "Google Sans", sans-serif !important;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Gallery Year & Month Filter & Grouping */
.gallery-filter-bar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 35px;
    padding: 16px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.gallery-filter-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.gallery-filter-label {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #475569;
    letter-spacing: 0.8px;
    min-width: 65px;
    margin-bottom: 0;
}

.gallery-filter-btn {
    font-family: 'geomini', sans-serif;
    background: #ffffff;
    color: #1e293b;
    border: 1px solid #cbd5e1;
    font-weight: 700;
    font-size: 0.84rem;
    padding: 5px 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}

.gallery-filter-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

.gallery-filter-btn.active {
    background: #082054;
    color: #ffffff;
    border-color: #082054;
    box-shadow: 0 4px 10px rgba(8, 32, 84, 0.2);
}

.gallery-filter-btn .badge-count {
    background: #e2e8f0;
    color: #334155;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
    line-height: 1;
}

.gallery-filter-btn.active .badge-count {
    background: #ffd700;
    color: #082054;
    font-weight: 900;
}

/* --- Gallery Month Filter Tabs (Design Image) --- */
.gallery-month-filter-group {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    padding: 4px 0;
}

.gallery-month-btn {
    font-family: 'geomini', 'Google Sans', sans-serif;
    background: transparent;
    border: none;
    color: #1e3a8a;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.18s ease;
    user-select: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gallery-month-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.gallery-month-btn.active {
    background: #f59e0b;
    color: #000000;
    font-weight: 800;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
}

.gallery-year-block {
    margin-bottom: 45px;
}

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

.gallery-year-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: linear-gradient(135deg, #082054 0%, #001744 100%);
    color: #ffffff;
    border-radius: 8px;
    margin-bottom: 22px;
}

.gallery-year-title {
    font-size: 1.35rem;
    font-weight: 900;
    font-family: "Google Sans", sans-serif;
    letter-spacing: 0.5px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-year-meta {
    font-size: 0.82rem;
    font-weight: 600;
    color: #93c5fd;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-month-block {
    margin-bottom: 28px;
}

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

.gallery-month-header {
    font-size: 1.12rem;
    font-weight: 600;
    font-family: "geomini", sans-serif;
    color: #0f172a;
    padding-bottom: 8px;
    margin-bottom: 16px;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gallery-month-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-month-badge {
    font-size: 0.75rem;
    font-weight: 700;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    padding: 2px 8px;
    border-radius: 12px;
}

.gallery-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.barca-photo-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.barca-photo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.gallery-img-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #000;
}

.gallery-img-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-img-thumb:hover {
    transform: scale(1.06);
}

.gallery-photo-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(10, 20, 50, 0.85);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(4px);
}

.gallery-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(220, 53, 69, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(0,0,0,0.5);
    pointer-events: none;
}

.gallery-card-body {
    padding: 16px 16px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.gallery-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111;
    font-family: "Google Sans", sans-serif !important;
    text-align: center;
    margin-bottom: 14px;
    line-height: 1.35;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
}

.gallery-tag-red {
    color: #dc3545;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
}

.gallery-date-text {
    color: #777;
    font-weight: 600;
}

/* --- BAYERN CAROUSEL CARD STYLES --- */
.bm-carousel-card {
    background: #ffffff;
    border-radius: 12px;
    flex: 0 0 calc((100% - 32px) / 3);
    max-width: calc((100% - 32px) / 3);
    height: 130px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: "Google Sans", sans-serif !important;
}

@media (max-width: 992px) {
    .bm-carousel-card {
        flex: 0 0 calc((100% - 16px) / 2);
        max-width: calc((100% - 16px) / 2);
    }
}

@media (max-width: 576px) {
    .bm-carousel-card {
        flex: 0 0 85%;
        max-width: 85%;
    }
}

#upcoming-carousel.justify-content-center .bm-carousel-card {
    flex: 0 0 min(440px, 95%);
    max-width: 440px;
    width: 100%;
}

.bm-carousel-card:hover {
    /*transform: translateY(-3px);*/
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.bm-carousel-stripe {
    width: 44px;
    background: #dc3545;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bm-carousel-icon-circle {
    width: 28px;
    height: 28px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.75rem;
}

.bm-carousel-body {
    flex: 1;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bm-carousel-comp {
    font-size: 0.85rem;
    font-weight: 700;
    color: #dc3545;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    font-family: "Google Sans", sans-serif !important;
}

.bm-carousel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}

.bm-carousel-logo {
    width: 65px;
    height: 65px;
    object-fit: contain;
    flex-shrink: 0;
}

.bm-carousel-center {
    text-align: center;
    flex: 1;
}

.bm-carousel-score {
    font-size: 1.4rem;
    font-weight: 900;
    color: #111;
    letter-spacing: 1px;
    font-family: "Google Sans", sans-serif !important;
}

.bm-carousel-date {
    font-size: 0.95rem;
    font-weight: 800;
    color: #111;
    white-space: nowrap;
    font-family: "Google Sans", sans-serif !important;
}

.bm-carousel-time {
    font-size: 0.78rem;
    font-weight: 600;
    color: #666;
    margin-top: 2px;
    white-space: nowrap;
    font-family: "Google Sans", sans-serif !important;
}

/* Gallery Lightbox Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.gallery-modal.show {
    display: flex;
}

.gallery-modal-content {
    max-width: 85%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

#galleryModalImg {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.gallery-modal-caption {
    text-align: center;
    color: #fff;
    margin-top: 14px;
    font-family: "Google Sans", sans-serif !important;
}

.gallery-modal-caption h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
}

.gallery-modal-caption p {
    margin: 4px 0 0 0;
    font-size: 0.88rem;
    color: var(--twl-gold);
}

.gallery-modal-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #fff;
    font-size: 42px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.2s;
    line-height: 1;
}

.gallery-modal-close:hover {
    color: #dc3545;
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: none;
    font-size: 1.5rem;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 10000;
}

.gallery-modal-nav:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-50%) scale(1.1);
}

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

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

/* --- MATCH DETAILS PAGE STYLES --- */
.md-container-wrapper {
    font-family: "Google Sans", sans-serif !important;
    margin: 40px auto;
}

.md-back-nav {
    margin-bottom: 20px;
}

.md-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;    
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: rgba(255,255,255,0.15);
    padding: 8px 18px;
    border-radius: 20px;
    transition: background 0.2s ease;
    font-family: 'Geomini', sans-serif !important;
    font-size: 1.1rem;
}

.md-back-btn:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

.md-hero-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    /*max-width: 1100px;*/
    margin: 0 auto 40px auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    font-family: "Google Sans", sans-serif !important;
}

.md-header-status {
    text-align: center;
    margin-bottom: 25px;
}

.md-status-pill {
    background: #efeff1;
    color: #333;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: "Google Sans", sans-serif !important;
}

.md-teams-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.md-team-col {
    flex: 1;
    text-align: center;
    min-width: 200px;
}

.md-logo-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 15px auto;
    background: #fff;
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.md-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.md-team-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #111;
    margin: 0;
    font-family: "Google Sans", sans-serif !important;
}

.md-team-sub {
    font-size: 0.85rem;
    color: #777;
    font-weight: 600;
}

.md-score-col {
    text-align: center;
    min-width: 180px;
}

.md-score-num {
    font-size: 3rem;
    font-weight: 700;
    color: #111;
    line-height: 1;
    font-family: "Google Sans", sans-serif !important;
    letter-spacing: 2px;
}

.md-score-num.is-live {
    color: #dc3545;
}

.md-vs-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #111;
    font-family: "Google Sans", sans-serif !important;
}

.md-time-text {
    font-size: 1.1rem;
    font-weight: 800;
    color: #dc3545;
    margin-top: 4px;
}

.md-footer-bar {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.95rem;
    color: #444;
    font-weight: 700;
    font-family: "Google Sans", sans-serif !important;
}

.md-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    /*max-width: 1100px;*/
    margin: 0 auto 50px auto;
}

.md-info-box {
    background: rgb(5 37 112 / 68%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 25px;
    color: #fff;
    font-family: "Google Sans", sans-serif !important;
}

.md-info-heading {
    color: var(--twl-gold);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-family: "Google Sans", sans-serif !important;
}

.md-info-list {
    font-size: 0.9rem;
    line-height: 2;
}

.md-info-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* --- HOME PAGE INDEX STYLES --- */
.hero-badge-season {
    font-weight: 700 !important;
    color: #ffffff !important;
}

.next-match-heading {
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 700 !important;
}

.carousel-nav-btn-left {
    top: calc(50% - 12px);
    transform: translateY(-50%);
    width: 40px;
    height: 60px;
    background-color: #8e44ad;
    color: #fff;
    border-radius: 0 4px 4px 0;
    opacity: 0.9;
    z-index: 100 !important;
    cursor: pointer;
}

.carousel-nav-btn-right {
    top: calc(50% - 12px);
    transform: translateY(-50%);
    width: 40px;
    height: 60px;
    background-color: #8e44ad;
    color: #fff;
    border-radius: 4px 0 0 4px;
    opacity: 0.9;
    z-index: 100 !important;
    cursor: pointer;
}

.bm-carousel-card.is-live-card {
    border: 2px solid #dc3545 !important;
}

.bm-carousel-card.is-next-card {
    border: 2px solid #ff9800 !important;
    box-shadow: 0 6px 20px rgba(255, 152, 0, 0.25) !important;
}

.bm-carousel-card.is-next-card .bm-carousel-stripe {
    background: #ff9800 !important;
}

.carousel-live-tag {
    color: #dc3545;
    font-weight: 900;
}

.carousel-live-icon {
    font-size: 0.5rem;
    vertical-align: middle;
}

.bm-carousel-score.is-live-score {
    color: #dc3545 !important;
}

.team-circle-card {
    cursor: pointer;
    flex-grow: 1;
    width: 120px;
    max-width: 140px;
    min-width: 100px;
    text-transform: capitalize !important;
}

.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.team-ring-size {
    width: 120px;
    height: 120px;
    border-width: 3px;
}

.team-ring-img {
    width: 90px;
    height: 90px;
    /*border-radius: 50%;*/
    object-fit: contain;
    padding: 5px;
}

.team-ring-name {
    font-weight: 700 !important;
}

.btn-carousel-circle {
    width: 40px;
    height: 40px;
}

.home-video-card {
    width: 320px;
    cursor: pointer;
}

.home-video-thumb {
    aspect-ratio: 16/9;
    object-fit: cover;
}

.home-video-duration {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 700 !important;
}

.home-video-tag {
        font-size: 1.2rem !important;
    letter-spacing: 1px;
    font-weight: 700 !important;
}

.home-video-title {
    font-weight: 600 !important;
    font-size: 1.1rem;
    color: #FFD700 !important;
}

.home-video-time {
    font-size: 0.85rem;
    font-weight: 500 !important;
    color: #4b649a !important;
}

.home-video-desc {
    font-size: 1rem;
    color: rgb(255 255 255 / 83%);
    line-height: 1.45;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.partners-section {
    background: #f8f8f8 !important;
}

.partners-section.partners-section-border,
.partners-section-border {
    border-color: #e2e8f0 !important;
}

.partners-section .chromatic-title .chromatic-white {
    color: #0f172a !important;
}

.partner-fallback-large {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.partner-fallback-mid {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* --- BTFF SPONSORS AUTO-RUNNING CAROUSEL --- */
.sponsor-ticker-label {
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
    min-width: 170px;
    background: #f8f8f8 !important;
}

.style-sponsors-heading {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.style-sponsors-heading .chromatic-dark {
    color: #0f172a;
}

.style-sponsors-heading .chromatic-gold {
    color: #d97706;
}

.sponsors-carousel-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    background: #f8f8f8 !important;
}

.sponsors-carousel-wrapper::before,
.sponsors-carousel-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 40px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.sponsors-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(248,248,248,1), rgba(248,248,248,0));
}

.sponsors-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(248,248,248,1), rgba(248,248,248,0));
}

.sponsors-carousel-track {
    display: flex;
    width: max-content;
    animation: sponsorsContinuousScroll 25s linear infinite;
}

.sponsors-carousel-track:hover {
    animation-play-state: paused;
}

.sponsors-carousel-content {
    display: flex;
    align-items: center;
    gap: 45px;
    padding: 0 25px;
}

.sponsor-carousel-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.sponsor-carousel-item:hover {
    transform: scale(1.1);
}

.sponsor-carousel-item img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
    filter: grayscale(15%) opacity(0.9);
    transition: all 0.3s ease;
}

.sponsor-carousel-item:hover img {
    filter: grayscale(0%) opacity(1);
}

@keyframes sponsorsContinuousScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* --- OUR COMMUNITY SECTION (Infosys-Style Executive Profiles) --- */
.community-section {
    background: #082054 !important;
    padding-bottom: 5rem !important;
}

.community-section.community-section-border,
.community-section-border {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.community-section .chromatic-title .chromatic-white {
    color: #ffffff !important;
}

.community-subtitle {
    color: #cbd5e1;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.chromatic-title {
    font-size: 3.2rem;
    font-weight: 800;
    font-style: normal;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    margin-bottom: 0;
    font-family: 'Geomini', sans-serif;
}

.community-grid {
    row-gap: 2.75rem !important;
}

.community-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
    margin-bottom: 0.5rem;
}

.community-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.community-photo-wrapper {
    width: 100%;
    height: 230px;
    background: #475569;
    overflow: hidden;
    position: relative;
}

.community-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.35s ease;
    display: block;
}

.community-card:hover .community-photo {
    transform: scale(1.04);
}

.community-body {
    padding: 1.25rem 1.25rem 2.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #ffffff;
}

.community-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #071739;
    margin-bottom: 0.35rem;
    line-height: 1.3;
    font-family: inherit;
}

.community-position {
    font-size: 0.95rem;
    color: #db000d;
    line-height: 1.45;
    font-weight: 700;
}

/* --- BTFF ABOUT & LEAGUE REGULATIONS SECTION --- */
.btff-about-section {
    background: linear-gradient(180deg, #061942 0%, #082054 50%, #051436 100%);
    position: relative;
}

.btff-about-hero-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
}

.btff-decision-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btff-decision-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.btff-decision-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #082054;
    color: #FFD700;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

.btff-decision-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.btff-decision-text {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.small {
    font-size: 0.98rem !important;
}

.btff-decision-text strong {
    color: #0f172a;
}

.btff-age-badge {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
}

.btff-about-grid {
    row-gap: 2rem !important;
}

@media (max-width: 767.98px) {
    .btff-about-grid {
        row-gap: .5rem !important;
    }
    .gap-5 {
        gap: 1rem !important;
    }
}

.btff-about-grid .col-md-6.col-lg-4 {
    margin-bottom: 0.5rem;
}

.btff-alert-box {
    background: linear-gradient(135deg, rgba(219, 0, 13, 0.08) 0%, rgba(255, 215, 0, 0.08) 100%);
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: 14px;
    padding: 1.5rem 2rem;
}

/* --- PLAYER REGISTRATION FORM STYLES --- */
.registration-wrapper {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    background: transparent;
    position: relative;
    font-family: "Google Sans", sans-serif !important;
}

.registration-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* background: rgba(10, 10, 20, 0.85);  Dark overlay */
    z-index: 1;
}

.registration-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    background: rgb(12 7 33);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.registration-header {
    padding: 2rem;
    text-align: center;
    background: #042066;
}

.registration-header h2 {
    color: #FFD700;
    margin: 0 0 0.5rem 0;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 2.2rem;
    font-family: "Google Sans", sans-serif !important;
}

.registration-header p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-size: 1.1rem;
}

.registration-body {
    padding: 2.5rem;
    background: #ffffff;
    font-family: "Google Sans", sans-serif !important;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-grid.grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    color: #0c0721;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-text {
    margin-top: 5px;
}

.form-control, .form-select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: #ffffff;
    border: 1px solid rgba(12, 7, 33, 0.2);
    border-radius: 8px;
    color: #0c0721;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    outline: none;
    border-color: #e7a805;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(231, 168, 5, 0.2);
}

.form-control::placeholder {
    color: rgba(12, 7, 33, 0.45);
}

.form-select option {
    background: #ffffff;
    color: #0c0721;
}

.section-title {
    color: #0c0721;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(12, 7, 33, 0.15);
    grid-column: 1 / -1;
}

.btn-submit {
    background: #FFD700;
    color: #111;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    margin-top: 2rem;
    font-family: "Google Sans", sans-serif !important;
}

.btn-submit:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

@media (max-width: 768px) {
    .form-grid, .form-grid.grid-3 {
        grid-template-columns: 1fr;
    }
    .registration-body {
        padding: 1.5rem;
    }
}

/* --- CAROUSEL PAGINATION DOTS --- */
.carousel-dots-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.carousel-dot.active {
    width: 24px;
    border-radius: 10px;
    background: #db000d;
    box-shadow: 0 0 10px rgb(188 75 82);
}

/* --- MATCH LEADERS & HEAD-TO-HEAD CARDS --- */
.md-card-white {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    color: #111111;
    font-family: "Google Sans", sans-serif !important;
}

.md-card-title-dark {
    font-size: 1.2rem;
    font-weight: 900;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eeeeee;
    font-family: "Google Sans", sans-serif !important;
}

.md-teams-header-sub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e0e0e0;
    margin-bottom: 15px;
    font-size: 0.9rem;
    font-weight: 800;
    color: #444444;
}

.md-team-sub-badge {
    display: flex;
    align-items: center;
    gap: 8px;
}

.md-team-sub-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* Match Leaders Rows */
.md-leader-row {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px dashed #eaeaea;
    position: relative;
}

.md-leader-row:last-child {
    border-bottom: none;
}

.md-leader-row.has-stripe::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 6px;
    bottom: 6px;
    width: 4px;
    background: #dc3545;
    border-radius: 2px;
}

.md-player-col-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.md-player-col-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    text-align: right;
}

.jersey-badge {
    width: 34px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 900;
    font-size: 0.85rem;
    position: relative;
    border-radius: 6px;
    flex-shrink: 0;
}

.jersey-red {
    background: #dc3545;
}

.jersey-dark {
    background: #2b2b2b;
}

.md-stat-num {
    font-size: 1.6rem;
    font-weight: 900;
    color: #111111;
    font-family: "Google Sans", sans-serif !important;
}

.md-player-info {
    line-height: 1.2;
}

.md-player-name {
    font-weight: 800;
    font-size: 0.92rem;
    color: #111111;
}

.md-player-substat {
    font-size: 0.75rem;
    color: #777777;
    font-weight: 600;
}

.md-metric-label {
    text-align: center;
    font-weight: 800;
    font-size: 0.88rem;
    color: #333333;
    line-height: 1.2;
}

/* Head-to-Head List */
.h2h-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.h2h-row:last-child {
    border-bottom: none;
}

.h2h-score {
    font-size: 1.5rem;
    font-weight: 900;
    color: #111111;
    min-width: 40px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.h2h-winner-arrow {
    color: #111111;
    font-size: 0.8rem;
}

.h2h-center-info {
    text-align: center;
    line-height: 1.3;
}

.h2h-comp {
    font-size: 1rem;
    color: #042789;
    font-weight: 700;
}

.h2h-ft {
    font-size: 0.85rem;
    font-weight: 900;
    color: #111111;
    margin: 2px 0;
}

.h2h-date {
   font-size: 0.85rem;
    color: #666;
    font-weight: 600;
}

/* --- TEAM STATS STYLES --- */
.md-team-stat-row {
    margin-bottom: 20px;
}

.md-team-stat-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.md-stat-val-home {
    font-size: 1.1rem;
    font-weight: 900;
    color: #dc3545;
    min-width: 50px;
}

.md-stat-val-away {
    font-size: 1.1rem;
    font-weight: 900;
    color: #2b2b2b;
    min-width: 50px;
    text-align: right;
}

.md-stat-title-center {
    color: #444444;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
}

.md-dual-progress {
    height: 8px;
    border-radius: 4px;
    background: #e9ecef;
    display: flex;
    overflow: hidden;
}

.md-progress-home {
    background: #dc3545;
    height: 100%;
    transition: width 0.4s ease;
}

.md-progress-away {
    background: #2b2b2b;
    height: 100%;
    transition: width 0.4s ease;
}

/* Match Details Clean Helpers */
.live-icon {
    font-size: 0.5rem;
    vertical-align: middle;
}

.final-result-text {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #666666;
    font-weight: 700;
}

.md-info-label {
    color: #aaaaaa;
}

.md-status-val-live {
    color: #ff4d4d;
}

.md-status-val-normal {
    color: #4cd137;
}

.md-standings-box {
    text-align: center;
    padding: 15px 0;
}

.md-standings-text {
    color: #aaaaaa;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.md-standings-btn {
    font-size: 0.9rem;
    font-weight: 700;
}

.md-cards-grid-two {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    /*max-width: 1100px;*/
    margin: 0 auto 50px auto;
}

.md-player-meta-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    padding: 0 0 12px 0;
    border-bottom: 1px dashed #eaeaea;
}

.md-player-meta-line.border-0 {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.h2h-header-title {
    color: #666666;
    font-size: 0.95rem;
    font-weight: 800;
}

.h2h-score.text-end {
    justify-content: flex-end;
}

.md-team-stats-card {
    /*max-width: 1100px;*/
    margin: 0 auto 50px auto;
}

.card-yellow-icon {
    color: #eccc68;
}

.card-red-icon {
    color: #ff4757;
}

/* --- 404 MATCH NOT STARTED STYLES --- */
.match-404-container {
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
        background: linear-gradient(rgb(0 28 98), rgb(82 17 160 / 90%)), url(https://images.unsplash.com/photo-1508098682722-e99c43a406b2?q=80&w=1600&auto=format&fit=crop);
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    overflow: hidden;
    margin: 20px auto 50px auto;
    max-width: 1100px;
    font-family: "Google Sans", sans-serif !important;
}

.match-404-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(to right, #004d98 50%, #a50044 50%);
}

.match-404-title {
    color: #fff;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.15;
    max-width: 1000px;
    margin-bottom: 24px;
    font-family: "Google Sans", sans-serif !important;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

@media (max-width: 768px) {
    .match-404-title {
        font-size: 2.2rem;
    }
}

.match-404-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.match-404-btn-red {
    background: #dc3545;
    color: #ffffff;
    padding: 12px 28px;
    font-weight: 800;
    border-radius: 6px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.2s ease;
    display: inline-block;
    font-family: "Google Sans", sans-serif !important;
    font-size: 1.2rem;
}

.match-404-btn-red:hover {
    background: #c82333;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.4);
}

/* --- DOCUMENT UPLOAD PREVIEW & DELETE STYLES --- */
.doc-upload-hint {
    font-size: 0.8rem;
    color: #666666;
    margin-top: 0.3rem;
}

.doc-preview-box {
    margin-top: 12px;
    padding: 10px 14px;
    background: #f8f9fa;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.doc-preview-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #fff;
}

.doc-preview-delete {
    background: #dc3545;
    color: #ffffff;
    border: none;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "Google Sans", sans-serif !important;
}

.doc-preview-delete:hover {
    background: #c82333;
    transform: scale(1.03);
}

/* --- LEGAL PAGES STYLES --- */
.legal-container {
    max-width: 950px;
    margin: 40px auto 60px auto;
}

.legal-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    color: #2b2b2b;
    font-family: "Google Sans", sans-serif !important;
}

.legal-header {
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.legal-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: #0b0726;
    margin-bottom: 8px;
}

.legal-meta {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}

.legal-section {
    margin-bottom: 30px;
}

.legal-section-heading {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0b0726;
    margin-bottom: 12px;
}

.legal-body-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #475569;
}

.legal-list {
    padding-left: 20px;
    margin-top: 10px;
}

.legal-list li {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* --- CREATIVE MATCH DETAILS STYLES --- */
.md-creative-hero {
    background: #152aa599;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    padding: 30px;
    margin-bottom: 35px;
    position: relative;
    overflow: hidden;
}

.md-creative-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(to right, #ffc107, #dc3545, #ffc107);
}

.md-creative-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.md-league-tag {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #ffc107;
    text-transform: uppercase;
}

.md-status-badge-creative {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.md-status-badge-creative.is-live-badge {
    background: #dc3545;
    border-color: #dc3545;
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.6);
    animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

.md-creative-teams-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
}

@media (max-width: 768px) {
    .md-creative-teams-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
}

.md-creative-team-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.md-creative-logo-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4), 0 0 20px rgba(255, 193, 7, 0.2);
    border: 3px solid #ffc107;
    margin-bottom: 14px;
    transition: transform 0.3s ease;
}

.md-creative-logo-circle:hover {
    transform: scale(1.06);
}

.md-creative-logo-circle img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.md-creative-team-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.md-creative-team-sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.md-creative-score-box {
    text-align: center;
    padding: 0 15px;
}

.md-creative-score-display {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffc107;
    text-shadow: 0 4px 20px rgba(255, 193, 7, 0.4);
    line-height: 1;
    letter-spacing: 2px;
    font-family: "Google Sans", sans-serif !important;
}

.md-creative-vs-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 4px;
}

.md-creative-result-tag {
    font-size: 0.82rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
    letter-spacing: 1px;
}

.md-creative-footer-bar {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    font-weight: 500;
    flex-wrap: wrap;
}

.md-creative-footer-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- GOAL SCORERS & ASSISTS STYLES --- */
.md-hero-goals-row {
    margin-top: 15px;
    padding-top: 14px;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    font-size: 0.9rem;
    color: #ffffff;
}

@media (max-width: 768px) {
    .md-hero-goals-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.md-hero-goal-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-weight: 600;
}

.md-hero-goal-item.home-side {
    justify-content: flex-start;
}

.md-hero-goal-item.away-side {
    justify-content: flex-end;
}

.md-hero-assist-tag {
    font-size: 0.78rem;
    color: #93c5fd;
    background: rgba(255, 255, 255, 0.12);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.md-scorers-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
    margin-bottom: 35px;
    overflow: hidden;
}

.md-scorers-header {
    background: linear-gradient(135deg, #0b1a40, #152aa5);
    color: #ffffff;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.md-scorers-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.md-scorers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

@media (max-width: 768px) {
    .md-scorers-grid {
        grid-template-columns: 1fr;
    }
}

.md-scorers-col {
    padding: 24px;
}

.md-scorers-col:first-child {
    border-right: 1px solid #e2e8f0;
}

.md-scorers-team-heading {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0b1a40;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1f5f9;
}

.md-goal-entry {
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    padding: 12px 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.md-goal-entry:hover {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.md-goal-minute-pill {
    background: #ffc107;
    color: #0b1a40;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 4px 9px;
    border-radius: 20px;
    line-height: 1;
}

.md-goal-scorer-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.md-goal-scorer-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
}

.md-goal-assist-info {
    font-size: 0.82rem;
    color: #2563eb;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* --- CREATIVE MATCH INFO GRID --- */
.md-creative-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    /*max-width: 1100px;*/
    margin: 0 auto 40px auto;
}

.md-info-micro-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-left: 4px solid #ffc107;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.md-info-micro-card:hover {
    transform: translateY(-3px);
}

.md-info-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(11, 7, 38, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #0b0726;
}

.md-info-card-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.md-info-card-val {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0b0726;
}

.btn-404-back {
    border-radius: 6px;
    padding: 12px 28px;
    font-weight: 800;
}

.h2h-container-wrapper {
    /*max-width: 1100px;*/
    margin: 0 auto 50px auto;
     text-align: center;
}

/* --- PREMIUM TEAM & PLAYER REGISTRATION DASHBOARD STYLES --- */
.reg-bg-wrapper {
    
    background-size: cover;
    min-height: 100vh;
    padding: 60px 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reg-card-container {
    width: 100%;
    max-width: 900px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin: 0 auto;
}

/* Overlapping Angled Tabs styling */
.reg-tabs-bar {
    display: flex;
    background: #f1f5f9;
    height: 65px;
    position: relative;
    border-bottom: 2px solid #e2e8f0;
}

.reg-tab-link {
    flex: 1;
    border: none;
    background: #e2e8f0;
    color: #475569;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.25s ease;
    font-family: "Google Sans", sans-serif !important;
}

.reg-tab-link:first-child {
    clip-path: polygon(0 0, 88% 0, 100% 100%, 0% 100%);
    padding-right: 50px;
    z-index: 2;
}

.reg-tab-link:last-child {
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
    margin-left: -80px;
    padding-left: 80px;
    z-index: 1;
}

.reg-tab-link.active {
    background: #fbc02d;
    color: #00114b;
    z-index: 3;
}

.reg-tab-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Inner Layout Columns */
.reg-body-grid {
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (max-width: 991px) {
    .reg-body-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
}

.reg-form-panel {
    background: #ffffff;
}

.reg-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1.5px solid #f1f5f9;
}

.reg-section-title i {
    color: #0f2c59;
    font-size: 1.35rem;
}

.reg-section-title h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f2c59;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reg-section-title span {
    font-size: 0.85rem;
    color: #64748b;
    display: block;
    margin-top: 2px;
}

/* Document Upload UI */
.logo-upload-wrapper {
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    background: #f8fafc;
    transition: all 0.2s;
    cursor: pointer;
}

.logo-upload-wrapper:hover {
    border-color: #0f2c59;
    background: #f0f4fa;
}

.logo-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
}

.doc-preview-box {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-top: 0.5rem;
}

.doc-preview-thumb {
    width: 45px;
    height: 45px;
    border-radius: 6px;
    object-fit: cover;
}

.doc-preview-delete {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Flag phone input group */
.phone-prefix-box {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 10px;
    background: #fff;
    width: 90px;
    justify-content: center;
}

/* Jersey Color options */
.jersey-color-picker {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.color-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.75rem;
    transition: all 0.15s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.15);
}

.color-dot.active {
    border-color: #0f2c59;
    transform: scale(1.15);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.color-dot.custom-picker-btn {
    background-color: #f1f5f9;
    color: #64748b;
    border: 2px dashed #cbd5e1;
    box-shadow: none;
    position: relative;
}

/* Sidebar Timeline Steps */
.timeline-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    padding-left: 1.5rem;
}

.timeline-steps::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 15px;
    bottom: 15px;
    width: 2px;
    border-left: 2px dashed #cbd5e1;
    z-index: 1;
}

.timeline-step-item {
    display: flex;
    gap: 1.25rem;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.timeline-step-item.active .step-number {
    background: #0f2c59;
    color: #ffffff;
}

.step-details h5 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 2px 0;
}

.step-details p {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* Sidebar Important Box */
.important-box {
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.important-box i {
    color: #faad14;
    font-size: 1.35rem;
}

.important-box h6 {
    font-size: 0.9rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.important-box p {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Submit bar */
.btn-register-team {
    background: #0f2c59;
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 8px;
    padding: 0.85rem;
    width: 100%;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
}

.tab-content {
    display: none;
}

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

/* Force dark text color on white registration inputs/selects to override dark mode defaults */
.reg-card-container .form-control,
.reg-card-container .form-select {
    color: #1e293b !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    font-family: "Google Sans", sans-serif !important;
}

.reg-card-container .form-control::placeholder {
    color: #94a3b8 !important;
}

.reg-card-container .form-control:focus,
.reg-card-container .form-select:focus {
    color: #1e293b !important;
    border-color: #0f2c59 !important;
    box-shadow: 0 0 0 3px rgba(15, 44, 89, 0.15) !important;
}

.reg-card-container .form-select option {
    color: #1e293b !important;
    background-color: #ffffff !important;
}

/* Autofill styling overrides for Webkit/Blink browsers to prevent black background */
.reg-card-container input:-webkit-autofill,
.reg-card-container input:-webkit-autofill:hover, 
.reg-card-container input:-webkit-autofill:focus, 
.reg-card-container input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;
    -webkit-text-fill-color: #1e293b !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Registration Form layout styling helpers */
.reg-card-container .form-label {
    color: #1e293b !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    margin-bottom: 0.4rem !important;
}

.reg-card-container .form-check-label {
    color: #1e293b !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
}

.reg-card-container .form-check-label a {
    color: #0f2c59 !important;
    font-weight: 800 !important;
    text-decoration: underline !important;
}

.reg-sponsor-item label,
.reg-sponsor-item .form-label {
    color: #1e293b !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
}

.reg-sponsor-item .text-muted {
    color: #1e293b !important;
    font-weight: 700 !important;
}

#colorTextValue {
    color: #1e293b !important;
    font-weight: 700 !important;
    font-size: 0.88rem !important;
}

.reg-login-wrapper {
    max-width: 480px;
    margin: 0 auto;
    padding: 1.5rem 0;
}

.password-field-container {
    position: relative;
}

.password-field-input {
    padding-right: 45px !important;
}

.password-toggle-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #64748b;
    z-index: 10;
}

.password-hint {
    font-size: 0.95rem;
    color: #64748b;
    margin-top: 4px;
    line-height: 1.4;
}

.jersey-color-custom-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    background: #fff;
    height: 46px;
}

.jersey-color-input-element {
    padding: 0;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.jersey-color-label-text {
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 600;
}

.reg-sub-section-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f2c59;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.reg-logged-in-alert {
    background: #ecfdf5;
    border: 1.5px solid #a7f3d0;
    color: #065f46;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 0.9rem;
}



/* =============================================
   Videos / League Highlights Page
   ============================================= */

/* Hero */
.vid-page-hero {
    position: relative;
    padding: 80px 0 60px;
    text-align: center;
    overflow: hidden;
    /*background: url('/tamil_winder/assets/img/hero-bg.jpg') center/cover no-repeat;*/
}
/*.vid-page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.88) 0%, rgba(5,15,30,0.80) 100%);
    z-index: 0;
}*/
.vid-page-hero-inner {
    position: relative;
    z-index: 1;
}
.vid-page-hero-desc {
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    max-width: 550px;
    margin: 0 auto;
}

/* Section */
.vid-section {
    background: #ffffff;
    min-height: 60vh;
    border-radius: 16px;
    padding: 40px 30px;
    margin: 0 auto 50px auto;
}

/* Filter bar */
.filter-bar-vid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    background: #111e2f;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 35px;
}
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 200px;
}
.filter-group label {
    font-size: 0.75rem;
    font-weight: 800;
    color: #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.filter-control {
    background: #0d1b2a;
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}
.filter-control:focus {
    border-color: #f5a623;
}

/* Grid */
.vid-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* Card */
.vid-card {
    background: #111e2f;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.vid-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    border-color: rgba(245,166,35,0.3);
}

/* Thumbnail */
.vid-thumb-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
}
.vid-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.vid-card:hover .vid-thumb-wrap img {
    transform: scale(1.05);
}

/* Play button */
.vid-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    transition: background 0.25s;
}
.vid-card:hover .vid-play-btn {
    background: rgba(0,0,0,0.45);
}
.vid-play-btn i {
    color: #fff;
    background: rgba(245,166,35,0.9);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    padding-left: 4px;
    box-shadow: 0 4px 15px rgba(245,166,35,0.4);
    transition: transform 0.2s;
}
.vid-card:hover .vid-play-btn i {
    transform: scale(1.1);
}

/* Duration badge */
.vid-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

/* Card body */
.vid-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.vid-category-tag {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f5a623;
    margin-bottom: 8px;
}
.vid-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta */
.vid-meta-info {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 12px;
}
.vid-team-row {
    font-size: 0.8rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}
.vid-team-row img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.vid-team-icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    color: #64748b;
}
.vid-date-row {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Empty state */
.vid-empty {
    text-align: center;
    padding: 80px 0;
    color: rgba(255,255,255,0.4);
    grid-column: 1 / -1;
}
.vid-empty i {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
    color: rgba(245,166,35,0.3);
}
.vid-empty h3 {
    color: rgba(255,255,255,0.7);
    font-weight: 700;
}

/* Lightbox */
.video-lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    inset: 0;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.video-lightbox.show {
    display: flex;
    opacity: 1;
}
.video-lightbox-content {
    width: 90%;
    max-width: 850px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.video-lightbox.show .video-lightbox-content {
    transform: scale(1);
}
.video-lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: rgba(255,255,255,0.7);
    font-size: 2.2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}
.video-lightbox-close:hover {
    color: #fff;
}
.video-lightbox-iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* =============================================
   Video Detail Page  (video_detail.php)
   ============================================= */

/* Hero */
.vd-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding-bottom: 40px;
}
.vd-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(3px) brightness(0.45);
    transform: scale(1.05);
    z-index: 0;
}
.vd-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,15,30,0.95) 0%, rgba(10,22,40,0.55) 60%, transparent 100%);
    z-index: 1;
}
.vd-hero-inner {
    position: relative;
    z-index: 2;
    padding-top: 30px;
}
.vd-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.65);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.2s;
}
.vd-back-btn:hover { color: #f5a623; }
.vd-category-badge {
    display: inline-block;
    background: #f5a623;
    color: #0a1628;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.vd-hero-title {
    font-size: clamp(1.5rem, 3vw, 4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 18px;
    max-width: 800px;
}
.vd-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    font-weight: 600;
}
.vd-hero-meta span { display: flex; align-items: center; gap: 7px; }
.vd-hero-meta i { color: #f5a623; font-size: 0.8rem; }

/* Page body */
.vd-page-body {
        background: #ffffff;
    min-height: 60vh;
    border-radius: 16px;
    padding: 40px 30px;
    margin: 50px auto 50px auto;
}

/* Two-column layout */
.vd-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}
@media (max-width: 992px) {
    .vd-layout { grid-template-columns: 1fr; }
}

/* Video player */
.vd-player-wrap {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    margin-bottom: 30px;
}
.vd-player-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.vd-no-video {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.35);
    gap: 12px;
}
.vd-no-video i { font-size: 3rem; }

/* Description */
.vd-description {
    background: #111e2f;
    border-radius: 14px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,0.06);
}
.vd-desc-heading {
    font-size: 1rem;
    font-weight: 800;
    color: #f5a623;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}
.vd-description p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.75;
    margin: 0;
}

/* Sidebar */
.vd-sidebar { position: sticky; top: 80px; }
.vd-sidebar-heading {
        font-size: 1.2rem;
    font-weight: 900;
    color: rgb(0 18 67);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 1);
}

/* Related video cards */
.vd-related-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.vd-related-card {
    display: flex;
    gap: 14px;
    text-decoration: none;
    background: #111e2f;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.vd-related-card:hover {
    border-color: rgba(245,166,35,0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.vd-related-thumb {
    position: relative;
    width: 130px;
    min-width: 130px;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
    flex-shrink: 0;
}
.vd-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.vd-related-card:hover .vd-related-thumb img { transform: scale(1.06); }
.vd-related-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000e44;
    transition: background 0.2s;
}
.vd-related-card:hover .vd-related-play { background: rgba(0,0,0,0.5); }
.vd-related-play i {
    color: #fff;
    background: rgba(245,166,35,0.85);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    padding-left: 2px;
}
.vd-related-info {
    padding: 12px 14px 12px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    overflow: hidden;
}
.vd-related-cat {
        font-size: 0.85rem;
    font-weight: 700;
    color: #f5a623;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.vd-related-title {
        font-size: 1rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vd-related-date {
    font-size: 0.85rem;
    color: rgb(255 255 255 / 66%);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}


/* vid-card as anchor link — remove default link styling */
a.vid-card {
    text-decoration: none;
    color: inherit;
}

.inner-header-banner{ padding:40px 0; }
.inner-header-title{
        font-family: 'Geomini', sans-serif;
    font-size: 3rem;
    text-transform: none;
    font-weight: 600;
    color: #fff;
    text-transform: lowercase;
}
.inner-header-banner p{ font-size:1.2rem }

/* Contact Page Styles */
.contact-hero {
    position: relative;
    padding: 60px 0 60px;
 
    text-align: center;
   
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}
.contact-badge {
    display: inline-block;
    background: rgba(245, 166, 35, 0.1);
    color: #f5a623;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(245, 166, 35, 0.3);
}
.contact-title {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
     font-family: 'Geomini', sans-serif;
}
.contact-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
}

.contact-section {
    padding: 80px 0;
    background-color: #0a1628;
}

.contact-card-glass {
    background: rgb(1 19 69);   
    
    border-radius: 16px;
    padding: 40px;   
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}
.contact-info-icon {
    width: 50px;
    height: 50px;
    background: rgba(245, 166, 35, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f5a623;
    font-size: 1.5rem;
    margin-right: 20px;
    flex-shrink: 0;
    border: 1px solid rgba(245, 166, 35, 0.2);
}
.contact-info-content h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 5px;
    font-weight: 700;
}
.contact-info-content p {
    color: rgba(255,255,255,0.7);
    margin: 0;
}
.contact-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}
.contact-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}
.contact-social-link:hover {
    background: #f5a623;
    color: #000;
    transform: translateY(-3px);
}

.contact-form .form-group {
    margin-bottom: 25px;
}
.contact-form .form-label {
    color: #fff;
    font-weight: 500;
    margin-bottom: 8px;
}
.contact-form .form-control, 
.contact-form .form-select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
}
.contact-form .form-control:focus, 
.contact-form .form-select:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: #f5a623;
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.2);
    color: #fff;
}
.contact-form .form-select option {
    background: #111e2f;
    color: #fff;
}
.contact-btn-submit {
    background: #f5a623;
    color: #000;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 8px;
    border: none;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: inherit;
}
.contact-btn-submit:hover {
    background: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 166, 35, 0.3);
}

.contact-alert {
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 30px;
    border: 1px solid transparent;
}
.contact-alert-success {
    background: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
}
.contact-alert-error {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}
/* --- About Us Page Styles (about.php) --- */
.btff-about-page {
    background-color: #f8fafc;
    color: #0c0721;
    overflow: visible;
    font-family: "Google Sans", sans-serif;
}

/* Hero Section */
.btff-about-hero {
    background: radial-gradient(circle at top center, #11254e 0%, #071739 100%);
    color: #ffffff;
    padding: 65px 15px 60px 15px;
    position: relative;
    text-align: center;
}

.btff-about-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
}

.btff-about-hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -1px;
    margin-bottom: 25px;
    line-height: 1.15;
}

.btff-about-lead-box {
    max-width: 860px;
    margin: 0 auto;
}

.btff-about-lead-p,
.btff-about-lead-p p {
    font-size: 1.22rem;
    line-height: 1.7;
    color: #e2e8f0;
    font-weight: 400;
    margin-bottom: 1.25rem;
}

.btff-about-lead-p strong,
.btff-about-lead-p p strong {
    color: #ffffff;
    font-weight: 700;
}

.btff-about-lead-p p:last-child {
    margin-bottom: 0;
}

.btff-about-lead-sub {
    font-size: 1.1rem;
    line-height: 1.65;
    color: #cbd5e1;
    font-weight: 400;
    margin-bottom: 0;
}

/* About Hero Image Showcase */
.btff-about-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    border: 3px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btff-about-img-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55);
}

.btff-about-hero-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.btff-about-img-wrapper:hover .btff-about-hero-img {
    transform: scale(1.03);
}

.btff-about-img-overlay-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(7, 23, 57, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Vision & Mission Section */
.btff-about-vm-section {
    background: #ffffff;
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.btff-vm-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 30px;
    height: 100%;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(12, 7, 33, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.btff-vm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(12, 7, 33, 0.1);
}

.btff-vision-card {
    border-top: 4px solid #db000d;
}

.btff-mission-card {
    border-top: 4px solid #f59e0b;
}

.btff-vm-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.btff-vm-icon-box {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.btff-icon-vision {
    background: rgba(219, 0, 13, 0.1);
    color: #db000d;
}

.btff-icon-mission {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

.btff-vm-tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    display: block;
    margin-bottom: 3px;
}

.btff-vm-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0c0721;
    margin: 0;
}

.btff-vm-body {
    flex-grow: 1;
}

.btff-vm-headline {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0c0721;
    line-height: 1.55;
    margin-bottom: 15px;
}

.btff-vm-desc {
    font-size: 1rem;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 0;
}

/* Call to Action Section */
.btff-about-cta {
    background: #f1f5f9;
    padding: 60px 0 80px;
}

.btff-cta-box {
    background-color: #db000d;
    background: linear-gradient(135deg, #e6000e 0%, #db000d 50%, #b8000b 100%);
    border-radius: 24px;
    padding: 50px 30px;
    color: #ffffff;
    box-shadow: 0 15px 40px rgba(219, 0, 13, 0.25);
}

.btff-cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.btff-cta-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 620px;
    margin: 0 auto;
}

.btff-cta-btn-navy {
    background-color: #071739 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    padding: 12px 28px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3) !important;
}

.btff-cta-btn-navy:hover {
    background-color: #0d265a !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4) !important;
}

.btff-cta-btn-outline {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    padding: 12px 28px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.25s ease !important;
}

.btff-cta-btn-outline:hover {
    background-color: #ffffff !important;
    color: #db000d !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25) !important;
}

.btff-cta-btn-white {
    background-color: #ffffff !important;
    color: #db000d !important;
    border: 2px solid #ffffff !important;
    padding: 12px 28px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2) !important;
}

.btff-cta-btn-white:hover {
    background-color: #f8fafc !important;
    color: #b8000b !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.35) !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .btff-about-hero {
        padding: 45px 15px 40px 15px;
    }
    .btff-about-hero-title {
        font-size: 2.3rem;
    }
    .btff-about-lead-p,
    .btff-about-lead-p p {
        font-size: 1.05rem;
    }
    .btff-about-lead-sub {
        font-size: 0.98rem;
    }
    .btff-about-hero-img {
        height: 250px;
    }
    .btff-vm-card {
        padding: 25px 20px;
    }
    .btff-cta-box {
        padding: 35px 20px;
    }
    .btff-cta-title {
        font-size: 1.7rem;
    }
}

/* --- Leadership & Members Vertical Tabs --- */
.leadership-sidebar-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: sticky;
    top: 90px;
    z-index: 10;
}

.leadership-nav-list {
    list-style: none;
    padding: 0.6rem;
    margin: 0;
}

.leadership-nav-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 13px 16px;
    margin-bottom: 6px;
    border-radius: 12px;
    border: none;
    background: transparent;
    color: #334155;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.leadership-nav-btn:hover {
    background: #f1f5f9;
    color: #071739;
    transform: translateX(3px);
}

.leadership-nav-btn.active {
    background: linear-gradient(135deg, #071739 0%, #0d265a 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(7, 23, 57, 0.25);
}

.leadership-nav-btn.active .leadership-icon-box {
    background: rgba(255, 255, 255, 0.2);
    color: #FFD700;
}

.leadership-nav-btn.active .leadership-tab-badge {
    background: #db000d;
    color: #ffffff;
}

.leadership-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #e2e8f0;
    color: #071739;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-right: 12px;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.leadership-tab-badge {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    background: #e2e8f0;
    color: #475569;
    transition: all 0.25s ease;
}

.leadership-tab-pane {
    display: none;
    animation: leadershipFadeIn 0.3s ease forwards;
}

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

@keyframes leadershipFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}


/* =============================================
   Teams Page  (teams.php)
   ============================================= */
.teams-wrapper {
    min-height: calc(100vh - 80px);
    padding: 0rem 1rem 4rem;
    background: transparent;
    position: relative;
    font-family: "Google Sans", sans-serif;
}

.teams-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.teams-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    display: block !important;
}

.page-header {
    margin-bottom: 4rem;
    padding-left: 10px;
    text-align: center;
}

.page-header h1 {
    color: #f8f9fa;
    font-size: 5rem;
    font-weight: 800;   
   background: linear-gradient(to right, #fff, var(--twl-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Geomini', sans-serif;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.team-card {
    position: relative;
    height: 280px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: white;
    transition: transform 0.3s ease;
    border-radius: 20px;
}

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

.watermark {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.12);
    line-height: 1;
    z-index: 1;
    font-family: inherit;
    pointer-events: none;
}

.card-content {
    position: relative;
    z-index: 2;
    margin-top: 3rem;
}

.team-location {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}

.team-title {
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 2rem 0;
    line-height: 1.1;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.team-coach {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Team Card Logo Styles */
.team-card .card-content {
    margin-top: 0.5rem;
}
.team-card .team-title {
    margin: 0 0 1.25rem 0;
}
.team-card-logo-container {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.team-card-logo-img {
    width: 120px;
    height: 120px;   
    object-fit: cover;
   
   
}
.team-card-logo-fallback {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    color: #fff;
}

.teams-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: rgba(255,255,255,0.6);
    padding: 3rem;
}

.teams-empty i {
    color: rgba(255,255,255,0.2);
    display: block;
    margin-bottom: 1rem;
}

.teams-empty h3 {
    color: #fff;
}

a.team-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

@media (max-width: 1200px) {
    .teams-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .teams-grid {
        grid-template-columns: 1fr;
    }
    .page-header h1 {
        font-size: 3rem;
    }
}


/* Contact inner wrapper */
.contact-inner {
    background: #fff;
    border-radius: 20px;
    padding: 50px 40px;       
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .contact-inner {
        padding: 30px 20px;
    }
}


/* Contact form — visible placeholder text */
.contact-form .form-control::placeholder,
.contact-form .form-select::placeholder {
    color: rgba(255, 255, 255, 0.45);
    font-family: inherit;
}


/* =============================================
   Gallery Page Clean Styles (gallery.php)
   ============================================= */
.gallery-hero-header {
    padding: 40px 0 40px;
    text-align: center;
}

.gallery-empty-title {
    color: #333;
    font-weight: 800;
}

.barca-photo-card {
    cursor: pointer;
}

.gallery-video-play-btn i {
    color: #fff;
    font-size: 1rem;
    margin-left: 2px;
}

.gallery-photo-badge.video-badge {
    background: rgba(220, 53, 69, 0.9);
}

.gallery-photo-badge i,
.gallery-tag-red i {
    font-size: 0.72rem;
}

.gallery-modal-video-card {
    width: 100%;
    max-width: 800px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.gallery-modal-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.gallery-modal-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.gallery-modal-video-footer {
    padding: 16px 20px;
    background: #111;
    color: #fff;
    text-align: center;
}

.gallery-modal-video-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    font-family: "Google Sans", sans-serif;
}


/* Fixtures page filter selects — dark text on white card */
.barca-card .form-select {
    color: #1a1a2e !important;
    background-color: #ffffff !important;
    border-color: #ddd !important;
}

.barca-card .form-select option {
    color: #1a1a2e !important;
    background: #ffffff !important;
}


/* =============================================
   Fixtures Page — Bayern Munich Matchplan UI
   ============================================= */

/* Page Header */
.fp-header {
    padding: 50px 0 30px;
    text-align: center;
}

/* Inner Card Container */
.fp-inner-card { 
    padding: 30px;
    background: #fff;
    border-radius: 20px;  
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Top Controls Bar */
.fp-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 28px;
    background: #f7f9fa;
    border-radius: 12px;
    padding: 14px 20px;
    border: 1px solid #e2e8f0;
}

.fp-controls-left {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.fp-select {
    background: #fff;
    color: #111;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 14px;
    font-family: "Google Sans", sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    outline: none;
    appearance: auto;
}

.fp-select:focus {
    border-color: var(--twl-gold);
    box-shadow: 0 0 0 2px rgba(245,166,35,0.2);
}

/* Month Tabs */
.fp-month-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.fp-month-btn {
    background: transparent;
    border: none;
    color: #4a5568;
    font-family: "Google Sans", sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fp-month-btn:hover {
    color: #111;
    background: rgba(0,0,0,0.05);
}

.fp-month-btn.active {
    color: #111;
    background: var(--twl-gold);
    border-bottom: 2px solid #c8800a;
}

/* Date Group */
.fp-fixture-wrapper {
    margin-bottom: 24px;
}

/* Date Header */
.fp-date-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ebebeb;
    border-radius: 6px;
    padding: 10px 18px;
    margin-bottom: 8px;
    font-family: "Google Sans", sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: #1a202c;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.fp-date-label {
    font-family: "Google Sans", sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    color: #1a202c;
    text-transform: none;
    letter-spacing: 0;
}

.fp-date-time {
    font-family: "Google Sans", sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    color: #1a202c;
    font-variant-numeric: tabular-nums;
}

/* Match Card */
.fp-match-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.fp-match-card:hover {
    background: #fafafa;
    border-color: #cbd5e0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Next Match highlight */
.fp-match-card.fp-next-match {
    border-color: var(--twl-gold);
    box-shadow: 0 0 0 1px var(--twl-gold), 0 8px 24px rgba(0,0,0,0.15);
}

/* Next Match Badge */
.fp-next-badge {
    position: absolute;
    top: 10px;
    right: 15px;
    background: var(--twl-gold);
    color: #111;
    font-family: "Google Sans", sans-serif;
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 2;
}

/* Match Inner Layout */
.fp-match-inner {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0;
}

/* Left Accent Bar */
.fp-accent-bar {
    width: 48px;
    background: #e30613;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fp-soccer-ball-circle {
    width: 28px;
    height: 28px;
    border: 1.5px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fp-soccer-ball-circle i {
    color: #ffffff;
    font-size: 0.85rem;
}

.fp-next-match .fp-accent-bar {
    background: var(--twl-gold);
}

.fp-next-match .fp-soccer-ball-circle {
    border-color: #111;
}

.fp-next-match .fp-soccer-ball-circle i {
    color: #111;
}

/* Match Body */
.fp-match-body {
    flex: 1;
    min-width: 0;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Competition Label */
.fp-comp-label {
    font-family: "Google Sans", sans-serif;
    font-weight: 800;
    font-size: 0.78rem;
    color: #e30613;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    text-align: center;
}

.fp-next-match .fp-comp-label {
    color: var(--twl-gold-dark);
}

/* Teams Row */
.fp-teams-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 20px;
}

/* Each team */
.fp-team {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.fp-team-home {
    justify-content: flex-end;
    text-align: right;
}

.fp-team-away {
    justify-content: flex-start;
    text-align: left;
}

.fp-team-name {
    font-family: "Google Sans", sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: #1a202c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fp-team-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

/* VS / Score Block */
.fp-vs-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    flex-shrink: 0;
}

.fp-vs {
    font-family: "Google Sans", sans-serif;
    font-weight: 900;
    font-size: 1.25rem;
    color: #1a202c;
    letter-spacing: 1px;
}

.fp-score {
    font-family: "Google Sans", sans-serif;
    font-weight: 900;
    font-size: 1.45rem;
    color: #e30613;
    letter-spacing: 2px;
}

.fp-next-match .fp-score {
    color: var(--twl-gold-dark);
}

/* Venue */
.fp-venue {
    font-family: "Google Sans", sans-serif;
    font-size: 0.85rem;
    color: #718096;
    margin-top: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
}

.fp-venue i {
    color: #718096;
}

/* Empty State */
.fp-empty {
    text-align: center;
    padding: 60px 20px;
    color: #475569;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px dashed #cbd5e1;
    margin: 20px 0;
}

.fp-empty i {
    font-size: 3rem;
    color: #db000d;
    margin-bottom: 16px;
    display: block;
}

@media (max-width: 768px) {
    .fp-teams-row {
        gap: 12px;
    }
    .fp-team-name {
        font-size: 1rem;
    }
    .fp-team-logo {
        width: 38px;
        height: 38px;
    }
    .fp-vs {
        font-size: 1.1rem;
    }
    .fp-score {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .fp-date-header {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    .fp-date-label, .fp-date-time {
        font-size: 0.85rem;
    }
    .fp-match-body {
        padding: 16px 12px;
    }
    .fp-team-name {
        font-size: 0.9rem;
    }
    .fp-team-logo {
        width: 32px;
        height: 32px;
    }
    .fp-team {
        gap: 8px;
    }
    .fp-vs-block {
        min-width: 50px;
    }
    .fp-vs {
        font-size: 0.95rem;
    }
    .fp-score {
        font-size: 1.15rem;
    }
    .fp-accent-bar {
        width: 38px;
    }
    .fp-soccer-ball-circle {
        width: 24px;
        height: 24px;
    }
    .fp-soccer-ball-circle i {
        font-size: 0.75rem;
    }
}

.fp-empty h3 {
    color: #082054;
    font-weight: 800;
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.fp-empty p {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .fp-controls {
        flex-direction: column;
        align-items: flex-start;
    }

    .fp-teams-row {
        gap: 8px;
    }

    .fp-team-name {
        font-size: 0.82rem;
    }

    .fp-team-logo {
        width: 30px;
        height: 30px;
    }

    .fp-vs-block {
        min-width: 55px;
    }

    .fp-score {
        font-size: 1.1rem;
    }

    .fp-month-tabs {
        gap: 2px;
    }

    .fp-month-btn {
        font-size: 0.78rem;
        padding: 5px 8px;
    }
}


/* ==========================================================================
   Player Details & Profile Page Styles (player_details.php)
   ========================================================================== */
.player-profile-container {
    width: 100%;
   background: #fff;
    padding: 0;
    font-family: "Google Sans", sans-serif;
}
.player-hero-banner {
    position: relative;
    background: #0b1a40;
    width: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;   
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-bottom: 4px solid #0c2075;
}
.player-hero-bg-blur {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 25%;
    filter: blur(25px) brightness(0.35);
    transform: scale(1.1);
    z-index: 1;
}
.player-hero-bg-number {
    position: absolute;
    right: 15%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26rem;
    font-weight: 950;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    z-index: 2;
    pointer-events: none;
    user-select: none;
    font-family: "Google Sans", sans-serif;
}
@media (max-width: 992px) {
    .player-hero-bg-number {
        font-size: 16rem;
        right: 50%;
        top: 45%;
        transform: translate(50%, -50%);
        color: rgba(255, 255, 255, 0.03);
    }
}
.player-hero-pattern {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.06) 0%, transparent 60%);
    z-index: 2;
}
.player-hero-row {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.player-hero-text {
    flex: 1;
    min-width: 300px;
    color: #fff;
}
.player-hero-image-col {
    flex: 0 0 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.player-hero-photo-wrapper {
    width: 260px;
    height: 260px;
    border-radius: 20px;
    border: 6px solid rgb(33 150 243 / 28%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.player-hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.player-hero-placeholder {
    width: 60%;
    height: 60%;
    color: rgba(255,255,255,0.5);
}
.player-hero-team-initials {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom:1rem;
}
.player-hero-team-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    border: 1px solid #fff;
}
.player-hero-name {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.05;   
    margin-bottom: 1rem;
    text-shadow: 0 4px 15px rgba(0,0,0,0.25);
}
.player-hero-name span {
    display: block;
}
.player-hero-name .first-name {
    font-weight: 700;
    opacity: 0.9;
    font-family: 'Geomini', sans-serif;
    font-size: 4rem;
}
.player-hero-meta {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.player-jersey-badge {
    
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    padding: 0.2rem 0.2rem;
   
   
}
.profile-social-link {
    color: rgba(255,255,255,0.7);
    font-size: 1.35rem;
    transition: color 0.2s, transform 0.2s;
    display: inline-block;
}
.profile-social-link:hover {
    color: #fff;
    transform: translateY(-2px);
}
.personal-tab-btn { background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 6px; padding: 0.6rem 2rem; font-size: 1.2rem; font-weight: 500; color: #475569; cursor: pointer; transition: all 0.2s; font-family: inherit; }
.personal-tab-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}
.personal-tab-btn.active {
    background: #0f2c59;
    border-color: #0f2c59;
    color: #fff;
}

/* Detail Section Grid */
.player-details-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;    
}
@media (max-width: 992px) {
    .player-details-grid {
        grid-template-columns: 1fr;
    }
    .player-hero-row {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }
    .player-hero-text {
        margin-bottom: 2rem;
    }
    .player-hero-meta {
        justify-content: center;
    }
    .player-hero-team-initials {
        justify-content: center;
    }
}

.profile-card {
   
   
    padding: 2rem;
   
}
.profile-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.75rem;
}
.personal-table {
    width: 100%;
    border-collapse: collapse;
}
.personal-table tr {
    border-bottom: 1px solid #f1f5f9;
}
.personal-table tr:last-child {
    border-bottom: none;
}
.personal-table td {
    padding: 0.85rem 0;
    font-size: 1.1rem;
}
.personal-label {
    font-weight: 500;
    color: #64748b;
    width: 45%;
}
.personal-value {
    font-weight: 600;
    color: #0f172a;
}

/* Stats Cards Grid */
.stats-tiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
@media (max-width: 576px) {
    .stats-tiles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.stat-tile {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}
.stat-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
}
.stat-tile-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    background: #edf2f7;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}
.stat-tile-icon i {
    color: var(--team-color);
}
.stat-tile-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}
.stat-tile-value {
    font-size: 1.75rem;
    font-weight: 600;
    color: #0f172a;
    font-family: 'Geomini', sans-serif;
}

/* Layout Utilities moved from Inline Styles */
.player-socials-wrapper {
    display: flex;
    gap: 1.25rem;
    margin-top: 1.2rem;
}
.personal-tabs-bar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
#personal-tab-bio {
    display: none;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
}
#personal-tab-bio p {
    margin-top: 0;
    white-space: pre-line;
    font-size: 1.2rem;
}
#personal-tab-honours {
    display: none;
}
.honours-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-size: 0.95rem;
    color: #475569;
}
.honour-item {
    padding: 0.75rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.honour-item.has-border {
    border-bottom: 1px solid #f1f5f9;
}
.honour-award {
    font-weight: 700;
    color: #0f172a;
    font-size: 1.1rem;
}
.honour-year {
    color: #64748b;
    font-weight: 600;
}
.card-yellow {
    color: #f6c23e !important;
}
.card-red {
    color: #e74a3b !important;
}
.social-empty {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    font-style: italic;
}

/* ==========================================================================
   Player Details Page & Edit Modal Components
   ========================================================================== */

/* Main Container */
.player-details-page-container {
    padding-top: 15px;
}

/* Alert Notification Banner */
.player-alert-banner {
    font-weight: 600;
    font-size: 15px;
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.player-alert-banner.player-alert-success {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #14532d;
    box-shadow: 0 4px 12px rgba(20, 83, 45, 0.1);
}
.player-alert-banner.player-alert-danger {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    box-shadow: 0 4px 12px rgba(153, 27, 27, 0.1);
}
.player-alert-content {
    display: flex;
    align-items: center;
    gap: 12px;
}
.player-alert-icon-success {
    font-size: 1.25rem;
    color: #16a34a;
}
.player-alert-icon-danger {
    font-size: 1.25rem;
    color: #dc2626;
}
.player-alert-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}
.player-alert-success .player-alert-close {
    color: #15803d;
}
.player-alert-danger .player-alert-close {
    color: #991b1b;
}

/* Player Hero Badges and Buttons */
.player-hero-meta .player-approved-badge {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.4);
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.player-hero-actions {
    margin-top: 16px;
}
.btn-edit-player-profile {
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: #111;
    border: none;
    padding: 8px 22px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}
.btn-edit-player-profile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    color: #000;
}
.player-hero-placeholder svg {
    width: 100%;
    height: 100%;
}

/* Status Badges in Personal Details Table */
.badge-player-approved {
    background: #ecfdf5 !important;
    color: #047857 !important;
    border: 1px solid #a7f3d0 !important;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.badge-player-approved i {
    color: #059669 !important;
}
.badge-player-pending {
    background: #fef3c7 !important;
    color: #92400e !important;
    border: 1px solid #fcd34d !important;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.badge-player-pending i {
    color: #d97706 !important;
}
.btn-view-doc {
    font-size: 0.8rem;
    padding: 2px 10px;
    border-radius: 6px;
}

/* Edit Player Modal Overlay & Structure */
.player-edit-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 23, 57, 0.75);
    backdrop-filter: blur(4px);
    z-index: 99999;
    overflow-y: auto;
    padding: 30px 15px;
}
.player-edit-modal-dialog {
    max-width: 880px;
    margin: 20px auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    font-family: "Google Sans", sans-serif;
}
.player-edit-modal-header {
    background: #0f2c59;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.player-edit-modal-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.player-edit-modal-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
    font-size: 1.1rem;
}
.player-edit-modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.player-edit-modal-subtitle {
    color: #94a3b8;
    font-size: 0.85rem;
}
.player-edit-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.player-edit-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}
.player-edit-modal-form {
    padding: 2.5rem;
}
.player-edit-label {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.9rem;
}
.player-edit-sublabel {
    color: #1e293b !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
}
.player-edit-section-card label,
.player-edit-section-card .form-label {
    color: #1e293b !important;
    font-weight: 700 !important;
}
.player-edit-input {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.7rem 1rem;
    color: #1e293b !important;
    background: #fff !important;
}
.player-edit-input-sm {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #1e293b !important;
    background: #fff !important;
}
.player-edit-section-card {
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 1rem;
    margin-bottom: 1.5rem;
}
.player-edit-section-heading {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f2c59;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.player-edit-current-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}
.player-edit-current-preview-content {
    display: flex;
    align-items: center;
    gap: 12px;
}
.player-edit-current-thumb {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.player-edit-pdf-thumb {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc2626;
    font-size: 1.5rem;
}
.player-edit-current-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f2c59;
}
.player-edit-current-subtitle {
    font-size: 0.72rem;
    color: #64748b;
}
.player-edit-view-link {
    font-size: 0.75rem;
    color: #2563eb;
    font-weight: 600;
    text-decoration: underline;
}
.player-edit-upload-box {
    padding: 1.25rem;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    text-align: center;
    background: #f8fafc;
    position: relative;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.player-edit-upload-box:hover {
    border-color: #94a3b8;
    background: #f1f5f9;
}
.player-edit-upload-box i {
    font-size: 1.6rem;
}
.player-edit-upload-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
}
.player-edit-upload-hint {
    font-size: 0.72rem;
    color: #64748b;
}
.player-edit-upload-box input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}
.player-edit-doc-preview {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-top: 0.5rem;
}
.player-edit-preview-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #cbd5e1;
}
.player-edit-filename {
    max-width: 160px;
}
.player-edit-ready-badge {
    font-size: 0.72rem;
}
.player-edit-remove-btn {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
}
.player-edit-remove-btn:hover {
    color: #dc2626;
}
.player-edit-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1.5px solid #f1f5f9;
    padding-top: 1.5rem;
}
.btn-player-edit-cancel {
    padding: 0.75rem 1.75rem;
    background: #e2e8f0;
    color: #475569;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: inherit;
    font-size: 0.95rem;
}
.btn-player-edit-cancel:hover {
    background: #cbd5e1;
}
.btn-player-edit-save {
    width: auto;
    padding: 0.75rem 2.5rem;
    background: #0f2c59;
    color: #fff;
    font-weight: 800;
    border-radius: 8px;
    cursor: pointer;
}
.social-icon-ig { color: #e4405f; }
.social-icon-tt { color: #000000; }
.social-icon-fb { color: #1877f2; }
.social-icon-tw { color: #1da1f2; }
.social-addon-base {
    background: #f1f5f9;
    border-color: #cbd5e1;
}
.social-input-base {
    border-color: #cbd5e1;
    color: #1e293b !important;
    background: #fff !important;
}
.req-star {
    color: #dc2626;
}
.text-muted {
    color: #64748b !important;
}

/* Tab Panes */
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}

/* ==========================================================================
   TEAM DETAILS PAGE & MODAL STYLES
   ========================================================================== */

/* Team Details Alert Banners */
.team-alert-banner {
    font-weight: 600;
    font-size: 15px;
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.team-alert-success {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #14532d;
    box-shadow: 0 4px 12px rgba(20, 83, 45, 0.1);
}
.team-alert-error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    box-shadow: 0 4px 12px rgba(153, 27, 27, 0.1);
}
.team-alert-content {
    display: flex;
    align-items: center;
    gap: 12px;
}
.team-alert-icon-success {
    font-size: 1.25rem;
    color: #16a34a;
}
.team-alert-icon-error {
    font-size: 1.25rem;
    color: #dc2626;
}
.team-alert-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}
.team-alert-success .team-alert-close {
    color: #15803d;
}
.team-alert-error .team-alert-close {
    color: #991b1b;
}

/* Header & Meta & Banner */
.squad-sponsor-badge {
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.5);
    color: #ffd700;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.social-media-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.squad-no-social {
    font-size: 0.8rem;
    opacity: 0.6;
    color: #fff;
}
.squad-edit-btn-wrap {
    margin-top: 14px;
}
.btn-edit-team-profile {
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: #111;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}
.btn-edit-team-profile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    color: #000;
}
.squad-header-logo-placeholder i {
    font-size: 2.5rem;
    opacity: 0.5;
}
.team-banner-placeholder {
    background: linear-gradient(135deg, #0b1a40 0%, #1e3c72 50%, #2a5298 100%);
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.team-banner-placeholder-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 80%);
}
.team-banner-placeholder-title {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 800;
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1;
    margin: 0;
    font-family: "Google Sans", sans-serif;
}

/* Squad & Fixtures Links & Status */
.player-card-link-wrapper {
    text-decoration: none;
    color: inherit;
    display: block;
}
.player-card-link-wrapper:hover {
    text-decoration: none;
    color: inherit;
}
.fixture-status-sub {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 0.3rem;
}
.fixture-status-sub.live {
    color: #dc2626;
}
.fixture-status-sub.ft {
    color: #777785;
}

/* Sponsors Tab */
.team-individual-sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}
.team-principal-sponsor-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 20px;
    border: 2px solid #ffd700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.team-principal-sponsor-card.main-sponsor {
    padding: 20px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    flex-wrap: wrap;
    gap: 20px;
}
.team-sponsor-logo-img {
    max-height: 50px;
    max-width: 90px;
    object-fit: contain;
}
.team-main-sponsor-logo-img {
    max-height: 55px;
    max-width: 140px;
    object-fit: contain;
}
.team-sponsor-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.13);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #b45309;
}
.team-main-sponsor-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.13);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #b45309;
}
.team-sponsor-category-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    font-weight: 700;
}
.team-sponsor-name-title {
    margin: 0;
    font-weight: 800;
    color: #0b1a40;
    font-size: 1rem;
}
.team-main-sponsor-name-title {
    margin: 0;
    font-weight: 800;
    color: #0b1a40;
    font-size: 1.2rem;
}
.btn-team-sponsor-visit {
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 4px 10px;
}
.btn-team-main-sponsor-visit {
    border-radius: 8px;
    font-weight: 700;
}

/* Team Edit Profile Modal */
.team-edit-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 23, 57, 0.75);
    backdrop-filter: blur(4px);
    z-index: 99999;
    overflow-y: auto;
    padding: 30px 15px;
}
.team-edit-modal-dialog {
    max-width: 880px;
    margin: 20px auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    font-family: "Google Sans", sans-serif;
}
.team-edit-modal-header {
    background: #0f2c59;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.team-edit-modal-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.team-edit-modal-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
    font-size: 1.1rem;
}
.team-edit-modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.team-edit-modal-subtitle {
    color: #94a3b8;
    font-size: 0.85rem;
}
.team-edit-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.team-edit-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}
.team-edit-modal-form {
    padding: 2.5rem;
}
.team-edit-label {
    font-weight: 700 !important;
    color: #1e293b !important;
    font-size: 0.9rem !important;
    margin-bottom: 0.4rem;
}
.team-edit-sublabel {
    font-weight: 600 !important;
    color: #1e293b !important;
}
.team-edit-input {
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 0.7rem 1rem !important;
    color: #1e293b !important;
    background: #fff !important;
}
.team-edit-input:focus,
.team-edit-select:focus,
.team-edit-textarea:focus,
.team-edit-input-sm:focus {
    border-color: #0f2c59 !important;
    box-shadow: 0 0 0 3px rgba(15, 44, 89, 0.15) !important;
}
.team-edit-select {
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 0.7rem 1rem !important;
    color: #1e293b !important;
    background: #fff !important;
}
.team-edit-textarea {
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 0.75rem 1rem !important;
    color: #1e293b !important;
    background: #fff !important;
}
.team-edit-section-card {
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}
.team-edit-section-heading {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f2c59;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.team-edit-section-subtext {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 10px;
}
.team-edit-current-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}
.team-edit-current-logo-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}
.team-edit-current-avatar-thumb {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #cbd5e1;
}
.team-edit-current-logo-thumb {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 2px;
}
.team-edit-current-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f2c59;
}
.team-edit-current-subtitle {
    font-size: 0.72rem;
    color: #64748b;
}
.team-edit-upload-box {
    padding: 1rem;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    text-align: center;
    background: #f8fafc;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}
.team-edit-upload-box:hover {
    border-color: #0f2c59;
    background: #f1f5f9;
}
.team-edit-upload-box i {
    font-size: 1.4rem;
}
.team-edit-upload-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
}
.team-edit-upload-hint {
    font-size: 0.75rem;
    color: #64748b;
}
.team-edit-upload-box input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}
.team-edit-doc-preview {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-top: 0.5rem;
}
.team-edit-preview-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.team-edit-preview-logo {
    width: 45px;
    height: 45px;
    border-radius: 6px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #cbd5e1;
    padding: 2px;
}
.team-edit-preview-name {
    max-width: 160px;
}
.team-edit-remove-btn {
    background: transparent;
    border: none;
    color: #ef4444;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
}
.team-edit-remove-btn:hover {
    color: #dc2626;
}
.team-edit-phone-prefix {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 12px;
    background: #fff;
    width: 92px;
    justify-content: center;
}
.team-edit-phone-flag {
    width: 20px;
    height: 13px;
    margin-right: 6px;
}
.team-edit-phone-code {
    font-size: 0.9rem;
    font-weight: 700;
    color: #475569;
}
.team-edit-password-wrap {
    position: relative;
}
.team-edit-password-input {
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 0.7rem 1rem !important;
    padding-right: 45px !important;
    color: #1e293b !important;
    background: #fff !important;
}
.team-edit-password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #64748b;
    z-index: 10;
}
.team-edit-password-hint {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 4px;
}
.team-edit-color-picker {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.team-edit-color-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.8rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
    transition: transform 0.15s ease;
}
.team-edit-color-dot:hover {
    transform: scale(1.1);
}
.team-edit-color-dot.active {
    border-color: #0f2c59;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0f2c59;
}
.team-edit-custom-color-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    color: #64748b;
    border: 2px dashed #cbd5e1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease;
}
.team-edit-custom-color-dot:hover {
    transform: scale(1.1);
}
.team-edit-custom-color-dot.active {
    border: 2px solid #0f2c59;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0f2c59;
}
.team-edit-color-picker-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}
.team-edit-color-label {
    font-size: 0.85rem;
}
.team-edit-sponsor-current-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    padding: 4px 8px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
}
.team-edit-sponsor-thumb {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 4px;
}
.team-edit-sponsor-badge-text {
    font-size: 0.72rem;
    color: #059669;
    font-weight: 700;
}
.team-edit-input-sm {
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    color: #1e293b !important;
    background: #fff !important;
}
.team-edit-file-input {
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    font-size: 0.8rem !important;
    background: #fff !important;
}
.team-edit-file-input-lg {
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-size: 0.88rem !important;
    background: #fff !important;
}
.social-icon-yt {
    color: #cd201f;
}
.team-edit-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1.5px solid #f1f5f9;
    padding-top: 1.5rem;
}
.btn-team-edit-cancel {
    padding: 0.75rem 1.75rem;
    background: #e2e8f0;
    color: #475569;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: inherit;
    font-size: 0.95rem;
}
.btn-team-edit-cancel:hover {
    background: #cbd5e1;
}
.btn-team-edit-save {
    width: auto;
    padding: 0.75rem 2.5rem;
    background: #0f2c59;
    color: #fff;
    font-weight: 800;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.btn-team-edit-save:hover {
    background: #1e3a8a;
    transform: translateY(-1px);
}
.fp-match-card.fp-live-match {
    border-color: #dc2626;
    box-shadow: 0 0 0 1px #dc2626, 0 8px 24px rgba(220, 38, 38, 0.15);
}
.fp-live-badge {
    position: absolute;
    top: 10px;
    right: 15px;
    background: #dc2626;
    color: #fff;
    font-family: "Google Sans", sans-serif;
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
}
.live-dot {
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-live 1.2s infinite;
}
@keyframes pulse-live {
    0% {
        transform: scale(0.85);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
    }
    100% {
        transform: scale(0.85);
        opacity: 0.5;
    }
}


/* ==========================================================================
   Footer Styles (includes/footer.php)
   ========================================================================== */

footer.footer {
    position: relative;
    background: #ffffff;
    color: #0c0721;
}

.footer-heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.9rem;
    letter-spacing: -0.2px;
    line-height: 1.2;
}

.footer-link-list li {
    margin-bottom: 0.65rem;
}

.footer-link-list li a {
    font-size: 1.02rem;
    font-weight: 500;
    color: #1f385c !important;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
    line-height: 1.4;
}

.footer-link-list li a:hover {
    color: #db000d !important;
}

/* Footer Top Header Row */
.footer-top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 0.5rem;
    padding-bottom: 1.25rem;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.footer-actions-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
}

.footer-divider {
    border: 0 !important;
    border-top: 1px solid #e9ecef !important;
    opacity: 1 !important;
    margin-top: 0 !important;
    margin-bottom: 2.5rem !important;
    width: 100% !important;
}

/* Logo circle wrapper in footer middle section */
.footer-logo-circle {
    width: 105px;
    height: 105px;
    background: transparent;
    border-radius: 50%;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.22));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.footer-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Horizontal nav links row in footer middle section */
.footer-nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-weight: 800;
    font-size: 1rem;
}
.footer-nav-links a {
    color: #000000 !important;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-nav-links a:hover {
    color: #db000d !important;
}

/* Footer social icons */
.footer-social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.footer-social-icons a {
    color: #000000 !important;
    font-size: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, color 0.2s ease;
    text-decoration: none;
}
.footer-social-icons a:hover {
    color: #db000d !important;
    transform: translateY(-2px);
}

.footer-reg-btn {
    background-color: #db000d !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    padding: 10px 22px !important;
    border-radius: 3px !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
    text-decoration: none !important;
}

.footer-reg-btn:hover {
    background-color: #b8000b !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Footer London Skyline Image (Bottom Right on Desktop) */
.footer-skyline-bottom-right {
    position: absolute;
    right: 25px;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.footer-skyline-img {
    height: 95px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    display: block;
    opacity: 0.35;
}

/* Copyright bottom bar (Red Bar) */
.footer-copyright-bar {
    background-color: #db000d;
    color: #ffffff;
    padding: 1.25rem 0;
    margin-top: 1.5rem;
}

.footer-copyright-bar .footer-copyright {
    font-weight: 700;
    color: #ffffff !important;
    font-size: 0.95rem;
    line-height: 1.4;
}

.footer-copyright-bar .footer-legal-links {
    font-size: 0.92rem;
    font-weight: 700;
}

.footer-copyright-bar a {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    transition: opacity 0.2s ease;
}

.footer-copyright-bar a:hover {
    color: #ffffff !important;
    text-decoration: underline;
    opacity: 0.9;
}

.footer-legal-bullet {
    color: #ffffff;
    opacity: 0.75;
}

/* ==========================================================================
   Team Details - Management Staff Showcase Styles
   ========================================================================== */
.team-management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

.team-staff-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.4rem 0.85rem;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-staff-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.team-staff-avatar-wrap {
    position: relative;
    width: 160px;
    height: 160px;
    margin-bottom: 0.95rem;
}

.team-staff-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 20px !important;
    object-fit: cover;
    display: block;
}

.team-staff-avatar-manager {
    border: 3.5px solid #3b82f6;
    box-shadow: 0 4px 14px rgba(59,130,246,0.3);
}

.team-staff-avatar-coach {
    border: 3.5px solid #10b981;
    box-shadow: 0 4px 14px rgba(16,185,129,0.3);
}

.team-staff-badge-icon {
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 32px;
    height: 32px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border: 2.5px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    z-index: 2;
    color: #ffffff;
}

.team-staff-badge-manager {
    background: #0f172a;
}

.team-staff-badge-coach {
    background: #10b981;
}

.team-staff-role-pill {
    display: inline-block;
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50rem;
    margin-bottom: 0.45rem;
    letter-spacing: 0.5px;
}

.team-staff-pill-manager {
    color: #2563eb;
    background: #eff6ff;
}

.team-staff-pill-coach {
    color: #059669;
    background: #ecfdf5;
}

.team-staff-name {
    font-size: 1.08rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.team-staff-assistant-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 0.85rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-top: 0.85rem;
}

.team-staff-assistant-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e0e7ff;
    color: #4338ca;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.team-staff-assistant-role {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
}

.team-staff-assistant-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1e293b;
}

/* ==========================================================================
   Tournament Rules Button & Dynamic Modal Styles
   ========================================================================== */
.btn-league-rules {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1.5px solid #93c5fd;
    padding: 7px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08);
}

.btn-league-rules:hover {
    background: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
    transform: translateY(-1px);
}

.league-rules-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    overflow-y: auto;
}

.league-rules-modal-backdrop.show {
    display: flex;
}

.league-rules-modal-dialog {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 820px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalFadeIn 0.25s ease-out;
    overflow: hidden;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.league-rules-modal-header {
    background: linear-gradient(135deg, #0f2c59 0%, #1e3a8a 100%);
    color: #ffffff;
    padding: 1.25rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rules-modal-icon-badge {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #facc15;
    flex-shrink: 0;
}

.rules-modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.rules-modal-subtitle {
    font-size: 0.82rem;
    color: #cbd5e1;
    margin-top: 2px;
}

.rules-modal-close-btn {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.2s ease;
}

.rules-modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fee2e2;
}

.league-rules-modal-search {
    padding: 0.85rem 1.75rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.league-rules-modal-search .search-icon {
    position: absolute;
    left: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
}

.league-rules-modal-search input {
    padding-left: 2.25rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 0.9rem;
    background: #ffffff;
}

.league-rules-modal-search input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.league-rules-modal-body {
    padding: 1.5rem 1.75rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #f8fafc;
}

.rule-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.15rem 1.25rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.rule-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.rule-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.6rem;
}

.rule-number-badge {
    background: #0f2c59;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.rule-card-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f2c59;
}

.rule-card-content {
    font-size: 0.94rem;
    line-height: 1.6;
    color: #334155;
}

.rule-card-content ul {
    margin: 0.5rem 0 0 1.25rem;
    padding: 0;
}

.league-rules-modal-footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 1rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.league-rules-modal-footer .btn-primary,
.league-rules-modal-footer button[type="submit"] {
    background: #0f2c59 !important;
    color: #ffffff !important;
    border: 1px solid #0f2c59 !important;
    font-weight: 700;
}

.league-rules-modal-footer .btn-primary:hover,
.league-rules-modal-footer button[type="submit"]:hover {
    background: #1e3a8a !important;
    color: #ffffff !important;
}

.league-rules-modal-footer .btn-secondary,
.league-rules-modal-footer button[type="button"].btn-secondary {
    background: #475569 !important;
    color: #ffffff !important;
    border: 1px solid #475569 !important;
    font-weight: 600;
}

/* Modal Input & Form Controls Text Visibility */
.league-rules-modal-dialog .form-control,
.league-rules-modal-dialog input[type="text"],
.league-rules-modal-dialog input[type="email"],
.league-rules-modal-dialog input[type="password"] {
    color: #0f172a !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
}

.league-rules-modal-dialog .form-control::placeholder,
.league-rules-modal-dialog input::placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
}

.league-rules-modal-dialog .form-control:focus,
.league-rules-modal-dialog input:focus {
    color: #0f172a !important;
    background-color: #ffffff !important;
    border-color: #0f2c59 !important;
    box-shadow: 0 0 0 3px rgba(15, 44, 89, 0.15) !important;
    outline: none !important;
}

/* Reset Password and Auth Page Inputs */
.reg-bg-wrapper .form-control,
.reg-bg-wrapper input[type="text"],
.reg-bg-wrapper input[type="email"],
.reg-bg-wrapper input[type="password"],
.password-field-container .form-control,
.password-field-input {
    color: #0f172a !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
}

.reg-bg-wrapper .form-control::placeholder,
.password-field-input::placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
}

.reg-bg-wrapper .form-control:focus,
.reg-bg-wrapper input:focus,
.password-field-input:focus {
    color: #0f172a !important;
    background-color: #ffffff !important;
    border-color: #0f2c59 !important;
    box-shadow: 0 0 0 3px rgba(15, 44, 89, 0.15) !important;
    outline: none !important;
}

.password-toggle-icon {
    color: #64748b !important;
}
.password-toggle-icon:hover {
    color: #0f2c59 !important;
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE MASTER STYLES
   ========================================================================== */

/* Universal Viewport & Overflow Safety */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    position: relative;
}

/* 1. Header & Navigation (< 992px) */
@media (max-width: 991.98px) {
    .main-header {
        position: relative;
        z-index: 1050;
    }
    .main-header .navbar {
        padding: 0.4rem 0 !important;
    }
    .main-header .navbar > .container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        position: relative !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .navbar-brand {
        position: static !important;
        top: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
    }
    .navbar-brand img {
        height: 60px !important;
        max-height: 60px !important;
        width: auto !important;
    }
    .navbar-toggler {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 6px 6px !important;
        border: 2px solid #0f2c59 !important;
        border-radius: 6px !important;
        background: #ffffff !important;
        color: #0f2c59 !important;
        cursor: pointer !important;
        outline: none !important;
        position: relative !important;
        z-index: 1060 !important;
        pointer-events: auto !important;
    }
    .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(15, 44, 89, 0.2) !important;
    }
    .main-header .navbar-collapse {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 290px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #ffffff !important;
        padding: 1.25rem 1.25rem 2rem 1.25rem !important;
        margin: 0 !important;
        border-radius: 0 !important;
        border-right: 2px solid #0f2c59 !important;
        box-shadow: 10px 0 35px rgba(0, 0, 0, 0.3) !important;
        z-index: 99999 !important;
        display: flex !important;
        flex-direction: column !important;
        overflow-y: auto !important;
        transform: translateX(-100%) !important;
        visibility: hidden !important;
        transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.3s !important;
    }
    .main-header .navbar-collapse.show {
        transform: translateX(0) !important;
        visibility: visible !important;
    }
    .mobile-nav-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 99990;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        pointer-events: none;
    }
    .mobile-nav-backdrop.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    body.mobile-nav-open {
        overflow: hidden !important;
    }
    .main-header .navbar-nav {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        width: 100% !important;
    }
    .main-header .nav-link {
        padding: 10px 15px !important;
        color: #0f2c59 !important;
        font-weight: 700 !important;
        font-size: 1rem !important;
        border-radius: 6px !important;
        box-shadow: none !important;
        margin: 0px;
        display: block !important;
    }
    .main-header .nav-link:hover,
    .main-header .nav-link.active {
        background: #f1f5f9 !important;
        color: #db000d !important;
        box-shadow: none !important;
    }
    .main-header .btn-register {
        margin-top: 0.75rem !important;
        width: 100% !important;
        text-align: center !important;
        padding: 10px 16px !important;
        display: block !important;
        border-radius: 25px !important;
    }
    .main-header .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        box-shadow: none !important;
        border: 1px solid #e2e8f0 !important;
        background: #f8fafc !important;
        margin-top: 6px !important;
        border-radius: 8px !important;
        padding: 6px 0 !important;
    }
    .main-header .dropdown-item {
        color: #0f2c59 !important;
        padding: 8px 16px !important;
        font-size: 0.95rem !important;
        font-weight: 600 !important;
    }
    .main-header .dropdown-item:hover {
        background: #e2e8f0 !important;
        color: #db000d !important;
    }
    .header-top-bar {
        font-size: 0.78rem !important;
        padding: 6px 12px !important;
        text-align: center !important;
        line-height: 1.4 !important;
    }
}

@keyframes navSlideDownMobile {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 2. Hero Section on Mobile (< 768px) */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0 40px !important;
        background-size: cover !important;
        background-position: center !important;
    }
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.75rem !important;
    }
    .hero-subtitle {
        font-size: 0.92rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.25rem !important;
    }
    .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }
    .hero-buttons .btn {
        width: 100% !important;
        text-align: center !important;
    }
    
    /* Countdown Timer & Next Match */
    .next-match-heading {
        font-size: 1rem !important;
        letter-spacing: 1px !important;
    }
    .countdown-timer {
        gap: 10px !important;
    }
    .timer-block {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    .timer-num {
        font-size: 1.75rem !important;
        line-height: 1 !important;
    }
    .timer-colon {
        font-size: 1.4rem !important;
        line-height: 1 !important;
        margin-top: 2px !important;
    }
    .timer-label {
        font-size: 0.72rem !important;
        margin-top: 4px !important;
    }
    
    /* Next Match Carousel Card */
    .bm-carousel-card {
        flex: 0 0 90% !important;
        max-width: 90% !important;
        width: 90% !important;
        height: auto !important;
        min-height: 100px !important;
    }
    #upcoming-carousel.justify-content-center .bm-carousel-card {
        flex: 0 0 95% !important;
        max-width: 95% !important;
    }
    .bm-carousel-stripe {
        width: 40px !important;
        min-width: 40px !important;
    }
    .bm-carousel-icon-circle {
        width: 26px !important;
        height: 26px !important;
        font-size: 0.75rem !important;
    }
    .bm-carousel-body {
        padding: 8px 10px !important;
    }
    .bm-carousel-comp {
        font-size: 0.68rem !important;
        max-width: 210px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        line-height: 1.2 !important;
        margin-bottom: 6px !important;
    }
    .bm-carousel-row {
        gap: 8px !important;
    }
    .bm-carousel-logo {
        width: 38px !important;
        height: 38px !important;
        max-width: 38px !important;
    }
    .bm-carousel-date {
        font-size: 0.78rem !important;
    }
    .bm-carousel-time {
        font-size: 0.72rem !important;
    }
    
    /* Section Headings */
    .chromatic-title {
        font-size: 1.35rem !important;
        line-height: 1.3 !important;
    }
    .highlights-section,
    .teams-section,
    .video-highlights-section {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }
    
    /* Match Highlights Carousel */
    .match-highlight-carousel-item {
        width: 250px !important;
        min-width: 250px !important;
        max-width: 250px !important;
        flex: 0 0 250px !important;
    }
    .highlight-thumb {
        aspect-ratio: 16 / 9 !important;
    }
    .highlight-overlay {
        padding: 10px !important;
    }
    .highlight-teams {
        font-size: 0.85rem !important;
        margin-bottom: 6px !important;
    }
    .highlight-type {
        font-size: 0.62rem !important;
        padding: 2px 6px !important;
    }
    .highlight-info {
        padding: 10px 12px !important;
    }
    .highlight-title {
        font-size: 0.95rem !important;
        margin-bottom: 4px !important;
    }
    .highlight-desc {
        font-size: 0.8rem !important;
    }
    .highlight-date {
        font-size: 0.75rem !important;
    }
    
    /* Participating Teams Card - Exactly 2 Visible on Mobile */
    .teams-section .twl-card,
    .teams-section .glass-panel {
        padding: 1.5rem 1.25rem !important;
        border-radius: 24px 0 24px 0 !important;
    }
    .teams-section .chromatic-title {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
        letter-spacing: 0px !important;
    }
    #teams-carousel {
        margin-top: 20px !important;
        gap: 16px !important;
        padding-bottom: 8px !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory;
    }
    .teams-section .team-circle-card {
        flex: 0 0 calc((100% - 16px) / 2) !important;
        width: calc((100% - 16px) / 2) !important;
        max-width: calc((100% - 16px) / 2) !important;
        min-width: calc((100% - 16px) / 2) !important;
        scroll-snap-align: start;
    }
    .teams-section .team-ring-size {
        width: 100px !important;
        height: 100px !important;
        margin: 0 auto 10px auto !important;
    }
    .teams-section .team-ring-img {
        width: 75px !important;
        height: 75px !important;
        object-fit: contain !important;
    }
    .teams-section .team-ring-name {
        font-size: 0.85rem !important;
        font-weight: 700 !important;
        max-width: 100% !important;
        margin-top: 6px !important;
        text-align: center !important;
        white-space: normal !important;
        line-height: 1.25 !important;
    }

    /* League Highlights Carousel */
    .home-video-card {
        width: 230px !important;
        min-width: 230px !important;
        max-width: 230px !important;
        flex: 0 0 230px !important;
    }
    .home-video-thumb {
        height: 130px !important;
        object-fit: cover !important;
    }
    .home-video-title {
        font-size: 0.88rem !important;
    }
    .home-video-desc {
        font-size: 0.78rem !important;
    }
    .home-video-league {
        font-size: 0.68rem !important;
    }
    
    .carousel-bleed-right {
        padding-right: 15px !important;
    }
    .carousel-arrows {
        display: none !important;
    }
}

/* 4. Fixtures & Match Cards on Mobile */
@media (max-width: 768px) {
    .fp-hero-header {
        padding: 30px 0 20px !important;
    }
    .fp-hero-title {
        font-size: 2rem !important;
    }
    .fp-controls {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }
    .fp-filter-wrapper {
        width: 100% !important;
    }
    .fp-team-select {
        width: 100% !important;
    }
    .fp-month-nav {
        overflow-x: auto !important;
        white-space: nowrap !important;
        padding-bottom: 6px !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
    }
    .fp-match-inner {
        flex-direction: column !important;
    }
    .fp-match-status-col {
        width: 100% !important;
        min-width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid #e2e8f0 !important;
        padding: 8px 12px !important;
        flex-direction: row !important;
        justify-content: space-between !important;
    }
    .fp-teams-row {
        gap: 5px !important;
    }
    .fp-team-item {
        width: 100% !important;
        justify-content: flex-start !important;
    }
    .fp-team-item.text-end {
        text-align: left !important;
        flex-direction: row-reverse !important;
        justify-content: flex-end !important;
    }
    .fp-score-box {
        margin: 6px 0 !important;
    }
}

/* 5. Tables & Standings on Mobile */
@media (max-width: 768px) {
    .table-responsive {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        margin-bottom: 1rem !important;
        border-radius: 8px !important;
    }
    .league-table-card {
        padding: 15px !important;
    }
}

/* 6. Teams Grid on Mobile */
@media (max-width: 768px) {
    .teams-wrapper {
        margin-top: 20px !important;
        padding: 10px !important;
    }
    .page-header h1 {
        font-size: 2.4rem !important;
    }
    .teams-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* 7. Gallery & Videos on Mobile */
@media (max-width: 768px) {
    .gallery-page-container {
        padding: 0 10px !important;
    }
    .gallery-main-card {
        padding: 16px !important;
    }
    .gallery-photos-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .vid-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .gallery-modal-content {
        max-width: 95vw !important;
    }
    .gallery-modal-nav {
        width: 38px !important;
        height: 38px !important;
        font-size: 14px !important;
    }
    .gallery-modal-prev { left: 10px !important; }
    .gallery-modal-next { right: 10px !important; }
    .gallery-modal-close { top: 15px !important; right: 15px !important; font-size: 32px !important; }
}

@media (max-width: 480px) {
    .gallery-photos-grid {
        grid-template-columns: 1fr !important;
    }
}

/* 8. Registration Forms on Mobile */
@media (max-width: 768px) {
    .reg-container {
        margin: 15px auto !important;
        padding: 15px !important;
        border-radius: 12px !important;
    }
    .reg-header h1 {
        font-size: 1.8rem !important;
    }
    .reg-nav-tabs {
        flex-direction: column !important;
        gap: 8px !important;
    }
    .reg-tab-btn {
        width: 100% !important;
        text-align: center !important;
    }
    .form-grid, .form-grid.grid-3 {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .player-row-card {
        padding: 12px !important;
    }
    .team-sponsor-row {
        grid-template-columns: 1fr !important;
    }
}

/* 9. Footer on Mobile */
@media (max-width: 767.98px) {
    footer.footer {
        margin-top: 35px !important;
        padding-top: 35px !important;
        background: #ffffff !important;
        text-align: left !important;
    }

    .footer-top-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        column-gap: 20px !important;
        row-gap: 32px !important;
        margin-bottom: 2.25rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        justify-content: start !important;
        text-align: left !important;
    }

    .footer-top-row > div,
    .footer-top-row .col-6 {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
        margin-bottom: 0 !important;
        text-align: left !important;
    }

    .footer-heading {
        font-size: 1.25rem !important;
        font-weight: 700 !important;
        color: #000000 !important;
        margin-bottom: 0.9rem !important;
        letter-spacing: -0.2px !important;
        line-height: 1.2 !important;
        text-align: left !important;
        display: block !important;
    }

    .footer-link-list {
        padding-left: 0 !important;
        margin-left: 0 !important;
        margin-bottom: 0 !important;
        list-style: none !important;
        text-align: left !important;
    }

    .footer-link-list li {
        margin-bottom: 0.65rem !important;
        text-align: left !important;
    }

    .footer-link-list li a {
        font-size: 1.02rem !important;
        font-weight: 500 !important;
        color: #1f385c !important;
        line-height: 1.4 !important;
        text-align: left !important;
        display: inline-block !important;
    }

    .footer-middle-section {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }

    .footer-top-header {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1.25rem !important;
    }
    .footer-logo-wrapper {
        justify-content: center !important;
    }
    .footer-actions-wrapper {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 1.25rem !important;
    }

    .footer-logo-circle {
        width: 95px !important;
        height: 95px !important;
        margin: 0.5rem auto !important;
        filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.22)) !important;
    }

    .footer-social-icons {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1.35rem !important;
        margin-bottom: 0.5rem !important;
    }

    .footer-social-icons a {
        font-size: 1.45rem !important;
        color: #0c0721 !important;
    }

    .footer-skyline-bottom-right {
        position: static !important;
        text-align: center !important;
        margin: 0.5rem auto 1.5rem auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        pointer-events: auto !important;
    }

    .footer-skyline-img {
        max-width: 230px !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 auto !important;
        opacity: 0.35 !important;
        display: block !important;
    }

    .footer-copyright-bar {
        background-color: #db000d !important;
        padding: 1.25rem 1rem 1.35rem 1rem !important;
        margin-top: 0 !important;
        text-align: center !important;
    }

    .footer-copyright-bar .footer-copyright {
        font-size: 0.88rem !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        line-height: 1.4 !important;
        margin-bottom: 0.5rem !important;
        text-align: center !important;
    }

    .footer-copyright-bar .footer-legal-links {
        font-size: 0.88rem !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        justify-content: center !important;
        gap: 0.75rem !important;
        text-align: center !important;
    }

    .footer-copyright-bar .footer-legal-links a {
        color: #ffffff !important;
        font-weight: 700 !important;
    }

    .footer-copyright-bar .footer-legal-bullet {
        color: #ffffff !important;
        opacity: 0.8 !important;
    }
}

@media (max-width: 768px) {
    .fp-vs-block {
        min-width: 30px !important;
    }
    .fp-teams-row {
        gap: 5px !important;
    }
}

/* ==========================================================================
   LEADERSHIP & MEMBERS LEFT-SIDE TAB UI
   ========================================================================== */
.leadership-sidebar-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(7, 23, 57, 0.06);
    border: 1px solid #e2e8f0;
}

.leadership-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.leadership-nav-list li {
    border-bottom: 1px solid #f1f5f9;
}

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

.leadership-nav-btn {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 1.1rem;
    color: #334155;
    transition: all 0.25s ease;
    cursor: pointer;
    font-family: inherit;
}

.leadership-nav-btn .leadership-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #071739;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-right: 12px;
    transition: all 0.25s ease;
}

.leadership-tab-badge {
    background: #e2e8f0;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    transition: all 0.25s ease;
}

.leadership-nav-btn:hover {
    background: #f8fafc;
    color: #071739;
    padding-left: 22px;
}

.leadership-nav-btn:hover .leadership-icon-box {
    background: rgba(219, 0, 13, 0.1);
    color: #db000d;
}

.leadership-nav-btn.active {
    background: #071739;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(7, 23, 57, 0.2);
}

.leadership-nav-btn.active .leadership-icon-box {
    background: #db000d;
    color: #ffffff;
}

.leadership-nav-btn.active .leadership-tab-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Tab Content Visibility & Animation */
.leadership-tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.leadership-tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: leadershipFadeSlideIn 0.35s ease forwards;
}

@keyframes leadershipFadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Leadership Page Elements */
.btff-leadership-page {
    background-color: #f8fafc;
}

.btff-leadership-hero {
    padding: 55px 15px 45px;
}

.leadership-sidebar-sticky {
    top: 90px;
}

.leadership-sidebar-footer {
    line-height: 1.5;
}

.leadership-pane-dark {
    background: #071739;
    color: #ffffff;
    border-radius: 16px;
}

.leadership-pane-light {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}

.leadership-pane-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.leadership-light-title {
    color: #071739;
    font-weight: 800;
    font-size: 2.3rem;
    letter-spacing: -0.5px;
    text-align: left;
}

.leadership-pane-subtitle {
    color: #cbd5e1;
    font-size: 1.05rem;
}

.leadership-light-lead {
    color: #64748b;
    font-size: 1.02rem;
    line-height: 1.65;
}

.leadership-badge-sm {
    font-size: 0.78rem;
}

.text-btff-red {
    color: #db000d !important;
}

/* Executive Cards */
.executive-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    height: 100%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
}

.executive-card-navy { border-top: 4px solid #071739 !important; }
.executive-card-red { border-top: 4px solid #db000d !important; }
.executive-card-amber { border-top: 4px solid #f59e0b !important; }
.executive-card-blue { border-top: 4px solid #2563eb !important; }
.executive-card-green { border-top: 4px solid #10b981 !important; }
.executive-card-purple { border-top: 4px solid #8b5cf6 !important; }

.executive-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.executive-icon-navy { background: rgba(7, 23, 57, 0.1); color: #071739; }
.executive-icon-red { background: rgba(219, 0, 13, 0.1); color: #db000d; }
.executive-icon-amber { background: rgba(245, 158, 11, 0.1); color: #d97706; }
.executive-icon-blue { background: rgba(37, 99, 235, 0.1); color: #2563eb; }
.executive-icon-green { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.executive-icon-purple { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }

.executive-role-title {
    color: #071739;
    font-weight: 800;
    margin-bottom: 0;
}

.executive-role-desc {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Affiliated Clubs Cards */
.affiliated-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.affiliated-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.affiliated-logo {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    background: #ffffff;
    padding: 4px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
    display: block;
}

.affiliated-team-title {
    color: #071739;
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 0;
}

.affiliated-meta-list {
    color: #475569;
    line-height: 1.7;
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.affiliated-badge-dark {
    background: #fff1f1;
    color: #db000d;
    padding: 0px 10px;
    border-radius: 20px;
}

.affiliated-btn-view {
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 50rem;
    padding: 0.35rem 1rem;
}

/* Participating Teams (Tab 4) */
.participating-pane {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    border-radius: 16px;
}

.participating-header-bar {
    border-bottom: 1px solid #e2e8f0 !important;
}

.participating-tag-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px;
    margin-bottom: 8px;
    border-radius: 50rem;
    background: #fff8e1;
    border: 1px solid #ffe082;
    color: #b45309;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.participating-flag-img {
    height: 16px;
    width: auto;
    border-radius: 2px;
}

.participating-badge-count {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #071739;
    padding: 8px 14px;
    font-weight: 700;
    border-radius: 8px;
}

.participating-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.participating-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.participating-card-header {
    border-bottom: 1px solid #e2e8f0 !important;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.participating-flag-badge {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
}

.participating-logo-circle {
    width: 65px;
    height: 65px;
    min-width: 65px;
    min-height: 65px;
    max-width: 65px;
    max-height: 65px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.participating-logo-circle img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 50%;
}

.participating-team-name {
    font-weight: 800;
    color: #071739;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.participating-team-city {
    color: #db000d;
    font-weight: 700;
    font-size: 0.88rem;
}

.participating-meta-list {
    color: #475569;
    line-height: 1.7;
    font-size: 0.88rem;
    padding-top: 0.5rem;
    margin-bottom: 1rem;
}

.participating-footer-bar {
    border-top: 1px solid #e2e8f0 !important;
    padding-top: 0.75rem;
}

.participating-btn-profile {
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50rem;
    padding: 0.5rem 1rem;
    width: 100%;
}

/* ==========================================================================
   ICC STYLE PARTICIPATING TEAM CARDS
   ========================================================================== */
.icc-teams-grid {
    margin-top: 1.5rem;
}

.icc-team-card {
    background: #001744;
    border-radius: 20px;
    padding: 48px 24px 36px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 380px;
    box-shadow: 0 10px 30px rgba(0, 23, 68, 0.25);
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: none;
    text-decoration: none !important;
}

.icc-team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 23, 68, 0.4);
}

.icc-team-card-wave {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background-image: url(../img/football-watermark.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    opacity: 0.14;
    transition: transform 0.4s ease, opacity 0.4s ease;
    z-index: 1;
}

.icc-team-card:hover .icc-team-card-wave {
    transform: translateX(-50%) rotate(15deg) scale(1.08);
    opacity: 0.22;
}

.icc-team-logo-circle {
    width: 115px;
    height: 115px;
    min-width: 115px;
    min-height: 115px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    margin-bottom: 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 2;
    transition: transform 0.35s ease;
}

.icc-team-card:hover .icc-team-logo-circle {
    transform: scale(1.06);
}

.icc-team-logo-circle img {
    max-width: 85%;
    max-height: 85%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.icc-team-logo-fallback {
    font-size: 2rem;
    font-weight: 900;
    color: #001744;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.icc-team-name {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.3;
    margin-bottom: auto;
    position: relative;
    z-index: 2;
    font-family: inherit;
}

.icc-team-btn {
    background: #ffffff;
    color: #001744;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 28px;
    border-radius: 50rem;
    border: none;
    margin-top: 32px;
    display: inline-block;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease;
    text-decoration: none;
}

.icc-team-btn:hover {
    background: #db000d;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(219, 0, 13, 0.4);
}

/* ==========================================================================
   INTER MILAN STYLE NEWS BOARD (LATEST NEWS, ANNOUNCEMENTS, UPDATES)
   ========================================================================== */
.news-inter-page {
    background-color: #000000;
}

/* Section 1: Latest News */
.news-latest-section {
    background: #0022a8;
    color: #ffffff;
    padding: 50px 0 65px;
}

.news-hero-title {
    font-size: clamp(3.2rem, 7.5vw, 6rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -3px;
    color: #ffffff;
    line-height: 0.95;
    font-family: "Google Sans", sans-serif;
    margin-bottom: 0;
}

.news-title-underline {
    height: 7px;
    background: #ffffff;
    width: 100%;
    margin-top: 18px;
    margin-bottom: 35px;
}

.news-latest-card {
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease;
}

.news-latest-card:hover {
    transform: translateY(-4px);
}

.news-latest-photo-wrap {
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: #001050;
    position: relative;
}

.news-latest-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
    display: block;
}

.news-latest-card:hover .news-latest-photo {
    transform: scale(1.05);
}

.news-latest-meta {
    font-size: 0.8rem;
    font-weight: 400;
    color: #93c5fd;
    letter-spacing: 0.8px;
    margin-top: 14px;
    margin-bottom: 6px;
}

.news-latest-headline {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.35;
    margin-bottom: 0;
    transition: color 0.2s ease;
}

.news-latest-card:hover .news-latest-headline {
    color: #ffd700;
}

/* News Carousel Navigation & Item Styling */
.news-carousel-controls {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.news-carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
    user-select: none;
}

.news-carousel-btn:hover {
    background: #ffffff;
    color: #0022a8;
    border-color: #ffffff;
    transform: scale(1.06);
}

.news-announcements-section .news-carousel-btn:hover {
    background: #db000d;
    color: #ffffff;
    border-color: #db000d;
}

.news-latest-carousel-item {
    width: 290px;
    min-width: 290px;
    max-width: 290px;
    flex-shrink: 0;
}

.news-announce-carousel-item {
    width: 220px;
    min-width: 220px;
    max-width: 220px;
    flex-shrink: 0;
}

/* Section 2: Announcements */
.news-announcements-section {
    background: #000000;
    color: #ffffff;
    padding: 45px 0 55px;
}

.news-announcements-heading {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    color: #ffffff;
    margin-bottom: 0;
    font-family: "Google Sans", sans-serif;
}

.news-announce-card {
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.news-announce-card:hover {
    transform: translateY(-3px);
}

.news-announce-photo-wrap {
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: #111827;
    position: relative;
}

.news-announce-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.news-announce-card:hover .news-announce-photo {
    transform: scale(1.06);
}

.news-announce-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 12px;
    margin-bottom: 0;
    transition: color 0.2s ease;
}

.news-announce-card:hover .news-announce-title {
    color: #db000d;
}

/* Section 3: Updates */
.news-updates-section {
    background: #0022a8;
    color: #ffffff;
    padding: 60px 0 75px;
}

.news-update-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding-bottom: 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-decoration: none !important;
    transition: background 0.2s ease;
}

.news-update-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-update-meta {
    font-size: 0.78rem;
    font-weight: 800;
    color: #93c5fd;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.news-update-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.35;
    margin-bottom: 0;
    transition: color 0.2s ease;
}

.news-update-item:hover .news-update-title {
    color: #ffd700;
}

.news-update-thumb {
    width: 180px;
    height: 100px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 4px;
    background: #001050;
}

@media (max-width: 768px) {
    .news-update-item {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    .news-update-thumb {
        width: 100%;
        height: 180px;
    }
}

/* ==========================================================================
   FEDERATION INTRODUCTION SECTION (HOME PAGE)
   ========================================================================== */
.btff-intro-section {
    background-color: #ffffff;
    padding: 80px 0 80px;
    position: relative;
    color: #0f172a;
}

.btff-intro-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    width: 95%;
    height: 100%;
    min-height: 314px;
    max-height: 440px;
    background: #082054;
    display: flex;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.btff-intro-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.btff-intro-img-wrapper:hover .btff-intro-img {
    transform: scale(1.04);
}

.btff-intro-title {
    font-size: clamp(1.8rem, 3.5vw, 3.2rem);
    font-weight: 700;
    font-family: "Google Sans", sans-serif;
    line-height: 1.15;
    margin-bottom: 18px;
    color: #082054;
}

.btff-intro-section .btff-intro-title .chromatic-white {
    color: #082054 !important;
    text-shadow: none !important;
}

.btff-intro-section .btff-intro-title .chromatic-gold {
    color: #db000d !important;
    text-shadow: none !important;
}

.btff-intro-lead {
    color: #1e293b;
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

.btff-intro-sub {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.btff-intro-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 26px;
}

.btff-intro-feature-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.btff-intro-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.btff-intro-feature-text {
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}

.btff-intro-btn {
    background: #db000d;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 12px 28px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    border: none;
    box-shadow: 0 4px 14px rgba(219, 0, 13, 0.35);
}

.btff-intro-btn:hover {
    background: #ffffff;
    color: #082054;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Upcoming Tournaments Section & Winter League Pages
   ========================================================================== */
.tournament-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.tournament-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(229, 169, 60, 0.45) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(229, 169, 60, 0.15) !important;
}

/* Winter League Hero */
.winter-league-hero {
    background: linear-gradient(135deg, #051329 0%, #0d2347 50%, #081a38 100%);
    padding: 70px 0 50px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.winter-hero-badge {
    background: rgba(229, 169, 60, 0.15);
    border: 1px solid rgba(229, 169, 60, 0.35);
    color: #f5c358;
    font-size: 0.8rem;
}
.winter-hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.winter-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Winter League Submenu / Sticky Navigation */
.winter-nav-sticky {
    position: sticky;
    top: 72px;
    z-index: 950;
    background: #071739;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    padding: 8px 0;
}
.winter-nav-scroll {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 4px 2px;
    -webkit-overflow-scrolling: touch;
}
@media (min-width: 1280px) {
    .winter-nav-scroll {
        justify-content: center;
    }
}
.winter-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none !important;
    background: transparent;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    flex-shrink: 0;
    white-space: nowrap;
}
.winter-nav-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}
.winter-nav-item.active {
    color: #082054;
    background: #e5a93c;
    border-color: #e5a93c;
    box-shadow: 0 2px 10px rgba(229, 169, 60, 0.35);
}

/* Winter League Body */
.winter-league-body {
    background: #050d1a;
    min-height: 60vh;
}

/* Winter League Feature Cards */
.winter-feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 30px 26px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}
.winter-feature-card:hover {
    transform: translateY(-6px);
    border-color: #cbd5e1;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
}

.winter-card-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}
.icon-blue { background: rgba(59, 130, 246, 0.12); color: #2563eb; border: 1px solid rgba(59, 130, 246, 0.25); }
.icon-gold { background: rgba(229, 169, 60, 0.15); color: #d97706; border: 1px solid rgba(229, 169, 60, 0.3); }
.icon-purple { background: rgba(168, 85, 247, 0.12); color: #9333ea; border: 1px solid rgba(168, 85, 247, 0.25); }
.icon-red { background: rgba(239, 68, 68, 0.12); color: #dc2626; border: 1px solid rgba(239, 68, 68, 0.25); }
.icon-cyan { background: rgba(6, 182, 212, 0.12); color: #0891b2; border: 1px solid rgba(6, 182, 212, 0.25); }
.icon-green { background: rgba(16, 185, 129, 0.12); color: #059669; border: 1px solid rgba(16, 185, 129, 0.25); }
.icon-orange { background: rgba(249, 115, 22, 0.12); color: #ea580c; border: 1px solid rgba(249, 115, 22, 0.25); }
.icon-emerald { background: rgba(20, 184, 166, 0.12); color: #0d9488; border: 1px solid rgba(20, 184, 166, 0.25); }
.icon-yellow { background: rgba(234, 179, 8, 0.12); color: #ca8a04; border: 1px solid rgba(234, 179, 8, 0.25); }

.winter-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f2c59;
    margin-bottom: 12px;
    line-height: 1.35;
    transition: color 0.2s ease;
}
.winter-feature-card:hover .winter-card-title {
    color: #db000d;
}
.winter-card-desc {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 20px;
}
.winter-card-link {
    color: #0f2c59;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}
.winter-feature-card:hover .winter-card-link {
    color: #db000d;
    transform: translateX(3px);
}
/* Winter Content Box (for Sub-views) */
.winter-content-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    color: #1e293b;
    transition: all 0.3s ease;
}

.winter-sub-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}

.winter-sub-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

@media (max-width: 768px) {
    .winter-hero-title {
        font-size: 2.1rem;
    }
    .winter-nav-sticky {
        top: 60px;
    }
}

/* ==========================================================================
   Upcoming Tournaments (Serie A / Matchday Exact Style)
   ========================================================================== */
.tourn-matchday-section {
    background: #000000 !important;
    position: relative;
    padding: 60px 0 60px 0;
    overflow: hidden;
}

.tourn-matchday-wrapper {
    position: relative;
    width: 100%;
    background: #000000;
    border: 1px solid #1c1c1c;
    border-radius: 12px;
    overflow: hidden;
}

.tourn-matchday-grid {
    display: flex;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
}
.tourn-matchday-grid::-webkit-scrollbar {
    display: none;
}

.tourn-matchday-col {
    flex: 0 0 25%;
    width: 25%;
    min-width: 290px;
    height: 590px;
    position: relative;
    border-right: 1px solid #1c1c1c;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 38px 30px 32px 30px;
}

.tourn-matchday-col.col-blue {
    background: #db000d;
}

.tourn-matchday-col.col-black {
    background: #000000;
}

.tourn-matchday-nav-prev {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: #ffffff;
    font-size: 1.6rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.4);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.tourn-matchday-nav-prev:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.tourn-matchday-nav-next {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: #ffffff;
    font-size: 1.6rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.4);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.tourn-matchday-nav-next:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.tourn-meta-title {
    font-family: "Google Sans", sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
    margin-bottom: 2px;
    text-transform: uppercase;
}
.tourn-meta-sub {
    font-family: "Google Sans", sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 2px;
    opacity: 0.95;
}
.tourn-meta-venue {
    font-family: "Google Sans", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-transform: uppercase;
}

.tourn-date-huge {
    font-family: "Google Sans", sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: -2px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 16px;
}

.tourn-teams-list {
    font-family: "Google Sans", sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.tourn-ticket-btn {
    background: #ffffff !important;
    color: #000000 !important;
    font-family: "Google Sans", sans-serif;
    font-weight: 800 !important;
    font-size: 0.84rem !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    padding: 12px 18px;
    text-decoration: none !important;
    display: block;
    width: 100%;
    border-radius: 0 !important;
    border: none !important;
    transition: all 0.2s ease;
}
.tourn-ticket-btn:hover {
    background: #e2e8f0 !important;
    color: #000000 !important;
}
.tourn-badge-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.tourn-badge-tag {
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1;
}

.tourn-badge-name {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1;
}

@media (max-width: 992px) {
    .tourn-matchday-col {
        flex: 0 0 50%;
        width: 50%;
    }
}
@media (max-width: 576px) {
    .tourn-matchday-col {
        flex: 0 0 85%;
        width: 85%;
    }
}

/* --- HOMEPAGE HELPER CLASSES --- */
.hero-btn-primary {
    font-weight: 700;
    font-size: 1.1rem;
}
.no-matches-alert {
    color: #0f2c59;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 2rem 1.5rem;
    text-align: center;
    width: 100%;
    background: #f1f5f9;
    border-radius: 10px;
    border: 2px dashed #cbd5e1;
}
.no-matches-icon {
    color: #db000d;
}
.match-highlight-carousel-item {
    width: calc((100% - 72px) / 4);
    min-width: 280px;
}
@media (max-width: 768px) {
    .match-highlight-carousel-item {
        width: 250px !important;
        min-width: 250px !important;
        max-width: 250px !important;
        flex: 0 0 250px !important;
    }
}
.match-highlights-empty-icon {
    color: rgba(255, 195, 0, 0.3);
}
.match-highlights-carousel-track {
    width: 100%;
}
.highlight-card-link {
    text-decoration: none;
}
.home-video-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.home-video-league-tag {
    color: #dc3545;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 4px;
}
.home-video-league-icon {
    font-size: 0.72rem;
}
.home-video-time-tag {
    font-weight: 500;
}

/* --- FEDERATION / ICC STYLE VISION & MISSION BANNERS --- */
.icc-style-banner {
    position: relative;
    display: flex;
    align-items: stretch;
    background: #001238;
    border-radius: 6px;
    overflow: hidden;
    min-height: 330px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.icc-banner-img-wrap {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    z-index: 1;
}

.icc-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.icc-banner-content {
    position: relative;
    z-index: 2;
    width: 60%;
    background: #00143d;
    clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
    padding: 50px 170px 50px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
}

.icc-banner-title {
    font-family: "Google Sans", sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin-bottom: 18px;
    line-height: 1;
}

.icc-banner-headline {
    font-size: 1.15rem;
    font-weight: 500;
    color: #f8fafc;
    line-height: 1.55;
    margin-bottom: 14px;
}

.icc-banner-desc {
    font-size: 0.98rem;
    color: #cbd5e1;
    line-height: 1.65;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .icc-style-banner {
        flex-direction: column;
        min-height: auto;
    }
    .icc-banner-img-wrap {
        position: relative;
        width: 100%;
        height: 230px;
    }
    .icc-banner-content {
        width: 100%;
        clip-path: none;
        padding: 35px 25px;
    }
    .icc-banner-title {
        font-size: 2.2rem;
    }
}

/* --- ABOUT PAGE SIDEBAR --- */
.about-sidebar-col {
    position: relative;
    align-self: stretch;
}

.about-sidebar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.about-sidebar-sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0px !important;
    z-index: 20;
}

.about-sidebar-header {
    background: #082054;
    color: #ffffff;
    padding: 18px 20px;
    border-bottom: 3px solid #db000d;
}

.about-sidebar-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.about-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    color: #1e293b;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease;
    background: transparent;
    width: 100%;
    border-left: 3px solid transparent;
    border-right: none;
    border-top: none;
    cursor: pointer;
    text-align: left;
    font-family: geomini, sans-serif;
}

.about-nav-link:hover,
.about-nav-link.active {
    background: #f8fafc;
    color: #db000d;
    border-left-color: #db000d;
    padding-left: 22px;
}

.about-nav-link .about-nav-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f1f5f9;
    margin-right: 12px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.about-nav-link:hover .about-nav-icon,
.about-nav-link.active .about-nav-icon {
    background: rgba(219, 0, 13, 0.1);
    color: #db000d;
}

.about-sidebar-footer {
    background: #f8fafc;
    padding: 14px 18px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.85rem;
    color: #64748b;
}

@media (max-width: 768px) {
    .about-sidebar-col {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .about-sidebar-card {
        width: 100% !important;
    }
    .about-sidebar-sticky {
        position: static !important;
        margin-bottom: 24px;
    }
}

.about-tab-pane {
    display: none;
    animation: fadeInTab 0.25s ease-in-out;
}

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

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- CONSTITUTION STYLES --- */
.constitution-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.constitution-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.constitution-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.constitution-card-header {
    background: #db000d;
    color: #ffffff;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 5px solid #000000;
}

.constitution-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.3px;
    font-family: 'Geomini', sans-serif;
}

.constitution-card-body {
    padding: 24px 26px;
    color: #334155;
    font-size: 0.98rem;
    line-height: 1.7;
}

.constitution-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.constitution-section-title:first-child {
    margin-top: 0;
}

.constitution-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 16px;
}

.constitution-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.constitution-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #e5a93c;
    font-weight: bold;
    font-size: 0.9rem;
}

.constitution-alpha-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 16px;
}

.constitution-alpha-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.constitution-alpha-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #e2e8f0;
    color: #082054;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 6px;
    flex-shrink: 0;
    margin-top: 2px;
}

.constitution-officer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin-top: 14px;
    margin-bottom: 16px;
}

.constitution-officer-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.92rem;
}

.constitution-officer-item i {
    color: #082054;
}

.constitution-sig-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 20px;
    margin-top: 16px;
}

/* --- ABOUT & MISSION STATEMENT STYLES --- */
.mission-statement-text {
    font-size: 1.08rem;
    line-height: 1.75;
    color: #1e293b;
    margin-bottom: 1rem;
    font-weight: 500;
}

.mission-statement-lead {
    font-size: 1.08rem;
    line-height: 1.75;
    color: #1e293b;
    font-weight: 500;
    margin-bottom: 0;
}

.constitution-preamble-text {
    font-size: 1.05rem;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 0;
}

/* ==========================================
   NEWS DETAIL PAGE STYLES
   ========================================== */
.news-detail-page {
    background: #082054;
    min-height: 80vh;
}

.news-back-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.news-back-btn:hover {
    background: #ffffff;
    color: #082054 !important;
    transform: translateX(-3px);
}

.news-detail-card-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 48px 48px 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    color: #1e293b;
}

/* Header: Title, Date, Share Row */
.news-detail-header {
    max-width: 960px;
    margin: 0 auto 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
}

.news-detail-category-badge {
    display: inline-block;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.news-detail-title {
    font-family: 'geomini', sans-serif;
    font-size: clamp(1.85rem, 3.8vw, 3.2rem);
    font-weight: 800;
    line-height: 1.16;
    color: #000000;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.news-detail-date {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 22px;
}

/* Share Buttons */
.news-detail-share-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.news-share-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 1rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.fa-brands, .fab {
    font-weight: 400;
    font-size: 24px;
}

.news-share-btn:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.news-share-btn.share-btn-sm {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
}

.news-share-btn.share-btn-sm .fa-brands,
.news-share-btn.share-btn-sm .fab {
    font-size: 18px;
}

.share-facebook { background: #1877f2; }
.share-x { background: #0f172a; }
.share-whatsapp { background: #25d366; }
.share-linkedin { background: #0a66c2; }
.share-telegram { background: #229ed9; }
.share-copy { background: #64748b; }

/* Featured Image & Caption */
.news-detail-photo-wrap {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 12px;
}

.news-detail-photo {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.news-detail-caption-box {
    text-align: center;
    padding: 0 10px;
    margin-bottom: 30px;
}

.news-detail-caption-text {
    font-size: 0.92rem;
    color: #334155;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 3px;
}

.news-detail-credit-text {
    font-size: 0.8rem;
    color: #94a3b8;
    font-style: italic;
}

/* Article Body Content */
.news-detail-body-content {
    font-family: "Google Sans", sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #334155;
}

.news-detail-body-content p {
    margin-bottom: 1.5rem;
}

.news-detail-lead-text {
    font-size: 1.22rem;
    font-weight: 500;
    color: #0f172a;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.news-detail-pullquote {
    background: #f8fafc;
    border-left: 4px solid #db000d;
    padding: 18px 24px;
    border-radius: 0 8px 8px 0;
    font-size: 1.12rem;
    font-weight: 600;
    color: #082054;
    font-style: italic;
    margin: 28px 0;
}

.news-detail-subheading {
    font-family: "Google Sans", sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 32px;
    margin-bottom: 14px;
}

/* Popular Articles Sidebar */
.popular-articles-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px 20px;
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.popular-articles-title {
    font-family: "Google Sans", sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #000000;
    margin-top: 0;
    margin-bottom: 22px;
    letter-spacing: -0.3px;
}

.popular-articles-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.popular-article-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-decoration: none;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.popular-article-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-article-num-box {
    flex-shrink: 0;
    width: 28px;
    text-align: left;
}

.popular-article-number {
    font-family: "Google Sans", sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #4f46e5;
    line-height: 1;
    display: inline-block;
}

.popular-article-content {
    flex-grow: 1;
}

.popular-article-link {
    font-family: "Google Sans", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none !important;
    line-height: 1.42;
    display: block;
    transition: color 0.2s ease;
}

.popular-article-link:hover {
    color: #db000d;
}

.popular-article-meta {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 6px;
    font-weight: 500;
}

.popular-article-cat {
    color: #2563eb;
    font-weight: 700;
    text-transform: uppercase;
}

/* Toast alert for copy link */
.news-toast-alert {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0f172a;
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}

.news-toast-alert.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .news-detail-card-container {
        padding: 30px 20px 40px;
    }
    
    .news-detail-title {
        font-size: 1.9rem;
    }
}

/* ==========================================================================
   TOURNAMENT ORGANISER MEMBERS & DETAILS STYLES
   ========================================================================== */

/* Organiser Card (leadership_members.php) */
.organiser-card-logo {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: "Geomini", sans-serif;
    font-size: 1.05rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    background-color: var(--org-bg, #082054);
    color: var(--org-color, #ffffff);
}

.organiser-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.organiser-card-title {
    font-family: "Geomini", sans-serif !important;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.organiser-card-desc {
    line-height: 1.5;
    min-height: 42px;
    color: #64748b;
}

.organiser-btn-view {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.25rem 0.85rem;
    border: 1px solid #db000d;
    background: #fff4f5;
    border-radius: 4px !important;
    color: #db000d;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.organiser-btn-view:hover {
    background: #db000d;
    color: #ffffff;
    border-color: #db000d;
}

.organiser-season-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
}

/* Organiser Details Page (tournament_organiser_details.php) */
.organiser-back-btn {
    font-weight: 600;
}

.organiser-crest-logo {
    width: 90px;
    height: 90px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    font-family: "Geomini", sans-serif;
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: 0.5px;
    border: 3px solid #ffffff;
    background-color: var(--org-bg, #082054);
    color: var(--org-color, #ffffff);
    flex-shrink: 0;
}

.organiser-crest-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 13px;
}

.organiser-badge-header {
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.organiser-detail-lead {
    font-size: 1.08rem;
    line-height: 1.5;
    color: #64748b;
    font-weight: 500;
}

.organiser-detail-body-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #475569;
}

.organiser-hosting-box {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.organiser-hosting-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #082054;
    color: #ffd700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.organiser-affiliate-banner {
    background: linear-gradient(135deg, #082054 0%, #001050 100%);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    color: #ffffff;
}

.organiser-mini-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Geomini", sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    background-color: var(--org-bg, #082054);
    color: var(--org-color, #ffffff);
}

.organiser-mini-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.organiser-mini-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.organiser-mini-num {
    font-size: 0.72rem;
    color: #64748b;
}

/* ==========================================================================
   DONATION & STRIPE PAYMENT STYLES
   ========================================================================== */

.donation-section-title {
    font-family: "Geomini", sans-serif !important;
    font-weight: 700;
}

.donation-tier-card {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    user-select: none;
}

.donation-tier-card:hover {
    border-color: #f87171;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(219, 0, 13, 0.08);
}

.donation-tier-card.active {
    border-color: #db000d;
    background: #fff8f8;
    box-shadow: 0 0 0 3px rgba(219, 0, 13, 0.15);
}

.donation-tier-amount {
    font-family: "Geomini", sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    color: #082054;
    line-height: 1.2;
    margin-bottom: 2px;
}

.donation-tier-card.active .donation-tier-amount {
    color: #db000d;
}

.donation-tier-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 3px;
    font-family: geomini, sans-serif;
}

.donation-tier-hint {
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.3;
}

.custom-amount-container {
    animation: fadeIn 0.25s ease-in-out;
}

.donation-submit-btn {
    background: linear-gradient(135deg, #db000d 0%, #b9000a 100%) !important;
    color: #ffffff !important;
    border: none;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 12px;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(219, 0, 13, 0.3);
}

.donation-submit-btn,
.donation-submit-btn *,
.donation-submit-btn i,
.donation-submit-btn span {
    color: #ffffff !important;
}

.donation-submit-btn:hover,
.donation-submit-btn:focus,
.donation-submit-btn:active {
    background: linear-gradient(135deg, #f01423 0%, #cb000c 100%) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(219, 0, 13, 0.45);
}

.donation-summary-sticky {
    top: 95px;
}

.donation-success-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

.donation-receipt-box {
    border-left: 4px solid #10b981 !important;
}

.donation-impact-heading {
    font-size: 1.05rem;
    font-weight: 800;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    font-family: "Geomini", sans-serif;
}

.donation-impact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.donation-impact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.donation-impact-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #000000;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 2px;
}

.donation-impact-text {
    font-size: 0.95rem;
    line-height: 1.45;
    color: #000000;
    font-weight: 500;
    font-family: "Google Sans", sans-serif;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991.98px) {
    .donation-summary-sticky {
        position: static !important;
    }
}

/* ==========================================================================
   LEGENDS PREMIER LEAGUE & TOURNAMENTS STYLES
   ========================================================================== */

/* Hero & General View Headings */
.winter-hub-subtitle {
    max-width: 650px;
    font-size: 1rem;
}

.winter-tab-title {
    color: #db000d !important;
    font-weight: 800;
}

.winter-view-title {
    color: #0f2c59;
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    letter-spacing: -0.5px;
}

.winter-view-subtitle {
    color: #d97706;
    font-size: 1.15rem;
    line-height: 1.4;
}

.winter-overview-p1 {
    color: #334155;
    font-size: 1.05rem;
    line-height: 1.7;
}

.winter-overview-p2 {
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
}

.winter-pill-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0f2c59;
}

.winter-overview-img-wrap {
    border: 3px solid #e2e8f0;
    background: #0f2c59;
}

.winter-overview-img {
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

/* Calendar View */
.cal-header-border {
    border-bottom: 1px solid #e2e8f0;
}

.cal-header-title {
    color: #082054 !important;
    font-weight: 800 !important;
    font-size: 1.5rem !important;
}

.cal-header-desc {
    color: #334155 !important;
    font-size: 0.98rem !important;
    font-weight: 500 !important;
    line-height: 1.5;
}

.cal-released-badge {
    background: #f8fafc !important;
    color: #082054 !important;
    border: 1px solid #cbd5e1 !important;
    font-weight: 700 !important;
}

.cal-league-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #082054 !important;
    font-size: 0.92rem;
    background: #f8fafc !important;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.cal-league-year {
    color: #475569 !important;
    font-weight: 700;
    font-size: 0.88em;
    margin-left: 4px;
}

.fp-month-btn {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
    font-family: "Google Sans", sans-serif;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    padding: 7px 14px !important;
    border-radius: 6px !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fp-month-btn:hover {
    color: #082054 !important;
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
}

.fp-month-btn.active {
    color: #082054 !important;
    background: #e5a93c !important;
    border-color: #d97706 !important;
    font-weight: 800 !important;
    box-shadow: 0 2px 6px rgba(229, 169, 60, 0.35) !important;
}

.cal-month-btn-disabled {
    color: #64748b !important;
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
}

.cal-empty-notice {
    display: none;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
}

.cal-event-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.25s ease;
}

.cal-event-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}

.cal-date-box {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 50%, #ffb199 100%);
    color: #fff;
    box-shadow: 0 6px 16px rgba(255, 65, 108, 0.25);
}

.cal-date-day {
    font-size: 1.5rem !important;
    line-height: 1;
    font-weight: 900 !important;
    color: #ffffff !important;
}

.cal-date-month {
    font-size: 0.78rem !important;
    letter-spacing: 1px;
    font-weight: 800 !important;
    color: #ffffff !important;
    opacity: 1 !important;
}

.cal-event-badge {
    background: #fef3c7 !important;
    color: #92400e !important;
    border: 1px solid #fde68a !important;
    font-size: 0.75rem !important;
    padding: 3px 10px !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    display: inline-block !important;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.cal-event-title {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #082054 !important;
    line-height: 1.35;
}

.cal-event-date-text {
    font-size: 0.85rem !important;
    color: #475569 !important;
    font-weight: 600 !important;
}

/* Organisers View */
.org-card-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}

.org-card-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.org-card-name {
    color: #0f2c59;
    font-size: 1.1rem;
}

.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.95em;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    font-family: geomini, sans-serif;
}

/* Legends League Regulations View */
.legends-rule-lead {
    font-size: 1rem;
    line-height: 1.6;
}

.legends-rule-title-heading {
    color: #0f2c59;
    font-size: 1.5rem;
}

.legends-rule-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 4px solid #0f2c59;
    box-shadow: 0 6px 18px rgba(15, 44, 89, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.legends-rule-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15, 44, 89, 0.1);
    border-top-color: #d97706;
}

.legends-rule-icon {
    width: 46px;
    height: 46px;
    background: rgba(15, 44, 89, 0.08);
    color: #0f2c59;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.legends-rule-card:hover .legends-rule-icon {
    background: rgba(217, 119, 6, 0.15);
    color: #d97706;
    transform: scale(1.05);
}

.legends-rule-title {
    color: #0f2c59;
    font-size: 1.15rem;
    font-weight: 700;
}

.legends-rule-badge {
    background: #0f2c59;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 14px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.legends-rule-card:hover .legends-rule-badge {
    background: #d97706;
    color: #0f2c59;
}

.legends-rule-text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #334155;
    font-weight: 500;
    font-family: 'Geomini', sans-serif;
}

/* LaLiga Style Left Navigation Sidebar for Rules */
.legends-sidebar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(15, 44, 89, 0.07) !important;
}

.legends-rules-nav {
    max-height: 75vh;
    overflow-y: auto;
}

.legends-rule-nav-link {
    background: #ffffff;
    color: #1e293b;
    border-color: #f1f5f9 !important;
    transition: all 0.22s ease-in-out;
    cursor: pointer;
    font-family: 'Geomini', sans-serif !important;
    font-weight: 500;
    font-size: 0.9rem;
}

.legends-rule-nav-link:hover {
    background: #f8fafc;
    color: #0f2c59;
    padding-left: 1.1rem !important;
}

/* Active LaLiga style Highlight */
.legends-rule-nav-link.active {
    background: linear-gradient(135deg, #0f2c59 0%, #1e3a8a 100%) !important;
    color: #ffffff !important;
    border-left: 4px solid #f5c358 !important;
    box-shadow: 0 4px 12px rgba(15, 44, 89, 0.15);
}

.legends-rule-nav-link.active .legends-nav-icon {
    color: #f5c358 !important;
}

.legends-rule-nav-link.active .legends-nav-text {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Responsive Media Query for Rules Sidebar */
@media (max-width: 991.98px) {
    .legends-rules-sidebar {
        position: relative !important;
        top: 0 !important;
        margin-bottom: 1.5rem;
    }
    
    .legends-rules-nav {
        max-height: none;
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
        gap: 0.5rem;
        padding-bottom: 0.5rem;
    }
    
    .legends-rule-nav-link {
        flex: 0 0 auto;
        border-radius: 0.75rem !important;
        border: 1px solid #e2e8f0 !important;
        padding: 0.6rem 1rem !important;
    }

    .legends-rule-nav-link.active {
        border-left: 1px solid #e2e8f0 !important;
    }
}

/* Custom Overrides AFTER Media Query */
.legends-rule-nav-link .legends-nav-icon {
    color: #64748b;
    width: 34px;
    text-align: center;
    transition: color 0.2s ease;
    font-size: 18px;
}

.legends-rule-nav-link:hover .legends-nav-icon {
    color: #f59e0b;
}

.legends-rule-nav-link .legends-nav-arrow {
    display: none !important;
}

.legends-rule-nav-link .legends-nav-text, 
.legends-rule-nav-link .text-truncate, 
.text-truncate {
    font-size: 1rem;
    text-transform: none !important;
    text-overflow: unset;
    white-space: normal;
    overflow: auto;
}

/* Tab Pane Fade-In Animation */
.legends-rule-tab-pane {
    animation: fadeInTabPane 0.25s ease-in-out;
}

@keyframes fadeInTabPane {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Rule Content Custom Components */
.legends-age-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.legends-age-pill:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.bg-navy {
    background-color: #0f2c59 !important;
}

.text-gold {
    color: #f59e0b !important;
}

.legends-rule-callout {
    font-size: 0.92rem;
    line-height: 1.6;
}

.legends-callout-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #ef4444;
    color: #991b1b;
}

.legends-callout-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    color: #92400e;
}

.legends-rule-item {
    font-size: 0.93rem;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 12px !important;
}

.legends-rule-item-text {
    color: #334155;
    font-family: 'geomini', sans-serif;
    font-size: .95rem;
    font-weight: 400;
}

.legends-rule-full-img {
    object-fit: cover;
    max-height: 440px;
    display: block;
}

.winter-hero-badge {
    background: transparent !important;
    border: 0px !important;
    color: #f5c358;
    font-size: 0.8rem;
}

.legends-age-pill-badge {
    font-size: 0.78rem;
}

.legends-age-pill-text {
    font-size: 0.82rem;
}

.legends-rule-respect-box {
    background: rgba(15, 44, 89, 0.05);
    color: #0f2c59;
}

.legends-rule-step-num {
    font-size: 0.75rem;
}

.legends-rule-standard-badge {
    font-size: 0.88rem;
}

.legends-rule-card.legends-notice-card, .legends-notice-card {
    background: rgba(217, 119, 6, 0.03) !important;
}

.legends-notice-text {
    line-height: 1.7;
}

.legends-rule-section-heading {
    font-size: 1.25rem !important;
    font-weight: 700;
    color: #0f2c59 !important;
}

.icon-sky {
    background: rgba(14, 165, 233, 0.15);
    color: #38bdf8;
}

.fp-league-badge-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #0f2c59;
    font-size: 0.92rem;
    background: #f8fafc;
    padding: 7px 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.fp-league-season-span {
    color: #64748b;
    font-weight: 600;
    font-size: 0.88em;
    margin-left: 4px;
}

.icc-team-count-wrap {
    position: relative;
    z-index: 2;
}

/* Registration Portal View */
.reg-status-banner {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border: 1px solid #a7f3d0;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.08);
}

.reg-status-icon {
    width: 48px;
    height: 48px;
    background: #10b981;
    color: #ffffff;
    font-size: 1.3rem;
}

.reg-status-title {
    color: #065f46;
}

.reg-status-desc {
    color: #047857;
    font-size: 0.92rem;
}

.reg-portal-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.reg-icon-team {
    width: 44px;
    height: 44px;
    background: rgba(15, 44, 89, 0.1);
    color: #0f2c59;
    font-size: 1.25rem;
}

.reg-icon-player {
    width: 44px;
    height: 44px;
    background: rgba(217, 119, 6, 0.12);
    color: #d97706;
    font-size: 1.25rem;
}

.reg-card-heading {
    color: #0f2c59;
}

.reg-step-badge-1 {
    background: #0f2c59;
    color: #ffffff;
    font-size: 0.78rem;
    padding: 6px 12px;
}

.reg-step-badge-2 {
    background: #d97706;
    color: #ffffff;
    font-size: 0.78rem;
    padding: 6px 12px;
}

.reg-card-p {
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.6;
}

.reg-req-title {
    color: #64748b;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.reg-req-list {
    color: #475569;
}

.reg-btn-gold {
    background: linear-gradient(135deg, #e5a93c 0%, #d97706 100%);
    color: #0f2c59 !important;
    border: none;
    font-size: 0.95rem;
}

.reg-btn-gold:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #ffffff !important;
}

.reg-btn-outline {
    background: #ffffff;
    color: #0f2c59 !important;
    border: 1.5px solid #cbd5e1;
    font-size: 0.9rem;
}

.reg-btn-outline:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.reg-btn-navy {
    background: #0f2c59;
    color: #ffffff !important;
    border: none;
    font-size: 0.95rem;
}

.reg-btn-navy:hover {
    background: #091a38;
    color: #ffffff !important;
}

.reg-help-box {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.reg-help-title {
    color: #0f2c59;
}

.reg-help-btn {
    background: #ffffff;
    color: #0f2c59 !important;
    border: 1.5px solid #0f2c59;
    font-size: 0.88rem;
}

.reg-help-btn:hover {
    background: #0f2c59;
    color: #ffffff !important;
}

/* Tables / Standings View */
.tables-main-title {
    font-size: 2.3rem;
}

.tables-season-tag {
    color: var(--twl-gold, #ffc107);
    font-weight: 800;
    font-size: 0.9em;
    margin-left: 6px;
}

.tables-subtitle {
    font-size: 0.95rem;
}

.tables-filter-btn {
    font-weight: 700;
    border-radius: 8px;
    font-size: 0.85rem;
    padding: 6px 14px;
}

.tables-card-wrap {
    padding: 24px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.tables-container-box {
    background: rgb(0 21 79);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.tables-league-tbl {
    width: 100%;
    border-collapse: collapse;
    color: #ffffff;
    text-align: center;
    font-family: "Google Sans", sans-serif;
}

.tables-th-row {
    border-bottom: 2px solid var(--twl-gold, #ffc107);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--twl-gold, #ffc107);
}

.tables-th-cell {
    padding: 1rem;
}

.tables-th-pts {
    padding: 1rem;
    width: 80px;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
}

.tables-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.tables-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.tables-rank-circle {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    border-radius: 50%;
    text-align: center;
    font-size: 0.85rem;
}

.tables-rank-1 {
    background: #FFD700;
    color: #000;
}

.tables-rank-top {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.tables-rank-default {
    color: #aaa;
}

.tables-team-logo-wrap {
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.tables-team-name-text {
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
}

.tables-pts-cell {
    padding: 1rem;
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--twl-gold, #ffc107);
}

/* Teams View */
.teams-league-pill {
    padding: 0px;
    margin: 0px;
    background: transparent;
    border: 0px;
    border-radius: 20px;
}

.teams-pill-icon {
    color: #ffc107;
    font-size: 0.9rem;
}

.teams-pill-text {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.teams-pill-season {
    color: #ffc107;
    margin-left: 4px;
}

/* Create League & Admin Forms */
.admin-breadcrumb {
    font-size: 0.85rem;
    color: var(--admin-text, #64748b);
    margin-bottom: 4px;
    padding-bottom: 25px;
}
.admin-breadcrumb a {
    color: inherit;
    text-decoration: none;
}
.admin-breadcrumb a:hover {
    color: var(--admin-primary, #4e73df);
    text-decoration: underline;
}
.admin-page-heading {
    font-weight: 800;
    color: var(--admin-text-dark, #0f172a);
    letter-spacing: -0.5px;
}
.admin-page-desc {
    font-size: 0.9rem;
    color: #64748b;
}
.league-form-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.08);
    border: 1px solid var(--admin-border, #e2e8f0);
}
.league-form-card-title {
    font-weight: 700;
    font-size: 18px;
    color: #475569;
}
.league-form-control {
    border-radius: 8px !important;
}
.league-form-control-lg {
    font-size: 1rem !important;
    border-radius: 8px !important;
}
.league-form-text {
    font-size: 0.8rem;
    color: #64748b;
}
.league-max-teams-input {
    border-radius: 8px !important;
    max-width: 220px;
}
.league-timeline-card {
    background: var(--admin-bg, #f8fafc);
    border-radius: 8px;
    border: 1px solid var(--admin-border, #e2e8f0);
}
.league-timeline-title {
    font-size: 0.9rem;
    font-weight: 700;
}
.league-date-input {
    border-radius: 6px !important;
}
.league-logo-dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    padding: 2rem 1rem;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}
.league-logo-dropzone:hover {
    border-color: var(--admin-primary, #4e73df);
    background: #f1f5f9;
}
.league-logo-icon {
    color: var(--admin-primary, #4e73df);
    opacity: 0.8;
}
.league-logo-upload-text {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--admin-text-dark, #0f172a);
}
.league-logo-upload-hint {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 4px;
}
.league-logo-file-input {
    opacity: 0;
    position: absolute;
    inset: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}
.league-logo-preview-box {
    display: none;
    padding: 1.25rem;
    border: 1px solid var(--admin-border, #e2e8f0);
    border-radius: 10px;
    background: #fff;
    text-align: center;
}
.league-logo-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    overflow: hidden;
    padding: 6px;
}
.league-logo-preview-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.league-logo-file-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--admin-text-dark, #0f172a);
    word-break: break-all;
    margin-bottom: 8px;
}
.league-btn-remove-logo {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
}
.league-select-status {
    border-radius: 8px !important;
    font-weight: 600;
}
.league-btn-submit {
    font-weight: 700;
    border-radius: 8px !important;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(78, 115, 223, 0.25);
}
.league-btn-draft {
    font-weight: 700;
    border-radius: 8px !important;
    font-size: 0.95rem;
}
.league-btn-cancel {
    font-weight: 600;
    border-radius: 8px !important;
}

/* ==========================================================================
   TOURNAMENT SQUAD & PLAYERS VIEW
   ========================================================================== */
.tourn-players-filter-bar {
    background: #091e42;
    border: 1px solid rgba(229, 169, 60, 0.25);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tourn-search-wrapper {
    position: relative;
}
.tourn-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #e5a93c;
    pointer-events: none;
}
.tourn-search-input {
    background: #050d1a !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 0.65rem 1rem 0.65rem 2.5rem !important;
    font-size: 0.95rem !important;
}
.tourn-search-input:focus {
    border-color: #e5a93c !important;
    box-shadow: 0 0 0 0.25rem rgba(229, 169, 60, 0.25) !important;
    color: #ffffff !important;
}
.tourn-search-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.tourn-select {
    background-color: #050d1a !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 0.65rem 1rem !important;
    font-size: 0.95rem !important;
}

.tourn-pos-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 50rem;
    transition: all 0.2s ease;
    cursor: pointer;
}
.tourn-pos-btn:hover {
    background: rgba(229, 169, 60, 0.15);
    color: #e5a93c;
    border-color: rgba(229, 169, 60, 0.3);
}
.tourn-pos-btn.active {
    background: #e5a93c;
    color: #001744;
    font-weight: 700;
    border-color: #e5a93c;
}

.tourn-player-col {
    margin-bottom: 20px;
}

.tourn-player-card {
    background: linear-gradient(180deg, #091e42 0%, #061530 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none !important;
}
.tourn-player-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(229, 169, 60, 0.4);
}

.tourn-player-photo-wrap {
    height: 230px;
    width: 100%;
    background: radial-gradient(circle at center, #13336c 0%, #071739 100%);
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.tourn-player-photo {
    max-height: 95%;
    width: auto;
    max-width: 90%;
    object-fit: contain;
    transition: transform 0.35s ease;
}
.tourn-player-card:hover .tourn-player-photo {
    transform: scale(1.05);
}

.tourn-player-num-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #e5a93c;
    color: #001744;
    font-size: 0.9rem;
    font-weight: 800;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.tourn-player-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tourn-player-pos-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 0.5rem;
}
.tourn-pos-fwd { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.tourn-pos-mid { background: rgba(59, 130, 246, 0.2); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.tourn-pos-def { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.tourn-pos-gk  { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }

.tourn-player-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tourn-player-team-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.tourn-player-team-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* ==========================================================================
   Match Highlights Section & Cards
   ========================================================================== */
.mh-section { 
    background: #0d1b2a; 
    min-height: 60vh; 
    padding: 50px 0 80px; 
}
.mh-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}
.mh-card {
    background: #111e2f;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
}
.mh-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.5);
    border-color: rgba(255,195,0,0.25);
}
.mh-thumb-wrap {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.mh-thumb-wrap img {
    width: 100%; 
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.mh-card:hover .mh-thumb-wrap img {
    transform: scale(1.05);
}
.mh-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    transition: background 0.25s;
}
.mh-card:hover .mh-play-btn { 
    background: rgba(0,0,0,0.5); 
}
.mh-play-btn i {
    font-size: 1.4rem;
    color: #fff;
    background: rgba(255,195,0,0.85);
    width: 60px; 
    height: 60px;
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    padding-left: 4px;
    box-shadow: 0 4px 20px rgba(255,195,0,0.4);
    transition: transform 0.2s;
}
.mh-card:hover .mh-play-btn i { 
    transform: scale(1.1); 
}
.mh-duration {
    position: absolute;
    bottom: 10px; 
    right: 10px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}
.mh-body { 
    padding: 18px 20px 20px; 
}
.mh-match-tag {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f5a623;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.mh-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 8px;
}
.mh-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}
.mh-date {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    gap: 6px;
}
.mh-empty {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255,255,255,0.4);
}

/* ==========================================================================
   Affiliated Member Crest Details
   ========================================================================== */
.affiliated-detail-crest-logo {
    width: 110px;
    height: 110px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
@media (max-width: 576px) {
    .affiliated-detail-crest-logo {
        width: 80px;
        height: 80px;
    }
}

/* ==========================================================================
   Tournament Overview & Sub-view Modular Metric Cards
   ========================================================================== */
.winter-stat-metric-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
}
.winter-stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.25rem;
    letter-spacing: 0.5px;
}
.winter-stat-val-dark {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}
.winter-stat-val-green {
    font-size: 1.5rem;
    font-weight: 800;
    color: #059669;
    line-height: 1.2;
}
.winter-stat-val-blue {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0284c7;
    line-height: 1.2;
}
.winter-stat-val-gold {
    font-size: 1.5rem;
    font-weight: 800;
    color: #d97706;
    line-height: 1.2;
}
.winter-feature-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50rem;
    font-weight: 600;
    font-size: 0.875rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #0f172a;
}
.winter-overview-spotlight {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
.winter-overview-spotlight-img {
    width: 100%;
    border-radius: 16px;
    display: block;
    object-fit: cover;
    max-height: 400px;
}
.winter-overview-spotlight-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.92), transparent);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}
.winter-overview-spotlight-badge {
    color: #f59e0b;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.winter-overview-spotlight-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.15rem;
    line-height: 1.3;
}











