/* ============================================================
   168c.click - Mobile-first entertainment platform styles
   Prefix: shelle1a85- | Palette: coral / dark / plum / azure
   Direction: humanist titles, low-radius zones, image+namebar
   cards, step-based rhythm, CTAs only on key actions.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --shelle1a85-bg: #0a0a0a;
  --shelle1a85-bg-soft: #121212;
  --shelle1a85-surface: #181818;
  --shelle1a85-surface-2: #202020;
  --shelle1a85-surface-3: #2a2422;
  --shelle1a85-line: #2c2624;
  --shelle1a85-line-soft: #221d1c;

  --shelle1a85-ink: #f6efe9;
  --shelle1a85-ink-2: #c7bdb4;
  --shelle1a85-ink-3: #908780;
  --shelle1a85-muted: #6b635d;

  --shelle1a85-coral: #f08080;
  --shelle1a85-flame: #ff7f50;
  --shelle1a85-azure: #00bfff;
  --shelle1a85-plum: #b03060;
  --shelle1a85-steel: #495057;

  --shelle1a85-topbar-h: 58px;
  --shelle1a85-bottomnav-h: 64px;
  --shelle1a85-gutter: 14px;
  --shelle1a85-radius: 4px;
  --shelle1a85-radius-lg: 8px;
  --shelle1a85-radius-pill: 999px;

  --shelle1a85-font-title: "Quicksand", "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --shelle1a85-font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --shelle1a85-shadow-1: 0 1px 0 rgba(0, 0, 0, 0.6);
  --shelle1a85-shadow-2: 0 8px 24px rgba(0, 0, 0, 0.55);
  --shelle1a85-shadow-glow: 0 6px 22px rgba(240, 128, 128, 0.28);
}

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

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

body {
  background: var(--shelle1a85-bg);
  color: var(--shelle1a85-ink);
  font-family: var(--shelle1a85-font-body);
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--shelle1a85-azure); outline-offset: 2px; }

/* ---------- Phone canvas ---------- */
/* Stable mobile canvas up to 430px; wide screens keep the centered canvas. */
.shelle1a85-phone {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--shelle1a85-bg);
  box-shadow: var(--shelle1a85-shadow-2);
  overflow: hidden;
}

@media (min-width: 431px) {
  body { background: #050505; }
  .shelle1a85-phone {
    border-left: 1px solid var(--shelle1a85-line);
    border-right: 1px solid var(--shelle1a85-line);
  }
}

/* ---------- Top bar ---------- */
.shelle1a85-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--shelle1a85-topbar-h);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 var(--shelle1a85-gutter);
  background: linear-gradient(180deg, #0d0908 0%, #0a0706 100%);
  border-bottom: 1px solid var(--shelle1a85-line);
}

.shelle1a85-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

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

.shelle1a85-brand-name {
  font-family: var(--shelle1a85-font-title);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.5px;
  color: var(--shelle1a85-ink);
  white-space: nowrap;
}
.shelle1a85-brand-name b { color: var(--shelle1a85-coral); font-weight: 700; }

.shelle1a85-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
}

.shelle1a85-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--shelle1a85-radius);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.2px;
  transition: transform 0.12s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.shelle1a85-btn:active { transform: translateY(1px); }

.shelle1a85-btn--primary {
  background: linear-gradient(135deg, var(--shelle1a85-flame), var(--shelle1a85-coral));
  color: #1a0d0a;
  box-shadow: var(--shelle1a85-shadow-glow);
}
.shelle1a85-btn--ghost {
  background: transparent;
  color: var(--shelle1a85-ink);
  border: 1px solid var(--shelle1a85-line);
}

.shelle1a85-iconbtn {
  width: 40px;
  height: 40px;
  border-radius: var(--shelle1a85-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--shelle1a85-line);
  color: var(--shelle1a85-ink-2);
}
.shelle1a85-iconbtn:active { transform: translateY(1px); }

.shelle1a85-burger {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.shelle1a85-burger span {
  width: 18px;
  height: 2px;
  background: var(--shelle1a85-ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Full-height menu layer ---------- */
.shelle1a85-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(8, 6, 5, 0.97);
  transform: translateX(100%);
  transition: transform 0.26s ease;
  display: flex;
  flex-direction: column;
  max-width: 430px;
  margin: 0 auto;
}
.shelle1a85-menu.is-open { transform: translateX(0); }

.shelle1a85-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--shelle1a85-gutter);
  border-bottom: 1px solid var(--shelle1a85-line);
}
.shelle1a85-menu-title {
  font-family: var(--shelle1a85-font-title);
  font-size: 17px;
  font-weight: 700;
}

.shelle1a85-menu-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px var(--shelle1a85-gutter) 24px;
}
.shelle1a85-menu-list li + li { margin-top: 2px; }
.shelle1a85-menu-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 10px;
  border-bottom: 1px solid var(--shelle1a85-line-soft);
  font-size: 15px;
  color: var(--shelle1a85-ink);
}
.shelle1a85-menu-list a:active { background: var(--shelle1a85-surface); }
.shelle1a85-menu-list .shelle1a85-menu-ico {
  width: 26px;
  height: 26px;
  border-radius: var(--shelle1a85-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--shelle1a85-surface-2);
  color: var(--shelle1a85-coral);
  font-size: 14px;
  flex: 0 0 auto;
}
.shelle1a85-menu-foot {
  padding: 16px var(--shelle1a85-gutter);
  border-top: 1px solid var(--shelle1a85-line);
  display: flex;
  gap: 10px;
}
.shelle1a85-menu-foot .shelle1a85-btn { flex: 1; }

/* ---------- Main / sections ---------- */
.shelle1a85-main {
  padding-bottom: calc(var(--shelle1a85-bottomnav-h) + 18px);
}

.shelle1a85-section {
  padding: 22px var(--shelle1a85-gutter) 6px;
}
.shelle1a85-section + .shelle1a85-section { padding-top: 18px; }

.shelle1a85-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--shelle1a85-line-soft);
}
.shelle1a85-section-title {
  font-family: var(--shelle1a85-font-title);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.32;
  color: var(--shelle1a85-ink);
}
.shelle1a85-section-title em {
  font-style: normal;
  color: var(--shelle1a85-coral);
}
.shelle1a85-section-tag {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--shelle1a85-ink-3);
  white-space: nowrap;
}

/* ---------- Carousel ---------- */
.shelle1a85-hero {
  position: relative;
  margin: 14px var(--shelle1a85-gutter) 0;
}
.shelle1a85-carousel {
  position: relative;
  border-radius: var(--shelle1a85-radius-lg);
  overflow: hidden;
  background: var(--shelle1a85-surface);
  border: 1px solid var(--shelle1a85-line);
}
.shelle1a85-track {
  position: relative;
  min-height: 190px;
}
.shelle1a85-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.shelle1a85-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}
.shelle1a85-slide img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.shelle1a85-slide-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 14px 12px;
  background: linear-gradient(0deg, rgba(8, 6, 5, 0.92) 0%, rgba(8, 6, 5, 0) 100%);
}
.shelle1a85-slide-title {
  font-family: var(--shelle1a85-font-title);
  font-weight: 700;
  font-size: 16px;
  color: var(--shelle1a85-ink);
  margin-bottom: 8px;
}
.shelle1a85-slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--shelle1a85-radius);
  background: var(--shelle1a85-coral);
  color: #1a0d0a;
  font-weight: 700;
  font-size: 13px;
}

.shelle1a85-dots {
  position: absolute;
  bottom: 10px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 3;
}
.shelle1a85-dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(246, 239, 233, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}
.shelle1a85-dots button.is-on {
  background: var(--shelle1a85-coral);
  transform: scale(1.25);
}

/* ---------- Quick promo rail ---------- */
.shelle1a85-quickrail {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8px;
  margin: 12px var(--shelle1a85-gutter) 0;
}
.shelle1a85-quick {
  padding: 12px;
  border-radius: var(--shelle1a85-radius);
  border: 1px solid var(--shelle1a85-line);
  background: var(--shelle1a85-surface);
  text-align: left;
}
.shelle1a85-quick--accent {
  background: linear-gradient(135deg, var(--shelle1a85-plum), #2a1418);
  border-color: var(--shelle1a85-plum);
}
.shelle1a85-quick b {
  display: block;
  font-family: var(--shelle1a85-font-title);
  font-size: 14px;
  color: var(--shelle1a85-ink);
  margin-bottom: 3px;
}
.shelle1a85-quick span { font-size: 12px; color: var(--shelle1a85-ink-3); }

/* ---------- Game grid ---------- */
.shelle1a85-gamegrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}
@media (min-width: 375px) {
  .shelle1a85-gamegrid { gap: 10px; }
}
@media (min-width: 393px) {
  .shelle1a85-gamegrid { grid-template-columns: repeat(5, 1fr); }
}

.shelle1a85-gamecard {
  display: flex;
  flex-direction: column;
  background: var(--shelle1a85-surface);
  border: 1px solid var(--shelle1a85-line);
  border-radius: var(--shelle1a85-radius);
  overflow: hidden;
  text-align: center;
  transition: transform 0.12s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.shelle1a85-gamecard:active {
  transform: translateY(2px);
  border-color: var(--shelle1a85-coral);
}
.shelle1a85-gamecard-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #050505;
}
.shelle1a85-gamecard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shelle1a85-gamecard-name {
  display: block;
  padding: 5px 4px 6px;
  font-size: 11px;
  line-height: 1.25;
  color: var(--shelle1a85-ink-2);
  background: var(--shelle1a85-surface-2);
  border-top: 1px solid var(--shelle1a85-line-soft);
  min-height: 30px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Content module blocks ---------- */
.shelle1a85-card {
  background: var(--shelle1a85-surface);
  border: 1px solid var(--shelle1a85-line);
  border-radius: var(--shelle1a85-radius-lg);
  padding: 16px 15px;
  margin: 0 var(--shelle1a85-gutter) 14px;
}
.shelle1a85-card + .shelle1a85-card { margin-top: 0; }

.shelle1a85-lede {
  font-size: 15px;
  color: var(--shelle1a85-ink-2);
  line-height: 1.7;
  margin-bottom: 10px;
}
.shelle1a85-lede:last-child { margin-bottom: 0; }
.shelle1a85-lede strong { color: var(--shelle1a85-coral); font-weight: 600; }

.shelle1a85-prose p {
  color: var(--shelle1a85-ink-2);
  line-height: 1.7;
  margin-bottom: 10px;
  font-size: 14.5px;
}
.shelle1a85-prose p:last-child { margin-bottom: 0; }
.shelle1a85-prose a {
  color: var(--shelle1a85-azure);
  border-bottom: 1px dashed rgba(0, 191, 255, 0.4);
}

.shelle1a85-inline-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  padding: 9px 18px;
  border-radius: var(--shelle1a85-radius);
  background: linear-gradient(135deg, var(--shelle1a85-flame), var(--shelle1a85-coral));
  color: #1a0d0a;
  font-weight: 700;
  font-size: 13.5px;
}

/* ---------- Features grid (scannable) ---------- */
.shelle1a85-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}
.shelle1a85-feature {
  padding: 12px;
  background: var(--shelle1a85-surface-2);
  border: 1px solid var(--shelle1a85-line);
  border-radius: var(--shelle1a85-radius);
  border-left: 3px solid var(--shelle1a85-coral);
}
.shelle1a85-feature:nth-child(2n) { border-left-color: var(--shelle1a85-azure); }
.shelle1a85-feature b {
  display: block;
  font-family: var(--shelle1a85-font-title);
  font-size: 13.5px;
  color: var(--shelle1a85-ink);
  margin-bottom: 4px;
}
.shelle1a85-feature span { font-size: 12.5px; color: var(--shelle1a85-ink-3); line-height: 1.55; }

/* ---------- Step list (step-based rhythm) ---------- */
.shelle1a85-steps {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.shelle1a85-step {
  position: relative;
  padding: 11px 12px 11px 42px;
  background: var(--shelle1a85-surface-2);
  border: 1px solid var(--shelle1a85-line);
  border-radius: var(--shelle1a85-radius);
}
.shelle1a85-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--shelle1a85-plum);
  color: var(--shelle1a85-ink);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.shelle1a85-step b {
  display: block;
  font-size: 13.5px;
  color: var(--shelle1a85-ink);
  font-family: var(--shelle1a85-font-title);
}
.shelle1a85-step span { font-size: 12.5px; color: var(--shelle1a85-ink-3); }

/* ---------- Checklist ---------- */
.shelle1a85-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.shelle1a85-checkitem {
  display: flex;
  gap: 10px;
  padding: 10px 11px;
  background: var(--shelle1a85-surface-2);
  border: 1px solid var(--shelle1a85-line);
  border-radius: var(--shelle1a85-radius);
  font-size: 13px;
  color: var(--shelle1a85-ink-2);
  line-height: 1.55;
}
.shelle1a85-checkitem::before {
  content: "✓";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 191, 255, 0.15);
  color: var(--shelle1a85-azure);
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-top: 1px;
}

/* ---------- Inline Q&A ---------- */
.shelle1a85-qa { display: flex; flex-direction: column; gap: 10px; }
.shelle1a85-qa-item {
  padding: 11px 12px;
  background: var(--shelle1a85-surface-2);
  border: 1px solid var(--shelle1a85-line);
  border-radius: var(--shelle1a85-radius);
}
.shelle1a85-qa-q {
  display: block;
  font-family: var(--shelle1a85-font-title);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--shelle1a85-coral);
  margin-bottom: 4px;
}
.shelle1a85-qa-a { font-size: 13px; color: var(--shelle1a85-ink-2); line-height: 1.6; }

/* ---------- Category highlight chips ---------- */
.shelle1a85-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.shelle1a85-chip {
  padding: 8px 12px;
  border-radius: var(--shelle1a85-radius-pill);
  background: var(--shelle1a85-surface-2);
  border: 1px solid var(--shelle1a85-line);
  font-size: 12.5px;
  color: var(--shelle1a85-ink-2);
}
.shelle1a85-chip b { color: var(--shelle1a85-coral); font-weight: 700; }

/* ---------- Extended footer (homepage only) ---------- */
.shelle1a85-extfoot {
  margin: 8px var(--shelle1a85-gutter) 0;
  padding: 18px 14px;
  background: var(--shelle1a85-surface);
  border: 1px solid var(--shelle1a85-line);
  border-radius: var(--shelle1a85-radius-lg);
}
.shelle1a85-extfoot-block + .shelle1a85-extfoot-block {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--shelle1a85-line-soft);
}
.shelle1a85-extfoot-h {
  font-family: var(--shelle1a85-font-title);
  font-size: 14px;
  font-weight: 700;
  color: var(--shelle1a85-ink);
  margin-bottom: 9px;
}
.shelle1a85-promolist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.shelle1a85-promolink {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 10px;
  border-radius: var(--shelle1a85-radius);
  background: var(--shelle1a85-surface-2);
  border: 1px solid var(--shelle1a85-line);
  font-size: 12px;
}
.shelle1a85-promolink b {
  font-family: var(--shelle1a85-font-title);
  font-size: 12.5px;
  color: var(--shelle1a85-coral);
}
.shelle1a85-promolink span { color: var(--shelle1a85-ink-3); font-size: 11.5px; }

.shelle1a85-directory {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 12px;
}
.shelle1a85-directory a {
  font-size: 12.5px;
  color: var(--shelle1a85-ink-2);
  padding: 5px 0;
  border-bottom: 1px solid var(--shelle1a85-line-soft);
}
.shelle1a85-directory a::before {
  content: "›";
  color: var(--shelle1a85-coral);
  margin-right: 6px;
}

.shelle1a85-brandintro {
  font-size: 13px;
  color: var(--shelle1a85-ink-3);
  line-height: 1.65;
}

.shelle1a85-disclaimer {
  font-size: 12px;
  color: var(--shelle1a85-muted);
  line-height: 1.6;
  padding: 10px 12px;
  border-left: 2px solid var(--shelle1a85-plum);
  background: rgba(176, 48, 96, 0.08);
  border-radius: 0 var(--shelle1a85-radius) var(--shelle1a85-radius) 0;
}

/* ---------- Common footer ---------- */
.shelle1a85-foot {
  padding: 16px var(--shelle1a85-gutter) calc(var(--shelle1a85-bottomnav-h) + 22px);
  text-align: center;
  border-top: 1px solid var(--shelle1a85-line-soft);
  margin-top: 10px;
}
.shelle1a85-foot small {
  display: block;
  font-size: 11.5px;
  color: var(--shelle1a85-muted);
  letter-spacing: 0.3px;
}

/* ---------- Mobile bottom nav (layered) ---------- */
.shelle1a85-bottomnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  max-width: 430px;
  margin: 0 auto;
  height: var(--shelle1a85-bottomnav-h);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: linear-gradient(180deg, #0d0908 0%, #060403 100%);
  border-top: 1px solid var(--shelle1a85-line);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.5);
}
.shelle1a85-navitem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 7px 2px 6px;
  color: var(--shelle1a85-ink-3);
  font-size: 10px;
  transition: transform 0.14s ease, color 0.2s ease;
}
.shelle1a85-navitem:active { transform: translateY(-2px); }
.shelle1a85-navitem::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--shelle1a85-coral);
  transition: width 0.2s ease;
}
.shelle1a85-navitem.is-active { color: var(--shelle1a85-coral); }
.shelle1a85-navitem.is-active::before { width: 22px; }

.shelle1a85-navitem-ico {
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
}
.shelle1a85-navitem.is-promo .shelle1a85-navitem-ico { color: var(--shelle1a85-flame); }
.shelle1a85-navitem-label { font-size: 10px; letter-spacing: 0.2px; }

/* ---------- Misc / utilities ---------- */
.shelle1a85-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.shelle1a85-note {
  font-size: 12px;
  color: var(--shelle1a85-ink-3);
  padding: 9px 11px;
  background: var(--shelle1a85-surface-2);
  border-radius: var(--shelle1a85-radius);
  border: 1px dashed var(--shelle1a85-line);
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
