/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    top: 80px;
    background-color: var(--primary);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    top: 80px;
    background: var(--gradient-overlay);
}

.hero-accent-1 {
    position: absolute;
    top: 25%;
    right: 40px;
    width: 288px;
    height: 288px;
    background: rgba(220, 175, 77, 0.2);
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse 3s ease-in-out infinite;
}

.hero-accent-2 {
    position: absolute;
    bottom: 25%;
    left: 40px;
    width: 384px;
    height: 384px;
    background: rgba(220, 175, 77, 0.1);
    border-radius: 50%;
    filter: blur(60px);
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 1rem 4rem;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(220, 175, 77, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(220, 175, 77, 0.3);
    border-radius: 9999px;
    padding: 8px 16px;
    margin-bottom: 2rem;
    animation: slideUp 0.6s ease-out forwards;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-badge span {
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: clamp(3rem, 10vw, 8rem);
    margin-bottom: 1.5rem;
    line-height: 1;
    background: linear-gradient(
        90deg,
        var(--hero-title) 0%,
        var(--hero-title) 40%,
        #d9f0fc 50%,
        var(--hero-title) 60%,
        var(--hero-title) 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideUp 0.6s ease-out forwards, shimmer 4s ease-in-out infinite;
    animation-delay: 0.1s, 0s;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: #ffffff;
    max-width: 640px;
    margin: 0 auto 2.5rem;
    animation: slideUp 0.6s ease-out forwards;
    animation-delay: 0.2s;
    opacity: 0;
}


/* ========================================
   Match Card
   ======================================== */
.match-card {
    background: rgba(3, 35, 116, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    max-width: 640px;
    margin: 0 auto;
    animation: scaleIn 0.5s ease-out forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.match-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1rem;
}

.match-card-header span {
    color: var(--accent);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.match-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.match-team img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
    -webkit-user-drag: none;
}

.match-team h3 {
    font-size: 1.5rem;
    color: var(--primary-foreground);
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.match-vs {
    font-size: 1.875rem;
    color: var(--accent);
    flex-shrink: 0;
}

.match-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.match-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.match-info-item svg {
    color: var(--accent);
}

.match-cta {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gradient-accent);
    color: var(--accent-foreground);
    padding: 14px 40px;
    border-radius: 8px;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    box-shadow: var(--shadow-button);
    transition: all 0.3s;
}

.btn-hero:hover {
    box-shadow: var(--shadow-hover);
    transform: scale(1.05);
}

/* Match Insight */
.match-insight {
    max-width: 640px;
    margin: 1.5rem auto 0;
    padding: 1rem 1.5rem;
    background: rgba(3, 35, 116, 0.9);
    border: none;
    border-left: 3px solid #dcaf4d;
    border-radius: 8px;
    animation: slideUp 0.6s ease-out forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.match-insight-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
    color: #dcaf4d;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.match-insight-text {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.7;
    margin: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.3s, opacity 0.4s;
    z-index: 50;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-indicator:hover {
    color: var(--accent);
}

.scroll-indicator svg {
    width: 32px;
    height: 32px;
}


/* ========================================
   Stats Section
   ======================================== */
.stats-section {
    background: var(--primary);
    padding: 4rem 0;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.stats-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--accent);
    text-align: center;
    margin-bottom: 2.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.stats-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.stats-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.stats-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.stats-card-header svg {
    color: var(--accent);
}

.stats-card-header h3 {
    font-size: 1.25rem;
    color: #ffffff;
    text-transform: uppercase;
}

.stats-card-content .label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

/* Result badge (Victoire / Défaite) */
.result-badge {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.25rem;
    background: linear-gradient(
        90deg,
        #dcaf4d 0%,
        #f5e6a3 25%,
        #dcaf4d 50%,
        #f5e6a3 75%,
        #dcaf4d 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

/* Next match badge (Domicile / Extérieur) */
.next-match-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 16px;
    border-radius: 9999px;
    margin-bottom: 1.25rem;
}

.next-match-badge.home {
    background: rgba(220, 175, 77, 0.2);
    color: var(--accent);
}

.next-match-badge.away {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.95);
}

/* Match row: [team] [score/vs] [team] */
.stats-match-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0.5rem 0 1.5rem;
}

.stats-team-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.stats-team-side .team-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
    -webkit-user-drag: none;
}

.stats-team-name {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Score block (Dernier Résultat) */
.stats-score-block {
    flex-shrink: 0;
}

.stats-score-block span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

/* VS block (Prochain Match) */
.stats-vs-block {
    flex-shrink: 0;
}

.stats-vs-block span {
    font-size: 1.125rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
}

/* Match metadata (date, venue) */
.stats-match-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
}

.stats-match-meta + .stats-match-meta {
    margin-top: 4px;
}

.stats-match-meta svg {
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}

.stats-match-date {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Ranking Table */
.ranking-table {
    max-height: 320px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.ranking-table::-webkit-scrollbar {
    width: 4px;
}

.ranking-table::-webkit-scrollbar-track {
    background: transparent;
}

.ranking-table::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 4px;
}

.ranking-table::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

.ranking-table table {
    width: 100%;
    border-collapse: collapse;
    color: #ffffff;
}

.ranking-table th {
    text-align: left;
    padding: 8px 4px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.ranking-table th:last-child {
    text-align: right;
}

.ranking-table td {
    padding: 8px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ranking-table td:last-child {
    text-align: right;
}

.ranking-table tr.highlight {
    background: rgba(220, 175, 77, 0.2);
}

.ranking-table tr.last-place {
    background: rgba(220, 50, 50, 0.15);
    animation: pulse-red 2s ease-in-out infinite;
}

.ranking-table .eye-icon {
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
    color: var(--accent);
    animation: blink 3s ease-in-out infinite;
}

@keyframes pulse-red {
    0%, 100% { background: rgba(220, 50, 50, 0.15); }
    50% { background: rgba(220, 50, 50, 0.25); }
}

@keyframes blink {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0.3; }
}


/* ========================================
   News Section
   ======================================== */
.news-section {
    padding: 6rem 0;
    background: var(--primary);
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.news-header {
    text-align: center;
    margin-bottom: 4rem;
}

.news-header .label {
    display: inline-block;
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.news-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--primary-foreground);
    margin-bottom: 1rem;
}

.news-header p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 640px;
    margin: 0 auto;
}

.news-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.btn-navy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--primary);
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-navy:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}


/* ========================================
   LNV Banners
   ======================================== */
.lnv-banner {
    background: #fff;
}

.lnv-banner-link,
.lnvtv-banner-link {
    display: block;
    text-decoration: none;
}

.lnv-banner-image,
.lnvtv-banner-image {
    width: 100%;
    height: auto;
    display: block;
}

.lnvtv-banner {
    background: #1a1a2e;
}

.lnv-banner-link:hover,
.lnvtv-banner-link:hover {
    opacity: 0.95;
}

