:root {
  /* =============================
   * Variables
   * ============================= */

  /* Color Palette - Casino-inspired, elegant */
  --color-background: #050811; /* Deep, immersive background */
  --color-surface: #0d111b;
  --color-surface-alt: #151a26;
  --color-text: #f5f5f7;
  --color-text-muted: #a3a7b7;

  --color-primary: #d4af37; /* Gold accent */
  --color-primary-soft: rgba(212, 175, 55, 0.16);
  --color-success: #00b894; /* Green felt vibe */
  --color-warning: #f1c40f;
  --color-danger: #e74c3c;

  /* Neutral grays */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2933;
  --gray-900: #111827;

  /* Typography */
  --font-sans: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Playfair Display", "Times New Roman", serif;

  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-md: 1rem;      /* 16px */
  --font-size-lg: 1.125rem;  /* 18px */
  --font-size-xl: 1.25rem;   /* 20px */
  --font-size-2xl: 1.5rem;   /* 24px */
  --font-size-3xl: 1.875rem; /* 30px */
  --font-size-4xl: 2.25rem;  /* 36px */
  --font-size-5xl: 3rem;     /* 48px */

  --line-height-tight: 1.2;
  --line-height-snug: 1.35;
  --line-height-normal: 1.6;

  /* Spacing scale (0–96px) */
  --space-0: 0;
  --space-4: 0.25rem;   /* 4px */
  --space-8: 0.5rem;    /* 8px */
  --space-12: 0.75rem;  /* 12px */
  --space-16: 1rem;     /* 16px */
  --space-20: 1.25rem;  /* 20px */
  --space-24: 1.5rem;   /* 24px */
  --space-32: 2rem;     /* 32px */
  --space-40: 2.5rem;   /* 40px */
  --space-48: 3rem;     /* 48px */
  --space-56: 3.5rem;   /* 56px */
  --space-64: 4rem;     /* 64px */
  --space-80: 5rem;     /* 80px */
  --space-96: 6rem;     /* 96px */

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.65);

  /* Transitions */
  --transition-fast: 150ms ease-out;
  --transition-base: 220ms ease-out;
  --transition-slow: 320ms ease-out;
}

/* =============================
 * Reset / Normalize
 * ============================= */

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

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

button {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none !important;
}

h1,
 h2,
 h3,
 h4,
 h5,
 h6,
 p {
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =============================
 * Base Styles
 * ============================= */

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-md);
  line-height: var(--line-height-normal);
  background-color: var(--color-background);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

h1,
 h2,
 h3,
 h4,
 h5,
 h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--line-height-tight);
  color: var(--color-text);
}

h1 {
  font-size: var(--font-size-5xl);
  letter-spacing: 0.04em;
}

h2 {
  font-size: var(--font-size-4xl);
}

h3 {
  font-size: var(--font-size-3xl);
}

h4 {
  font-size: var(--font-size-2xl);
}

h5 {
  font-size: var(--font-size-xl);
}

h6 {
  font-size: var(--font-size-lg);
}

p {
  margin-bottom: var(--space-16);
  color: var(--color-text-muted);
}

strong,
 b {
  font-weight: 600;
}

/* Links - poker / casino gold accent */

a {
  color: var(--color-primary);
  transition: color var(--transition-base),
              background-color var(--transition-base),
              opacity var(--transition-fast);
}

a:hover {
  color: #fff !important;
}

/* =============================
 * Accessibility & Motion
 * ============================= */

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =============================
 * Utilities
 * ============================= */

/* Layout container for multi-page French site */

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-16);
  padding-right: var(--space-16);
  max-width: 1120px; /* Suitable for event platform */
}

@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

/* Flex helpers */

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

/* Grid helpers */

.grid {
  display: grid;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-24);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-24);
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Visually hidden but accessible text */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =============================
 * Components
 * ============================= */

/* Button - primary casino-inspired CTA */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--color-primary), #f5e6a5);
  color: #020308;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base),
              filter var(--transition-base),
              background-position var(--transition-base);
  background-size: 140% 140%;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-elevated);
  filter: brightness(1.05);
  color: #020308 !important;
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-soft);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.btn--ghost {
  background: transparent;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-primary-soft);
  color: var(--color-text);
  box-shadow: none;
}

.btn--ghost:hover {
  background: var(--color-primary-soft);
  color: #fff !important;
}

/* Inputs - reservation & contact forms */

.input,
 textarea,
 select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(5, 8, 17, 0.9);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  transition: border-color var(--transition-base),
              box-shadow var(--transition-base),
              background-color var(--transition-base);
}

.input::placeholder,
 textarea::placeholder {
  color: var(--color-text-muted);
}

.input:focus,
 textarea:focus,
 select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary-soft);
}

.input:disabled,
 textarea:disabled,
 select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Card - for tournaments, soirées, events */

.card {
  background: radial-gradient(circle at top, rgba(212, 175, 55, 0.1), transparent 55%),
              var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-24);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.card--elevated {
  box-shadow: var(--shadow-elevated);
}

.card__header {
  margin-bottom: var(--space-16);
}

.card__title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-8);
}

.card__meta {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

.card__body {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* Lists for event details */

.list-inline {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  padding: 0;
}

.list-inline li {
  list-style: none !important;
}

/* Header / Navigation basics (multi-page) */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(5, 8, 17, 0.94), rgba(5, 8, 17, 0.85));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-16) 0;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-24);
}

.site-nav__link {
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
  position: relative;
  padding-bottom: 4px;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), #f5e6a5);
  transition: width var(--transition-base);
}

.site-nav__link:hover::after,
.site-nav__link--active::after {
  width: 100%;
}

.site-nav__link:hover {
  color: #fff !important;
}

/* Footer basics */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-32) 0;
  background: radial-gradient(circle at top, rgba(212, 175, 55, 0.08), transparent 55%),
              #04060b;
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
}

.site-footer a:hover {
  color: #fff !important;
}

/* Hero section generic styling for EVENT MONTE */

.hero {
  padding: var(--space-80) 0 var(--space-64);
  background: radial-gradient(circle at top, rgba(231, 76, 60, 0.25), transparent 52%),
              radial-gradient(circle at bottom, rgba(0, 184, 148, 0.25), transparent 55%),
              var(--color-background);
}

.hero__eyebrow {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-12);
}

.hero__title {
  max-width: 16ch;
  margin-bottom: var(--space-16);
}

.hero__subtitle {
  max-width: 36rem;
  font-size: var(--font-size-lg);
}

/* Chips / badges for formats, stakes, cities */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 8, 17, 0.85);
  color: var(--color-text-muted);
}

.badge--primary {
  border-color: var(--color-primary-soft);
  background: rgba(212, 175, 55, 0.14);
  color: var(--color-primary);
}

.badge--success {
  border-color: rgba(0, 184, 148, 0.3);
  background: rgba(0, 184, 148, 0.14);
  color: var(--color-success);
}

/* Tables for tournament structures, schedules */

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}

.table th,
.table td {
  padding: 0.75rem 1rem;
  text-align: left;
}

.table thead {
  background: rgba(255, 255, 255, 0.04);
}

.table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.table tbody tr:hover {
  background: rgba(212, 175, 55, 0.06);
}

.table th {
  font-weight: 600;
  color: var(--color-text);
}

.table td {
  color: var(--color-text-muted);
}

/* Toast / alert for important information (e.g. RGPD, conditions) */

.alert {
  padding: var(--space-16);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  display: flex;
  align-items: flex-start;
  gap: var(--space-12);
}

.alert--success {
  background: rgba(0, 184, 148, 0.12);
  border: 1px solid rgba(0, 184, 148, 0.4);
  color: var(--color-success);
}

.alert--warning {
  background: rgba(241, 196, 15, 0.12);
  border: 1px solid rgba(241, 196, 15, 0.4);
  color: var(--color-warning);
}

.alert--danger {
  background: rgba(231, 76, 60, 0.14);
  border: 1px solid rgba(231, 76, 60, 0.5);
  color: var(--color-danger);
}

/* Chips row for game types (Poker, Blackjack, Soirées à thème) */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.chip {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text-muted);
}

.chip--highlight {
  background: rgba(212, 175, 55, 0.16);
  color: var(--color-primary);
}

/* End of base.css for EVENT MONTE */
