/* Ligue 3 Betclic – Design original 2026 */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #080d16;
  --bg-elevated: #0f1623;
  --surface: #151e2e;
  --surface-hover: #1c2740;
  --border: #243047;
  --text: #e8eef7;
  --muted: #8b9bb4;
  --cyan: #22d3ee;
  --emerald: #34d399;
  --amber: #fbbf24;
  --rose: #fb7185;
  --gradient: linear-gradient(135deg, #0891b2 0%, #059669 100%);
  --radius: 16px;
  --shadow: 0 8px 32px rgba(0,0,0,0.35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Ambient background glow */
body::before {
  content: '';
  position: fixed;
  top: -40%;
  left: -20%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(8,145,178,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  bottom: -30%;
  right: -15%;
  width: 55%;
  height: 55%;
  background: radial-gradient(circle, rgba(5,150,105,0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

a { color: var(--cyan); text-decoration: none; transition: color .2s; }
a:hover { color: #fff; }

/* ===== HEADER ===== */
.site-header {
  position: relative;
  z-index: 10;
  background: linear-gradient(160deg, #0c4a6e 0%, #065f46 55%, #064e3b 100%);
  padding: 56px 24px 48px;
  text-align: center;
  overflow: hidden;
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.06) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 40%);
}
.site-header h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  position: relative;
  line-height: 1.1;
}
.site-header h1 span {
  background: linear-gradient(90deg, #67e8f9, #6ee7b7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.site-header .tagline {
  margin-top: 10px;
  font-size: 1.1rem;
  opacity: 0.9;
  position: relative;
  font-weight: 500;
}
.site-header .season-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 6px 18px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  position: relative;
  border: 1px solid rgba(255,255,255,0.15);
}

/* ===== NAV ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 22, 35, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 10px 16px;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.92rem;
  transition: all .2s;
}
.site-nav a:hover,
.site-nav a.active {
  background: var(--surface);
  color: var(--cyan);
}

/* ===== MAIN ===== */
main {
  position: relative;
  z-index: 5;
  max-width: 1080px;
  margin: 0 auto;
  padding: 36px 20px 72px;
  flex: 1;
  width: 100%;
}

h2 {
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
h2 .accent {
  width: 5px;
  height: 1.3em;
  background: var(--gradient);
  border-radius: 3px;
  flex-shrink: 0;
}

/* ===== CARDS ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  transition: border-color .2s;
}
.card:hover { border-color: #334155; }

.card-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}

/* ===== HERO FEATURES ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 48px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: #0e7490;
  box-shadow: var(--shadow);
}
.feature .emoji {
  font-size: 1.9rem;
  margin-bottom: 14px;
  display: block;
}
.feature h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature p {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 18px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform .15s, box-shadow .15s;
  border: none;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(8,145,178,0.35);
  color: #fff !important;
}

/* ===== CLUBS GRID ===== */
.clubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.club-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  transition: all .22s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.club-tile:hover {
  background: var(--surface-hover);
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
}
.club-tile .badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.club-tile strong {
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.25;
}
.club-tile .meta {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ===== TABLES ===== */
.table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
th, td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
th {
  background: var(--bg-elevated);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(34,211,238,0.04); }
.home { font-weight: 600; }
.vs { color: var(--muted); font-size: 0.82rem; text-align: center; width: 40px; }
.time { color: var(--cyan); font-weight: 500; white-space: nowrap; }

/* ===== INFO GRID ===== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}
.info-box label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.info-box p { color: var(--text); font-size: 0.95rem; }

/* ===== NOTICE ===== */
.notice {
  background: rgba(34,211,238,0.08);
  border: 1px solid rgba(34,211,238,0.25);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 24px;
  color: var(--cyan);
  font-size: 0.92rem;
  font-weight: 500;
}

/* ===== CLUB PAGE ===== */
.club-hero {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.club-hero .badge {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  flex-shrink: 0;
}
.club-hero h2 { margin: 0; font-size: 1.7rem; }
.club-hero .sub { color: var(--muted); margin-top: 4px; font-size: 0.95rem; }

.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 22px;
  font-weight: 500;
}
.back:hover { color: var(--cyan); }

/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 28px 20px;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--cyan); }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .site-header { padding: 40px 16px 36px; }
  main { padding: 28px 16px 56px; }
  th, td { padding: 11px 10px; font-size: 0.88rem; }
  .features { grid-template-columns: 1fr; }
}

/* Status tags */
.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.tag-rel { background: rgba(251,113,133,0.15); color: var(--rose); }
.tag-pro { background: rgba(52,211,153,0.15); color: var(--emerald); }
/* ===== COOKIE BANNER RGPD ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 16px 20px;
  background: rgba(15, 22, 35, 0.97);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(0,0,0,0.4);
  transform: translateY(110%);
  transition: transform 0.3s ease;
}
.cookie-banner--show {
  transform: translateY(0);
}
.cookie-banner--hide {
  transform: translateY(110%);
}
.cookie-banner__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1;
  min-width: 240px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
.cookie-banner__text a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 10px 18px;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.cookie-btn--accept {
  background: var(--gradient);
  color: #fff;
}
.cookie-btn--accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(8,145,178,0.35);
}
.cookie-btn--refuse {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.cookie-btn--refuse:hover {
  background: var(--surface);
  color: var(--text);
}
@media (max-width: 600px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .cookie-banner__actions {
    justify-content: center;
  }
}
