/* netbetguatemala.com — app shell
   ITCSS: settings > generic > objects (o-) > components (c-) > utilities (u-) */

/* ---------- settings ---------- */
:root {
  --ink: #010718;
  --night: #030b22;
  --deck: #0a1229;
  --panel: #121c35;
  --panel-hi: #1a2645;
  --well: #0d1530;
  --line: rgba(220, 230, 240, .08);
  --line-hi: rgba(220, 230, 240, .16);
  --text: #f3f3f3;
  --soft: #c5cee0;
  --mute: #8a97ad;
  --red: #eb2743;
  --red-deep: #b8162f;
  --red-ink: #ff6b80;
  --gold: #f8d34f;
  --rail-w: 252px;
  --tab-h: 64px;
  --radius: 16px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- generic ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* ---------- objects ---------- */
.o-body {
  background: var(--night);
  color: var(--soft);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
.o-shell { min-height: 100vh; }
.o-main {
  min-width: 0;
  background: var(--deck);
  padding-bottom: calc(var(--tab-h) + 12px);
}
.o-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 14px 8px;
}

/* ---------- rail (sidebar on desktop / sheet on mobile) ---------- */
.c-rail {
  position: fixed;
  z-index: 60;
  left: 0; right: 0; bottom: 0;
  max-height: 86vh;
  overflow-y: auto;
  background: var(--night);
  border-top: 1px solid var(--line-hi);
  border-radius: 20px 20px 0 0;
  padding: 14px 14px calc(var(--tab-h) + 18px);
  transform: translateY(105%);
  transition: transform .28s ease;
  scrollbar-width: thin;
  scrollbar-color: #2e396c transparent;
}
.is-sheet .c-rail { transform: none; }
.c-scrim {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(1, 7, 24, .7);
}
.c-rail__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.c-rail__brand img { width: 137px; height: 24px; }
.c-rail__close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 0; border-radius: 10px;
  background: var(--panel); cursor: pointer;
}
.c-rail__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 6px; }
.c-rail__big {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; border-radius: 10px;
  background: var(--panel); color: var(--text);
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: background .2s;
}
.c-rail__big img { width: 26px; height: 26px; }
.c-rail__big:hover { background: var(--panel-hi); }
.c-rail__big.is-on { background: linear-gradient(180deg, var(--red), var(--red-deep)); }
.c-rail__label {
  margin: 16px 6px 4px; padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--mute);
}
.c-rail__list { list-style: none; margin: 0; padding: 0; }
.c-rail__link {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 10px; border-radius: 10px;
  color: var(--soft); text-decoration: none; font-size: 14.5px; font-weight: 500;
}
.c-rail__link:hover { background: var(--panel); color: var(--text); }
.c-rail__link[aria-current="page"] { background: var(--panel); color: var(--text); box-shadow: inset 3px 0 0 var(--red); }
.c-rail__link .c-svg, .c-rail__link .c-pic { flex: 0 0 22px; width: 22px; height: 22px; color: #9aa7bd; }
.c-rail__note {
  margin-top: 18px; padding: 14px;
  border-radius: 12px; background: var(--ink); border: 1px solid var(--line);
  font-size: 12.5px; line-height: 1.5; color: var(--mute);
}
.c-rail__note p { margin: 0; }
.c-rail__note p + p { margin-top: 8px; }
.c-rail__note-main { color: var(--text); font-weight: 700; font-size: 13px; }
.c-age {
  display: inline-block; padding: 1px 6px; margin-right: 4px;
  border: 1.5px solid var(--red); border-radius: 6px;
  color: var(--text); font-weight: 800; font-size: 11px; line-height: 1.4;
}

/* ---------- pills (buttons) ---------- */
.c-pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 20px; border-radius: 999px;
  background: linear-gradient(180deg, var(--red), var(--red-deep));
  color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(235, 39, 67, .28);
  transition: filter .2s, transform .2s;
}
.c-pill:hover { filter: brightness(1.08); transform: translateY(-1px); }
.c-pill--block { display: flex; width: 100%; }
.c-pill--sm { min-height: 34px; padding: 0 14px; font-size: 13px; }
.c-pill--ghost { background: rgba(255, 255, 255, .08); box-shadow: none; color: var(--text); font-weight: 600; }
.c-pill--ghost:hover { background: rgba(255, 255, 255, .14); }

/* ---------- topbar ---------- */
.c-topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 8px 14px;
  background: rgba(3, 11, 34, .92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.c-topbar__brand img { width: 104px; height: 18px; }
.c-topbar .c-pill { margin-left: auto; }
.c-topbar__hint { display: none; margin: 0; font-size: 13px; color: var(--mute); font-weight: 500; }
.c-trail { display: none; font-size: 13px; color: var(--mute); min-width: 0; }
.c-trail a { color: var(--soft); text-decoration: none; }
.c-trail a:hover { color: var(--text); }
.c-trail__sep { margin: 0 8px; color: #4a5672; }
.c-trail [aria-current] { color: var(--text); font-weight: 600; }

/* ---------- tabbar (mobile) ---------- */
.c-tabbar {
  position: fixed; z-index: 70; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: var(--tab-h); padding-bottom: env(safe-area-inset-bottom);
  background: var(--ink); border-top: 1px solid var(--line-hi);
}
.c-tabbar__item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  border: 0; background: none; cursor: pointer;
  color: var(--mute); text-decoration: none; font-size: 11px; font-weight: 600;
}
.c-tabbar__item .c-svg, .c-tabbar__item .c-pic { width: 24px; height: 24px; }
.c-tabbar__item[aria-current="page"], .c-tabbar__item[aria-expanded="true"] { color: var(--text); }
.c-tabbar__item[aria-current="page"]::after {
  content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--red); margin-top: 1px;
}

/* ---------- play cards (home) ---------- */
.c-play { display: grid; gap: 12px; }
.c-play__card {
  position: relative; overflow: hidden;
  min-height: 250px; padding: 22px 20px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
}
.c-play__card > :not(.c-play__art):not(.c-play__stage) { position: relative; z-index: 2; max-width: 58%; }
.c-play__kicker {
  margin: 0; color: var(--text);
  font-size: 23px; line-height: 1.1; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em;
}
.c-play__line { margin: 0; font-size: 13.5px; color: var(--soft); font-weight: 500; }
.c-play__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.c-play__art {
  position: absolute; z-index: 1; right: -10px; bottom: -12px;
  width: 42%; max-width: 250px; height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .45));
}
.c-play__stage { position: absolute; z-index: 1; right: 0; bottom: 0; width: 48%; height: 100%; }
.c-play__tile {
  position: absolute; right: 18%; top: 22%;
  width: 62%; aspect-ratio: 1; max-width: 170px;
  border-radius: 22px; background: linear-gradient(160deg, var(--red), var(--red-deep));
  transform: rotate(-12deg);
}
.c-play__tile--b { right: -6%; top: 46%; width: 42%; max-width: 120px; opacity: .55; transform: rotate(18deg); }
.c-play__ball { position: absolute; right: 26%; top: 30%; width: 92px; height: 92px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .5)); }
.c-play__mini { position: absolute; width: 36px; height: 36px; }
.c-play__mini--a { right: 10%; top: 16%; }
.c-play__mini--b { right: 8%; top: 76%; }

/* ---------- lobby chips ---------- */
.c-lobby { margin: 14px 0 6px; }
.c-lobby__cap { margin: 0 4px 8px; font-size: 13px; color: var(--mute); font-weight: 500; }
.c-lobby__row {
  display: flex; gap: 6px; overflow-x: auto;
  padding: 6px; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line);
  scrollbar-width: none;
}
.c-lobby__row::-webkit-scrollbar { display: none; }
.c-lobby__chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
  min-height: 38px; padding: 0 16px; border: 0; border-radius: 999px;
  background: transparent; color: var(--soft); font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.c-lobby__chip img { width: 18px; height: 18px; }
.c-lobby__chip:hover { color: var(--text); }
.c-lobby__chip[aria-selected="true"] { background: #2a3555; color: var(--text); }
.c-lobby__pane {
  margin-top: 8px; padding: 14px 18px;
  border-radius: 14px; background: var(--well); border: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
}
.c-lobby__pane p { margin: 0; color: var(--soft); font-size: 15px; }
.c-lobby__pane strong { color: var(--text); }
.c-lobby__block {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red-ink);
}

/* ---------- article cards ---------- */
.c-article { margin-top: 16px; }
.c-card {
  margin: 0 0 12px; padding: 20px 18px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
}
.c-card--lead {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(235, 39, 67, .22), transparent 55%),
    linear-gradient(180deg, var(--panel-hi), var(--panel));
}
.c-card h1 {
  margin: 0 0 12px; color: var(--text);
  font-size: 25px; line-height: 1.22; font-weight: 800; letter-spacing: -.015em;
}
.c-card h2 {
  margin: 0 0 12px; color: var(--text);
  font-size: 20px; line-height: 1.3; font-weight: 700;
}
.c-card h2::after {
  content: ""; display: block; width: 32px; height: 3px; margin-top: 8px;
  border-radius: 3px; background: var(--red);
}
.c-card h3 { margin: 18px 0 6px; color: var(--text); font-size: 16.5px; line-height: 1.35; font-weight: 700; }
.c-card p { margin: 0 0 12px; }
.c-card p:last-child, .c-card ul:last-child, .c-card ol:last-child { margin-bottom: 0; }
.c-card strong { color: var(--text); font-weight: 600; }
.c-card ul { margin: 0 0 12px; padding-left: 0; list-style: none; }
.c-card ul li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.c-card ul li::before {
  content: ""; position: absolute; left: 3px; top: .62em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--red); transform: rotate(45deg);
}
.c-card a:not(.c-pill) { color: var(--red-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.c-card a:not(.c-pill):hover { color: #fff; }

/* split: text + art */
.c-split { display: flex; flex-direction: column; gap: 16px; }
.c-split__txt { min-width: 0; }
.c-split__art { width: 150px; align-self: center; filter: drop-shadow(0 10px 26px rgba(0, 0, 0, .45)); }
.c-split__icon {
  align-self: flex-start; padding: 14px; box-sizing: content-box;
  border-radius: 16px; background: var(--well); border: 1px solid var(--line);
}

/* steps */
.c-steps { list-style: none; margin: 0 0 12px; padding: 0; counter-reset: none; }
.c-steps__item {
  display: flex; flex-direction: column; gap: 6px;
  padding: 12px 14px; margin-bottom: 8px;
  border-radius: 12px; background: var(--well); border: 1px solid var(--line);
}
.c-steps__num {
  align-self: flex-start;
  padding: 2px 10px; border-radius: 999px;
  background: rgba(235, 39, 67, .14); color: var(--red-ink);
  font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.c-steps__txt { color: var(--soft); }

/* tables */
.c-scroll { overflow-x: auto; margin: 0 0 12px; border-radius: 12px; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.c-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 14.5px; }
.c-table th {
  text-align: left; padding: 11px 14px;
  background: var(--well); color: var(--mute);
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.c-table td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.c-table td:first-child { color: var(--text); font-weight: 600; }
.c-table tbody tr:hover td { background: rgba(255, 255, 255, .02); }
.c-table--ico td:first-child { white-space: nowrap; }
.c-ico { display: inline-block; vertical-align: middle; width: 28px; height: 28px; margin-right: 8px; }
.c-table--levels tbody tr:last-child td { color: var(--gold); }
.c-tag {
  display: inline-block; padding: 1px 9px; border-radius: 999px;
  border: 1px solid rgba(235, 39, 67, .5); color: var(--red-ink);
  font-size: 12.5px; font-weight: 600; white-space: nowrap;
}

/* payment logos */
.c-paygrid { list-style: none; margin: 4px 0 14px !important; padding: 0 !important; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.c-paygrid__item {
  padding: 8px 10px 10px !important; margin: 0 !important;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  border-radius: 12px; background: var(--well); border: 1px solid var(--line);
  font-size: 12px; font-weight: 600; color: var(--mute); text-align: center;
}
.c-paygrid__item::before { content: none !important; }
.c-paygrid__item img { width: 92px; height: 56px; }

/* game tiles */
.c-tiles { display: flex; flex-wrap: wrap; gap: 12px; margin: 4px 0 14px; }
.c-tiles__item { margin: 0; width: 150px; }
.c-tiles__item img { width: 150px; height: 202px; border-radius: 12px; box-shadow: 0 8px 22px rgba(0, 0, 0, .4); }
.c-tiles__item figcaption { margin-top: 6px; font-size: 12.5px; color: var(--mute); font-weight: 500; }

/* bonus badge */
.c-badge {
  align-self: center; flex: 0 0 auto;
  width: 200px; padding: 22px 16px; border-radius: 24px;
  background: linear-gradient(160deg, var(--red), var(--red-deep));
  transform: rotate(-4deg);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  box-shadow: 0 16px 36px rgba(235, 39, 67, .3);
}
.c-badge__big { color: #fff; font-size: 46px; line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.c-badge__sub { color: rgba(255, 255, 255, .9); font-size: 12.5px; font-weight: 600; }

/* seal */
.c-seal {
  align-self: flex-start; display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 20px; border-radius: 16px; background: var(--well); border: 1px solid var(--line);
}
.c-seal span { font-size: 12px; font-weight: 700; color: var(--text); letter-spacing: .03em; }

/* phone mock */
.c-phone {
  align-self: center; flex: 0 0 auto;
  width: 150px; height: 270px; padding: 10px;
  border-radius: 28px; background: #000; border: 2px solid #2e396c;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
}
.c-phone__screen {
  position: relative; height: 100%; border-radius: 20px; padding: 16px 12px;
  background: linear-gradient(180deg, var(--night), var(--panel));
  display: flex; flex-direction: column; gap: 10px;
}
.c-phone__screen img { width: 96px; height: 17px; }
.c-phone__bar { display: block; height: 52px; border-radius: 10px; background: linear-gradient(120deg, var(--red), var(--red-deep)); }
.c-phone__bar--s { height: 26px; background: var(--panel-hi); }
.c-phone__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.c-phone__row i { height: 40px; border-radius: 8px; background: #26314f; }
.c-phone__tabs { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; justify-content: space-around; }
.c-phone__tabs i { width: 12px; height: 12px; border-radius: 4px; background: #3a4666; }
.c-phone__tabs i:first-child { background: var(--red); }

/* guides grid */
.c-guides { display: grid; gap: 10px; }
.c-guide { padding: 14px 16px; border-radius: 12px; background: var(--well); border: 1px solid var(--line); }
.c-guide h3 { margin: 4px 0 6px; }
.c-guide p { margin: 0; font-size: 14.5px; }
.c-guide__n { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red-ink); }
.c-card .c-guide h3 a { color: var(--text); text-decoration: none; }
.c-card .c-guide h3 a:hover { color: var(--red-ink); }

/* questions */
.c-qa { padding: 12px 0; border-top: 1px solid var(--line); }
.c-qa:first-of-type { border-top: 0; padding-top: 0; }
.c-qa h3 { margin: 0 0 4px; }
.c-qa p { margin: 0; }

/* go card */
.c-card--go {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  background: linear-gradient(120deg, rgba(235, 39, 67, .16), rgba(18, 28, 53, 1) 60%);
  border-color: rgba(235, 39, 67, .35);
}
.c-card__go-txt { margin: 0 !important; color: var(--text); font-weight: 600; }

/* 404 */
.c-lost__code { margin: 0 0 4px !important; font-size: 64px; line-height: 1; font-weight: 800; color: var(--red); letter-spacing: -.04em; }
.c-lost__go li { margin-bottom: 10px; }

/* ---------- footer ---------- */
.c-foot {
  max-width: 1120px; margin: 8px auto 0; padding: 22px 14px 18px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--mute);
}
.c-foot__seals { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-bottom: 14px; }
.c-foot__seals img { filter: brightness(1.6); opacity: .85; }
.c-foot__warn { margin: 0 0 12px; line-height: 1.55; }
.c-foot__links { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.c-foot__links a { color: var(--soft); text-decoration: none; }
.c-foot__links a:hover { color: var(--text); }
.c-foot__copy { margin: 0; font-weight: 600; color: #6b7891; }

/* ---------- utilities ---------- */
.u-hidden { display: none !important; }

/* ---------- breakpoints ---------- */
@media (min-width: 560px) {
  .c-paygrid { grid-template-columns: repeat(4, 1fr); }
  .c-card--go { flex-direction: row; align-items: center; justify-content: space-between; }
  .c-guides { grid-template-columns: 1fr 1fr; }
  .c-steps__item { flex-direction: row; align-items: baseline; gap: 14px; }
  .c-steps__num { flex: 0 0 auto; }
}

@media (min-width: 768px) {
  .o-wrap { padding: 22px 24px 8px; }
  .c-topbar { padding: 10px 24px; }
  .c-topbar__hint, .c-trail { display: block; }
  .c-play { grid-template-columns: 1fr 1fr; }
  .c-play__card { min-height: 320px; padding: 26px 24px; }
  .c-play__kicker { font-size: 27px; }
  .c-card { padding: 26px 28px; }
  .c-card h1 { font-size: 31px; }
  .c-card h2 { font-size: 22px; }
  .c-split { flex-direction: row; align-items: center; gap: 28px; }
  .c-split__txt { flex: 1 1 auto; }
  .c-split__art { width: 190px; flex: 0 0 auto; }
  .c-foot { padding: 26px 24px 22px; }
}

@media (min-width: 1024px) {
  .o-main { margin-left: var(--rail-w); padding-bottom: 0; }
  .c-rail {
    top: 0; right: auto; bottom: 0;
    width: var(--rail-w); max-height: none;
    border-top: 0; border-right: 1px solid var(--line);
    border-radius: 0; padding: 16px 14px 18px;
    transform: none; transition: none;
  }
  .c-rail__close, .c-scrim, .c-tabbar, .c-topbar__brand { display: none !important; }
  .c-topbar .c-pill { display: none; }
  .c-topbar { min-height: 60px; }
  .c-play__card { min-height: 340px; }
  .c-play__kicker { font-size: 30px; }
  .c-play__art { width: 40%; max-width: 270px; right: -6px; }
  .c-play__card > :not(.c-play__art):not(.c-play__stage) { max-width: 54%; }
}
