/* =============================================
   Betano Guatemala — bespoke stylesheet
   Palette: orange #ff6600 / charcoal #14181d / #1c2026 / cool-grey chrome
   ============================================= */

/* ── Custom properties ── */
:root {
  --orange:      #ff6600;
  --orange-dim:  #e55a00;
  --orange-glow: rgba(255,102,0,.18);
  --bg-deep:     #14181d;
  --bg-mid:      #1c2026;
  --bg-card:     #22272e;
  --bg-card2:    #292f38;
  --border:      #2e3540;
  --text:        #dde2ea;
  --text-muted:  #8a95a3;
  --text-dim:    #5c6674;
  --white:       #f4f7fb;
  --radius:      6px;
  --radius-lg:   12px;
  --transition:  .18s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dim); text-decoration: underline; }
ul { list-style: none; }
table { border-collapse: collapse; width: 100%; }

/* ── Typography helpers ── */
.t-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
}
.t-title {
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}
.t-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}
.t-muted { color: var(--text-muted); }
.tabnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
  height: 60px;
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Wordmark */
.header-wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.header-wordmark img {
  height: 28px;
  width: auto;
}

/* Desktop nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.header-nav a {
  padding: 6px 12px;
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.header-nav a:hover,
.header-nav a.active {
  color: var(--white);
  background: var(--bg-card);
  text-decoration: none;
}
.header-nav a.active { color: var(--orange); }

/* Desktop lang switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.lang-switch a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .04em;
  border: 1px solid transparent;
  transition: all var(--transition);
}
.lang-switch a:hover { color: var(--white); text-decoration: none; }
.lang-switch a.active { color: var(--white); border-color: var(--border); }
.lang-switch img { width: 18px; height: 18px; border-radius: 50%; }

/* Desktop CTA buttons */
.header-ctas {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.btn-ghost {
  padding: 7px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); text-decoration: none; }
.btn-primary {
  padding: 7px 18px;
  border-radius: var(--radius);
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
  border: none;
}
.btn-primary:hover { background: var(--orange-dim); color: #fff; text-decoration: none; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .22s ease, opacity .22s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--bg-mid);
  border-bottom: 1px solid var(--border);
  z-index: 800;
  padding: 16px 20px 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
}
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav a:hover { color: var(--orange); text-decoration: none; }
.mobile-nav a.active { color: var(--orange); }
.mobile-nav-lang {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.mobile-nav-lang a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.mobile-nav-lang a.active { color: var(--white); border-color: var(--orange); }
.mobile-nav-ctas {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.mobile-nav-ctas a { flex: 1; text-align: center; }

/* ══════════════════════════════════════
   HERO — sportsbook-led
══════════════════════════════════════ */
.hero {
  background: var(--bg-mid);
  border-bottom: 1px solid var(--border);
  padding: 56px 0 0;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.hero-copy { padding-bottom: 56px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-glow);
  border: 1px solid rgba(255,102,0,.3);
  border-radius: 100px;
  padding: 4px 12px;
  margin-bottom: 20px;
}
.hero-eyebrow span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.hero-eyebrow i { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100%{ opacity:1; transform:scale(1);} 50%{ opacity:.5; transform:scale(.7);} }
.hero-headline {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.hero-headline em { color: var(--orange); font-style: normal; }
.hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 420px;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-hero {
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
}

/* Odds board */
.odds-board {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  transform: translateY(0);
}
.odds-board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg-card2);
  border-bottom: 1px solid var(--border);
}
.odds-board-header p { font-size: 13px; font-weight: 700; color: var(--white); }
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,60,60,.15);
  border: 1px solid rgba(255,60,60,.3);
  border-radius: 100px;
  padding: 2px 9px;
  font-size: 11px;
  font-weight: 700;
  color: #ff4d4d;
  letter-spacing: .06em;
}
.live-badge i { width: 5px; height: 5px; background: #ff4d4d; border-radius: 50%; animation: pulse 1s infinite; }

.match-row {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}
.match-row:last-child { border-bottom: none; }
.match-teams { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.match-teams-names p { font-size: 13px; font-weight: 600; color: var(--white); }
.match-teams-names p + p { margin-top: 2px; }
.match-score {
  font-size: 18px;
  font-weight: 800;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.match-meta { font-size: 11px; color: var(--text-dim); margin-bottom: 10px; }
.odds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.odd-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 6px;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.odd-btn:hover { border-color: var(--orange); background: var(--orange-glow); }
.odd-btn .odd-label { font-size: 10px; color: var(--text-dim); font-weight: 500; }
.odd-btn .odd-val { font-size: 15px; font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums; }
.odd-btn:hover .odd-val { color: var(--orange); }

/* ══════════════════════════════════════
   SPORTS CATEGORIES BAR
══════════════════════════════════════ */
.sports-bar {
  background: var(--bg-mid);
  border-bottom: 1px solid var(--border);
  padding: 0 0 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.sports-bar::-webkit-scrollbar { display: none; }
.sports-bar-inner {
  display: flex;
  gap: 4px;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: max-content;
  min-width: 100%;
}
.sport-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  min-width: 64px;
  white-space: nowrap;
}
.sport-chip:hover,
.sport-chip.active {
  border-color: var(--orange);
  background: var(--orange-glow);
  color: var(--white);
}
.sport-chip img { width: 24px; height: 24px; }
.sport-chip span { font-size: 11px; font-weight: 600; }

/* ══════════════════════════════════════
   FEATURES / VALUE PROPS
══════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color var(--transition);
}
.feature-card:hover { border-color: var(--orange); }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--orange-glow);
  border: 1px solid rgba(255,102,0,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; fill: var(--orange); }
.feature-card .t-subtitle { margin-bottom: 8px; font-size: 16px; }
.feature-card p { font-size: 14px; color: var(--text-muted); }

/* ══════════════════════════════════════
   CASINO GRID (secondary on homepage)
══════════════════════════════════════ */
.casino-section { background: var(--bg-mid); }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.game-tile {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 225 / 330;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition);
  cursor: pointer;
}
.game-tile:hover { transform: translateY(-4px); border-color: var(--orange); }
.game-tile img { width: 100%; height: 100%; object-fit: cover; }
.games-cta { text-align: center; margin-top: 28px; }

/* ══════════════════════════════════════
   PAYMENTS STRIP
══════════════════════════════════════ */
.payments-section { background: var(--bg-deep); }
.payments-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 32px;
  margin-top: 32px;
}
.payments-logos img {
  height: 36px;
  width: auto;
  opacity: .65;
  filter: grayscale(1) brightness(1.4);
  transition: opacity var(--transition), filter var(--transition);
}
.payments-logos img:hover { opacity: 1; filter: none; }

/* ══════════════════════════════════════
   SEO ARTICLE BLOCK
══════════════════════════════════════ */
.seo-block {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
}
.seo-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 20px;
}

/* Article typography */
.seo-inner h1 {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -.01em;
}
.seo-inner h2 {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  color: var(--white);
  margin: 40px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  line-height: 1.25;
}
.seo-inner h3 {
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 600;
  color: var(--white);
  margin: 28px 0 10px;
}
.seo-inner p { color: var(--text); margin-bottom: 16px; line-height: 1.75; }
.seo-inner a { color: var(--orange); }
.seo-inner a:hover { color: var(--orange-dim); }
.seo-inner strong { color: var(--white); font-weight: 600; }
.seo-inner em { color: var(--text-muted); font-style: italic; }
.seo-inner ul,
.seo-inner ol {
  margin: 0 0 16px 20px;
  padding: 0;
  list-style: revert;
  color: var(--text);
}
.seo-inner li { margin-bottom: 8px; line-height: 1.65; }

/* Responsive SEO tables */
.seo-inner table {
  table-layout: fixed;
  width: 100%;
  margin: 20px 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.seo-inner th {
  background: var(--bg-card2);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.seo-inner td {
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.seo-inner tr:last-child td { border-bottom: none; }
.seo-inner tr:nth-child(even) td { background: rgba(255,255,255,.02); }

/* FAQ accordion */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: var(--bg-card);
  border: none;
  padding: 16px 20px;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background var(--transition);
}
.faq-q:hover { background: var(--bg-card2); }
.faq-q svg {
  width: 18px;
  height: 18px;
  fill: var(--text-muted);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-q svg { transform: rotate(180deg); fill: var(--orange); }
.faq-a {
  display: none;
  padding: 0 20px 16px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  background: var(--bg-card);
}
.faq-item.open .faq-a { display: block; }

/* ══════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════ */
.breadcrumb {
  padding: 14px 0;
  background: var(--bg-mid);
  border-bottom: 1px solid var(--border);
}
.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.breadcrumb-inner span { font-size: 13px; color: var(--text-dim); }
.breadcrumb-inner a { font-size: 13px; color: var(--text-muted); }
.breadcrumb-inner a:hover { color: var(--orange); text-decoration: none; }
.breadcrumb-inner .crumb-sep { color: var(--border); font-size: 12px; }
.breadcrumb-inner .crumb-current { color: var(--orange); font-size: 13px; }

/* ══════════════════════════════════════
   PROMO BANNER (for bonus/app pages)
══════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--bg-mid) 0%, var(--bg-deep) 100%);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}
.page-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}
.page-hero-inner .t-label { margin-bottom: 12px; }
.page-hero-inner .t-title { margin-bottom: 12px; }
.page-hero-inner .t-muted { font-size: 16px; line-height: 1.6; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { max-width: 280px; }
.footer-brand img { height: 28px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }
.footer-col p { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 14px; color: var(--text-muted); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--orange); text-decoration: none; }
.footer-divider { border: none; border-top: 1px solid var(--border); margin: 0 0 28px; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 12px; color: var(--text-dim); line-height: 1.6; }
.responsible-gaming {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,102,0,.08);
  border: 1px solid rgba(255,102,0,.2);
  border-radius: var(--radius);
  padding: 8px 14px;
  margin-top: 20px;
}
.responsible-gaming .badge-18 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.responsible-gaming p { font-size: 12px; color: var(--text-muted); }

/* ══════════════════════════════════════
   UTILITIES
══════════════════════════════════════ */
.btn-lg {
  padding: 13px 30px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius);
  display: inline-block;
}
.center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .games-grid { grid-template-columns: repeat(5, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  /* Header: show only wordmark + burger */
  .header-nav,
  .header-ctas,
  .lang-switch {
    display: none !important;
  }
  .burger { display: flex; }

  /* Hero stacks */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-copy { padding-bottom: 0; }
  .odds-board { border-radius: var(--radius-lg); }

  .features-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .section { padding: 40px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; }
  .hero-actions a { text-align: center; }
}

@media (max-width: 560px) {
  .seo-inner th,
  .seo-inner td {
    font-size: 12px;
    padding: 8px 10px;
  }
}

/* Prevent horizontal scroll at all costs */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
