/* ============================================================
   MOBILE.CSS — OnlineCasinoCoach
   Appliqué automatiquement sur écrans < 768px
   Switch manuel via bouton flottant
   ============================================================ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; }
body { overflow-x: hidden; font-size: 15px; }

/* ── NAV MOBILE ── */
nav {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,15,.97) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  height: 56px !important;
  padding: 0 1rem !important;
  gap: 0 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo span { font-size: 13px !important; }
.nav-logo img { width: 28px !important; height: 28px !important; }

/* Cacher les liens de nav desktop */
.nav-links .hide-mob,
.nav-links a.hide-mob { display: none !important; }

/* Cacher les CTAs desktop Telegram/TikTok dans la nav */
.nav-links .nav-cta { display: none !important; }

/* Menu burger */
#mobile-menu-btn {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}
#mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .25s;
}
#mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
#mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile déroulant */
#mobile-nav-menu {
  display: none;
  position: fixed;
  top: 56px;
  left: 0; right: 0;
  background: rgba(10,10,15,.98);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: .75rem 0;
  z-index: 999;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
}
#mobile-nav-menu.open { display: block; }
#mobile-nav-menu a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.25rem;
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color .2s, background .2s;
}
#mobile-nav-menu a:hover { color: var(--text); background: rgba(255,255,255,0.03); }
#mobile-nav-menu a.nav-tg {
  color: #2aabee;
  background: rgba(42,171,238,0.06);
  margin: .5rem .75rem;
  border-radius: 8px;
  border: 1px solid rgba(42,171,238,0.2);
  font-weight: 600;
}
#mobile-nav-menu a.nav-tt {
  color: var(--text);
  background: rgba(255,255,255,0.04);
  margin: .25rem .75rem .5rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
}

/* Push content below fixed nav */
body { padding-top: 56px !important; }
main { padding-top: 0 !important; }

/* ── HERO ── */
.hero, .review-hero, .slots-hero, .guides-hero {
  padding-top: 2rem !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}
.hero h1, .review-hero h1 {
  font-size: clamp(1.6rem, 7vw, 2.4rem) !important;
}
.hero-btns {
  flex-direction: column !important;
  gap: .6rem !important;
  align-items: stretch !important;
}
.hero-btns a {
  text-align: center !important;
  justify-content: center !important;
}

/* ── SECTIONS & LAYOUT ── */
.sec, section { padding-left: 1rem !important; padding-right: 1rem !important; }
.sec-inner, .sec > div, .content { max-width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; }

/* ── OUTILS CARDS ── */
.tools-grid, .tool-grid {
  grid-template-columns: 1fr !important;
  gap: .75rem !important;
}
.tool-card {
  padding: 1rem !important;
}

/* ── SLOTS GRID ── */
.slots-grid {
  grid-template-columns: 1fr 1fr !important;
  gap: .6rem !important;
}
.slot-card-body { padding: .75rem !important; }
.slot-name { font-size: .85rem !important; }
.slot-dev { font-size: .7rem !important; }
.slot-big-emoji { font-size: 40px !important; }
.slot-thumb-wrap { padding: .75rem !important; min-height: 90px !important; }

/* ── SLOT PAGES ── */
.review-wrap { padding: 1.25rem 1rem 3rem !important; }
.stats-grid {
  grid-template-columns: 1fr 1fr !important;
  gap: .6rem !important;
}
.coach-block {
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}
.proscons {
  grid-template-columns: 1fr !important;
}
.slot-nav {
  flex-wrap: wrap !important;
  gap: .5rem !important;
  padding: 1rem !important;
}
.slot-nav-btn {
  font-size: .78rem !important;
  padding: .4rem .7rem !important;
}

/* ── COMPARATIF ── */
.compare-table, table {
  display: block !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  width: 100% !important;
}

/* ── FOOTER ── */
footer { padding: 1.5rem 1rem 1rem !important; }
.footer-inner { padding: 0 !important; }
.footer-links {
  gap: .4rem .75rem !important;
  font-size: 12px !important;
}
.footer-seo {
  gap: .25rem .5rem !important;
}
.footer-seo a { font-size: .68rem !important; }

/* ── GUIDE BAND ── */
.guide-band-inner {
  flex-direction: column !important;
  text-align: center !important;
  gap: 1.25rem !important;
}
.guide-band-text p { max-width: 100% !important; }

/* ── CTA BAND ── */
.cta-band { padding: 2rem 1rem !important; }
.cta-band h2 { font-size: 1.3rem !important; }

/* ── BANDEAU GUIDE ── */
section[style*="surface2"] div { max-width: 100% !important; }

/* ── ABOUT CARD ── */
.about-card { flex-direction: column !important; }

/* ── GUIDE STEPS ── */
.step-card, .step-body { padding: .9rem !important; }

/* ── BREADCRUMB ── */
.breadcrumb {
  padding: .4rem 1rem !important;
  font-size: 11px !important;
  flex-wrap: wrap !important;
}

/* ── ARTICLE NAV ── */
.article-nav {
  flex-direction: column !important;
  gap: .6rem !important;
}
.article-nav-btn {
  max-width: 100% !important;
  font-size: .8rem !important;
}

/* ── BOUTON SWITCH MOBILE FLOTTANT ── */
#mobile-switch-btn {
  position: fixed !important;
  bottom: 1.25rem !important;
  right: 1rem !important;
  z-index: 9998 !important;
  background: var(--surface) !important;
  border: 1px solid var(--border2) !important;
  color: var(--muted) !important;
  font-size: .72rem !important;
  padding: .4rem .75rem !important;
  border-radius: 20px !important;
  cursor: pointer !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4) !important;
  display: flex !important;
  align-items: center !important;
  gap: .3rem !important;
}

/* ── LANG SWITCH ── */
.lang-switch { gap: 4px !important; }
