/* ===================================
   X3BET Casino — Style Principal fr-FR
   =================================== */

:root {
  --primary: #00d4ff;
  --primary-dark: #0099cc;
  --secondary: #f0c040;
  --accent: #ff4d6d;
  --bg-dark: #0a0e1a;
  --bg-card: #111827;
  --bg-card2: #1a2340;
  --text-main: #e8eaf0;
  --text-muted: #8892a4;
  --border: #1e2d45;
  --green: #00e676;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(0,212,255,0.12);
}

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

html { scroll-behavior:smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--secondary); }

img { max-width:100%; height:auto; }

/* ---- HEADER / NAV ---- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,14,26,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.logo span { color: var(--secondary); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 6px;
}

.nav-links a {
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  transition: all .2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--bg-card2);
  color: var(--primary);
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--bg-dark) !important;
  font-weight: 700 !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
}

.nav-cta:hover { opacity:.9; transform:translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all .3s;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-banner.webp');
  background-size: cover;
  background-position: center;
  filter: brightness(.5);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,14,26,.9) 0%, rgba(0,212,255,.08) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,.15);
  border: 1px solid rgba(0,212,255,.3);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  color: var(--primary);
  text-shadow: 0 0 30px rgba(0,212,255,.4);
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.stat-item { text-align: left; }
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}
.stat-label {
  font-size: .8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all .25s;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--bg-dark);
  box-shadow: 0 4px 20px rgba(0,212,255,.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,212,255,.5);
  color: var(--bg-dark);
}

.btn-secondary {
  background: rgba(255,255,255,.08);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255,255,255,.15);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-gold {
  background: linear-gradient(135deg, var(--secondary) 0%, #d4a017 100%);
  color: var(--bg-dark);
  box-shadow: 0 4px 20px rgba(240,192,64,.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(240,192,64,.5);
  color: var(--bg-dark);
}

.btn-lg { padding: 18px 36px; font-size: 1.1rem; border-radius: 14px; }
.btn-full { width: 100%; }

/* ---- SECTIONS ---- */
.section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 48px;
  max-width: 600px;
}

.section-title .primary { color: var(--primary); }
.section-title .gold { color: var(--secondary); }

/* ---- BONUS CARDS ---- */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: transform .25s, box-shadow .25s;
}

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

.bonus-card.featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0,212,255,.05) 100%);
}

.bonus-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary);
  color: var(--bg-dark);
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.bonus-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.bonus-amount {
  font-size: 2rem;
  font-weight: 900;
  color: var(--secondary);
  margin-bottom: 6px;
  line-height: 1;
}

.bonus-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.bonus-desc {
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.bonus-terms {
  font-size: .75rem;
  color: var(--text-muted);
  opacity: .7;
  margin-top: 10px;
}

/* ---- GAMES GRID ---- */
.games-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.tab-btn {
  padding: 8px 18px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  color: var(--bg-dark);
  border-color: var(--primary);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px,1fr));
  gap: 16px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}

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

.game-thumb {
  width:100%;
  height:100%;
  object-fit:cover;
  background: linear-gradient(135deg, var(--bg-card2), var(--bg-card));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.game-overlay {
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(10,14,26,.95) 0%, transparent 50%);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:12px;
}

.game-name { font-size:.82rem; font-weight:700; line-height:1.2; }
.game-provider { font-size:.72rem; color:var(--text-muted); }

.game-play-btn {
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%) scale(0);
  background:var(--primary);
  color:var(--bg-dark);
  width:48px;
  height:48px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.2rem;
  transition:transform .2s;
}

.game-card:hover .game-play-btn { transform:translate(-50%,-50%) scale(1); }

/* ---- FEATURES ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: transform .25s, border-color .25s;
}

.feature-card:hover { transform:translateY(-4px); border-color:var(--primary); }

.feature-icon { font-size: 2.4rem; margin-bottom: 14px; }
.feature-title { font-size:1rem; font-weight:700; margin-bottom:8px; }
.feature-desc { font-size:.85rem; color:var(--text-muted); }

/* ---- PAYMENT METHODS ---- */
.payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

.payment-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 20px;
  font-size: .88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  transition: border-color .2s;
}

.payment-item:hover { border-color: var(--primary); color: var(--text-main); }

/* ---- FAQ ---- */
.faq-list { max-width: 800px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: .95rem;
  background: var(--bg-card);
  transition: background .2s;
  user-select: none;
}

.faq-question:hover { background: var(--bg-card2); }

.faq-icon {
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform .3s;
  flex-shrink: 0;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
}

.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer-inner {
  padding: 0 24px 18px;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.7;
  background: var(--bg-card);
}

/* ---- REVIEW / RATING ---- */
.rating-stars { color: var(--secondary); letter-spacing: 2px; font-size: 1.1rem; }

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 20px;
}

/* ---- BANNER IMAGE ---- */
.img-banner {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  margin-bottom: 32px;
}

/* ---- CTA SECTION ---- */
.cta-section {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0,212,255,.07) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 64px 40px;
  text-align: center;
  margin: 0 24px 80px;
  max-width: 1200px;
  margin-inline: auto;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-inline: auto;
}

/* ---- COUNTDOWN ---- */
.countdown {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.countdown-item {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 20px;
  text-align: center;
  min-width: 80px;
}

.countdown-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  display: block;
  line-height: 1;
}

.countdown-label {
  font-size: .72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ---- FOOTER ---- */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 48px 24px 24px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: .88rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-size: .88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-links { list-style:none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: var(--text-muted);
  font-size: .88rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal { font-size: .78rem; color: var(--text-muted); }

.footer-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--text-muted);
}

.badge-18 {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ---- BREADCRUMB ---- */
.breadcrumb {
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span.sep { opacity: .4; }
.breadcrumb span.current { color: var(--text-main); }

/* ---- TABLE ---- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.comparison-table th {
  background: var(--bg-card2);
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.comparison-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
}

.comparison-table tr:hover td { background: rgba(0,212,255,.04); }

.check { color: var(--green); font-weight: 700; }
.cross { color: var(--accent); font-weight: 700; }

/* ---- COOKIE BANNER ---- */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  z-index: 9999;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

#cookie-banner p {
  flex: 1;
  font-size: .85rem;
  color: var(--text-muted);
  min-width: 200px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* ---- SCROLL TO TOP ---- */
#scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--bg-dark);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  transition: all .2s;
  box-shadow: 0 4px 16px rgba(0,212,255,.4);
}

#scroll-top.visible { display: flex; }
#scroll-top:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,212,255,.5); }

/* ---- REVEAL ANIMATION ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- INFO BOX ---- */
.info-box {
  background: rgba(0,212,255,.07);
  border: 1px solid rgba(0,212,255,.25);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.warning-box {
  background: rgba(255,77,109,.07);
  border: 1px solid rgba(255,77,109,.25);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- MOBILE ---- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(10,14,26,.97);
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    z-index: 999;
  }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .hero { min-height: 500px; }
  .hero-stats { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 40px 20px; }
  #cookie-banner { bottom: 0; left: 0; right: 0; border-radius: 12px 12px 0 0; }
  .btn-lg { padding: 14px 24px; font-size: 1rem; }
}

/* ---- PAGE HERO SMALL ---- */
.page-hero {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0,212,255,.05) 100%);
  border-bottom: 1px solid var(--border);
  padding: 60px 24px 48px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---- LOGIN PAGE ---- */
.login-wrap {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 40px;
  width: 100%;
  max-width: 480px;
  text-align: center;
}

.login-card h2 { font-size: 1.8rem; font-weight: 900; margin-bottom: 8px; }
.login-card p { color: var(--text-muted); margin-bottom: 32px; }

.login-offer {
  background: rgba(0,212,255,.08);
  border: 1px solid rgba(0,212,255,.2);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 28px;
  font-size: .88rem;
  color: var(--primary);
  font-weight: 600;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: .82rem;
}
.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ---- HIGHLIGHT BOXES ---- */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 16px;
  margin: 32px 0;
}

.highlight-item {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.highlight-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--secondary);
  display: block;
}

.highlight-text {
  font-size: .82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}
