/* ============================================================
   Betsson Guatemala — betsson1.gt — Bespoke stylesheet
   Brand palette: #ff6600 orange | #2e2f3c dark | #f23e53 red | #40b840 green
   ============================================================ */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:  #ff6600;
  --orange-d:#cc4f00;
  --dark:    #2e2f3c;
  --dark2:   #23242f;
  --dark3:   #1a1b24;
  --red:     #f23e53;
  --green:   #40b840;
  --white:   #ffffff;
  --text:    #e8e8ee;
  --muted:   #9597aa;
  --surface: #363749;
  --surface2:#404258;
  --radius:  8px;
  --radius-lg:14px;
  font-size: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--dark3);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-d); text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  border-bottom: 2px solid var(--orange);
  box-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 60px;
  gap: 24px;
}

.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.site-logo img { width: 117px; height: 20px; }

/* desktop nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.desktop-nav a {
  color: var(--text);
  font-size: .9rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.desktop-nav a:hover,
.desktop-nav a.active {
  background: rgba(255,102,0,.15);
  color: var(--orange);
  text-decoration: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Language switch */
.lang-switch {
  display: flex;
  gap: 2px;
  border: 1px solid var(--surface2);
  border-radius: var(--radius);
  overflow: hidden;
}
.lang-switch a {
  padding: 4px 10px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .04em;
  transition: background .15s, color .15s;
}
.lang-switch a:hover { text-decoration: none; color: var(--white); }
.lang-switch a.active {
  background: var(--orange);
  color: var(--white);
}

/* CTA buttons */
.btn-login {
  padding: 7px 16px;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 600;
  border: 1px solid var(--surface2);
  color: var(--text);
  background: transparent;
  transition: border-color .15s, color .15s;
  white-space: nowrap;
}
.btn-login:hover { border-color: var(--orange); color: var(--orange); text-decoration: none; }

.btn-register {
  padding: 7px 18px;
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 700;
  background: var(--orange);
  color: var(--white);
  transition: background .15s;
  white-space: nowrap;
}
.btn-register:hover { background: var(--orange-d); text-decoration: none; color: var(--white); }

/* Burger */
.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
}
.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.burger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav slide-down */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--dark2);
  border-top: 1px solid var(--surface);
  padding: 16px 20px 24px;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid var(--surface);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--orange); text-decoration: none; }
.mobile-nav .mobile-lang {
  display: flex;
  gap: 8px;
  padding: 12px 0 4px;
  align-items: center;
  font-size: .85rem;
  color: var(--muted);
}
.mobile-nav .mobile-lang a {
  border: none;
  padding: 4px 10px;
  font-size: .8rem;
  font-weight: 600;
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--surface);
}
.mobile-nav .mobile-lang a.active {
  background: var(--orange);
  color: var(--white);
}
.mobile-nav .mobile-ctas {
  display: flex;
  gap: 8px;
  padding-top: 12px;
  flex-wrap: wrap;
}
.mobile-nav .mobile-ctas .btn-login,
.mobile-nav .mobile-ctas .btn-register {
  flex: 1;
  text-align: center;
}

@media (max-width: 860px) {
  .desktop-nav { display: none; }
  .header-right { display: none; }
  .burger-btn { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  background: var(--dark2);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url(/assets/images/hero-banner.png);
  background-size: cover;
  background-position: center top;
  opacity: .45;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 40% 60%, rgba(255,102,0,.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px 70px;
  width: 100%;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  max-width: 620px;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.hero-title em {
  font-style: normal;
  color: var(--orange);
}
.hero-sub {
  font-size: 1rem;
  color: var(--text);
  max-width: 500px;
  margin-bottom: 32px;
  opacity: .9;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-cta-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: background .15s, transform .1s;
  letter-spacing: .02em;
}
.hero-cta-primary:hover { background: var(--orange-d); transform: translateY(-1px); text-decoration: none; color: var(--white); }
.hero-cta-secondary {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius);
  transition: border-color .15s, background .15s;
}
.hero-cta-secondary:hover { border-color: var(--orange); background: rgba(255,102,0,.1); text-decoration: none; color: var(--white); }

/* Hero badges */
.hero-badges {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--muted);
}
.hero-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,102,0,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* ---------- Section shell ---------- */
.section { padding: 60px 0; }
.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-header { margin-bottom: 32px; }
.section-label {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.section-desc {
  margin-top: 10px;
  color: var(--muted);
  font-size: .95rem;
  max-width: 560px;
}

/* ---------- Category chips ---------- */
.category-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.chip {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--surface2);
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  cursor: pointer;
  transition: all .15s;
}
.chip:hover, .chip.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* ---------- Game grid ---------- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.game-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  position: relative;
  aspect-ratio: 3/4;
  transition: transform .2s;
}
.game-card:hover { transform: translateY(-4px); }
.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.game-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .2s;
  display: flex;
  align-items: flex-end;
  padding: 12px;
}
.game-card:hover .game-card-overlay { opacity: 1; }
.game-card-play {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  text-decoration: none;
  width: 100%;
  text-align: center;
}
.game-card-play:hover { background: var(--orange-d); text-decoration: none; color: var(--white); }

/* ---------- Promo banners ---------- */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.promo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  background: var(--surface);
}
.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.promo-card-body {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.7) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
.promo-card-tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 4px;
}
.promo-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.2;
}
.promo-card-link {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  align-self: flex-start;
  transition: background .15s;
}
.promo-card-link:hover { background: var(--orange-d); text-decoration: none; color: var(--white); }

/* ---------- Sports board ---------- */
.sports-board {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--surface2);
}
.sports-board-header {
  background: var(--dark2);
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 8px;
  padding: 10px 20px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.sports-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid var(--surface2);
  align-items: center;
  transition: background .15s;
}
.sports-row:hover { background: rgba(255,102,0,.06); }
.match-name { font-size: .88rem; color: var(--white); font-weight: 500; }
.match-league { font-size: .73rem; color: var(--muted); margin-top: 2px; }
.match-time { font-size: .73rem; color: var(--orange); font-weight: 600; }
.odds-btn {
  background: var(--dark2);
  border: 1px solid var(--surface2);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  min-width: 52px;
  text-align: center;
  transition: background .15s, border-color .15s;
  display: inline-block;
}
.odds-btn:hover { background: rgba(255,102,0,.15); border-color: var(--orange); color: var(--orange); text-decoration: none; }

/* ---------- Features strip ---------- */
.features-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.feature-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  border: 1px solid var(--surface2);
  transition: border-color .2s;
}
.feature-card:hover { border-color: var(--orange); }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255,102,0,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.feature-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.feature-desc { font-size: .82rem; color: var(--muted); line-height: 1.5; }

/* ---------- Payment strip ---------- */
.payments-strip {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border: 1px solid var(--surface2);
}
.payments-label { font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; flex-shrink: 0; }
.payments-strip img { height: 28px; width: auto; opacity: .7; filter: grayscale(1); transition: opacity .15s, filter .15s; }
.payments-strip img:hover { opacity: 1; filter: none; }

/* ---------- SEO article ---------- */
.seo-section { background: var(--dark2); padding: 60px 0; }
.seo-block {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}
.seo-block h1 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: var(--white); margin-bottom: 20px; line-height: 1.25; }
.seo-block h2 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 700; color: var(--white); margin: 36px 0 14px; line-height: 1.3; border-left: 3px solid var(--orange); padding-left: 12px; }
.seo-block h3 { font-size: 1rem; font-weight: 700; color: var(--orange); margin: 24px 0 10px; }
.seo-block p { font-size: .95rem; color: var(--text); line-height: 1.7; margin-bottom: 14px; }
.seo-block strong { color: var(--white); }
.seo-block em { color: var(--muted); font-style: italic; }
.seo-block a { color: var(--orange); }
.seo-block a:hover { text-decoration: underline; }
.seo-block ul, .seo-block ol { margin: 12px 0 16px 24px; }
.seo-block li { font-size: .93rem; color: var(--text); line-height: 1.65; margin-bottom: 6px; }
.seo-block table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: .88rem;
  table-layout: fixed;
}
.seo-block th { background: var(--dark); color: var(--orange); font-weight: 700; padding: 10px 12px; text-align: left; border: 1px solid var(--surface2); }
.seo-block td { padding: 9px 12px; border: 1px solid var(--surface2); color: var(--text); word-break: break-word; overflow-wrap: anywhere; }
.seo-block tr:nth-child(even) td { background: rgba(255,255,255,.03); }

@media (max-width: 560px) {
  .seo-block th, .seo-block td { font-size: .77rem; padding: 7px 7px; overflow-wrap: anywhere; }
}

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--surface2); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--white);
}
.faq-question .faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--orange);
  transition: transform .25s;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 0 16px; font-size: .92rem; color: var(--text); line-height: 1.65; }
.faq-answer.open { display: block; }

/* ---------- Breadcrumb ---------- */
.breadcrumb-bar {
  background: var(--dark2);
  border-bottom: 1px solid var(--surface);
  padding: 10px 0;
}
.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--orange); text-decoration: none; }
.breadcrumb-sep { color: var(--surface2); }
.breadcrumb-current { color: var(--text); }

/* ---------- Alt section bg ---------- */
.section--alt { background: var(--dark); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark3);
  border-top: 1px solid var(--surface);
  padding: 48px 0 24px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .footer-logo { margin-bottom: 14px; }
.footer-brand .footer-logo img { width: 117px; height: 20px; }
.footer-brand p { font-size: .83rem; color: var(--muted); line-height: 1.6; }
.footer-col-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: .85rem; color: var(--muted); transition: color .15s; }
.footer-col ul li a:hover { color: var(--orange); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--surface);
  padding-top: 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-copy { font-size: .78rem; color: var(--muted); }
.footer-age {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  color: var(--white);
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 320px; }
  .game-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .sports-board-header, .sports-row { padding: 10px 12px; }
  .odds-btn { min-width: 42px; font-size: .8rem; padding: 5px 7px; }
  .match-name { font-size: .82rem; }
}

/* ---------- Responsive overflow safety ---------- */
@media (max-width: 860px) {
  .promo-grid { grid-template-columns: 1fr; }
  .features-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .features-strip { grid-template-columns: 1fr; }
  .payments-strip { justify-content: center; }
}
