/* ============================================================
   OkBet App Download APK - okbetappdownloadapk.click
   Mobile-first stylesheet (320-430px phone canvas)
   Class prefix: shell37264-  |  Palette: #CD853F on #1A1A2E
   Design: humanist headings, outlined tile cards, segmented
   action buttons, tab-style top bar, layered bottom dock.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --shell37264-ink: #1A1A2E;        /* page base (deep navy) */
  --shell37264-ink-deep: #12121F;   /* behind the canvas */
  --shell37264-raise: #232338;      /* raised surface */
  --shell37264-raise2: #2C2C46;     /* higher surface / support blocks */
  --shell37264-gold: #CD853F;       /* peru gold accent */
  --shell37264-gold-soft: #E4A96B;  /* lighter gold for text on dark */
  --shell37264-paper: #F3ECDF;      /* primary light text */
  --shell37264-mist: #B7B1C6;       /* muted text */
  --shell37264-line: #4A4666;       /* outline strokes */
  --shell37264-good: #8CC98F;       /* positive accents */
  --shell37264-alert: #E0836F;      /* caution accents */
  --shell37264-ink-on-gold: #26190A;/* text on gold fills */
  --shell37264-r: 11px;             /* medium radius */
  --shell37264-r-sm: 8px;           /* small radius */
  --shell37264-head: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  --shell37264-body: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--shell37264-ink-deep);
  color: var(--shell37264-paper);
  font-family: var(--shell37264-body);
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
a { color: var(--shell37264-gold-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--shell37264-gold-soft);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Phone canvas ---------- */
.shell37264-canvas {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shell37264-ink);
  box-shadow: 0 0 46px rgba(0, 0, 0, 0.6);
  overflow-x: clip;
}

.shell37264-main {
  padding: 122px 0 calc(88px + env(safe-area-inset-bottom, 0px));
}

section { scroll-margin-top: 128px; }

/* ---------- Fixed header ---------- */
.shell37264-top {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  background: linear-gradient(180deg, #222240 0%, var(--shell37264-ink) 100%);
  border-bottom: 1px solid var(--shell37264-line);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.shell37264-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px 7px;
}

.shell37264-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--shell37264-paper);
}

.shell37264-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 9px;
  border: 1px solid var(--shell37264-line);
  object-fit: cover;
}

.shell37264-name {
  font-family: var(--shell37264-head);
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.2;
  letter-spacing: 0.015em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shell37264-acts { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }

/* Segmented Register / Login control */
.shell37264-duo {
  display: flex;
  border: 1px solid var(--shell37264-gold);
  border-radius: 999px;
  overflow: hidden;
}

.shell37264-duo-a,
.shell37264-duo-b {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 12.5px;
  font-weight: 700;
  transition: filter 0.18s ease, background 0.18s ease;
}

.shell37264-duo-a { background: var(--shell37264-gold); color: var(--shell37264-ink-on-gold); }
.shell37264-duo-b { background: transparent; color: var(--shell37264-gold-soft); }
.shell37264-duo-a:active,
.shell37264-duo-b:active { filter: brightness(1.15); }

.shell37264-burger {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--shell37264-line);
  border-radius: 10px;
  color: var(--shell37264-paper);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.shell37264-burger:active { transform: translateY(-2px); border-color: var(--shell37264-gold); }
.shell37264-burger svg { width: 20px; height: 20px; }

/* Tab strip under the brand row */
.shell37264-tabs {
  display: flex;
  gap: 6px;
  padding: 6px 12px 9px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.shell37264-tabs::-webkit-scrollbar { display: none; }

.shell37264-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--shell37264-line);
  background: var(--shell37264-raise);
  color: var(--shell37264-mist);
  font-size: 12px;
  white-space: nowrap;
}

.shell37264-tab:hover { color: var(--shell37264-paper); text-decoration: none; }

.shell37264-tab.shell37264-tab-on,
.shell37264-tab[aria-current="page"] {
  background: var(--shell37264-gold);
  border-color: var(--shell37264-gold);
  color: var(--shell37264-ink-on-gold);
  font-weight: 700;
}

/* Expandable navigation panel */
.shell37264-panel {
  background: var(--shell37264-raise);
  border-top: 1px solid var(--shell37264-line);
  padding: 8px 12px 14px;
}

.shell37264-panel-group { margin-top: 8px; }

.shell37264-panel-label {
  margin: 6px 2px 4px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell37264-mist);
  font-family: var(--shell37264-head);
}

.shell37264-panel-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }

.shell37264-panel-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 11px;
  border-radius: var(--shell37264-r-sm);
  border: 1px solid var(--shell37264-line);
  background: var(--shell37264-ink);
  color: var(--shell37264-paper);
  font-size: 12.5px;
  line-height: 1.3;
}

.shell37264-panel-links a.shell37264-panel-on {
  border-color: var(--shell37264-gold);
  background: var(--shell37264-raise2);
}

.shell37264-panel-links a:active { transform: translateY(-1px); }

/* ---------- Hero ---------- */
.shell37264-hero { padding: 16px 14px 6px; }

.shell37264-h1 {
  margin: 0 0 8px;
  font-family: var(--shell37264-head);
  font-size: 21px;
  line-height: 1.32;
  color: var(--shell37264-paper);
}

.shell37264-h1 em {
  font-style: normal;
  color: var(--shell37264-gold-soft);
}

.shell37264-lede {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--shell37264-mist);
}

.shell37264-lede strong { color: var(--shell37264-paper); font-weight: 600; }

/* Segmented hero CTA */
.shell37264-cta {
  display: flex;
  border: 1px solid var(--shell37264-gold);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
}

.shell37264-cta button {
  flex: 1 1 50%;
  min-height: 48px;
  font-size: 13.5px;
  font-weight: 700;
  transition: filter 0.18s ease;
}

.shell37264-cta-lead { background: var(--shell37264-gold); color: var(--shell37264-ink-on-gold); }
.shell37264-cta-next { background: transparent; color: var(--shell37264-gold-soft); }
.shell37264-cta button:active { filter: brightness(1.15); }

/* ---------- Promo carousel ---------- */
.shell37264-reel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--shell37264-r);
  -webkit-overflow-scrolling: touch;
}

.shell37264-reel::-webkit-scrollbar { display: none; }

.shell37264-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  border: 1px solid var(--shell37264-line);
  border-radius: var(--shell37264-r);
  overflow: hidden;
  background: var(--shell37264-raise);
}

.shell37264-slide img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.shell37264-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 10px 0 4px;
}

.shell37264-dot {
  width: 26px;
  height: 16px;
  display: grid;
  place-items: center;
}

.shell37264-dot i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--shell37264-line);
  transition: background 0.2s ease, transform 0.2s ease;
}

.shell37264-dot.shell37264-dot-on i {
  background: var(--shell37264-gold);
  transform: scale(1.25);
}

/* Fact chips */
.shell37264-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0 4px;
}

.shell37264-fact {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid var(--shell37264-line);
  border-radius: var(--shell37264-r-sm);
  background: var(--shell37264-raise);
}

.shell37264-fact svg { width: 17px; height: 17px; flex: 0 0 auto; color: var(--shell37264-gold-soft); }

.shell37264-fact b {
  display: block;
  font-size: 12px;
  color: var(--shell37264-paper);
  font-weight: 700;
  line-height: 1.3;
}

.shell37264-fact small { display: block; font-size: 10.5px; color: var(--shell37264-mist); line-height: 1.35; }

/* ---------- Generic section shell ---------- */
.shell37264-sec { padding: 22px 14px 2px; }

.shell37264-h2 {
  margin: 0 0 6px;
  font-family: var(--shell37264-head);
  font-size: 18.5px;
  line-height: 1.34;
  color: var(--shell37264-paper);
}

.shell37264-sechead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.shell37264-count {
  flex: 0 0 auto;
  margin-top: 3px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--shell37264-gold);
  color: var(--shell37264-gold-soft);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.shell37264-note {
  margin: 0 0 12px;
  font-size: 12.8px;
  line-height: 1.62;
  color: var(--shell37264-mist);
}

.shell37264-note a { text-decoration: underline; text-underline-offset: 2px; }

.shell37264-copy p { margin: 0 0 10px; font-size: 13.4px; line-height: 1.66; color: #DFD9EA; }
.shell37264-copy a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Game grid (outlined tile cards) ---------- */
.shell37264-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px 7px;
}

.shell37264-tile {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 7px 6px 8px;
  background: var(--shell37264-raise);
  border: 1px solid var(--shell37264-line);
  border-radius: var(--shell37264-r-sm);
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.shell37264-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  background: var(--shell37264-raise2);
  transition: transform 0.18s ease;
}

.shell37264-tile span {
  font-size: 10.6px;
  line-height: 1.28;
  color: var(--shell37264-paper);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.shell37264-tile:active {
  transform: translateY(-2px);
  border-color: var(--shell37264-gold);
  background: var(--shell37264-raise2);
}

.shell37264-tile:active img { transform: scale(1.05); }

/* ---------- Steps ---------- */
.shell37264-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }

.shell37264-step {
  display: flex;
  gap: 11px;
  padding: 11px 12px;
  border: 1px solid var(--shell37264-line);
  border-left: 3px solid var(--shell37264-gold);
  border-radius: var(--shell37264-r-sm);
  background: var(--shell37264-raise);
}

.shell37264-step b {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--shell37264-gold);
  color: var(--shell37264-ink-on-gold);
  font-family: var(--shell37264-head);
  font-size: 13px;
}

.shell37264-step p { margin: 0; font-size: 12.8px; line-height: 1.58; color: #DFD9EA; }
.shell37264-step strong { color: var(--shell37264-paper); }

/* ---------- Winners strip ---------- */
.shell37264-winstrip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.shell37264-winstrip::-webkit-scrollbar { display: none; }

.shell37264-win {
  flex: 0 0 auto;
  width: 148px;
  padding: 9px 11px;
  border: 1px solid var(--shell37264-line);
  border-radius: var(--shell37264-r-sm);
  background: var(--shell37264-raise);
}

.shell37264-win b {
  display: block;
  font-size: 11.5px;
  color: var(--shell37264-paper);
  font-weight: 700;
}

.shell37264-win span { display: block; font-size: 10.8px; color: var(--shell37264-mist); line-height: 1.4; }

.shell37264-win i {
  display: block;
  font-style: normal;
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--shell37264-gold-soft);
}

.shell37264-winlink {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 96px;
  border: 1px dashed var(--shell37264-gold);
  border-radius: var(--shell37264-r-sm);
  color: var(--shell37264-gold-soft);
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  padding: 8px;
}

.shell37264-winlink:active { background: var(--shell37264-raise2); }

/* ---------- Feature rows ---------- */
.shell37264-feats { display: grid; gap: 8px; }

.shell37264-feat {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 11px;
  border: 1px solid var(--shell37264-line);
  border-radius: var(--shell37264-r-sm);
  background: var(--shell37264-raise);
}

.shell37264-feat b {
  padding: 4px 6px;
  border-radius: 7px;
  background: var(--shell37264-raise2);
  color: var(--shell37264-gold-soft);
  font-size: 10.8px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
  line-height: 1.3;
}

.shell37264-feat p { margin: 0; font-size: 12.6px; line-height: 1.56; color: #DFD9EA; }
.shell37264-feat a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Quotes ---------- */
.shell37264-quotes { display: grid; gap: 9px; }

.shell37264-quote {
  padding: 11px 12px;
  border: 1px solid var(--shell37264-line);
  border-left: 3px solid var(--shell37264-gold);
  border-radius: var(--shell37264-r-sm);
  background: var(--shell37264-raise);
}

.shell37264-quote p { margin: 0 0 7px; font-size: 12.8px; line-height: 1.6; color: #E6E0F0; font-style: italic; }

.shell37264-quote footer {
  font-size: 10.8px;
  color: var(--shell37264-mist);
  font-style: normal;
}

.shell37264-quote footer b { color: var(--shell37264-gold-soft); }

/* ---------- Security checklist ---------- */
.shell37264-checks { display: grid; gap: 8px; }

.shell37264-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 11px;
  border: 1px solid var(--shell37264-line);
  border-radius: var(--shell37264-r-sm);
  background: var(--shell37264-raise);
}

.shell37264-check svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; color: var(--shell37264-good); }

.shell37264-check p { margin: 0; font-size: 12.6px; line-height: 1.56; color: #DFD9EA; }
.shell37264-check strong { color: var(--shell37264-paper); }
.shell37264-check a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Term list ---------- */
.shell37264-terms { display: grid; gap: 8px; }

.shell37264-term {
  padding: 10px 12px;
  border: 1px solid var(--shell37264-line);
  border-radius: var(--shell37264-r-sm);
  background: var(--shell37264-raise);
}

.shell37264-term dt {
  font-family: var(--shell37264-head);
  font-size: 13.2px;
  font-weight: 700;
  color: var(--shell37264-gold-soft);
  margin-bottom: 3px;
}

.shell37264-term dd { margin: 0; font-size: 12.6px; line-height: 1.56; color: #DFD9EA; }

/* ---------- Extended footer (homepage) ---------- */
.shell37264-xfoot {
  margin-top: 26px;
  padding: 20px 14px 8px;
  background: #16162B;
  border-top: 1px solid var(--shell37264-line);
}

.shell37264-xfoot-label {
  margin: 14px 0 8px;
  font-family: var(--shell37264-head);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--shell37264-mist);
}

.shell37264-xfoot-label:first-child { margin-top: 0; }

.shell37264-dir { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }

.shell37264-dir a {
  display: block;
  padding: 9px 10px;
  min-height: 44px;
  border: 1px solid var(--shell37264-line);
  border-radius: var(--shell37264-r-sm);
  background: var(--shell37264-raise);
  color: var(--shell37264-paper);
  font-size: 11.8px;
  line-height: 1.35;
}

.shell37264-dir a small { display: block; margin-top: 2px; font-size: 10.2px; color: var(--shell37264-mist); }

.shell37264-brandnote { margin: 0; font-size: 12.4px; line-height: 1.6; color: var(--shell37264-mist); }

.shell37264-promos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.shell37264-promo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 58px;
  padding: 9px 8px;
  border: 1px solid var(--shell37264-gold);
  border-radius: var(--shell37264-r-sm);
  background: linear-gradient(180deg, rgba(205,133,63,0.16), rgba(205,133,63,0.05));
  color: var(--shell37264-gold-soft);
  font-size: 11.6px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  transition: transform 0.18s ease, background 0.18s ease;
}

.shell37264-promo svg { width: 18px; height: 18px; }

.shell37264-promo:active { transform: translateY(-2px); background: rgba(205,133,63,0.24); }

.shell37264-promo--wide { grid-column: 1 / -1; flex-direction: row; gap: 8px; min-height: 48px; }

.shell37264-disclaim {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px dashed var(--shell37264-line);
  border-radius: var(--shell37264-r-sm);
  font-size: 10.8px;
  line-height: 1.55;
  color: var(--shell37264-mist);
}

/* ---------- Universal footer ---------- */
.shell37264-foot {
  padding: 18px 14px 10px;
  text-align: center;
  border-top: 1px solid var(--shell37264-line);
}

.shell37264-foot p { margin: 0; font-size: 11.5px; color: var(--shell37264-mist); }

/* ---------- Bottom dock (layered) ---------- */
.shell37264-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 80;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: linear-gradient(180deg, rgba(24,24,42,0.96), rgba(15,15,28,0.99));
  border-top: 1px solid var(--shell37264-line);
  box-shadow: 0 -8px 22px rgba(0,0,0,0.4);
  padding: 5px 4px calc(5px + env(safe-area-inset-bottom, 0px));
}

.shell37264-dock::before {
  /* thin gold ridge that layers above the bar edge */
  content: "";
  position: absolute;
  top: -1px;
  left: 18%;
  right: 18%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--shell37264-gold), transparent);
}

.shell37264-dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 4px 2px;
  border-radius: 12px;
  color: var(--shell37264-mist);
}

.shell37264-dock-item:hover { text-decoration: none; }

.shell37264-dock-ic {
  display: grid;
  place-items: center;
  width: 34px;
  height: 26px;
  border-radius: 9px;
  transition: transform 0.18s ease, background 0.18s ease;
}

.shell37264-dock-ic svg { width: 20px; height: 20px; }

.shell37264-dock-tx { font-size: 9.8px; letter-spacing: 0.02em; }

.shell37264-dock-item:active .shell37264-dock-ic { transform: translateY(-3px); }

.shell37264-dock-item.shell37264-is-on { color: var(--shell37264-gold-soft); font-weight: 700; }

.shell37264-dock-item.shell37264-is-on .shell37264-dock-ic {
  /* background support block behind the active glyph */
  background: var(--shell37264-raise2);
  box-shadow: inset 0 0 0 1px var(--shell37264-line);
}

.shell37264-dock-item.shell37264-dock-promo { color: var(--shell37264-gold-soft); }

.shell37264-dock-item.shell37264-dock-promo .shell37264-dock-ic svg { filter: drop-shadow(0 1px 2px rgba(205,133,63,0.45)); }

/* ---------- Utilities ---------- */
.shell37264-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.shell37264-rule {
  height: 1px;
  margin: 20px 14px 4px;
  background: linear-gradient(90deg, transparent, var(--shell37264-line), transparent);
  border: 0;
}

/* ---------- Breakpoints inside the phone canvas ---------- */
@media (min-width: 375px) {
  .shell37264-grid { grid-template-columns: repeat(5, 1fr); gap: 11px 9px; }
  .shell37264-h1 { font-size: 22.5px; }
  .shell37264-h2 { font-size: 19.5px; }
  .shell37264-tile span { font-size: 11px; }
  .shell37264-name { font-size: 14.5px; }
}

@media (min-width: 430px) {
  .shell37264-canvas { border-left: 1px solid var(--shell37264-line); border-right: 1px solid var(--shell37264-line); }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
