.page-container {
    margin-top: 30px;
    padding: 22px 20px;
    border-radius: var(--hac-radius-lg);
    background: var(--hac-bg-section);
    border: 1px solid var(--hac-border);
    box-shadow: var(--hac-shadow);
}

.page-container h1 {
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
    color: var(--hac-blue-light);
}

.season-label {
    font-size: 0.9rem;
    color: var(--hac-blue-meta);
    margin-bottom: 18px;
}
/* ============================================================
   Prochain match (bloc + animation RGB)
   ============================================================ */
.rgb-surface-glow {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.rgb-surface-glow::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(255, 0, 0, 0.25),
        rgba(0, 255, 0, 0.25),
        rgba(0, 128, 255, 0.25),
        rgba(255, 0, 255, 0.25),
        rgba(255, 0, 0, 0.25)
    );
    background-size: 300% 300%;
    animation: rgbSurfaceMove 6s linear infinite;
    z-index: 0;
}

.rgb-surface-glow > * {
    position: relative;
    z-index: 1;
}

@keyframes rgbSurfaceMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.next-match {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    background:
        radial-gradient(circle at top left, rgba(92, 200, 255, 0.18), transparent 60%),
        rgba(5, 12, 30, 0.65);
}

.nm-logo img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px var(--hac-glow));
}

.next-match-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--hac-blue-meta);
    margin-bottom: 4px;
}

.next-match-teams {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--hac-blue-light);
}

.next-match-meta {
    font-size: 0.9rem;
    color: var(--hac-blue-soft);
}

.next-match-badge {
    display: inline-block;
    margin-top: 4px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: rgba(30, 144, 255, 0.15);
    border: 1px solid rgba(30, 144, 255, 0.7);
    color: var(--hac-blue-light);
}
/* ============================================================
   Journées
   ============================================================ */
   .day-block {
    margin-bottom: 18px;
    padding: 14px 14px 10px 14px;
    border-radius: var(--hac-radius-md);
    background: rgba(3, 10, 25, 0.9);
    border: 1px solid var(--hac-border);
}

.day-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.day-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--hac-blue-light);
}

.day-date {
    font-size: 0.85rem;
    color: var(--hac-blue-meta);
}
/* ============================================================
   Matchs
   ============================================================ */
   .match-row {
    display: grid;
    grid-template-columns: 1.2fr auto 1.2fr;
    align-items: center;
    gap: 10px;
    padding: 10px 8px;
    border-radius: 10px;
    background: rgba(5, 12, 30, 0.9);
    border: 1px solid rgba(92, 200, 255, 0.12);
    margin-bottom: 6px;
}

.team-side {
    display: flex;
    align-items: center;
    gap: 8px;
}

.team-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px var(--hac-glow));
    transition: 0.25s ease;
}

.team-name {
    font-size: 0.9rem;
    color: var(--hac-blue-light);
}

.match-center {
    text-align: center;
}

.match-score {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--hac-blue-light);
}

.match-time {
    font-size: 0.9rem;
    color: var(--hac-blue-soft);
}
/* ============================================================
   Statuts
   ============================================================ */
.status-badge {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.status-upcoming {
    background: rgba(30, 144, 255, 0.12);
    border: 1px solid rgba(30, 144, 255, 0.7);
    color: var(--hac-blue-light);
}

.status-played {
    background: rgba(0, 200, 120, 0.12);
    border: 1px solid rgba(0, 200, 120, 0.7);
    color: #d9ffea;
}

.status-postponed {
    background: rgba(255, 165, 0, 0.12);
    border: 1px solid rgba(255, 165, 0, 0.7);
    color: #ffe9c7;
}
/* ============================================================
   Pagination (bas de page)
   ============================================================ */   
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 25px 0;
}

.page-btn,
.page-number {
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(5, 12, 30, 0.75);
    border: 1px solid var(--hac-border);
    color: var(--hac-blue-light);
    font-size: 0.85rem;
    transition: 0.25s ease;
}

.page-btn:hover,
.page-number:hover {
    background: rgba(92, 200, 255, 0.25);
}

.page-number.active {
    background: rgba(92, 200, 255, 0.35);
    border-color: var(--hac-blue);
}

.page-btn.disabled {
    opacity: 0.35;
    pointer-events: none;
}
/* ============================================================
  Navigation joueurs
   ============================================================ */   
.player-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0;
    padding: 14px 20px;
    background: rgba(5, 12, 30, 0.65);
    border-radius: 12px;
}

.player-navigation .nav-button {
    color: #5cc8ff;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 8px;
    background: rgba(30, 60, 120, 0.35);
    transition: 0.25s ease;
}

.player-navigation .nav-button:hover {
    background: rgba(92, 200, 255, 0.45);
    color: white;
}

.player-navigation .nav-button.disabled {
    opacity: 0.35;
    pointer-events: none;
}

.player-navigation .nav-label {
    color: #ffffffcc;
    font-weight: 500;
}
/* ============================================================
  RESPONSIVE CALENDRIER
   ============================================================ */
@media (max-width: 768px) {
    .next-match {
        flex-direction: column;
        align-items: flex-start;
    }

    .match-row {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .team-side {
        justify-content: flex-start !important;
    }

    .day-header {
        flex-direction: column;
        gap: 4px;
    }
}
 