/* ==========================================================================
   Ecuabet Guatemala — bespoke stylesheet
   Andean sportsbook: muted slate-purple chrome + confident blue accent.
   ========================================================================== */

:root {
  --slate: #565671;
  --slate-dark: #34344a;
  --slate-darker: #26263a;
  --slate-tint: #eeeef4;
  --slate-tint-2: #e2e2ec;
  --blue: #1a73e8;
  --blue-dark: #0f4fa8;
  --blue-tint: #eaf1fd;
  --yellow: #ffd400;
  --ink: #1d1d29;
  --ink-soft: #55556a;
  --paper: #fbfbfd;
  --line: #dcdce6;
  --ok: #1a9c6c;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 18px 40px -18px rgba(38, 38, 58, 0.35);
  --container: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #16161f;
    --slate-tint: #1d1d29;
    --slate-tint-2: #23233190;
    --ink: #eef0f7;
    --ink-soft: #b4b4c6;
    --line: #33334a;
  }
}
:root[data-theme="dark"] {
  --paper: #16161f;
  --slate-tint: #1d1d29;
  --slate-tint-2: #23233190;
  --ink: #eef0f7;
  --ink-soft: #b4b4c6;
  --line: #33334a;
}
:root[data-theme="light"] {
  --paper: #fbfbfd;
  --slate-tint: #eeeef4;
  --slate-tint-2: #e2e2ec;
  --ink: #1d1d29;
  --ink-soft: #55556a;
  --line: #dcdce6;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
main { overflow-x: hidden; }

/* ---------------------------------------------------------------------- */
/* Header                                                                  */
/* ---------------------------------------------------------------------- */
.site-header {
  background: var(--slate-darker);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 26px; width: auto; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: #cfcfe0;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.main-nav a:hover,
.main-nav a[aria-current="true"] { color: #fff; border-color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch, .mobile-lang {
  display: flex;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 700;
}
.lang-switch a, .mobile-lang a {
  padding: 6px 12px;
  color: #b7b7cc;
}
.lang-switch a[aria-current="true"], .mobile-lang a[aria-current="true"] {
  background: var(--blue);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: transparent; color: #e7e7f3; border-color: rgba(255,255,255,0.28); }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  background: var(--slate-darker);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.mobile-nav.is-open { max-height: 640px; }
.mobile-nav .container { padding-top: 12px; padding-bottom: 20px; }
.mobile-nav ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.mobile-nav ul a {
  display: block;
  padding: 12px 4px;
  color: #e7e7f3;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-lang { margin-bottom: 16px; width: fit-content; }
.mobile-ctas { display: flex; flex-direction: column; gap: 10px; }

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    linear-gradient(120deg, var(--slate-darker) 0%, var(--slate) 55%, var(--blue-dark) 130%);
  color: #fff;
  padding: 48px 0 60px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-photo, none);
  background-position: right -60px center;
  background-repeat: no-repeat;
  background-size: 620px auto;
  opacity: 0.16;
  mix-blend-mode: luminosity;
  filter: grayscale(0.2) contrast(1.05);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 100% 0%, rgba(26,115,232,0.35), transparent 55%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,0.95fr);
  gap: 42px;
  align-items: start;
}
.hero-eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}
.hero-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero-title em { color: var(--yellow); font-style: normal; }
.hero-sub {
  margin: 0 0 26px;
  font-size: 16.5px;
  line-height: 1.6;
  color: #d3d3e4;
  max-width: 46ch;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  border-top: 1px solid rgba(255,255,255,0.16);
  padding-top: 22px;
}
.hero-trust .stat p:first-child {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  color: #fff;
}
.hero-trust .stat p:last-child {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: #b9b9cf;
}

/* Odds board ------------------------------------------------------------- */
.odds-board {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.odds-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 8px;
}
.odds-board-head p { margin: 0; font-weight: 800; font-size: 15px; }
.odds-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: #d5382f;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}
.odds-live::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: #fff;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.odds-tabs {
  display: flex;
  gap: 8px;
  padding: 10px 20px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.odds-tabs::-webkit-scrollbar { display: none; }
.odds-tab {
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.odds-tab[aria-pressed="true"] {
  background: var(--slate);
  border-color: var(--slate);
  color: #fff;
}

.odds-rows { padding: 6px 12px 8px; }
.odds-row { display: none; padding: 12px 8px; border-top: 1px solid var(--line); }
.odds-row.is-visible { display: block; }
.odds-row-league {
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.odds-row-match { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.odds-teams p { margin: 0; font-size: 14.5px; font-weight: 700; line-height: 1.35; }
.odds-prices { display: flex; gap: 8px; }
.odds-price {
  min-width: 56px;
  text-align: center;
  background: var(--slate-tint);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
}
.odds-price p:first-child { margin: 0; font-size: 10.5px; color: var(--ink-soft); font-weight: 700; }
.odds-price p:last-child { margin: 2px 0 0; font-size: 15px; font-weight: 800; color: var(--blue); }
.odds-note {
  margin: 10px 16px 16px;
  font-size: 11.5px;
  color: var(--ink-soft);
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}

/* ---------------------------------------------------------------------- */
/* Sections                                                                */
/* ---------------------------------------------------------------------- */
.section { padding: 64px 0; }
.section-alt { background: var(--slate-tint); }
.section-dark { background: var(--slate-darker); color: #fff; }
.section-dark .section-desc { color: #c3c3d6; }
.section-dark .card-body,
.section-dark .chip-body { color: #c9c9db; }

.section-head { max-width: 640px; margin: 0 0 36px; }
.section-eyebrow {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
}
.section-dark .section-eyebrow { color: var(--yellow); }
.section-title {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.section-desc { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}
.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  border-radius: 12px;
  background: var(--blue-tint);
  color: var(--blue-dark);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 16px;
}
.card-title { margin: 0 0 8px; font-size: 17px; font-weight: 800; }
.card-body { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }

/* Live strip --------------------------------------------------------------*/
.live-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}
.live-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 20px;
}
.live-card .live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #ff8a80;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.live-card .live-tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ff5449;
  animation: pulse 1.4s ease-in-out infinite;
}
.live-card p.live-match { margin: 0 0 4px; font-weight: 700; font-size: 15px; }
.live-card p.live-min { margin: 0; font-size: 12.5px; color: #b9b9cf; }
.live-card .live-score { font-size: 24px; font-weight: 800; margin: 10px 0 0; }

/* Casino teaser (secondary, no game grid) ---------------------------------*/
.casino-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}
.casino-chip {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.chip-title { margin: 0 0 6px; font-weight: 800; font-size: 15px; }
.chip-body { margin: 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }

/* App teaser --------------------------------------------------------------*/
.app-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(120deg, var(--slate-darker), var(--blue-dark));
  color: #fff;
  border-radius: var(--radius);
  padding: 32px 34px;
  flex-wrap: wrap;
}
.app-teaser .tag {
  display: inline-block;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
}
.app-teaser .headline { margin: 0 0 8px; font-size: 21px; font-weight: 800; max-width: 42ch; }
.app-teaser .copy { margin: 0; color: #cfcfe4; max-width: 50ch; font-size: 14.5px; }

.bono-teaser { /* legacy alias kept minimal, unused if not referenced */ }

/* Payments -----------------------------------------------------------------*/
.pay-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.pay-chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

/* ---------------------------------------------------------------------- */
/* Breadcrumb                                                              */
/* ---------------------------------------------------------------------- */
.breadcrumb {
  padding: 16px 0;
  background: var(--slate-tint);
  border-bottom: 1px solid var(--line);
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--ink-soft);
}
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line); }
.breadcrumb a { color: var(--ink-soft); font-weight: 600; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb li[aria-current] { color: var(--ink); font-weight: 700; }

/* ---------------------------------------------------------------------- */
/* App download page specifics                                             */
/* ---------------------------------------------------------------------- */
.app-hero {
  background: linear-gradient(120deg, var(--slate-darker), var(--slate) 60%, var(--blue-dark) 130%);
  color: #fff;
  padding: 44px 0 52px;
}
.app-hero .container { display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; }
.os-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin-top: 28px; }
.os-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: 22px;
}
.os-card .os-name { margin: 0 0 8px; font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.os-card .os-badge {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--yellow);
  color: #26263a;
  padding: 3px 9px;
  border-radius: 999px;
}
.os-card ol { margin: 10px 0 0; padding-left: 20px; color: #d3d3e4; font-size: 13.5px; line-height: 1.7; }
.os-card .btn { margin-top: 14px; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}
.step-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 12px;
}

/* ---------------------------------------------------------------------- */
/* SEO article block                                                       */
/* ---------------------------------------------------------------------- */
.seo-block { background: var(--paper); }
.article { max-width: 760px; margin: 0 auto; }
.article h1 {
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  color: var(--ink);
}
.article h2 {
  font-size: 21px;
  font-weight: 800;
  margin: 40px 0 14px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.article h3 {
  font-size: 16.5px;
  font-weight: 800;
  margin: 26px 0 10px;
  color: var(--ink);
}
.article p { margin: 0 0 16px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; }
.article strong { color: var(--ink); }
.article a { color: var(--blue); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(26,115,232,0.35); }
.article ol, .article ul { color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; padding-left: 22px; margin: 0 0 16px; }
.article li { margin-bottom: 8px; }
.article li strong { color: var(--ink); }

.article table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 8px 0 24px;
  font-size: 14.5px;
}
.article table th, .article table td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  overflow-wrap: anywhere;
  color: var(--ink-soft);
}
.article table th { background: var(--slate-tint); color: var(--ink); font-weight: 700; }
.table-wrap { overflow-x: auto; margin: 0 0 24px; }

.faq-list { margin-top: 8px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 16px;
  margin-bottom: 10px;
  background: var(--paper);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 28px 14px 0;
  position: relative;
  font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 2px; top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary h3 { margin: 0; display: inline; font-size: 15.5px; }
.faq-a { padding: 0 0 16px; }
.faq-a p { margin: 0; }

/* ---------------------------------------------------------------------- */
/* Footer                                                                  */
/* ---------------------------------------------------------------------- */
.site-footer { background: var(--slate-darker); color: #cfcfe0; padding: 52px 0 26px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 24px; margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; color: #a9a9c0; line-height: 1.6; max-width: 34ch; margin: 0; }
.footer-col .col-title {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #8f8fac;
}
.footer-col a { display: block; margin-bottom: 10px; font-size: 13.5px; color: #cfcfe0; }
.footer-col a:hover { color: #fff; }
.footer-badges { display: flex; align-items: center; gap: 14px; margin: 28px 0 18px; }
.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 2px solid #8f8fac;
  border-radius: 50%;
  font-weight: 800;
  font-size: 13px;
  color: #e7e7f3;
}
.footer-rg { font-size: 12.5px; color: #9d9db6; line-height: 1.6; margin: 0 0 20px; max-width: 90ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 18px; }
.footer-bottom p { margin: 0; font-size: 12.5px; color: #8f8fac; }

/* ---------------------------------------------------------------------- */
/* Responsive                                                              */
/* ---------------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .casino-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .live-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .os-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .main-nav, .header-actions .lang-switch, .header-actions .btn { display: none; }
  .burger { display: flex; }
  .mobile-nav { display: block; }
  .site-header .container { height: 64px; }
  .brand img { height: 22px; }
}

@media (max-width: 640px) {
  .section { padding: 46px 0; }
  .feature-grid, .casino-strip, .live-strip, .steps-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .app-teaser { flex-direction: column; align-items: flex-start; }
  .hero { padding: 36px 0 44px; }
  .odds-row-match { flex-direction: column; align-items: flex-start; gap: 10px; }
  .odds-prices { width: 100%; }
  .odds-price { flex: 1; }
}

@media (max-width: 560px) {
  .article table { font-size: 12.5px; }
  .article table th, .article table td { padding: 7px 8px; }
  .container { padding: 0 16px; }
}
