/* --------------------
   RESET & BASE
---------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: Arial, sans-serif;
    background: radial-gradient(circle at top, #1b3b6f 0%, #050814 55%, #02030a 100%);
    color: #f5f7ff;
    min-height: 100vh;
}

a {
    color: #5cc8ff;
    text-decoration: none;
    transition: 0.2s ease;
}

a:hover {
    color: #ffffff;
}

/* --------------------
   LAYOUT GLOBAL
---------------------*/
body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 90px auto 40px auto;
    padding: 0 20px;
}

/* --------------------
   HEADER
---------------------*/
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(3, 10, 25, 0.95);
    border-bottom: 1px solid rgba(92, 200, 255, 0.25);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px 5px 20px;
}

header .logo img {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(92, 200, 255, 0.7));
}

header .logo h1 {
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #e6f3ff;
}

/* NAV */
header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 5px 20px 12px 20px;
}

header nav a {
    position: relative;
    padding: 6px 12px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #c7d9ff;
}

header nav a::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    border: 1px solid transparent;
    background: linear-gradient(120deg, rgba(92, 200, 255, 0.8), rgba(0, 255, 200, 0.2));
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: -1;
}

header nav a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

header nav a:hover::before {
    opacity: 1;
}

/* --------------------
   HERO / ACCUEIL
---------------------*/
.hero {
    margin-top: 20px;
    padding: 30px 24px;
    border-radius: 18px;
    background: radial-gradient(circle at top left, rgba(92, 200, 255, 0.18), transparent 55%),
                radial-gradient(circle at bottom right, rgba(0, 255, 200, 0.12), transparent 55%),
                rgba(5, 12, 30, 0.95);
    border: 1px solid rgba(92, 200, 255, 0.35);
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.8);
    animation: heroGlow 6s ease-in-out infinite alternate;
}

.hero h2 {
    font-size: 1.9rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #eaf4ff;
}

.hero p {
    font-size: 1rem;
    line-height: 1.6;
    color: #c7d9ff;
}

@keyframes heroGlow {
    0% {
        box-shadow: 0 0 25px rgba(92, 200, 255, 0.4);
    }
    100% {
        box-shadow: 0 0 45px rgba(0, 255, 200, 0.4);
    }
}

/* --------------------
   SECTIONS GÉNÉRIQUES
---------------------*/
section {
    margin-top: 30px;
    padding: 22px 20px;
    border-radius: 16px;
    background: rgba(5, 12, 30, 0.92);
    border: 1px solid rgba(92, 200, 255, 0.18);
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.7);
}

section h2, section h3 {
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #eaf4ff;
}

section p, section li {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #c7d9ff;
}

section ul {
    margin-left: 18px;
}

/* --------------------
   MATCHDAY / CARTES
---------------------*/
.match-card, .result-card {
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(10, 25, 60, 0.95), rgba(5, 10, 30, 0.95));
    border: 1px solid rgba(92, 200, 255, 0.35);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.match-card:hover, .result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(92, 200, 255, 0.5);
}

/* --------------------
   GRID JOUEURS
---------------------*/
.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

.player-card {
    text-align: center;
    padding: 16px 12px;
    border-radius: 14px;
    background: radial-gradient(circle at top, rgba(92, 200, 255, 0.18), transparent 60%),
                rgba(5, 12, 30, 0.95);
    border: 1px solid rgba(92, 200, 255, 0.35);
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.7);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.player-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
    border: 2px solid rgba(92, 200, 255, 0.7);
    box-shadow: 0 0 12px rgba(92, 200, 255, 0.7);
}

.player-card h3 {
    font-size: 1rem;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.player-card p {
    font-size: 0.85rem;
    color: #a9c4ff;
}

.player-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 26px rgba(0, 255, 200, 0.5);
}

/* --------------------
   VIDÉOS YOUTUBE
---------------------*/
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.video-card {
    border-radius: 14px;
    overflow: hidden;
    background: rgba(5, 12, 30, 0.95);
    border: 1px solid rgba(92, 200, 255, 0.3);
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.7);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.video-card iframe {
    display: block;
    border: none;
}

.video-card p {
    padding: 10px 12px;
    font-size: 0.9rem;
}

.video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 26px rgba(92, 200, 255, 0.6);
}

/* --------------------
   FORMULAIRES
---------------------*/
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    background: rgba(3, 10, 25, 0.95);
    border: 1px solid rgba(92, 200, 255, 0.4);
    border-radius: 10px;
    padding: 10px 12px;
    color: #eaf4ff;
    font-size: 0.95rem;
    outline: none;
    transition: border 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
textarea:focus {
    border-color: #5cc8ff;
    box-shadow: 0 0 12px rgba(92, 200, 255, 0.6);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

button,
input[type="submit"] {
    align-self: flex-start;
    padding: 9px 18px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #5cc8ff, #00ffc8);
    color: #02030a;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    box-shadow: 0 0 18px rgba(92, 200, 255, 0.7);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

button:hover,
input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 26px rgba(0, 255, 200, 0.7);
    filter: brightness(1.05);
}

/* --------------------
   STAFF / HISTORIQUE
---------------------*/
.staff-section .staff-card {
    margin-top: 10px;
    padding: 14px 14px;
    border-radius: 12px;
    background: rgba(5, 12, 30, 0.95);
    border: 1px solid rgba(92, 200, 255, 0.3);
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.7);
}

.history h3 {
    margin-top: 12px;
}

/* --------------------
   LIVE TWITCH
---------------------*/
.twitch-live iframe {
    border-radius: 14px;
    border: 1px solid rgba(92, 200, 255, 0.4);
    box-shadow: 0 0 22px rgba(0, 0, 0, 0.8);
}

/* --------------------
   FOOTER
---------------------*/
footer {
    padding: 14px 20px;
    background: rgba(3, 10, 25, 0.98);
    border-top: 1px solid rgba(92, 200, 255, 0.25);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #9fb4e6;
}

footer .socials a {
    margin-right: 10px;
    font-size: 0.85rem;
}

/* --------------------
   RESPONSIVE
---------------------*/
@media (max-width: 768px) {
    header nav {
        padding-bottom: 10px;
    }

    main {
        margin-top: 110px;
        padding: 0 12px;
    }

    .hero {
        padding: 22px 16px;
    }
}

/* ==========================
   MATCHDAY PRO
========================== */

.next-match-card, .result-card-pro {
    padding: 20px;
    border-radius: 16px;
    background: rgba(5, 12, 30, 0.95);
    border: 1px solid rgba(92, 200, 255, 0.4);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
}

.teams {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.vs {
    color: #5cc8ff;
    font-weight: bold;
}

.score-line {
    display: flex;
    justify-content: space-between;
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.score {
    color: #00ffc8;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0,255,200,0.7);
}

.btn-watch, .btn-highlight, .btn-more {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #5cc8ff, #00ffc8);
    color: #02030a;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 0 18px rgba(92, 200, 255, 0.7);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.stat-box {
    text-align: center;
    padding: 16px;
    border-radius: 12px;
    background: rgba(5, 12, 30, 0.9);
    border: 1px solid rgba(92, 200, 255, 0.3);
}

.stat-box .value {
    font-size: 1.6rem;
    color: #00ffc8;
    text-shadow: 0 0 10px rgba(0,255,200,0.7);
}

.motm-card {
    text-align: center;
    padding: 20px;
}

.motm-card img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid #5cc8ff;
    box-shadow: 0 0 20px rgba(92,200,255,0.7);
}

/* VOTE MOTM */
.motm-vote-section select {
    padding: 10px;
    border-radius: 8px;
    background: #0a1a33;
    color: #eaf4ff;
    border: 1px solid #5cc8ff;
}

.motm-results p {
    margin: 4px 0;
    color: #a9c4ff;
}

/* Twitch */
.twitch-live-section iframe {
    border-radius: 14px;
    border: 1px solid rgba(92, 200, 255, 0.4);
    box-shadow: 0 0 22px rgba(0, 0, 0, 0.8);
}

.player-card img {
    width: 180px;
    filter: drop-shadow(0 0 12px #00eaff);
}
