/* ============================================================
   23Win Com - Mobile-first display layer
   Prefix: shell62b12-  |  Design tone: humanist title, small
   radius high density, grouped cover cards, restrained fades,
   square high-contrast CTA buttons.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --shell62b12-ink: #0D1117;          /* deep base background */
  --shell62b12-ink-2: #131A24;        /* raised surface */
  --shell62b12-ink-3: #1B2430;        /* card surface */
  --shell62b12-ink-4: #243140;        /* hairline / hover */
  --shell62b12-paper: #EEEEEE;        /* primary text on dark */
  --shell62b12-paper-dim: #C4CBD4;    /* secondary text */
  --shell62b12-amber: #F4A460;        /* primary accent (SandyBrown) */
  --shell62b12-rose: #BC8F8F;         /* secondary accent (RosyBrown) */
  --shell62b12-wheat: #F5DEB3;        /* highlight tone (Wheat) */
  --shell62b12-good: #6FB98F;
  --shell62b12-warn: #E2A03F;
  --shell62b12-bad: #E06C75;
  --shell62b12-radius-sm: 3px;
  --shell62b12-radius: 6px;
  --shell62b12-radius-lg: 10px;
  --shell62b12-touch: 44px;
  --shell62b12-edge: 430px;           /* phone canvas width cap (literal 430) */
  --shell62b12-gutter: 12px;
  --shell62b12-fast: 160ms;
  --shell62b12-mid: 280ms;
  --shell62b12-humanist: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", serif;
  --shell62b12-clean: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body {
  margin: 0;
  padding: 0;
  background: #06090E;
  color: var(--shell62b12-paper);
  font-family: var(--shell62b12-clean);
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--shell62b12-wheat); text-decoration: none; }
a:hover { color: var(--shell62b12-amber); }
button { font-family: inherit; cursor: pointer; }
:focus-visible {
  outline: 2px solid var(--shell62b12-amber);
  outline-offset: 2px;
  border-radius: 2px;
}
h1, h2, h3, h4 { font-family: var(--shell62b12-humanist); font-weight: 600; color: var(--shell62b12-wheat); letter-spacing: .1px; }
p { margin: 0 0 .9em; }

/* ---------- Phone canvas ---------- */
.shell62b12-stage {
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(244,164,96,.10), transparent 60%),
    linear-gradient(180deg, #08101A 0%, #06090E 40%, #05080C 100%);
  display: flex;
  justify-content: center;
}
.shell62b12-app {
  position: relative;
  width: 100%;
  max-width: var(--shell62b12-edge);
  min-height: 100vh;
  background: var(--shell62b12-ink);
  box-shadow: 0 0 60px rgba(0,0,0,.6);
  overflow: hidden;
}
@media (min-width: 480px) {
  .shell62b12-app { border-left: 1px solid #1d2733; border-right: 1px solid #1d2733; }
}

/* ---------- Header ---------- */
.shell62b12-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px var(--shell62b12-gutter);
  background: linear-gradient(180deg, rgba(13,17,23,.96), rgba(13,17,23,.88));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--shell62b12-ink-4);
}
.shell62b12-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex: 1;
}
.shell62b12-brand img.shell62b12-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 6px;
  background: #0b0f15;
  flex: 0 0 auto;
}
.shell62b12-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}
.shell62b12-brand-text .shell62b12-brand-name {
  font-family: var(--shell62b12-humanist);
  font-weight: 700;
  font-size: 17px;
  color: var(--shell62b12-wheat);
  letter-spacing: .3px;
}
.shell62b12-brand-text .shell62b12-brand-sub {
  font-size: 10.5px;
  color: var(--shell62b12-amber);
  letter-spacing: .8px;
  text-transform: uppercase;
}
.shell62b12-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

/* ---------- CTA buttons (square high-contrast) ---------- */
.shell62b12-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: var(--shell62b12-touch);
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 0;            /* square CTA */
  background: var(--shell62b12-amber);
  color: #1a1208;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .2px;
  transition: filter var(--shell62b12-fast) ease, transform var(--shell62b12-fast) ease;
}
.shell62b12-btn:hover { filter: brightness(1.08); color: #1a1208; }
.shell62b12-btn:active { transform: translateY(1px); }
.shell62b12-btn--ghost {
  background: transparent;
  color: var(--shell62b12-wheat);
  border: 1px solid var(--shell62b12-ink-4);
}
.shell62b12-btn--ghost:hover { color: var(--shell62b12-amber); border-color: var(--shell62b12-amber); }
.shell62b12-btn--sm { min-height: 38px; padding: 0 12px; font-size: 13px; }
.shell62b12-btn--block { width: 100%; }
.shell62b12-btn--wheat { background: var(--shell62b12-wheat); color: #2a2113; }

.shell62b12-iconbtn {
  width: var(--shell62b12-touch);
  height: var(--shell62b12-touch);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
  border: 1px solid var(--shell62b12-ink-4);
  color: var(--shell62b12-wheat);
}
.shell62b12-iconbtn:hover { color: var(--shell62b12-amber); border-color: var(--shell62b12-amber); }
.shell62b12-iconbtn svg { width: 20px; height: 20px; }

/* ---------- Slide-up route panel ---------- */
.shell62b12-menu {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  max-width: var(--shell62b12-edge);
  margin: 0 auto;
  background: var(--shell62b12-ink-2);
  border-top: 1px solid var(--shell62b12-ink-4);
  border-radius: 14px 14px 0 0;
  padding: 14px var(--shell62b12-gutter) calc(14px + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform var(--shell62b12-mid) cubic-bezier(.22,.61,.36,1);
  max-height: 78vh;
  overflow-y: auto;
  box-shadow: 0 -18px 40px rgba(0,0,0,.45);
}
.shell62b12-menu[data-open="true"] { transform: translateY(0); }
.shell62b12-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.shell62b12-menu-head h3 { margin: 0; font-size: 15px; color: var(--shell62b12-wheat); }
.shell62b12-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.shell62b12-menu-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  background: var(--shell62b12-ink-3);
  border: 1px solid transparent;
  border-radius: var(--shell62b12-radius);
  color: var(--shell62b12-paper);
  font-size: 13.5px;
  min-height: 44px;
}
.shell62b12-menu-item span { opacity: .9; }
.shell62b12-menu-item:hover { border-color: var(--shell62b12-amber); color: var(--shell62b12-wheat); }
.shell62b12-menu-item small { display: block; color: var(--shell62b12-paper-dim); font-size: 11px; }

.shell62b12-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(3,6,10,.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--shell62b12-mid) ease;
}
.shell62b12-scrim[data-open="true"] { opacity: 1; pointer-events: auto; }

/* ---------- Page wrapper ---------- */
.shell62b12-main {
  padding: 14px var(--shell62b12-gutter) 0;
  padding-bottom: calc(96px + env(safe-area-inset-bottom)); /* clearance for bottom dock */
}

/* ---------- Hero / carousel ---------- */
.shell62b12-hero {
  position: relative;
  border-radius: var(--shell62b12-radius-lg);
  overflow: hidden;
  background: #0a0e14;
  border: 1px solid var(--shell62b12-ink-4);
}
.shell62b12-hero-track {
  display: flex;
  transition: transform var(--shell62b12-mid) ease;
}
.shell62b12-hero-slide {
  min-width: 100%;
  position: relative;
}
.shell62b12-hero-slide img {
  width: 100%;
  height: 178px;
  object-fit: cover;
  filter: brightness(.86) saturate(1.05);
}
.shell62b12-hero-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 12px var(--shell62b12-gutter) 14px;
  background: linear-gradient(0deg, rgba(8,12,18,.92), rgba(8,12,18,.15) 80%, transparent);
}
.shell62b12-hero-cap h2 {
  margin: 0 0 4px;
  font-size: 17px;
  color: var(--shell62b12-wheat);
}
.shell62b12-hero-cap p { margin: 0 0 9px; font-size: 12.5px; color: var(--shell62b12-paper-dim); }
.shell62b12-hero-dots {
  position: absolute;
  top: 9px;
  right: 10px;
  display: flex;
  gap: 5px;
}
.shell62b12-hero-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(245,222,179,.45);
  border: none;
  padding: 0;
}
.shell62b12-hero-dot[aria-current="true"] { background: var(--shell62b12-amber); }

/* ---------- Section frame ---------- */
.shell62b12-section { margin-top: 22px; }
.shell62b12-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--shell62b12-ink-4);
  position: relative;
}
.shell62b12-section-head::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 42px; height: 2px;
  background: var(--shell62b12-amber);
}
.shell62b12-section-head h2 {
  margin: 0;
  font-size: 18px;
  color: var(--shell62b12-wheat);
}
.shell62b12-section-head .shell62b12-tag {
  font-size: 10.5px;
  color: var(--shell62b12-paper-dim);
  letter-spacing: .8px;
  text-transform: uppercase;
}
.shell62b12-lede {
  font-size: 13.5px;
  color: var(--shell62b12-paper-dim);
  margin: 0 0 12px;
}

/* ---------- H1 block ---------- */
.shell62b12-h1wrap { margin: 4px 0 14px; }
.shell62b12-h1wrap h1 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.22;
  color: var(--shell62b12-wheat);
}
.shell62b12-h1wrap .shell62b12-sub {
  font-size: 13px;
  color: var(--shell62b12-paper-dim);
}

/* ---------- Game grid (grouped cover cards) ---------- */
.shell62b12-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (min-width: 360px) { .shell62b12-grid { gap: 9px; } }
@media (min-width: 395px) { .shell62b12-grid { grid-template-columns: repeat(5, 1fr); } }

.shell62b12-card {
  position: relative;
  background: var(--shell62b12-ink-3);
  border: 1px solid var(--shell62b12-ink-4);
  border-radius: var(--shell62b12-radius);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform var(--shell62b12-fast) ease, border-color var(--shell62b12-fast) ease;
}
.shell62b12-card:hover { transform: translateY(-2px); border-color: var(--shell62b12-amber); }
.shell62b12-card-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #0b0f15;
}
.shell62b12-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shell62b12-card-name {
  font-size: 10.5px;
  line-height: 1.25;
  padding: 5px 4px 6px;
  color: var(--shell62b12-paper-dim);
  min-height: 30px;
  word-break: break-word;
}
.shell62b12-card[data-hot="true"]::before {
  content: "HOT";
  position: absolute;
  top: 4px; left: 4px;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: .5px;
  padding: 2px 5px;
  background: var(--shell62b12-bad);
  color: #fff;
  border-radius: 2px;
  z-index: 2;
}

/* Group label inside a category */
.shell62b12-cat-note {
  font-size: 11.5px;
  color: var(--shell62b12-paper-dim);
  margin: 0 0 9px;
}
.shell62b12-cat-note a { color: var(--shell62b12-amber); border-bottom: 1px dashed var(--shell62b12-rose); }

/* ---------- Content modules (features, guide, payment...) ---------- */
.shell62b12-module {
  background: var(--shell62b12-ink-2);
  border: 1px solid var(--shell62b12-ink-4);
  border-radius: var(--shell62b12-radius-lg);
  padding: 14px;
  margin-top: 12px;
}
.shell62b12-module > h2 {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--shell62b12-wheat);
}
.shell62b12-module > h3 {
  margin: 14px 0 6px;
  font-size: 13.5px;
  color: var(--shell62b12-amber);
}
.shell62b12-module p { font-size: 13.5px; color: var(--shell62b12-paper-dim); }

.shell62b12-list { margin: 0; padding-left: 18px; }
.shell62b12-list li { font-size: 13px; color: var(--shell62b12-paper-dim); margin-bottom: 6px; }
.shell62b12-list li::marker { color: var(--shell62b12-amber); }

/* Feature compare rows */
.shell62b12-rows { display: flex; flex-direction: column; gap: 8px; }
.shell62b12-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding: 9px 10px;
  background: var(--shell62b12-ink-3);
  border-left: 3px solid var(--shell62b12-amber);
  border-radius: var(--shell62b12-radius-sm);
}
.shell62b12-row .shell62b12-row-k { font-size: 11px; letter-spacing: .6px; text-transform: uppercase; color: var(--shell62b12-rose); font-weight: 700; }
.shell62b12-row .shell62b12-row-v { font-size: 12.8px; color: var(--shell62b12-paper); line-height: 1.45; }

/* Steps (game selection / payment) */
.shell62b12-steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.shell62b12-steps li {
  position: relative;
  padding: 8px 10px 8px 38px;
  margin-bottom: 8px;
  background: var(--shell62b12-ink-3);
  border-radius: var(--shell62b12-radius);
  font-size: 12.8px;
  color: var(--shell62b12-paper-dim);
}
.shell62b12-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 9px; top: 9px;
  width: 22px; height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--shell62b12-amber);
  color: #1a1208;
  font-weight: 800;
  font-size: 12px;
  border-radius: 2px;
}
.shell62b12-steps li b { color: var(--shell62b12-wheat); font-weight: 600; }

/* Testimonials */
.shell62b12-quotes { display: flex; flex-direction: column; gap: 9px; }
.shell62b12-quote {
  padding: 11px 12px;
  background: var(--shell62b12-ink-3);
  border: 1px solid var(--shell62b12-ink-4);
  border-radius: var(--shell62b12-radius);
}
.shell62b12-quote p { margin: 0 0 6px; font-size: 12.8px; color: var(--shell62b12-paper); font-style: italic; }
.shell62b12-quote .shell62b12-quote-meta {
  font-size: 11px; color: var(--shell62b12-rose); letter-spacing: .4px;
}

/* Key takeaways chips */
.shell62b12-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.shell62b12-chip {
  font-size: 11.5px;
  padding: 6px 9px;
  background: var(--shell62b12-ink-3);
  border: 1px solid var(--shell62b12-ink-4);
  color: var(--shell62b12-paper);
  border-radius: var(--shell62b12-radius-sm);
}
.shell62b12-chip b { color: var(--shell62b12-amber); }

/* Requirement table */
.shell62b12-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.shell62b12-table th, .shell62b12-table td {
  text-align: left;
  padding: 8px 9px;
  border-bottom: 1px solid var(--shell62b12-ink-4);
  vertical-align: top;
  color: var(--shell62b12-paper-dim);
}
.shell62b12-table th { color: var(--shell62b12-amber); font-weight: 700; font-size: 11.5px; letter-spacing: .4px; text-transform: uppercase; }
.shell62b12-table td b { color: var(--shell62b12-wheat); }

/* Inline promo text link */
.shell62b12-promoline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--shell62b12-amber);
  border-bottom: 1px dashed var(--shell62b12-amber);
  font-weight: 600;
}
.shell62b12-promoline:hover { color: var(--shell62b12-wheat); }

/* ---------- Extended footer ---------- */
.shell62b12-ext {
  margin-top: 22px;
  background: linear-gradient(180deg, #0E1620, #0a0f17);
  border: 1px solid var(--shell62b12-ink-4);
  border-radius: var(--shell62b12-radius-lg);
  overflow: hidden;
}
.shell62b12-ext-promo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  padding: 12px;
  border-bottom: 1px solid var(--shell62b12-ink-4);
}
.shell62b12-ext-promo .shell62b12-mini {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 10px;
  background: var(--shell62b12-ink-3);
  border-left: 2px solid var(--shell62b12-amber);
  border-radius: var(--shell62b12-radius-sm);
  font-size: 12px;
  color: var(--shell62b12-paper);
}
.shell62b12-ext-promo .shell62b12-mini b { color: var(--shell62b12-wheat); }
.shell62b12-ext-promo .shell62b12-mini:hover { color: var(--shell62b12-amber); }
.shell62b12-mini.is-link { cursor: pointer; }

.shell62b12-ext-brand { padding: 12px; border-bottom: 1px solid var(--shell62b12-ink-4); }
.shell62b12-ext-brand h3 { margin: 0 0 6px; font-size: 14px; color: var(--shell62b12-wheat); }
.shell62b12-ext-brand p { margin: 0; font-size: 12.5px; color: var(--shell62b12-paper-dim); }
.shell62b12-ext-brand img.shell62b12-ext-logo { width: 28px; height: 28px; vertical-align: middle; margin-right: 7px; border-radius: 5px; background: #0b0f15; }

.shell62b12-ext-dir { padding: 12px; border-bottom: 1px solid var(--shell62b12-ink-4); }
.shell62b12-ext-dir h3 { margin: 0 0 8px; font-size: 13px; color: var(--shell62b12-amber); letter-spacing: .5px; text-transform: uppercase; }
.shell62b12-ext-dir ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.shell62b12-ext-dir li a {
  display: block;
  padding: 7px 9px;
  font-size: 12px;
  color: var(--shell62b12-paper);
  background: var(--shell62b12-ink-3);
  border-radius: var(--shell62b12-radius-sm);
  border: 1px solid transparent;
  min-height: 40px;
  display: flex; align-items: center;
}
.shell62b12-ext-dir li a:hover { border-color: var(--shell62b12-amber); color: var(--shell62b12-wheat); }

.shell62b12-ext-disclaimer { padding: 11px 12px; }
.shell62b12-ext-disclaimer p { margin: 0; font-size: 11px; color: var(--shell62b12-paper-dim); line-height: 1.5; }

/* ---------- Universal footer (copyright only) ---------- */
.shell62b12-footer {
  margin-top: 18px;
  padding: 12px var(--shell62b12-gutter);
  text-align: center;
  font-size: 11px;
  color: var(--shell62b12-paper-dim);
  border-top: 1px solid var(--shell62b12-ink-4);
  background: #070B11;
}

/* ---------- Bottom dock (fixed 5-role nav) ---------- */
.shell62b12-dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  max-width: var(--shell62b12-edge);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(8,12,18,.97);
  border-top: 1px solid var(--shell62b12-ink-4);
  padding-bottom: env(safe-area-inset-bottom);
  backdrop-filter: blur(8px);
}
.shell62b12-dock a, .shell62b12-dock button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 58px;
  padding: 6px 2px 7px;
  background: transparent;
  border: none;
  color: var(--shell62b12-paper-dim);
  font-size: 10px;
  letter-spacing: .2px;
}
.shell62b12-dock a svg, .shell62b12-dock button svg { width: 21px; height: 21px; }
.shell62b12-dock a:hover, .shell62b12-dock button:hover { color: var(--shell62b12-wheat); }
.shell62b12-dock a[aria-current="page"] { color: var(--shell62b12-amber); }
.shell62b12-dock a[aria-current="page"]::after,
.shell62b12-dock button.shell62b12-dock-pulse::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 4px;
  transform: translateX(-50%);
  width: 22px; height: 2px;
  background: var(--shell62b12-amber);
  border-radius: 2px;
}
.shell62b12-dock .shell62b12-dock-cta { color: var(--shell62b12-wheat); }
.shell62b12-dock .shell62b12-dock-cta svg { filter: drop-shadow(0 0 5px rgba(244,164,96,.55)); }

/* ---------- Animations ---------- */
@keyframes shell62b12-rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.shell62b12-rise { animation: shell62b12-rise .42s ease both; }
.shell62b12-rise-2 { animation: shell62b12-rise .5s ease .05s both; }
.shell62b12-rise-3 { animation: shell62b12-rise .5s ease .1s both; }

@media (prefers-reduced-motion: reduce) {
  .shell62b12-rise, .shell62b12-rise-2, .shell62b12-rise-3 { animation: none; }
  .shell62b12-hero-track { transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- Utility ---------- */
.shell62b12-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.shell62b12-divider { height: 1px; background: var(--shell62b12-ink-4); margin: 16px 0; border: 0; }
.shell62b12-note {
  font-size: 11.5px;
  color: var(--shell62b12-paper-dim);
  background: rgba(244,164,96,.08);
  border-left: 3px solid var(--shell62b12-amber);
  padding: 8px 10px;
  border-radius: var(--shell62b12-radius-sm);
  margin: 8px 0 0;
}
