/* ================================

   AS TROYES POKER - STYLES PRINCIPAUX

   Thème Violet Premium

   ================================ */

:root {
  /* Couleurs principales - Violet */

  --color-primary: #6a1b9a;

  --color-primary-dark: #4a148c;

  --color-primary-light: #9c4dcc;

  --color-secondary: #ffd700;

  --color-accent: #e040fb;

  /* Couleurs sombres */

  --color-dark: #1a1a2e;

  --color-darker: #0f0f1a;

  --color-card-dark: #16213e;

  /* Couleurs claires */

  --color-light: #f5f5f5;

  --color-white: #ffffff;

  /* Texte */

  --color-text: #333333;

  --color-text-light: #666666;

  /* Médailles */

  --color-gold: #ffd700;

  --color-silver: #c0c0c0;

  --color-bronze: #cd7f32;

  /* Alertes */

  --color-red: #e74c3c;

  --color-green: #27ae60;

  /* Cartes poker */

  --color-spade: #1a1a2e;

  --color-heart: #e74c3c;

  --color-diamond: #3498db;

  --color-club: #27ae60;

  /* Typographie */

  --font-main: "Montserrat", sans-serif;

  /* Effets */

  --shadow: 0 4px 15px rgba(106, 27, 154, 0.15);

  --shadow-lg: 0 10px 40px rgba(106, 27, 154, 0.25);

  --shadow-glow: 0 0 30px rgba(106, 27, 154, 0.4);

  --radius: 12px;

  --radius-lg: 20px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Gradients */

  --gradient-primary: linear-gradient(135deg, #6a1b9a 0%, #4a148c 100%);

  --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);

  --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
}

* {
  margin: 0;

  padding: 0;

  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);

  color: var(--color-text);

  line-height: 1.6;

  background-color: rgba(15, 15, 26, 0.92);

  overflow-x: hidden;
}

/* ================================

   POKER BLOCKS - COMPOSANTS COMMUNS

   ================================ */

/* Floating Cards Animation */

.floating-cards {
  position: absolute;

  top: 0;

  left: 0;

  right: 0;

  bottom: 0;

  overflow: hidden;

  pointer-events: none;
}

.float-card {
  position: absolute;

  font-size: 2rem;

  opacity: 0.1;

  animation: floatCard 15s ease-in-out infinite;
}

.float-card:nth-child(1) {
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.float-card:nth-child(2) {
  top: 20%;
  right: 10%;
  animation-delay: 2s;
  color: #e94560;
}

.float-card:nth-child(3) {
  top: 60%;
  left: 15%;
  animation-delay: 4s;
  color: #3498db;
}

.float-card:nth-child(4) {
  top: 70%;
  right: 20%;
  animation-delay: 6s;
  color: #27ae60;
}

.float-card:nth-child(5) {
  top: 40%;
  left: 80%;
  animation-delay: 8s;
  color: #ffd700;
}

.float-card:nth-child(6) {
  top: 80%;
  left: 60%;
  animation-delay: 10s;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.1;
  }

  50% {
    transform: translateY(-20px) rotate(10deg);
    opacity: 0.2;
  }
}

/* Header Badge */

.header-badge {
  display: flex;

  justify-content: center;

  gap: 10px;

  margin-bottom: 20px;
}

.header-badge .chip {
  width: 40px;

  height: 40px;

  border-radius: 50%;

  background: linear-gradient(145deg, #2a2a5a, #1a1a3a);

  border: 2px dashed rgba(255, 255, 255, 0.3);

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 1.2rem;

  color: white;

  animation: chipBounce 2s ease-in-out infinite;
}

.header-badge .chip.gold {
  border-color: rgba(255, 215, 0, 0.5);

  color: #ffd700;
}

.header-badge .chip.silver {
  border-color: rgba(192, 192, 192, 0.5);

  color: #c0c0c0;
}

.header-badge .chip.bronze {
  border-color: rgba(205, 127, 50, 0.5);

  color: #cd7f32;
}

.header-badge .chip:nth-child(2) {
  animation-delay: 0.2s;
}

.header-badge .chip:nth-child(3) {
  animation-delay: 0.4s;
}

.header-badge .chip:nth-child(4) {
  animation-delay: 0.6s;
}

@keyframes chipBounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* Header Subtitle */

.page-header .header-subtitle {
  color: rgba(255, 255, 255, 0.7);

  font-size: 1.1rem;

  margin-top: 10px;
}

/* Poker Block - Style Carte */

.poker-block {
  background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);

  border-radius: 20px;

  padding: 40px;

  margin-bottom: 40px;

  position: relative;

  border: 2px solid rgba(255, 255, 255, 0.1);

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);

  overflow: hidden;
}

.poker-block::before {
  content: "";

  position: absolute;

  top: 0;

  left: 0;

  right: 0;

  bottom: 0;

  background:
    radial-gradient(
      ellipse at 20% 20%,
      rgba(106, 27, 154, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 80%,
      rgba(106, 27, 154, 0.1) 0%,
      transparent 50%
    );

  pointer-events: none;
}

.poker-block.gold {
  border-color: rgba(255, 215, 0, 0.3);

  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.15);
}

.poker-block.red {
  border-color: rgba(233, 69, 96, 0.3);

  box-shadow: 0 15px 40px rgba(233, 69, 96, 0.15);
}

.poker-block.diamond {
  border-color: rgba(52, 152, 219, 0.3);

  box-shadow: 0 15px 40px rgba(52, 152, 219, 0.15);
}

.poker-block.special {
  border: 2px solid rgba(255, 215, 0, 0.5);

  background: linear-gradient(
    145deg,
    rgba(255, 215, 0, 0.05),
    rgba(26, 26, 46, 1)
  );
}

/* Extra breathing room for the online (spade) block so header clears corner icons */
.poker-block.spade.special {
  padding-top: 60px;

  padding-left: 48px;

  padding-right: 48px;
}

/* Block Header */

.block-header {
  display: flex;

  align-items: center;

  gap: 20px;

  margin-bottom: 30px;

  position: relative;

  z-index: 1;

  padding-inline: 12px;
}

.block-icon {
  flex-shrink: 0;
}

.poker-chip {
  display: flex;

  align-items: center;

  justify-content: center;

  width: 60px;

  height: 60px;

  border-radius: 50%;

  font-size: 1.5rem;

  font-weight: bold;

  background: linear-gradient(145deg, #2a2a5a, #1a1a3a);

  border: 3px dashed rgba(255, 255, 255, 0.3);

  box-shadow:
    inset 0 2px 10px rgba(0, 0, 0, 0.3),
    0 4px 15px rgba(0, 0, 0, 0.3);

  color: white;
}

.poker-chip.gold {
  border-color: rgba(255, 215, 0, 0.5);

  color: #ffd700;
}

.poker-chip.red {
  border-color: rgba(233, 69, 96, 0.5);

  color: #e94560;
}

.poker-chip.diamond {
  border-color: rgba(52, 152, 219, 0.5);

  color: #3498db;
}

.block-header h2 {
  color: #ffd700;

  font-size: 1.8rem;

  letter-spacing: 2px;

  text-transform: uppercase;

  margin: 0;

  text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

/* Block Content */

.block-content {
  position: relative;

  z-index: 1;

  padding-bottom: 24px;
}

/* Block Corners (style carte) */

.block-corner {
  position: absolute;

  font-size: 1.2rem;

  font-weight: bold;

  color: rgba(255, 255, 255, 0.3);

  display: flex;

  flex-direction: column;

  align-items: center;

  line-height: 1;

  z-index: 0;
}

.block-corner.top-left {
  top: 15px;

  left: 15px;
}

.block-corner.top-right {
  top: 15px;

  right: 15px;
}

.block-corner.bottom-left {
  bottom: 15px;

  left: 15px;

  flex-direction: column-reverse;
}

.block-corner.bottom-right {
  bottom: 15px;

  right: 15px;

  flex-direction: column-reverse;
}

.block-corner .suit {
  font-size: 1rem;
}

.block-corner .suit.gold {
  color: #ffd700;
}

.block-corner .suit.red {
  color: #e94560;
}

/* Spade special: corners to white to match icons */
.poker-block.spade .block-corner,
.poker-block.spade .block-corner .suit {
  color: rgba(255, 255, 255, 0.8);
}

/* CTA Center */

.cta-center {
  text-align: center;

  margin-top: 30px;
}

/* Poker Button */

.btn-poker {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  padding: 15px 35px;

  background: linear-gradient(135deg, #6a1b9a 0%, #4a148c 100%);

  color: white;

  border-radius: 12px;

  font-weight: 600;

  font-size: 1rem;

  text-decoration: none;

  transition: all 0.3s ease;

  box-shadow: 0 4px 15px rgba(106, 27, 154, 0.4);
}

.btn-poker:hover {
  transform: translateY(-3px);

  box-shadow: 0 8px 25px rgba(106, 27, 154, 0.5);

  color: white;
}

.btn-poker.gold {
  background: linear-gradient(135deg, #ffd700 0%, #f0c800 100%);

  color: #1a1a2e;

  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-poker.gold:hover {
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);

  color: #1a1a2e;
}

.btn-poker .btn-icon {
  font-size: 1.2rem;
}

/* Info Card générique */

.info-card {
  background: rgba(0, 0, 0, 0.2);

  border-radius: 15px;

  padding: 25px;

  color: rgba(255, 255, 255, 0.9);

  line-height: 1.8;
}

.info-card p {
  margin-bottom: 10px;
}

.info-card p:last-child {
  margin-bottom: 0;
}

/* Highlight Box */

.highlight-box {
  display: flex;

  gap: 15px;

  align-items: flex-start;

  background: rgba(255, 215, 0, 0.1);

  border: 1px solid rgba(255, 215, 0, 0.3);

  border-radius: 12px;

  padding: 20px;

  margin: 20px 0;
}

.highlight-box .highlight-icon {
  font-size: 1.5rem;

  flex-shrink: 0;
}

.highlight-box p {
  margin: 0;

  color: rgba(255, 255, 255, 0.9);
}

.container {
  max-width: 1200px;

  margin: 0 auto;

  padding: 0 20px;
}

a {
  color: var(--color-primary);

  text-decoration: none;

  transition: var(--transition);
}

a:hover {
  color: var(--color-secondary);
}

img {
  max-width: 100%;

  height: auto;
}

/* ================================

   PRELOADER - Animation AS

   ================================ */

.preloader {
  position: fixed;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  background: var(--gradient-dark);

  display: flex;

  align-items: center;

  justify-content: center;

  z-index: 10000;

  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;

  visibility: hidden;
}

.loader-container {
  text-align: center;
}

.card-symbols {
  display: flex;

  gap: 20px;

  justify-content: center;

  margin-bottom: 30px;
}

.card-symbol {
  font-size: 4rem;

  animation: cardBounce 1.5s ease-in-out infinite;

  filter: drop-shadow(0 0 10px currentColor);
}

.card-symbol.spade {
  color: var(--color-white);

  animation-delay: 0s;
}

.card-symbol.heart {
  color: var(--color-red);

  animation-delay: 0.2s;
}

.card-symbol.diamond {
  color: var(--color-diamond);

  animation-delay: 0.4s;
}

.card-symbol.club {
  color: var(--color-green);

  animation-delay: 0.6s;
}

@keyframes cardBounce {
  0%,
  100% {
    transform: translateY(0) scale(1);

    opacity: 0.5;
  }

  50% {
    transform: translateY(-20px) scale(1.2);

    opacity: 1;
  }
}

.loader-text {
  color: var(--color-secondary);

  font-size: 1.5rem;

  font-weight: 700;

  letter-spacing: 3px;

  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.7;
  }

  50% {
    opacity: 1;
  }
}

/* ================================

   HEADER

   ================================ */

.header {
  background: var(--gradient-dark);

  padding: 15px 0;

  position: sticky;

  top: 0;

  z-index: 1000;

  box-shadow: var(--shadow);

  border-bottom: 2px solid var(--color-primary);
}

.header .container {
  display: flex;

  justify-content: space-between;

  align-items: center;
}

.logo {
  display: flex;

  align-items: center;

  gap: 12px;

  color: var(--color-white);

  font-weight: 700;

  font-size: 1.3rem;

  text-decoration: none;
}

.logo img {
  height: 45px;

  width: auto;

  filter: drop-shadow(0 0 10px rgba(106, 27, 154, 0.5));
}

.logo span {
  background: var(--gradient-gold);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

  background-clip: text;
}

.nav-menu {
  display: flex;

  list-style: none;

  gap: 5px;
}

.nav-menu a {
  color: var(--color-white);

  padding: 12px 18px;

  border-radius: var(--radius);

  font-weight: 500;

  font-size: 0.95rem;

  position: relative;

  overflow: hidden;
}

.nav-menu a::before {
  content: "";

  position: absolute;

  bottom: 0;

  left: 50%;

  width: 0;

  height: 3px;

  background: var(--color-secondary);

  transition: var(--transition);

  transform: translateX(-50%);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
  width: 80%;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: rgba(106, 27, 154, 0.3);

  color: var(--color-secondary);
}

/* Dropdown Menu */

.nav-menu > li {
  position: relative;
}

.nav-menu .has-dropdown > a::after {
  content: "▾";

  margin-left: 5px;

  font-size: 0.8em;

  transition: transform 0.3s ease;
}

.nav-menu .has-dropdown:hover > a::after {
  transform: rotate(180deg);
}

.nav-menu .dropdown {
  position: absolute;

  top: 100%;

  left: 0;

  min-width: 200px;

  background: linear-gradient(145deg, #1a1a2e, #16162a);

  border-radius: 12px;

  padding: 10px 0;

  list-style: none;

  opacity: 0;

  visibility: hidden;

  transform: translateY(10px);

  transition: all 0.3s ease;

  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);

  border: 1px solid rgba(106, 27, 154, 0.3);

  z-index: 1000;
}

.nav-menu .has-dropdown:hover .dropdown {
  opacity: 1;

  visibility: visible;

  transform: translateY(0);
}

.nav-menu .dropdown li {
  display: block;
}

.nav-menu .dropdown a {
  display: block;

  padding: 10px 20px;

  color: rgba(255, 255, 255, 0.85);

  font-size: 0.9rem;

  border-radius: 0;

  transition: all 0.2s ease;
}

.nav-menu .dropdown a::before {
  display: none;
}

.nav-menu .dropdown a:hover {
  background: rgba(106, 27, 154, 0.4);

  color: var(--color-secondary);

  padding-left: 25px;
}

.nav-toggle {
  display: none;

  flex-direction: column;

  gap: 6px;

  background: none;

  border: none;

  cursor: pointer;

  padding: 10px;

  z-index: 10002;

  position: relative;
}

.nav-toggle span {
  width: 28px;

  height: 3px;

  background: var(--color-white);

  border-radius: 3px;

  transition: all 0.3s ease;

  display: block;
}

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

  background: #e91e63;
}

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

  transform: translateX(-10px);
}

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

  background: #e91e63;
}

/* ================================

   HERO SECTION

   ================================ */

.hero {
  background: var(--gradient-dark);

  color: var(--color-white);

  padding: 100px 20px;

  text-align: center;

  position: relative;

  overflow: hidden;
}

.hero::before {
  content: "♠ ♥ ♦ ♣";

  position: absolute;

  top: 50%;

  left: 50%;

  transform: translate(-50%, -50%);

  font-size: 20rem;

  opacity: 0.08;

  letter-spacing: 50px;

  white-space: nowrap;
}

.hero-content {
  position: relative;

  z-index: 1;

  max-width: 900px;

  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;

  margin-bottom: 25px;

  background: var(--gradient-gold);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

  background-clip: text;

  text-shadow: none;

  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: 1.4rem;

  margin-bottom: 20px;

  font-weight: 500;

  color: var(--color-primary-light);
}

.hero p {
  max-width: 800px;

  margin: 0 auto 15px;

  opacity: 0.9;

  font-size: 1.05rem;
}

.hero-buttons {
  display: flex;

  gap: 20px;

  justify-content: center;

  flex-wrap: wrap;

  margin-top: 40px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;

    transform: translateY(30px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

/* ================================

   BUTTONS

   ================================ */

.btn {
  display: inline-block;

  padding: 14px 30px;

  border-radius: var(--radius);

  font-weight: 600;

  font-size: 1rem;

  cursor: pointer;

  border: 2px solid transparent;

  transition: var(--transition);

  text-align: center;

  position: relative;

  overflow: hidden;
}

.btn::before {
  content: "";

  position: absolute;

  top: 0;

  left: -100%;

  width: 100%;

  height: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );

  transition: 0.5s;
}

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

.btn-primary {
  background: var(--gradient-primary);

  color: var(--color-white);

  box-shadow: 0 4px 15px rgba(106, 27, 154, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);

  box-shadow: 0 8px 25px rgba(106, 27, 154, 0.5);

  color: var(--color-white);
}

.btn-secondary {
  background: var(--gradient-gold);

  color: var(--color-dark);
}

.btn-secondary:hover {
  transform: translateY(-3px);

  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);

  color: var(--color-dark);
}

.btn-outline {
  background: transparent;

  border-color: var(--color-white);

  color: var(--color-white);
}

.btn-outline:hover {
  background: var(--color-white);

  color: var(--color-primary);
}

.btn-sm {
  padding: 8px 16px;

  font-size: 0.9rem;
}

.btn-danger {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);

  color: var(--color-white);
}

.btn-danger:hover {
  transform: translateY(-3px);

  box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);

  color: var(--color-white);
}

/* ================================

   SECTIONS

   ================================ */

.section {
  padding: 80px 0;

  background: rgba(15, 15, 30, 0.48);

  backdrop-filter: blur(2px);

  border: 1px solid rgba(255, 255, 255, 0.05);

  position: relative;

  z-index: 2;
}

.section-title {
  font-size: 2.2rem;

  text-align: center;

  margin-bottom: 50px;

  color: var(--color-dark);

  position: relative;
}

.section-title::after {
  content: "♠";

  display: block;

  font-size: 1.5rem;

  color: var(--color-primary);

  margin-top: 15px;
}

.section-footer {
  text-align: center;

  margin-top: 50px;
}

/* ================================

   PAGE HEADER

   ================================ */

.page-header {
  background: var(--gradient-dark);

  color: var(--color-white);

  padding: 60px 20px;

  text-align: center;

  position: relative;

  overflow: hidden;
}

.page-header::before {
  content: "♠♥♦♣";

  position: absolute;

  right: -50px;

  top: 50%;

  transform: translateY(-50%);

  font-size: 10rem;

  opacity: 0.06;
}

.page-header h1 {
  font-size: 2.8rem;

  background: var(--gradient-gold);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

  background-clip: text;

  position: relative;

  z-index: 1;
}

.page-header .header-icon {
  display: inline-block;

  margin-right: 12px;

  background: none;

  -webkit-background-clip: initial;

  -webkit-text-fill-color: initial;

  font-family: "Segoe UI Emoji", "Noto Color Emoji", "Apple Color Emoji", "Twemoji Mozilla", "EmojiOne Color", sans-serif;

  vertical-align: middle;
}

/* ================================

   NEWS SECTION

   ================================ */

/* .news-section {
  background: var(--color-white);
} */

.news-card {
  background: var(--color-light);

  border-radius: var(--radius-lg);

  padding: 35px;

  margin-bottom: 25px;

  box-shadow: var(--shadow);

  transition: var(--transition);

  border: 1px solid rgba(106, 27, 154, 0.1);
}

.news-card:hover {
  transform: translateY(-5px);

  box-shadow: var(--shadow-lg);
}

.news-card.pinned {
  border-left: 5px solid var(--color-secondary);

  background: linear-gradient(135deg, #fffef0 0%, #fff 100%);
}

.news-card h3 {
  font-size: 1.5rem;

  margin-bottom: 20px;

  color: var(--color-primary-dark);
}

.news-card p {
  margin-bottom: 12px;
}

.news-image {
  margin-top: 25px;
}

.news-image img {
  border-radius: var(--radius);

  max-width: 400px;

  box-shadow: var(--shadow);
}

/* ================================

   EVENTS SECTION

   ================================ */

.events-grid {
  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));

  gap: 25px;
}

.event-card {
  background: var(--color-light);

  border-radius: var(--radius-lg);

  padding: 25px;

  display: flex;

  gap: 20px;

  box-shadow: var(--shadow);

  transition: var(--transition);

  border: 1px solid rgba(106, 27, 154, 0.1);
}

.event-card:hover {
  transform: translateY(-5px);

  box-shadow: var(--shadow-lg);

  border-color: var(--color-primary);
}

.event-card.featured {
  border: 2px solid var(--color-secondary);

  background: linear-gradient(135deg, #fffef0 0%, #fff 100%);
}

.event-date {
  background: var(--gradient-primary);

  color: var(--color-white);

  padding: 18px;

  border-radius: var(--radius);

  text-align: center;

  min-width: 80px;

  box-shadow: 0 4px 15px rgba(106, 27, 154, 0.3);
}

.event-date .day {
  font-size: 2rem;

  font-weight: 700;

  display: block;

  line-height: 1;
}

.event-date .month {
  font-size: 0.85rem;

  text-transform: uppercase;

  margin-top: 5px;
}

.event-info h3 {
  font-size: 1.15rem;

  margin-bottom: 10px;

  color: var(--color-dark);
}

.event-time,
.event-location {
  font-size: 0.95rem;

  color: var(--color-text-light);

  margin-bottom: 6px;
}

/* ================================

   AGENDA PAGE

   ================================ */

.agenda-list {
  max-width: 850px;

  margin: 0 auto;
}

.agenda-item {
  background: var(--color-white);

  border-radius: var(--radius-lg);

  padding: 30px;

  margin-bottom: 25px;

  display: flex;

  gap: 30px;

  box-shadow: var(--shadow);

  align-items: flex-start;

  transition: var(--transition);

  border: 1px solid rgba(106, 27, 154, 0.1);
}

.agenda-item:hover {
  transform: translateX(10px);

  box-shadow: var(--shadow-lg);

  border-color: var(--color-primary);
}

.agenda-item.featured {
  border: 2px solid var(--color-secondary);
}

.agenda-date {
  background: var(--gradient-primary);

  color: var(--color-white);

  padding: 20px 25px;

  border-radius: var(--radius);

  text-align: center;

  min-width: 90px;

  box-shadow: 0 4px 15px rgba(106, 27, 154, 0.3);
}

.agenda-date .day {
  font-size: 2.2rem;

  font-weight: 700;

  display: block;

  line-height: 1;
}

.agenda-date .month {
  font-size: 0.85rem;

  text-transform: uppercase;

  display: block;

  margin-top: 8px;
}

.agenda-date .year {
  font-size: 0.8rem;

  opacity: 0.8;

  display: block;
}

.agenda-content {
  flex: 1;
}

.agenda-content h3 {
  font-size: 1.4rem;

  margin-bottom: 12px;

  color: var(--color-dark);
}

.agenda-type {
  align-self: flex-start;
}

.badge {
  display: inline-block;

  padding: 6px 14px;

  border-radius: 25px;

  font-size: 0.85rem;

  font-weight: 600;
}

.badge-manche {
  background: var(--gradient-primary);

  color: var(--color-white);
}

.badge-main-event {
  background: var(--gradient-gold);

  color: var(--color-dark);
}

.badge-loto {
  background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);

  color: var(--color-white);
}

.badge-summers {
  background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);

  color: var(--color-white);
}

.badge-special {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);

  color: var(--color-white);
}

/* ================================

   RANKINGS

   ================================ */

.ranking-tabs {
  display: flex;

  justify-content: center;

  gap: 12px;

  margin-bottom: 50px;

  flex-wrap: wrap;
}

.tab {
  padding: 14px 30px;

  background: var(--color-white);

  border-radius: var(--radius);

  font-weight: 600;

  box-shadow: var(--shadow);

  transition: var(--transition);

  border: 2px solid transparent;
}

.tab:hover {
  border-color: var(--color-primary);

  color: var(--color-primary);

  transform: translateY(-3px);
}

.tab.active {
  background: var(--gradient-primary);

  color: var(--color-white);

  box-shadow: 0 4px 15px rgba(106, 27, 154, 0.4);
}

.ranking-content {
  background: var(--color-white);

  border-radius: var(--radius-lg);

  padding: 40px;

  box-shadow: var(--shadow);
}

.ranking-content h2 {
  margin-bottom: 30px;

  color: var(--color-dark);

  font-size: 1.5rem;
}

.table-responsive {
  overflow-x: auto;
}

.ranking-table {
  width: 100%;

  border-collapse: collapse;
}

.ranking-table th,
.ranking-table td {
  padding: 15px 18px;

  text-align: left;

  border-bottom: 1px solid #eee;
}

.ranking-table th {
  background: var(--gradient-dark);

  color: var(--color-white);

  font-weight: 600;
}

.ranking-table th:first-child {
  border-radius: var(--radius) 0 0 0;
}

.ranking-table th:last-child {
  border-radius: 0 var(--radius) 0 0;
}

.ranking-table tr:hover {
  background: rgba(106, 27, 154, 0.05);
}

.ranking-table tr.qualified {
  background: rgba(106, 27, 154, 0.1);
}

.ranking-table tr.podium-1 td:first-child {
  background: var(--color-gold);

  color: var(--color-dark);
}

.ranking-table tr.podium-2 td:first-child {
  background: var(--color-silver);

  color: var(--color-dark);
}

.ranking-table tr.podium-3 td:first-child {
  background: var(--color-bronze);

  color: var(--color-white);
}

.ranking-table .rank {
  font-weight: 700;

  text-align: center;

  width: 60px;
}

.ranking-table .player-name {
  font-weight: 600;
}

.ranking-table .total {
  color: var(--color-primary);

  font-size: 1.15rem;
}

.ranking-legend {
  margin-top: 25px;

  font-size: 0.95rem;

  color: var(--color-text-light);
}

.legend-qualified {
  display: inline-block;

  width: 18px;

  height: 18px;

  background: rgba(106, 27, 154, 0.3);

  border-radius: 4px;

  margin-right: 10px;

  vertical-align: middle;
}

.ranking-info {
  margin-top: 50px;

  padding: 30px;

  background: var(--color-light);

  border-radius: var(--radius);

  border-left: 4px solid var(--color-primary);
}

.ranking-info h3 {
  margin-bottom: 18px;

  color: var(--color-primary-dark);
}

.ranking-info ul {
  margin-left: 20px;

  margin-bottom: 18px;
}

.ranking-info li {
  margin-bottom: 8px;
}

.no-ranking {
  text-align: center;

  padding: 60px 20px;

  color: var(--color-text-light);
}

/* ================================

   ACTUALITÉS PAGE

   ================================ */

.news-list {
  max-width: 850px;

  margin: 0 auto;
}

.news-article {
  background: var(--color-white);

  border-radius: var(--radius-lg);

  padding: 35px;

  margin-bottom: 35px;

  box-shadow: var(--shadow);

  position: relative;

  transition: var(--transition);
}

.news-article:hover {
  transform: translateY(-5px);

  box-shadow: var(--shadow-lg);
}

.news-article.pinned {
  border-left: 5px solid var(--color-secondary);
}

.pinned-badge {
  position: absolute;

  top: 20px;

  right: 20px;

  background: var(--gradient-gold);

  color: var(--color-dark);

  padding: 6px 14px;

  border-radius: 25px;

  font-size: 0.85rem;

  font-weight: 600;
}

.article-image {
  margin-bottom: 25px;
}

.article-image img {
  border-radius: var(--radius);

  width: 100%;

  max-height: 400px;

  object-fit: cover;

  box-shadow: var(--shadow);
}

.news-article h2 {
  font-size: 1.6rem;

  margin-bottom: 12px;

  color: var(--color-primary-dark);
}

.article-date {
  font-size: 0.95rem;

  color: var(--color-text-light);

  margin-bottom: 25px;
}

.article-body {
  line-height: 1.9;
}

.article-body p {
  margin-bottom: 18px;
}

/* ================================

   CONTACT PAGE

   ================================ */

.contact-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;
}

.contact-info h2,
.contact-form-section h2 {
  font-size: 1.6rem;

  margin-bottom: 25px;

  color: var(--color-primary-dark);
}

.contact-details {
  margin: 35px 0;
}

.contact-item {
  display: flex;

  gap: 18px;

  margin-bottom: 30px;
}

.contact-item .icon {
  font-size: 1.8rem;

  width: 50px;

  height: 50px;

  background: var(--gradient-primary);

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  flex-shrink: 0;
}

.contact-item strong {
  display: block;

  margin-bottom: 6px;

  color: var(--color-dark);
}

.club-info {
  background: var(--color-light);

  padding: 25px;

  border-radius: var(--radius);

  margin-top: 35px;

  border-left: 4px solid var(--color-primary);
}

.club-info h3 {
  margin-bottom: 15px;

  color: var(--color-primary-dark);
}

.contact-form {
  background: var(--color-white);

  padding: 35px;

  border-radius: var(--radius-lg);

  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;

  margin-bottom: 10px;

  font-weight: 500;

  color: var(--color-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;

  padding: 14px 18px;

  border: 2px solid #e0e0e0;

  border-radius: var(--radius);

  font-family: var(--font-main);

  font-size: 1rem;

  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;

  border-color: var(--color-primary);

  box-shadow: 0 0 0 4px rgba(106, 27, 154, 0.1);
}

/* ================================

   CONTENT BLOCKS (Championnat)

   ================================ */

.content-block {
  background: var(--color-white);

  border-radius: var(--radius-lg);

  padding: 35px;

  margin-bottom: 35px;

  box-shadow: var(--shadow);
}

.content-block h2 {
  font-size: 1.6rem;

  color: var(--color-primary);

  margin-bottom: 25px;

  padding-bottom: 15px;

  border-bottom: 2px solid var(--color-light);

  position: relative;
}

.content-block h2::after {
  content: "♠";

  position: absolute;

  right: 0;

  top: 0;

  font-size: 1.5rem;

  opacity: 0.2;
}

.content-block h3 {
  font-size: 1.25rem;

  color: var(--color-dark);

  margin: 30px 0 18px;
}

.styled-list {
  list-style: none;

  margin: 18px 0;
}

.styled-list li {
  padding: 10px 0;
  padding: 80px 0;
  background: rgba(15, 15, 30, 0.48);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding-left: 30px;

  position: relative;
}

.styled-list li::before {
  content: "♠";

  position: absolute;

  left: 0;

  color: var(--color-primary);

  font-size: 1.1rem;
}

.points-table {
  overflow-x: auto;

  margin: 25px 0;
}

.points-table table {
  width: 100%;

  max-width: 450px;

  border-collapse: collapse;
}

.points-table th,
.points-table td {
  padding: 14px 22px;

  border: 1px solid #e0e0e0;
}

.points-table th {
  background: var(--gradient-primary);

  color: var(--color-white);
}

.points-table tr:nth-child(even) {
  background: var(--color-light);
}

.example-box {
  background: var(--color-light);

  padding: 25px;

  border-radius: var(--radius);

  border-left: 4px solid var(--color-secondary);

  margin: 25px 0;
}

.example-box ul {
  margin: 18px 0 18px 20px;
}

.buttons-row {
  display: flex;

  gap: 18px;

  flex-wrap: wrap;

  margin-top: 25px;
}

/* ================================

   PARTNERS SECTION

   ================================ */

.partners-section {
  background: var(--color-white);

  text-align: center;
}

.partners-grid {
  max-width: 650px;

  margin: 0 auto;
}

.partners-grid img {
  border-radius: var(--radius);

  box-shadow: var(--shadow);
}

/* ================================

   ERROR PAGES

   ================================ */

.error-page {
  min-height: 60vh;

  display: flex;

  align-items: center;

  justify-content: center;

  text-align: center;
}

.error-content h1 {
  font-size: 8rem;

  background: var(--gradient-primary);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

  background-clip: text;

  line-height: 1;
}

.error-content h2 {
  font-size: 1.6rem;

  margin: 25px 0;

  color: var(--color-dark);
}

.error-content p {
  color: var(--color-text-light);

  margin-bottom: 35px;
}

/* ================================

   FOOTER

   ================================ */

.footer {
  background: var(--gradient-dark);

  color: var(--color-white);

  padding: 60px 0 25px;

  position: relative;
}

.footer::before {
  content: "";

  position: absolute;

  top: 0;

  left: 0;

  right: 0;

  height: 4px;

  background: var(--gradient-primary);
}

.footer-content {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));

  gap: 45px;

  margin-bottom: 45px;
}

.footer-section h4 {
  color: var(--color-secondary);

  margin-bottom: 22px;

  font-size: 1.15rem;
}

.footer-section p {
  opacity: 0.85;

  line-height: 1.7;
}

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

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul a {
  color: var(--color-white);

  opacity: 0.85;
}

.footer-section ul a:hover {
  opacity: 1;

  color: var(--color-secondary);

  padding-left: 8px;
}

.social-links {
  display: flex;

  gap: 15px;

  margin-top: 22px;
}

.social-links a {
  display: flex;

  align-items: center;

  justify-content: center;

  width: 45px;

  height: 45px;

  background: rgba(255, 255, 255, 0.1);

  border-radius: 50%;

  color: var(--color-white);

  transition: var(--transition);
}

.social-links a:hover {
  background: var(--gradient-primary);

  transform: translateY(-3px);
}

.warning-text {
  color: var(--color-secondary) !important;

  font-weight: 500;
}

.warning-phone {
  font-size: 0.95rem;
}

/* Partenaires */

.footer-partners {
  grid-column: 1 / -1;

  text-align: center;

  margin-top: 30px;

  padding-top: 30px;

  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-partners h4 {
  margin-bottom: 20px;

  color: var(--color-secondary);
}

.partners-grid {
  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 25px;

  align-items: center;
}

.partner-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  max-width: 200px;
  height: 100px;
  padding: 12px 15px;
  opacity: 0.85;
  transition: var(--transition);
  filter: grayscale(20%);
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.15);
}

.partner-logo img {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.footer-bottom {
  text-align: center;

  padding-top: 25px;

  border-top: 1px solid rgba(255, 255, 255, 0.1);

  opacity: 0.75;

  font-size: 0.95rem;
}

.footer-bottom a {
  color: var(--color-white);
}

.footer-legal-links {
  margin: 10px 0;

  font-size: 0.85rem;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.7);

  text-decoration: none;

  transition: color 0.3s ease;
}

.footer-legal-links a:hover {
  color: var(--color-secondary);

  text-decoration: underline;
}

.footer-bottom .credits {
  margin-top: 10px;

  font-size: 0.85rem;
}

.footer-bottom .credits a {
  color: var(--color-secondary);

  font-weight: 600;
}

.footer-bottom .credits a:hover {
  text-decoration: underline;
}

/* ================================

   ANIMATIONS

   ================================ */

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;

    transform: translateY(20px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

/* ================================

   RESPONSIVE

   ================================ */

@media (max-width: 768px) {
  .nav-toggle {
    display: none !important;
    position: relative;
    z-index: 10001;
  }

  /* Menu Mobile Fullscreen Style App */

  .nav-menu {
    position: fixed !important;

    top: 0 !important;

    left: 0 !important;

    right: 0 !important;

    bottom: 0 !important;

    width: 100vw !important;

    height: 100vh !important;

    background: linear-gradient(
      135deg,
      #0f0f1a 0%,
      #1a0a2e 50%,
      #16213e 100%
    ) !important;

    flex-direction: column !important;

    justify-content: center !important;

    align-items: center !important;

    gap: 0 !important;

    padding: 80px 30px 30px !important;

    display: none;

    z-index: 10000 !important;

    overflow-y: auto !important;
  }

  .nav-menu.active {
    display: flex !important;
  }

  .nav-menu li {
    width: 100% !important;

    max-width: 300px !important;

    text-align: center !important;

    opacity: 0;

    transform: translateY(20px);

    animation: slideInMenu 0.3s ease forwards;
  }

  .nav-menu.active li:nth-child(1) {
    animation-delay: 0.05s;
  }

  .nav-menu.active li:nth-child(2) {
    animation-delay: 0.1s;
  }

  .nav-menu.active li:nth-child(3) {
    animation-delay: 0.15s;
  }

  .nav-menu.active li:nth-child(4) {
    animation-delay: 0.2s;
  }

  .nav-menu.active li:nth-child(5) {
    animation-delay: 0.25s;
  }

  .nav-menu.active li:nth-child(6) {
    animation-delay: 0.3s;
  }

  .nav-menu.active li:nth-child(7) {
    animation-delay: 0.35s;
  }

  .nav-menu.active li:nth-child(8) {
    animation-delay: 0.4s;
  }

  @keyframes slideInMenu {
    to {
      opacity: 1;

      transform: translateY(0);
    }
  }

  .nav-menu a {
    display: block !important;

    padding: 18px 25px !important;

    font-size: 1.2rem !important;

    font-weight: 600 !important;

    color: #fff !important;

    text-decoration: none !important;

    border-radius: 12px !important;

    margin: 5px 0 !important;

    background: rgba(106, 27, 154, 0.2) !important;

    border: 1px solid rgba(233, 30, 99, 0.2) !important;

    transition: all 0.3s ease !important;
  }

  .nav-menu a:hover,
  .nav-menu a.active {
    background: linear-gradient(135deg, #6a1b9a, #e91e63) !important;

    border-color: #e91e63 !important;

    transform: scale(1.02) !important;

    box-shadow: 0 5px 20px rgba(233, 30, 99, 0.3) !important;
  }

  .nav-menu a::before {
    display: none !important;
  }

  /* Masquer les dropdowns sur mobile (simplifier) */

  .nav-menu .dropdown {
    display: none !important;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;

    align-items: center;
  }

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

  .agenda-item {
    flex-direction: column;

    text-align: center;
  }

  .agenda-date {
    align-self: center;
  }

  .agenda-type {
    align-self: center;

    margin-top: 18px;
  }

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

  .ranking-tabs {
    flex-direction: column;

    align-items: center;
  }

  .tab {
    width: 100%;

    max-width: 220px;

    text-align: center;
  }

  .ranking-table {
    font-size: 0.9rem;
  }

  .ranking-table th,
  .ranking-table td {
    padding: 10px 12px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 15px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .section {
    padding: 45px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .event-card {
    flex-direction: column;

    text-align: center;
  }

  .event-date {
    align-self: center;
  }

  .content-block {
    padding: 22px;
  }

  .card-symbol {
    font-size: 2.5rem;
  }

  .loader-text {
    font-size: 1.2rem;
  }
}

/* ================================

   CAROUSEL PARTENAIRES

   ================================ */

.partners-carousel {
  overflow: hidden;

  width: 100%;

  padding: 20px 0;

  position: relative;
}

.partners-carousel::before,
.partners-carousel::after {
  content: "";

  position: absolute;

  top: 0;

  width: 100px;

  height: 100%;

  z-index: 2;

  pointer-events: none;
}

.partners-carousel::before {
  left: 0;

  background: linear-gradient(to right, var(--color-dark) 0%, transparent 100%);
}

.partners-carousel::after {
  right: 0;

  background: linear-gradient(to left, var(--color-dark) 0%, transparent 100%);
}

.home-carousel::before {
  background: linear-gradient(
    to right,
    var(--color-light) 0%,
    transparent 100%
  );
}

.home-carousel::after {
  background: linear-gradient(to left, var(--color-light) 0%, transparent 100%);
}

.partners-track {
  display: flex;

  gap: 50px;

  animation: scroll-partners 25s linear infinite;

  width: max-content;
}

.partners-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-partners {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.partners-carousel .partner-logo {
  min-width: 180px;
  height: 110px;
  padding: 15px 20px;
  margin: 0 15px;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.partners-carousel .partner-logo:hover {
  transform: scale(1.1);

  background: rgba(255, 255, 255, 0.2);
}

.partners-carousel .partner-logo img {
  max-width: 160px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(1);
}

.partners-carousel .partner-logo:hover img {
  opacity: 1;
}

/* Carousel accueil */

.home-carousel .partner-logo {
  background: white;

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.home-carousel .partner-logo:hover {
  box-shadow: 0 8px 25px rgba(106, 27, 154, 0.2);
}

/* ================================

   BANNIÈRE ADDICTION FRANCE

   ================================ */

.addiction-banner {
  background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);

  padding: 15px 20px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 20px;

  flex-wrap: wrap;

  text-align: center;
}

.addiction-logo {
  display: flex;

  align-items: center;

  gap: 8px;

  background: rgba(255, 255, 255, 0.1);

  padding: 8px 15px;

  border-radius: 25px;
}

.addiction-icon {
  font-size: 1.5rem;
}

.addiction-text {
  color: #3498db;

  font-weight: 600;

  font-size: 0.9rem;
}

.addiction-banner > span {
  color: #bdc3c7;

  font-size: 0.85rem;
}

.addiction-banner strong {
  color: #e74c3c;
}

/* ================================

   SECTION NEWS AMÉLIORÉE

   ================================ */

.news-section {
  background: var(--gradient-dark);

  padding: 80px 0;
}

.news-section .section-title {
  color: white;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 15px;

  margin-bottom: 40px;
}

.title-icon {
  font-size: 1.5em;

  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.title-decoration {
  display: block;

  width: 60px;

  height: 4px;

  background: var(--gradient-gold);

  border-radius: 2px;

  margin-top: 10px;
}

.news-container {
  max-width: 900px;

  margin: 0 auto;
}

.news-card.pinned {
  background: linear-gradient(145deg, #1e1e3f 0%, #2a2a5a 100%);

  border-radius: 20px;

  padding: 0;

  overflow: hidden;

  box-shadow: 0 15px 50px rgba(106, 27, 154, 0.3);

  border: 2px solid rgba(106, 27, 154, 0.3);

  position: relative;

  display: flex;

  flex-direction: column;
}

.news-badge {
  position: absolute;

  top: 20px;

  left: 20px;

  background: var(--gradient-gold);

  color: #1a1a2e;

  padding: 8px 16px;

  border-radius: 20px;

  font-weight: 700;

  font-size: 0.8rem;

  text-transform: uppercase;

  letter-spacing: 1px;

  z-index: 2;

  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
  }

  50% {
    box-shadow: 0 0 20px 5px rgba(255, 215, 0, 0.2);
  }
}

.news-card .news-content {
  padding: 60px 40px 40px;

  flex: 1;
}

.news-title {
  color: var(--color-secondary);

  font-size: 1.8rem;

  margin-bottom: 25px;

  line-height: 1.3;
}

.news-text {
  color: rgba(255, 255, 255, 0.9);

  font-size: 1.1rem;

  line-height: 1.8;
}

.news-text p {
  margin-bottom: 12px;
}

.news-text strong {
  color: var(--color-secondary);
}

.news-date {
  margin-top: 25px;

  padding-top: 20px;

  border-top: 1px solid rgba(255, 255, 255, 0.1);

  color: rgba(255, 255, 255, 0.6);

  font-size: 0.9rem;

  display: flex;

  align-items: center;

  gap: 8px;
}

.news-card .news-image {
  width: 100%;

  height: 250px;

  overflow: hidden;
}

.news-card .news-image img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

/* Animation slide-in */

.animate-slide-in {
  opacity: 0;

  transform: translateY(30px);

  animation: slideIn 0.8s ease forwards;
}

@keyframes slideIn {
  to {
    opacity: 1;

    transform: translateY(0);
  }
}

/* Bouton glow */

.btn-glow {
  position: relative;

  overflow: hidden;
}

.btn-glow::before {
  content: "";

  position: absolute;

  top: 0;

  left: -100%;

  width: 100%;

  height: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );

  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}

.news-section .section-footer {
  text-align: center;

  margin-top: 40px;
}

/* ================================

   SECTION PARTENAIRES ACCUEIL

   ================================ */

.partners-section {
  padding: 60px 0;

  background: var(--color-light);
}

.partners-section .section-title {
  color: var(--color-dark);

  margin-bottom: 30px;
}

/* ================================

   FOOTER CREDITS

   ================================ */

.footer-bottom {
  text-align: center;

  padding: 25px 0;

  border-top: 1px solid rgba(255, 255, 255, 0.1);

  margin-top: 30px;
}

/* ================================

   BOUTON RETOUR EN HAUT

   ================================ */

.back-to-top {
  position: fixed;

  bottom: 30px;

  right: 30px;

  width: 55px;

  height: 55px;

  background: linear-gradient(135deg, #6a1b9a 0%, #9c27b0 100%);

  border: none;

  border-radius: 50%;

  color: white;

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: center;

  opacity: 0;

  visibility: hidden;

  transform: translateY(20px);

  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  z-index: 9990;

  box-shadow: 0 4px 20px rgba(106, 27, 154, 0.4);
}

.back-to-top:hover {
  background: linear-gradient(135deg, #7b1fa2 0%, #ab47bc 100%);

  transform: translateY(-5px);

  box-shadow: 0 8px 30px rgba(106, 27, 154, 0.6);
}

.back-to-top:active {
  transform: translateY(-2px);
}

.back-to-top.visible {
  opacity: 1;

  visibility: visible;

  transform: translateY(0);
}

.back-to-top svg {
  width: 28px;

  height: 28px;

  transition: transform 0.3s ease;
}

.back-to-top:hover svg {
  transform: translateY(-3px);
}

/* Animation poker chip effect */

.back-to-top::before {
  content: "";

  position: absolute;

  inset: 3px;

  border-radius: 50%;

  border: 2px dashed rgba(255, 255, 255, 0.4);

  animation: spinChip 8s linear infinite;
}

@keyframes spinChip {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Mobile */

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;

    right: 20px;

    width: 50px;

    height: 50px;
  }

  .back-to-top svg {
    width: 24px;

    height: 24px;
  }
}

.footer-bottom p {
  margin: 5px 0;

  color: rgba(255, 255, 255, 0.6);

  font-size: 0.9rem;
}

.footer-bottom .credits a {
  color: var(--color-secondary);

  font-weight: 600;

  text-decoration: none;

  transition: var(--transition);
}

.footer-bottom .credits a:hover {
  color: white;

  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Responsive carousel */

@media (max-width: 768px) {
  .partners-carousel .partner-logo {
    width: 100px;

    height: 65px;
  }

  .partners-track {
    gap: 30px;
  }

  .addiction-banner {
    flex-direction: column;

    gap: 10px;
  }

  .addiction-banner img {
    height: 40px;
  }

  .news-card .news-content {
    padding: 50px 25px 30px;
  }

  .news-title {
    font-size: 1.4rem;
  }

  .news-text {
    font-size: 1rem;
  }
}

/* ================================
   WATERMARK LOGO - ARRIÈRE-PLAN
   ================================ */
body::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  max-width: 600px;
  max-height: 600px;
  background-image: url("/images/logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
}

/* Watermark sur les sections principales */
.hero-section::after,
.section::after {
  content: "";
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 100px;
  height: 100px;
  background-image: url("/images/logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

/* Watermark rotatif subtil sur pages internes */
main {
  position: relative;
}

main::before {
  content: "";
  position: fixed;
  top: 30%;
  right: -5%;
  width: 40vw;
  height: 40vw;
  max-width: 400px;
  max-height: 400px;
  background-image: url("/images/logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.06;
  transform: rotate(15deg);
  pointer-events: none;
  z-index: 1;
}

main::after {
  content: "";
  position: fixed;
  bottom: 10%;
  left: -5%;
  width: 35vw;
  height: 35vw;
  max-width: 350px;
  max-height: 350px;
  background-image: url("/images/logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.06;
  transform: rotate(-10deg);
  pointer-events: none;
  z-index: 1;
}

/* Animation subtile du watermark central */
@keyframes watermarkPulse {
  0%,
  100% {
    opacity: 0.08;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.04;
    transform: translate(-50%, -50%) scale(1.02);
  }
}

body::before {
  animation: watermarkPulse 10s ease-in-out infinite;
}

/* ================================
   LOGOS FLOTTANTS ANIMÉS AS TROYES POKER
   ================================ */

/* Conteneur des logos flottants */
.floating-logos {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floating-logo {
  position: absolute;
  background-image: url("/images/logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.04;
  pointer-events: none;
}

/* Différentes tailles et positions */
.floating-logo-1 {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 5%;
  animation: floatLogo1 20s ease-in-out infinite;
}

.floating-logo-2 {
  width: 120px;
  height: 120px;
  top: 30%;
  right: 8%;
  animation: floatLogo2 25s ease-in-out infinite;
}

.floating-logo-3 {
  width: 60px;
  height: 60px;
  top: 60%;
  left: 15%;
  animation: floatLogo3 18s ease-in-out infinite;
}

.floating-logo-4 {
  width: 100px;
  height: 100px;
  top: 75%;
  right: 20%;
  animation: floatLogo4 22s ease-in-out infinite;
}

.floating-logo-5 {
  width: 70px;
  height: 70px;
  top: 45%;
  left: 80%;
  animation: floatLogo5 19s ease-in-out infinite;
}

.floating-logo-6 {
  width: 90px;
  height: 90px;
  bottom: 15%;
  left: 40%;
  animation: floatLogo6 24s ease-in-out infinite;
}

/* Animations de flottement */
@keyframes floatLogo1 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(30px, 20px) rotate(10deg);
  }
  50% {
    transform: translate(-20px, 40px) rotate(-5deg);
  }
  75% {
    transform: translate(15px, -15px) rotate(5deg);
  }
}

@keyframes floatLogo2 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(-40px, 30px) rotate(-10deg);
  }
  66% {
    transform: translate(25px, -20px) rotate(8deg);
  }
}

@keyframes floatLogo3 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.04;
  }
  50% {
    transform: translate(50px, -30px) rotate(15deg);
    opacity: 0.06;
  }
}

@keyframes floatLogo4 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-30px, 25px) scale(1.1);
  }
}

@keyframes floatLogo5 {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-40px) rotate(-12deg);
  }
}

@keyframes floatLogo6 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(20px, -30px) rotate(8deg);
  }
  75% {
    transform: translate(-25px, 20px) rotate(-8deg);
  }
}

/* Watermark central plus visible */
body::before {
  opacity: 0.12 !important;
  width: 50vw !important;
  height: 50vw !important;
  max-width: 500px !important;
  max-height: 500px !important;
}

/* Logos dans les sliders/hero */
.hero-section {
  position: relative;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 80px;
  height: 80px;
  background-image: url("/images/logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.2;
  animation: pulseHeroLogo 3s ease-in-out infinite;
  z-index: 2;
}

@keyframes pulseHeroLogo {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(1.05);
  }
}

/* Mini logos dans les cards */
.card::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background-image: url("/images/logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.15;
  z-index: 1;
}

/* Logo flottant sur les sections */
.section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background-image: url("/images/logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.03;
  z-index: 0;
}

/* ================================
   FIX - FORMULAIRES VISIBILITÉ
   ================================ */

/* Labels et textes de formulaire visibles */
.contact-form .form-group label,
.form-section .form-group label {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 600;
}

/* Inputs avec texte visible */
.contact-form input,
.contact-form select,
.contact-form textarea,
.form-section input,
.form-section select,
.form-section textarea {
  /* background: #252540 !important; */
  color: #ffffff !important;
  border: 2px solid #3a3a5a !important;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.form-section input::placeholder,
.form-section textarea::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.form-section input:focus,
.form-section select:focus,
.form-section textarea:focus {
  border-color: #9c27b0 !important;
  /* background: rgba(156, 39, 176, 0.1) !important; */
}

/* Captcha */
.captcha-question {
  color: #ffffff !important;
  font-weight: 600;
}

.captcha-container {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.captcha-container input {
  max-width: 150px;
}

/* Select options */
.contact-form select option,
.form-section select option {
  /* background: #1a1a2e; */
  color: #ffffff;
}

/* Sections avec fond clair - texte foncé */
.section:not(.contact-content) .form-group label {
  color: #333333;
}

.section:not(.contact-content) .form-group input,
.section:not(.contact-content) .form-group select,
.section:not(.contact-content) .form-group textarea {
  /* background: #ffffff; */
  color: #333333;
  border: 2px solid #e0e0e0;
}

.section:not(.contact-content) input::placeholder,
.section:not(.contact-content) textarea::placeholder {
  color: #999999;
}


/* ================================
   UX AUDIT FIXES - March 2026
   ================================ */

/* Footer links - bigger touch targets */
.footer-section a,
.footer-section li a,
.footer-bottom a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 0;
}
.footer-section li {
    margin-bottom: 4px;
}

/* Bottom nav labels bigger */
@media (max-width: 768px) {
    .bottom-nav-label {
        font-size: 11px !important;
    }
    .bottom-nav-item {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Hamburger button min size */
.nav-toggle {
    min-width: 44px;
    min-height: 44px;
}

/* Lire plus button bigger */
.lire-plus-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Agenda - prevent text clipping on mobile */
@media (max-width: 480px) {
    .tournament-card h3,
    .event-title {
        font-size: 0.85rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    .agenda-header h1 {
        font-size: 1.5rem;
    }
}

/* Classements - podium name wider */
.podium-pseudo {
    min-width: 100px;
    font-size: 0.8rem;
    word-break: break-word;
}

/* Classements table mobile scroll */
@media (max-width: 600px) {
    .classements-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Tables page - seat fixes */
.table-seats {
    max-height: 60px;
    overflow: hidden;
}
