/* ========================= */
/* GLOBAL */
/* ========================= */

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: url('/assets/img/bg.webp') center/cover no-repeat fixed;
    color: #F8F9FA;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(10,10,15,0.75);
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

a {
    text-decoration: none;
}

/* ========================= */
/* CONTAINER */
/* ========================= */

.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* ========================= */
/* HEADER */
/* ========================= */

.header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 15px 40px;
    background: linear-gradient(90deg, rgba(20,20,40,0.95), rgba(40,0,60,0.95));
    border-bottom: 1px solid #9D4EDD44;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 20px #9D4EDD22;
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: visible;
}

/* LOGO */

.logo-center {
    position: relative;
    display: flex;
    justify-content: center;
}

.logo-img-center {
    width: 110px;
    position: absolute;
    top: 50%;
    transform: translateY(-40%);
    filter: drop-shadow(0 0 25px #9D4EDD);
    transition: 0.3s;
}

.logo-img-center:hover {
    transform: translateY(-40%) scale(1.08);
    filter: drop-shadow(0 0 35px #9D4EDD);
}

/* ========================= */
/* NAV */
/* ========================= */

.nav {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-end;
}

.nav a {
    color: #C77DFF;
    transition: 0.3s;
}

.nav a:hover {
    color: white;
    text-shadow: 0 0 10px #C77DFF;
}

/* ========================= */
/* BUTTON */
/* ========================= */

.btn {
    background: #9D4EDD;
    border: none;
    padding: 10px 15px;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background: #7B2CBF;
    box-shadow: 0 0 10px #9D4EDD;
    transform: translateY(-2px);
}

.btn.danger {
    background: #ff4d6d;
}

.btn.small {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-outline {
    display: inline-block;
    padding: 12px 20px;
    border: 1px solid #9D4EDD;
    color: #9D4EDD;
    border-radius: 6px;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #9D4EDD;
    color: white;
    box-shadow: 0 0 15px #9D4EDD;
}

/* ========================= */
/* INPUT */
/* ========================= */

input, textarea, select {
    width: 100%;
    padding: 10px;
    margin: 6px 0;
    border-radius: 6px;
    border: 1px solid #1F1F2E;
    background: #0A0A0F;
    color: white;
}

/* ========================= */
/* DASHBOARD */
/* ========================= */

.dashboard {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* ========================= */
/* GRID */
/* ========================= */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* 🔥 FIX DASHBOARD ADMIN */

.dashboard-grid-admin {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.dash-box {
    display: block;
    background: rgba(20,20,30,0.9);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #1F1F2E;
    color: #F8F9FA;
    transition: 0.3s;
}

.dash-box h3 {
    margin-bottom: 10px;
}

.dash-box p {
    color: #aaa;
    font-size: 14px;
}

.dash-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px #9D4EDD55;
}

/* ========================= */
/* CARD */
/* ========================= */

.card {
    background: rgba(20,20,30,0.9);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #1F1F2E;
    box-shadow: 0 0 15px #00000040;
    backdrop-filter: blur(10px);
}

/* ========================= */
/* HERO */
/* ========================= */

.hero-center {
    text-align: left;
    padding: 80px 40px;
}

/* ========================= */
/* HERO VITALITY */
/* ========================= */

.hero-vitality {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 100px 60px;
    gap: 60px;
}

.hero-v-left h1 {
    font-size: 90px;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -2px;
}

.hero-v-left h1 span {
    background: linear-gradient(45deg, #9D4EDD, #C77DFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-v-left p {
    margin: 30px 0;
    max-width: 420px;
    color: #aaa;
    line-height: 1.6;
}

.hero-v-right {
    display: flex;
    justify-content: flex-start;
}

/* ========================= */
/* CARD HERO */
/* ========================= */

.v-card {
    width: 360px;
    height: 420px;
    background: linear-gradient(145deg, #0A0A0F, #1a0a2a);
    border-radius: 20px;
    transform: rotate(8deg);
    position: relative;
    border: 1px solid #9D4EDD33;

    box-shadow: 
        0 0 25px #9D4EDD33,
        0 0 5px #000;

    transition: 0.3s;
}

.v-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: linear-gradient(45deg, #9D4EDD, transparent);
    z-index: -1;
    filter: blur(6px);
}

.v-card:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 0 40px #9D4EDD55;
}

.v-card-inner {
    transform: rotate(-8deg);
    padding: 30px;
}

.v-card-inner h3 {
    color: #9D4EDD;
    margin-bottom: 10px;
}

.v-card-inner h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.v-card-inner p {
    font-size: 14px;
    color: #aaa;
}

/* ========================= */
/* ACTU */
/* ========================= */

.actu-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.actu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 25px #9D4EDD55;
}

/* ========================= */
/* SLIDER */
/* ========================= */

.slider-cards {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.slider-cards::-webkit-scrollbar {
    display: none;
}

.slide-card {
    min-width: 260px;
    height: 170px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    scroll-snap-align: start;
    transition: 0.3s;
}

.slide-card:hover {
    transform: scale(1.06);
    box-shadow: 0 0 20px #9D4EDD88;
}

/* ========================= */
/* PAGINATION */
/* ========================= */

.pagination {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.pagination a {
    padding: 10px 15px;
    background: #141420;
    color: #fff;
    border-radius: 8px;
}

.pagination a:hover {
    background: #1F1F2E;
}
/* ========================= */
/* PRESENTATION */
/* ========================= */

.presentation {
    display: flex;
    justify-content: center;
    padding: 80px 20px;
}

.presentation-container {
    max-width: 800px;
}

.presentation h1 {
    font-size: 60px;
    font-weight: 900;
    margin-bottom: 10px;
}

.presentation-sub {
    color: #9D4EDD;
    font-weight: bold;
    letter-spacing: 2px;
}

.presentation-block {
    margin-top: 40px;
    line-height: 1.8;
    color: #ccc;
}

/* styles texte */

.presentation .intro {
    font-size: 20px;
    font-weight: bold;
    color: white;
}

.presentation .highlight {
    color: #9D4EDD;
    font-weight: bold;
}

.presentation .final {
    font-size: 18px;
    text-align: center;
    margin-top: 30px;
}

.presentation .final span {
    color: #9D4EDD;
    font-weight: bold;
    text-shadow: 0 0 10px #9D4EDD;
}

/* séparateur */

.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #9D4EDD, transparent);
    margin: 25px 0;
    opacity: 0.5;
}
/* ========================= */
/* DIRECTEURS VERSION PRO */
/* ========================= */

.directors {
    margin-top: 80px;
    text-align: center;
}

.directors h2 {
    font-size: 40px;
    margin-bottom: 40px;
}

/* GRID */

.directors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* ITEM GLOBAL */

.director-item {
    text-align: center;
}

/* CARD */

.director-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
}

.director-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: 0.4s;
}

/* OVERLAY */

.director-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,10,15,0.92);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transition: 0.3s;
}

.director-overlay p {
    color: #ccc;
}

/* HOVER */

.director-card:hover .director-overlay {
    opacity: 1;
}

.director-card:hover img {
    transform: scale(1.05);
}

/* TEXTE */

.director-item h3 {
    margin-top: 12px;
    margin-bottom: 5px;
}

.director-role {
    font-size: 12px;
    color: #9D4EDD;
    font-weight: 500;
}
/* ========================= */
/* MATCH STYLE */
/* ========================= */

.match-section {
    margin-top: 80px;
    display: flex;
    justify-content: center;
}

.match-banner {
    width: 100%;
    max-width: 1100px;
    height: 340px;

    border-radius: 16px;
    overflow: hidden;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* SPLIT */

.match-side {
    position: absolute;
    inset: 0;
    width: 50%;
}

.match-side.left {
    left: 0;
    background: url('/assets/img/match-bg.jpg') center/cover no-repeat;
    filter: brightness(0.8);
}

.match-side.right {
    right: 0;
    background: url('/assets/img/match-bg.jpg') center/cover no-repeat;
    transform: scaleX(-1);
    filter: brightness(0.5);
}

/* OVERLAY */

.match-overlay {
    position: relative;
    z-index: 2;

    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
}

/* TITRE */

.match-overlay h2 {
    font-size: 34px;
    margin-bottom: 20px;
}

/* TEAMS */

.match-teams {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 20px;
}

.team img {
    width: 60px;
    filter: drop-shadow(0 0 10px #9D4EDD);
}

/* VS ANIMATION */

.vs {
    font-size: 30px;
    font-weight: bold;
    color: #9D4EDD;

    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* TIMER */

.match-timer {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.match-timer span {
    font-size: 26px;
    font-weight: bold;
}

/* HOVER GLOBAL */

.match-banner:hover {
    transform: scale(1.02);
    transition: 0.3s;
}