/* ============================================
   DARUNYX — Refonte Premium
   Palette: Bleu / Blanc / Rouge (FR x USA)
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Blues */
  --blue-deep: #0c1a3a;
  --blue-primary: #1e3a8a;
  --blue-bright: #3b82f6;
  --blue-light: #60a5fa;
  --blue-glow: rgba(59, 130, 246, 0.4);

  /* Reds */
  --red-primary: #dc2626;
  --red-bright: #ef4444;
  --red-light: #f87171;
  --red-glow: rgba(220, 38, 38, 0.35);

  /* Whites */
  --white: #ffffff;
  --white-off: #f1f5f9;
  --silver: #cbd5e1;

  /* Gradients */
  --gradient-tricolor: linear-gradient(135deg, var(--blue-bright), #8b5cf6, var(--red-bright));
  --gradient-blue: linear-gradient(135deg, var(--blue-primary), var(--blue-bright));
  --gradient-red: linear-gradient(135deg, var(--red-primary), var(--red-bright));
  --gradient-hero: linear-gradient(135deg, var(--blue-bright) 0%, var(--red-bright) 100%);

  /* Backgrounds */
  --bg-primary: #050a18;
  --bg-secondary: #0a1228;
  --bg-card: rgba(15, 23, 52, 0.7);
  --bg-card-solid: #0f1734;
  --bg-card-hover: #162044;

  /* Text */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #475569;

  /* Borders */
  --border: rgba(59, 130, 246, 0.12);
  --border-hover: rgba(59, 130, 246, 0.3);

  /* Fonts */
  --font-heading: 'Orbitron', sans-serif;
  --font-body: 'Inter', 'Rajdhani', sans-serif;

  /* Utils */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-glow-blue: 0 0 40px rgba(59, 130, 246, 0.15);
  --shadow-glow-red: 0 0 40px rgba(220, 38, 38, 0.12);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--blue-bright);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--blue-light);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- NAVIGATION ---------- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 10, 24, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(59, 130, 246, 0.08);
  transition: all var(--transition);
}

#navbar.scrolled {
  background: rgba(5, 10, 24, 0.92);
  border-bottom-color: rgba(59, 130, 246, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white) !important;
  letter-spacing: 5px;
  position: relative;
}

.nav-logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-hero);
  border-radius: 2px;
  opacity: 0.6;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  letter-spacing: 0.3px;
  white-space: nowrap;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(59, 130, 246, 0.08);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--blue-bright);
  border-radius: 2px;
}

.nav-cta {
  background: var(--gradient-hero) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 8px 22px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 0.8rem !important;
  letter-spacing: 1px !important;
  text-transform: uppercase;
}

.nav-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--blue-glow);
}

/* Tab links */
.nav-links .tab-link {
  cursor: pointer;
}

.nav-links .tab-link.active {
  color: var(--blue-bright) !important;
  background: rgba(59, 130, 246, 0.1);
}

/* Burger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- HERO ---------- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  animation: gridDrift 30s linear infinite;
  mask-image: radial-gradient(ellipse at 50% 50%, black 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 10%, transparent 70%);
}

@keyframes gridDrift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(80px, 80px); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(30, 58, 138, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(220, 38, 38, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

#galaxyCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  max-width: 800px;
}

/* Title with tricolor underline */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 900;
  letter-spacing: 10px;
  color: var(--white);
  position: relative;
  line-height: 1.1;
  margin-bottom: 8px;
}

.hero-title-bar {
  display: block;
  width: 120px;
  height: 4px;
  margin: 20px auto 0;
  border-radius: 4px;
  background: var(--gradient-hero);
}

/* Glitch kept for compatibility */
.glitch {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 900;
  letter-spacing: 10px;
  color: var(--white);
  position: relative;
  line-height: 1.1;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.glitch::before {
  color: var(--blue-bright);
  z-index: -1;
  animation: glitchBlue 5s infinite;
}

.glitch::after {
  color: var(--red-bright);
  z-index: -2;
  animation: glitchRed 5s infinite;
}

@keyframes glitchBlue {
  0%, 92%, 96%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
  93% { clip-path: inset(20% 0 60% 0); transform: translate(-3px, -1px); }
  94% { clip-path: inset(50% 0 20% 0); transform: translate(3px, 1px); }
  95% { clip-path: inset(10% 0 70% 0); transform: translate(-2px, 1px); }
}

@keyframes glitchRed {
  0%, 92%, 96%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
  93% { clip-path: inset(60% 0 10% 0); transform: translate(3px, 1px); }
  94% { clip-path: inset(30% 0 40% 0); transform: translate(-3px, -1px); }
  95% { clip-path: inset(70% 0 5% 0); transform: translate(2px, -1px); }
}

.hero-slogan {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 20px;
  letter-spacing: 4px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-top: 16px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-flags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 1.5rem;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--blue-bright), var(--red-bright));
  animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-hero);
  color: var(--white);
  box-shadow: 0 4px 20px var(--blue-glow), 0 4px 20px var(--red-glow);
  margin-top: 32px;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px var(--blue-glow), 0 8px 40px var(--red-glow);
  color: var(--white);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-outline {
  background: transparent;
  color: var(--blue-bright);
  border: 1px solid rgba(59, 130, 246, 0.3);
  margin-top: 32px;
}

.btn-outline:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--blue-bright);
  transform: translateY(-2px);
  color: var(--blue-bright);
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background: var(--bg-secondary);
}

/* Subtle section separator */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(80%, 600px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section:first-of-type::before {
  display: none;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-hero);
  margin: 16px auto 0;
  border-radius: 3px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 56px;
  font-size: 1rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- AOS (Animate on Scroll) ---------- */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos].aos-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  margin-top: 56px;
}

.about-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.9;
}

.about-text strong {
  color: var(--blue-bright);
  font-weight: 600;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.landing-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.landing-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-hero);
  opacity: 0;
  transition: opacity var(--transition);
}

.landing-stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow-blue);
}

.landing-stat-card:hover::before {
  opacity: 1;
}

/* Alternate card accent colors */
.landing-stat-card:nth-child(1) .landing-stat-number {
  color: var(--blue-bright);
}

.landing-stat-card:nth-child(2) .landing-stat-number {
  color: var(--white);
}

.landing-stat-card:nth-child(3) .landing-stat-number {
  color: var(--red-bright);
}

.landing-stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: 2px;
}

.landing-stat-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 10px;
  display: block;
}

/* ---------- ANNONCES ---------- */
.annonces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.annonce-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.annonce-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-hero);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.annonce-card:hover::before {
  transform: scaleX(1);
}

.annonce-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.annonce-card.important {
  border-color: rgba(59, 130, 246, 0.3);
}

.annonce-card.important::before {
  transform: scaleX(1);
}

.annonce-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.annonce-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  font-weight: 500;
}

.annonce-badge {
  background: var(--gradient-hero);
  color: var(--white);
  font-size: 0.65rem;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.annonce-titre {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 1px;
  color: var(--white);
}

.annonce-contenu {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

.annonce-auteur {
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ---------- SPORTS GRID ---------- */
.sports-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.sport-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.sport-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  backdrop-filter: blur(10px);
  height: 100%;
}

.sport-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow-blue);
}

.sport-card-image {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* NHL card — blue accent */
.sport-card-link:first-child .sport-card-image {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.4), rgba(10, 18, 40, 0.9));
  color: var(--blue-bright);
}

/* MLB card — red accent */
.sport-card-link:last-child .sport-card-image {
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.35), rgba(10, 18, 40, 0.9));
  color: var(--red-bright);
}

.sport-card-image svg {
  width: 72px;
  height: 72px;
  opacity: 0.7;
  transition: all var(--transition);
}

.sport-card:hover .sport-card-image svg {
  opacity: 1;
  transform: scale(1.1);
}

.sport-card-body {
  padding: 28px;
}

.sport-card-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 1px;
  color: var(--white);
}

.sport-card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.sport-card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sport-tag {
  font-size: 0.7rem;
  padding: 5px 14px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue-bright);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.sport-tag.active {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border-color: rgba(34, 197, 94, 0.25);
}

.sport-card-hint {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all var(--transition);
}

.sport-card-link:first-child .sport-card-hint {
  color: var(--blue-bright);
}

.sport-card-link:last-child .sport-card-hint {
  color: var(--red-bright);
}

.sport-card-link:hover .sport-card-hint {
  letter-spacing: 3px;
}

/* ---------- FOOTER ---------- */
#footer {
  background: #030712;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 5px;
  color: var(--white);
  display: block;
  margin-bottom: 14px;
  position: relative;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links h4,
.footer-social h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--text-secondary);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--blue-bright);
  transform: translateX(4px);
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(59, 130, 246, 0.08);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/* Tricolor bar in footer */
.footer-tricolor {
  width: 80px;
  height: 3px;
  background: var(--gradient-hero);
  border-radius: 3px;
  margin: 12px auto 0;
}

/* ---------- LOGIN OVERLAY ---------- */
.login-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: linear-gradient(135deg, rgba(5, 10, 24, 0.95), rgba(10, 18, 40, 0.98));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.login-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.login-box {
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Tricolor top bar on login */
.login-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-hero);
}

.login-box h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 6px;
  color: var(--white);
  margin-bottom: 4px;
}

.login-box h1 span {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-box .login-subtitle {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.login-field {
  text-align: left;
}

.login-field label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.login-field input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.login-field input:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.login-field .password-wrapper {
  position: relative;
}

.login-field .password-wrapper input {
  padding-right: 48px;
}

.login-field .password-toggle-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  transition: color var(--transition);
}

.login-field .password-toggle-btn:hover {
  color: var(--text-secondary);
}

.login-field .password-toggle-btn svg {
  width: 18px;
  height: 18px;
}

.login-error {
  color: var(--red-bright);
  font-size: 0.85rem;
  padding: 10px 14px;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: var(--radius-sm);
  display: none;
}

.login-error:not(:empty) {
  display: block;
}

.login-btn {
  width: 100%;
  padding: 16px;
  background: var(--gradient-hero);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.login-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transition: left 0.5s ease;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px var(--blue-glow), 0 6px 30px var(--red-glow);
}

.login-btn:hover::before {
  left: 100%;
}

.login-btn svg {
  width: 18px;
  height: 18px;
}

.login-footer {
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.5px;
}

/* ---------- TAB SYSTEM ---------- */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ---------- TOAST ---------- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.2);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--blue-bright);
}

/* ---------- SELECTION ---------- */
::selection {
  background: var(--blue-bright);
  color: var(--white);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 968px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .landing-stat-card {
    padding: 28px 16px;
  }

  .landing-stat-number {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sports-grid {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 10, 24, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    padding: 14px 20px;
    font-size: 1rem;
    width: 100%;
  }

  .sports-grid {
    grid-template-columns: 1fr;
  }

  .annonces-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .landing-stat-card {
    padding: 24px 16px;
  }

  .login-box {
    padding: 36px 24px;
    margin: 16px;
    border-radius: var(--radius);
  }

  .login-box h1 {
    font-size: 1.6rem;
    letter-spacing: 4px;
  }

  .hero-flags {
    font-size: 1.2rem;
  }
}
