@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&family=Inter:wght@300;400;600&display=swap');

:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #E5E5E5;
    --text-muted: #888888;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.3s ease;
    --max-width: 1400px;
    --header-height: 80px;
    --top-bar-height: 48px;
}

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

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

h1,
h2,
h3,
.nav-links a {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Top Partner Bar (Man City Style) */
.top-partner-bar {
    background-color: #ffffff;
    height: var(--top-bar-height);
    width: 100%;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eeeeee;
    z-index: 1001;
    position: relative;
}

.partner-container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
    padding: 0 2%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.partner-label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #333333;
}

.partner-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 35px;
}

.partner-logos img {
    height: 30px;
    width: auto;
    transition: transform var(--transition-fast);
    cursor: pointer;
    object-fit: contain;
}

/* Expert visual weight normalization - Miroiterie has unique aspect ratio/spacing */
.partner-logos img.logo-freyre {
    height: 60px;
    /* Doubled height to achieve visual parity with wider logos */
    margin-right: 5px;
}

.partner-logos img.logo-freyre:hover {
    transform: translateY(-1px) scale(1.05);
}

.partner-logos img:hover {
    transform: translateY(-3px) scale(1.08);
}

header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    width: 100%;
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-fast);
}

.main-nav {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-center {
    flex: 0 0 auto;
    padding: 0 40px;
    align-self: flex-start;
    z-index: 1002;
    position: relative;
    /* Decale un peu vers le bas */
    margin-top: 15px;
}

.premium-logo {
    height: 160px;
    /* Big prominent logo */
    width: auto;
    filter: invert(1) drop-shadow(0 15px 25px rgba(0, 0, 0, 0.5));
    /* Removes white background by inverting black lines to white on black bg */
    transition: var(--transition-slow);
}

.nav-bottom {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
    flex: 1;
    align-items: center;
}

.left-links {
    justify-content: flex-start;
}

.right-links {
    justify-content: flex-end;
}

.has-dropdown {
    position: relative;
    padding: 15px 0;
}

.nav-links>li>a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    position: relative;
    padding-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links>li>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition-fast);
}

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

/* Dropdown Styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    min-width: 220px;
    list-style: none;
    padding: 15px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--secondary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1005;
}

.right-links .dropdown-menu {
    left: auto;
    right: 0;
}

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

.dropdown-menu li a {
    display: block;
    padding: 10px 25px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dropdown-menu li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    padding-left: 30px;
}

.drawer-sponsors {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #222;
}

.drawer-sponsors h4 {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.drawer-sponsors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.drawer-sponsors-grid img {
    height: 35px;
    width: auto;
    filter: invert(1) grayscale(1) brightness(1.5);
}

.drawer-sponsors-grid img.logo-freyre {
    height: 65px;
    /* Aggressive scaling for mobile visibility */
}

/* Removed nav-actions as it's merged into right-links */

.btn-premium {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.btn-premium:hover {
    background: var(--accent-color);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0 5% 50px;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 30%;
    /* Prioritize faces in the upper part of the image */
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s linear;
    transform: scale(1.05);
}

.hero-slide-team {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #000;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.cinematic-slide {
    filter: brightness(1.1) contrast(1.05) saturate(0.9);
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 25%, transparent 45%);
}

.hero-content {
    max-width: 600px;
    z-index: 10;
    position: relative;
}

.hero-badge {
    border-left: 3px solid #ff0000;
    color: rgba(255, 255, 255, 0.85);
    padding: 0 12px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-block;
    margin-bottom: 15px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.05;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 0.95rem;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    max-width: 420px;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

.highlight-club {
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

/* Match Center */
.match-section {
    background: #0a0a0a;
    padding: 100px 5%;
}


.section-title h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* History Section */
.history-section {
    background: #151515;
    padding: 100px 5%;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    /* Ensure rotation doesn't spill out */
}

/* Expert Design: Stylized Background Images */
.history-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 600px;
    height: 600px;
    background-image: url('../assets/images/eglise_roset.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top right;
    opacity: 0.12;
    filter: grayscale(100%) brightness(1.2);
    transform: rotate(8deg);
    pointer-events: none;
    z-index: 0;
}

.history-section::after {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 500px;
    height: 500px;
    background-image: url('../assets/images/pont_roset.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top left;
    opacity: 0.1;
    filter: grayscale(100%) brightness(1.1);
    transform: rotate(-12deg);
    pointer-events: none;
    z-index: 0;
}

.history-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
    /* Keep text above background */
}

.history-text-box {
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), inset 0 0 50px rgba(0, 0, 0, 0.5);
    padding: 60px;
    border-radius: 12px;
    max-width: 900px;
    text-align: left;
    border-left: 5px solid var(--accent-color);
}

.history-text-box h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.history-text-box p {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.8;
}

/* History Expert Design - Split & Press Card */
.history-split {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
}

.history-split-text {
    flex: 1;
}

.history-split-media {
    flex: 0 0 320px;
}

.press-card {
    background: #f9f9f9;
    /* Newspaper off-white */
    color: #111;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 10px 10px 0px var(--accent-color);
    transform: rotate(1deg);
    transition: var(--transition-normal);
    position: relative;
    border: 1px solid #ddd;
}

/* --- NEWS CARD EVENT --- */
.news-card-event {
    background: #0a0a0a !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.event-photo-container {
    position: relative;
    width: 100%;
    background: #000;
}

.event-photo-container img {
    width: 100%;
    height: auto;
    display: block;
}

.event-slider-container {
    position: relative;
    height: 250px;
    width: 100%;
    overflow: hidden;
}

.event-slides {
    width: 100%;
    height: 100%;
}

.event-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.event-slide.active {
    opacity: 1;
}

.event-slider-nav {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    z-index: 10;
}

.event-nav-btn {
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.event-nav-btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.event-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: black;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 10;
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(0, 255, 242, 0.3);
}

.event-stats {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--accent);
    margin-top: 10px;
    font-weight: 600;
}

.press-card:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 15px 15px 0px var(--accent-color);
}

.press-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #666;
    border-bottom: 2px solid #111;
    padding-bottom: 5px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.press-title {
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 15px;
    font-family: var(--font-primary);
    text-transform: uppercase;
}

.press-body {
    font-size: 0.95rem;
    line-height: 1.6;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.press-stats {
    margin-top: 10px;
    font-weight: 700;
    font-style: italic;
    color: #333;
}

.press-footer {
    font-size: 0.8rem;
    font-style: italic;
    color: #555;
    text-align: right;
}

@media (max-width: 992px) {
    .history-split {
        flex-direction: column;
    }

    .history-split-media {
        flex: 1;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}


.match-grid {
    display: grid;
    gap: 30px;
}

.lfc-grid {
    grid-template-columns: repeat(3, 1fr);
}

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

.lfc-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    color: #000000;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    padding: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lfc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.lfc-card:hover .card-corner-logo {
    opacity: 0.3;
    transform: scale(1.1);
}

.card-corner-logo {
    height: 40px;
    width: auto;
    /* Suppression du filter: invert(1) pour garder la couleur originale si fond clair */
    opacity: 0.1;
    position: absolute;
    bottom: 10px;
    right: 15px;
    z-index: 5;
    transition: all 0.4s ease;
    pointer-events: none;
}

.lfc-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #f0f0f0;
}

.lfc-header-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lfc-comp {
    font-weight: 900;
    font-size: 1rem;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lfc-date {
    font-size: 0.85rem;
    color: #777;
    text-transform: uppercase;
}

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

.lfc-teams {
    padding: 0 25px 25px;
}

.lfc-team-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.lfc-team-row:first-child {
    border-bottom: 1px solid #f0f0f0;
}

.lfc-team-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lfc-team-name {
    font-size: 1.2rem;
    color: #111;
}

.lfc-logo {
    height: 35px;
    width: 35px;
    object-fit: contain;
}

.placeholder-logo {
    height: 35px;
    width: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.lfc-score {
    font-size: 1.5rem;
    color: #111;
}

/* Standings Table */
.standings-card {
    background: rgba(21, 21, 21, 0.7);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 12px;
    /* Removed white border */
    border: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
}

.standings-table th {
    text-align: left;
    color: var(--text-muted);
    font-size: 0.8rem;
    padding-bottom: 15px;
}

.standings-table td {
    padding: 12px 0;
    border-bottom: 1px solid #222;
}

/* Standings Highlights */
.row-highlight {
    color: #ffd700;
    font-weight: 700;
}

/* Results History Redesign */
#resultsHistory {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 15px;
}

.result-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 15px;
    display: grid;
    grid-template-columns: 40px 1fr 70px 1fr 40px;
    align-items: center;
    transition: all 0.3s ease;
}

.result-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.result-j {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
}

.result-team {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    min-width: 0;
}

.result-team span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

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

.result-logo {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    object-fit: contain;
    background: white;
    border-radius: 4px;
    padding: 2px;
}

.result-score {
    text-align: center;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 2px;
    font-family: 'Outfit', sans-serif;
    color: #fff;
}

.result-status {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.status-v {
    background: #00ff88;
    color: #000;
}

.status-d {
    background: #ff4444;
    color: #fff;
}

.status-n {
    background: #888;
    color: #fff;
}

.status-r {
    background: #444;
    color: #888;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

@media (max-width: 900px) {
    #resultsHistory {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .result-card {
        grid-template-columns: 35px 1fr 60px 1fr 35px;
        padding: 10px;
        gap: 5px;
    }

    .result-team span {
        font-size: 0.75rem;
    }

    .result-score {
        letter-spacing: 1px;
    }
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.news-card {
    background: #151515;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-fast);
    border: 1px solid #222;
}

.news-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.news-img {
    height: 250px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #0b0b0b;
}

.news-info {
    padding: 25px;
}

.news-category {
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.news-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.btn-text {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

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

.news-card:hover .btn-text i {
    transform: translateX(5px);
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #000;
    z-index: 2000;
    padding: 50px 30px;
    transition: var(--transition-slow);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-drawer.open {
    right: 0;
}

.mobile-drawer ul {
    list-style: none;
}

.mobile-drawer ul li {
    margin-bottom: 25px;
}

.mobile-drawer a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
}

.close-drawer {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* Micro-animations */
.btn-premium {
    position: relative;
    overflow: hidden;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

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

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

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

.hero-content h1,
.hero-content p,
.hero-btns {
    animation: fadeInUp 1s ease forwards;
}

.hero-content p {
    animation-delay: 0.2s;
}

.hero-btns {
    animation-delay: 0.4s;
}

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

    .hero-content h1 {
        font-size: 2rem;
    }
}


/* Footer */
footer {
    background: #111;
    padding: 80px 5% 40px;
    border-top: 1px solid #222;
}

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

.footer-section h3 {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

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

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

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

/* Competition Switch */
.comp-switch {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.comp-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    padding: 10px 25px;
    font-family: Montserrat;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-medium);
    border-radius: 4px;
    text-transform: uppercase;
}

.comp-btn.active {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.comp-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
}

/* Partners Page Specific Styles */
.partners-hero {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.65)), url('../assets/images/partenaires_groupe.jpg');
    background-size: cover;
    background-position: center 30%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 60px;
    position: relative;
}

.partners-section {
    padding: 100px 0;
    background: #fff;
    color: #000;
}

.partners-grid {
    display: grid;
    gap: 40px;
    margin-top: 50px;
}

.elite-grid-all {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.partner-card {
    background: #fff;
    border: 2px solid #000;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.partner-logo-container {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    width: 100%;
}

.partner-logo-container img {
    max-height: 100px;
    max-width: 80%;
    filter: none;
    opacity: 1;
    transition: all 0.4s ease;
}

.partner-card:hover .partner-logo-container img {
    transform: scale(1.1);
}

.partner-card h3 {
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #000;
}

.partner-card p {
    font-size: 0.8rem;
    color: #666;
    letter-spacing: 1px;
}

.become-partner-section {
    padding: 100px 0;
    background: #f9f9f9;
    color: #000;
}

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

    .partners-hero h1 {
        font-size: 2.5rem !important;
    }
}

.section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #222;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile Toggle */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* News press card — premium journal posé sur table */
.news-card-press {
    background: #080808;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.news-card-press:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.press-journal-link {
    display: block;
    padding: 4px 4px 2px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.press-journal-wrap {
    position: relative;
    transform: rotate(-1.5deg);
    transition: transform 0.45s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.45s ease;
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.6),
        0 14px 32px rgba(0, 0, 0, 0.7),
        0 28px 56px rgba(0, 0, 0, 0.5);
    border-radius: 2px;
}

.press-journal-link:hover .press-journal-wrap {
    transform: rotate(0deg) scale(1.02);
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.7),
        0 22px 52px rgba(0, 0, 0, 0.8),
        0 44px 88px rgba(0, 0, 0, 0.6);
}

.press-journal-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
    filter: brightness(0.97) contrast(1.03);
}

.press-zoom-hint {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.press-journal-link:hover .press-zoom-hint {
    opacity: 1;
}

/* Compact news card — no image, text only */
.news-card-compact {
    display: flex;
    flex-direction: column;
    align-self: start;
}

/* Lightbox CSS-only via :target */
.press-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.96);
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: zoom-out;
}

.press-lightbox:target {
    display: flex;
}

.press-lightbox img {
    max-width: min(95vw, 1200px);
    max-height: 95vh;
    object-fit: contain;
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.9);
    border-radius: 4px;
    cursor: default;
    background: #fff;
    padding: 10px;
}

.press-lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 2rem;
    text-decoration: none;
    line-height: 1;
    transition: color 0.2s ease;
    font-family: sans-serif;
}

.press-lightbox-close:hover {
    color: #fff;
}

/* News enhancements */
.news-card-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
}

.news-card-featured:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.news-img-featured {
    height: 100%;
    min-height: 450px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #0b0b0b;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.news-date {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.news-category-hot {
    background: #fff;
    color: #000;
    padding: 3px 10px;
    border-radius: 2px;
    font-size: 0.65rem;
}

.news-match-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #222;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.news-match-info i {
    margin-right: 8px;
    opacity: 0.6;
}

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

    .news-card-featured {
        grid-template-columns: 1fr;
    }

    .news-img-featured {
        height: 250px;
    }

    .press-journal-link {
        padding: 4px 4px 2px;
    }
}

/* Bouton retour en haut */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #e0e0e0;
}

/* =====================
   SEASON SECTION
   ===================== */
.season-section {
    padding: 100px 5%;
    background: #0a0a0a;
    border-top: 1px solid #1a1a1a;
}

.season-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.effectif-block {
    text-align: center;
    padding: 60px;
    border: 1px solid #222;
    border-radius: 8px;
    background: #111;
}

.effectif-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #fff;
}

.effectif-title i {
    margin-right: 12px;
    opacity: 0.6;
}

.effectif-coming {
    color: var(--text-muted);
    font-size: 1rem;
}

/* =====================
   SHOP SECTION
   ===================== */
.shop-section {
    position: relative;
    padding: 120px 5%;
    background: linear-gradient(rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.82)),
        url('../assets/images/team_splash.jpg') center/cover no-repeat;
    text-align: center;
    border-top: 1px solid #1a1a1a;
}

.shop-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.shop-badge {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid #333;
    padding: 6px 16px;
    border-radius: 2px;
    margin-bottom: 24px;
}

.shop-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.shop-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.9;
}

/* =====================
   CLUB SECTION
   ===================== */
.club-section {
    padding: 100px 5%;
    background: #050505;
    border-top: 1px solid #1a1a1a;
}

.club-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.organigramme-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 40px;
    text-align: center;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.staff-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    transition: var(--transition-fast);
}

.staff-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-6px);
}

.staff-avatar {
    width: 70px;
    height: 70px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid #333;
}

.staff-role {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.staff-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact block */
.contact-block {
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: #111;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 35px 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.4);
}

.contact-item strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.contact-item a,
.contact-item span {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-item a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {

    .staff-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .shop-content h2 {
        font-size: 2.5rem;
    }

    .effectif-block {
        padding: 40px 20px;
    }
}

/* =========================================
   PREMIUM BECOME PARTNER SECTION
   ========================================= */
.become-partner-section {
    position: relative;
    padding: 180px 5%;
    background: url('../assets/images/stadium_partnership.png') center/cover no-repeat fixed;
    overflow: hidden;
    text-align: center;
}

.become-partner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

.become-partner-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 60px;
    background: rgba(255, 255, 255, 0.015);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    box-shadow:
        0 40px 120px rgba(0, 0, 0, 0.6),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.become-partner-container:hover {
    transform: scale(1.01);
}

.partner-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 6px;
    color: var(--accent-color);
    margin-bottom: 25px;
    text-transform: uppercase;
}

.become-partner-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 35px;
    color: #fff;
    text-transform: uppercase;
}

.become-partner-section p {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75) !important;
    max-width: 650px;
    margin: 0 auto 50px;
    font-weight: 400;
}

.partner-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-outline {
    display: inline-block;
    padding: 20px 45px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    border-radius: 4px;
    transition: all 0.3s ease;
    letter-spacing: 2px;
}

.btn-outline:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

@media (max-width: 768px) {
    .become-partner-section {
        padding: 100px 5%;
    }

    .become-partner-container {
        padding: 60px 25px;
        border-radius: 20px;
    }

    .partner-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-outline {
        width: 100%;
    }

    .become-partner-section h2 {
        font-size: 3rem;
    }
}