/* ============================================================
   colour-game.cfd base stylesheet
   Mobile-first casino gaming canvas (320-430px).
   All class names use the site prefix c196e5-.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --c196e5-bg-deep:        #131C2E;   /* darkened base from #1B263B */
  --c196e5-bg:             #1B263B;   /* primary dark surface */
  --c196e5-bg-raised:      #22304B;   /* raised card / nav */
  --c196e5-bg-elevated:    #2A3A58;   /* hover / input field */
  --c196e5-line:           #34466A;   /* hairlines */
  --c196e5-line-soft:      rgba(224, 224, 224, 0.10);

  --c196e5-blue:           #1E90FF;   /* primary accent */
  --c196e5-blue-deep:      #0E6FCB;
  --c196e5-mint:           #AFEEEE;   /* pale turquoise */
  --c196e5-mint-soft:      rgba(175, 238, 238, 0.14);
  --c196e5-grass:          #98FB98;   /* pale green */
  --c196e5-grass-soft:     rgba(152, 251, 152, 0.14);

  --c196e5-text:           #E8EDF5;   /* body text */
  --c196e5-text-soft:      #B7C2D6;
  --c196e5-text-mute:      #8A98B5;
  --c196e5-text-dim:       #6B7896;
  --c196e5-on-blue:        #FFFFFF;

  --c196e5-shadow-soft:    0 6px 18px rgba(8, 14, 28, 0.45);
  --c196e5-shadow-card:    0 2px 8px rgba(8, 14, 28, 0.35);
  --c196e5-shadow-pop:     0 14px 36px rgba(7, 12, 24, 0.6);

  --c196e5-r-pill:         999px;
  --c196e5-r-btn:          14px;
  --c196e5-r-card:         6px;       /* square-ish game cards */
  --c196e5-r-panel:        10px;

  --c196e5-track:          4.4px;
  --c196e5-font-head:      "Segoe UI", "Helvetica Neue", Roboto, Arial, system-ui, sans-serif;
  --c196e5-font-body:      "Helvetica Neue", "Segoe UI", Roboto, Arial, system-ui, sans-serif;

  --c196e5-canvas:         430px;
  --c196e5-header-h:       58px;
  --c196e5-bottomnav-h:    64px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--c196e5-bg-deep);
  color: var(--c196e5-text);
  font-family: var(--c196e5-font-body);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  word-wrap: break-word;
  overflow-wrap: break-word;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--c196e5-mint); text-decoration: none; }
a:hover { color: var(--c196e5-grass); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }

/* ---------- Mobile canvas ---------- */
.c196e5-canvas {
  max-width: var(--c196e5-canvas);
  margin: 0 auto;
  background: var(--c196e5-bg);
  min-height: 100vh;
  position: relative;
  box-shadow: var(--c196e5-shadow-pop);
  padding-bottom: calc(var(--c196e5-bottomnav-h) + env(safe-area-inset-bottom, 0px));
}

/* Skip link for a11y */
.c196e5-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c196e5-blue);
  color: var(--c196e5-on-blue);
  padding: 8px 14px;
  border-radius: 0 0 var(--c196e5-r-btn) 0;
  z-index: 200;
}
.c196e5-skip:focus { left: 0; }

/* ---------- Top navigation (compact action band) ---------- */
.c196e5-topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(180deg, #23344F 0%, #1B263B 100%);
  border-bottom: 1px solid var(--c196e5-line);
  height: var(--c196e5-header-h);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 10px;
}

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

.c196e5-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  background: var(--c196e5-bg-elevated);
  box-shadow: 0 0 0 1px var(--c196e5-line) inset, 0 2px 6px rgba(0,0,0,0.35);
  flex-shrink: 0;
}

.c196e5-brand-name {
  font-family: var(--c196e5-font-head);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 17px;
  text-transform: uppercase;
  color: var(--c196e5-text);
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.c196e5-brand-name span { color: var(--c196e5-mint); }

.c196e5-top-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.c196e5-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--c196e5-r-btn);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
}
.c196e5-btn:active { transform: translateY(1px) scale(0.98); }

.c196e5-btn--primary {
  background: linear-gradient(135deg, #2E9DFF 0%, #1E90FF 55%, #0E6FCB 100%);
  color: var(--c196e5-on-blue);
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.35);
}
.c196e5-btn--primary:hover { color: var(--c196e5-on-blue); filter: brightness(1.07); }

.c196e5-btn--ghost {
  background: rgba(175, 238, 238, 0.10);
  color: var(--c196e5-mint);
  border: 1px solid rgba(175, 238, 238, 0.35);
}
.c196e5-btn--ghost:hover { background: rgba(175, 238, 238, 0.18); color: var(--c196e5-mint); }

.c196e5-btn--block {
  width: 100%;
  min-height: 46px;
  font-size: 15px;
}

.c196e5-btn--lg { min-height: 48px; padding: 0 22px; font-size: 15px; }

.c196e5-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--c196e5-bg-elevated);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c196e5-text);
  border: 1px solid var(--c196e5-line);
  flex-shrink: 0;
}
.c196e5-icon-btn:hover { color: var(--c196e5-mint); border-color: var(--c196e5-mint); }
.c196e5-icon-btn svg { width: 20px; height: 20px; }

/* ---------- Full-height menu layer ---------- */
.c196e5-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 13, 26, 0.65);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 120;
}
.c196e5-menu-backdrop.c196e5-is-open { opacity: 1; visibility: visible; }

.c196e5-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  width: min(86vw, 360px);
  background: var(--c196e5-bg-raised);
  z-index: 130;
  transform: translateX(105%);
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -16px 0 40px rgba(0,0,0,0.5);
  border-left: 1px solid var(--c196e5-line);
}
.c196e5-menu.c196e5-is-open { transform: translateX(0); }

.c196e5-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--c196e5-line);
  background: linear-gradient(180deg, #243450 0%, #1E2C46 100%);
}
.c196e5-menu-title {
  font-family: var(--c196e5-font-head);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c196e5-mint);
}
.c196e5-menu-close {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--c196e5-bg-elevated);
  color: var(--c196e5-text);
  display: inline-flex; align-items: center; justify-content: center;
}
.c196e5-menu-close:hover { color: var(--c196e5-grass); }

.c196e5-menu-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 8px 8px 24px;
}
.c196e5-menu-group { padding: 12px 8px 4px; }
.c196e5-menu-group-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c196e5-text-dim);
  padding: 0 8px 6px;
  font-weight: 700;
}
.c196e5-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 12px;
  border-radius: 10px;
  color: var(--c196e5-text);
  font-weight: 600;
  font-size: 14.5px;
  transition: background 0.18s ease, color 0.18s ease;
}
.c196e5-menu-link:hover { background: var(--c196e5-bg-elevated); color: var(--c196e5-mint); }
.c196e5-menu-link svg { width: 18px; height: 18px; color: var(--c196e5-blue); flex-shrink: 0; }
.c196e5-menu-link em {
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
  color: var(--c196e5-text-dim);
  letter-spacing: 0.04em;
}

.c196e5-menu-foot {
  padding: 14px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--c196e5-line);
  background: var(--c196e5-bg);
}
.c196e5-menu-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* ---------- Hero carousel ---------- */
.c196e5-main { padding: 0 0 8px; }

/* ---------- H1 banner ---------- */
.c196e5-h1-band {
  margin: 14px 12px 4px;
  padding: 13px 14px 12px;
  border-radius: 12px;
  background:
    radial-gradient(110% 120% at 10% -10%, rgba(30,144,255,0.22) 0%, rgba(30,144,255,0) 55%),
    linear-gradient(135deg, rgba(175,238,238,0.10) 0%, rgba(152,251,152,0.06) 100%);
  border: 1px solid var(--c196e5-line);
  border-left: 3px solid var(--c196e5-mint);
}
.c196e5-h1 {
  font-family: var(--c196e5-font-head);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--c196e5-text);
  margin: 0;
}
.c196e5-h1-sub {
  font-size: 12.5px;
  color: var(--c196e5-text-soft);
  margin: 6px 0 0;
  line-height: 1.55;
}

.c196e5-hero {
  margin: 14px 12px 4px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--c196e5-shadow-card);
  background: var(--c196e5-bg-raised);
}
.c196e5-hero-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0.1, 0.2, 1);
  will-change: transform;
}
.c196e5-hero-slide {
  flex: 0 0 100%;
  position: relative;
  cursor: pointer;
}
.c196e5-hero-slide img {
  width: 100%;
  height: 188px;
  object-fit: cover;
  display: block;
}
.c196e5-hero-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 14px 12px;
  background: linear-gradient(180deg, rgba(8,13,26,0) 0%, rgba(8,13,26,0.85) 70%, rgba(8,13,26,0.95) 100%);
  color: var(--c196e5-text);
}
.c196e5-hero-title {
  font-family: var(--c196e5-font-head);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.c196e5-hero-sub {
  font-size: 12.5px;
  color: var(--c196e5-text-soft);
  margin-top: 3px;
}
.c196e5-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  padding: 7px 14px;
  background: linear-gradient(135deg, #2E9DFF, #0E6FCB);
  color: var(--c196e5-on-blue);
  border-radius: var(--c196e5-r-btn);
  font-size: 12.5px;
  font-weight: 700;
}

.c196e5-hero-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 4;
}
.c196e5-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(232, 237, 245, 0.45);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, width 0.25s ease;
}
.c196e5-hero-dot.c196e5-is-active {
  background: var(--c196e5-mint);
  width: 18px;
}

/* ---------- Quick stat strip ---------- */
.c196e5-stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 12px 4px;
}
.c196e5-stat {
  background: var(--c196e5-bg-raised);
  border: 1px solid var(--c196e5-line);
  border-radius: var(--c196e5-r-panel);
  padding: 10px 8px;
  text-align: center;
}
.c196e5-stat-num {
  font-family: var(--c196e5-font-head);
  font-weight: 800;
  font-size: 16px;
  color: var(--c196e5-mint);
  letter-spacing: 0.02em;
}
.c196e5-stat-label {
  font-size: 11px;
  color: var(--c196e5-text-mute);
  margin-top: 2px;
  letter-spacing: 0.04em;
}

/* ---------- Section heading ---------- */
.c196e5-section {
  margin: 22px 0 0;
  padding: 0 12px;
}
.c196e5-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 10px;
  position: relative;
}
.c196e5-section-head::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c196e5-mint), var(--c196e5-blue));
}
.c196e5-section-title {
  font-family: var(--c196e5-font-head);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--c196e5-text);
  padding-left: 0;
}
.c196e5-section-sub {
  font-size: 12px;
  color: var(--c196e5-text-mute);
  margin-top: 2px;
  letter-spacing: 0.02em;
}
.c196e5-section-tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c196e5-grass);
  background: var(--c196e5-grass-soft);
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Game grid (grouped cover cards) ---------- */
.c196e5-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.c196e5-game-card {
  background: var(--c196e5-bg-raised);
  border: 1px solid var(--c196e5-line);
  border-radius: var(--c196e5-r-card);
  overflow: hidden;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.c196e5-game-card:hover,
.c196e5-game-card:focus-within {
  border-color: var(--c196e5-mint);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(8, 14, 28, 0.5);
}
.c196e5-game-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #0E1729;
  overflow: hidden;
}
.c196e5-game-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.c196e5-game-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,13,26,0) 60%, rgba(8,13,26,0.55) 100%);
  pointer-events: none;
}
.c196e5-game-name {
  font-size: 11px;
  line-height: 1.25;
  color: var(--c196e5-text);
  padding: 5px 4px 6px;
  font-weight: 600;
  letter-spacing: 0.01em;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c196e5-bg-raised);
}

.c196e5-game-card.c196e5-is-hot .c196e5-game-cover::before {
  content: "HOT";
  position: absolute;
  top: 4px;
  left: 4px;
  background: linear-gradient(135deg, #FF6B5B, #E03B2E);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.06em;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* ---------- Promo in CTA strip ---------- */
.c196e5-cta-strip {
  margin: 22px 12px 0;
  border-radius: 14px;
  padding: 16px 14px;
  background:
    radial-gradient(120% 120% at 90% -10%, rgba(30,144,255,0.35) 0%, rgba(30,144,255,0) 55%),
    linear-gradient(135deg, #243A5C 0%, #1B263B 60%, #152033 100%);
  border: 1px solid var(--c196e5-line);
  position: relative;
  overflow: hidden;
}
.c196e5-cta-strip::after {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(175,238,238,0.18), transparent 70%);
}
.c196e5-cta-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c196e5-mint);
  font-weight: 700;
}
.c196e5-cta-title {
  font-family: var(--c196e5-font-head);
  font-weight: 800;
  font-size: 19px;
  margin: 6px 0 4px;
  line-height: 1.2;
}
.c196e5-cta-text {
  font-size: 13px;
  color: var(--c196e5-text-soft);
  margin: 0 0 12px;
}
.c196e5-cta-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }

/* ---------- Info / content modules ---------- */
.c196e5-module {
  margin: 22px 12px 0;
}
.c196e5-card {
  background: var(--c196e5-bg-raised);
  border: 1px solid var(--c196e5-line);
  border-radius: var(--c196e5-r-panel);
  padding: 14px 14px;
  box-shadow: var(--c196e5-shadow-card);
}
.c196e5-card + .c196e5-card { margin-top: 10px; }
.c196e5-card-title {
  font-family: var(--c196e5-font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--c196e5-text);
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.c196e5-card-title svg { width: 18px; height: 18px; color: var(--c196e5-mint); flex-shrink: 0; }
.c196e5-card p {
  color: var(--c196e5-text-soft);
  font-size: 13.5px;
  line-height: 1.65;
  margin: 0 0 8px;
}
.c196e5-card p:last-child { margin-bottom: 0; }
.c196e5-card strong { color: var(--c196e5-text); font-weight: 700; }
.c196e5-card a { font-weight: 600; }

.c196e5-card-list { list-style: none; margin: 6px 0 0; padding: 0; }
.c196e5-card-list li {
  position: relative;
  padding: 7px 0 7px 22px;
  border-bottom: 1px dashed var(--c196e5-line-soft);
  color: var(--c196e5-text-soft);
  font-size: 13px;
  line-height: 1.55;
}
.c196e5-card-list li:last-child { border-bottom: 0; }
.c196e5-card-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 14px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--c196e5-blue);
  box-shadow: 0 0 0 3px rgba(30,144,255,0.18);
}

/* Comparison table-like rows */
.c196e5-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 4px;
}
.c196e5-compare-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px;
  align-items: start;
  padding: 8px 10px;
  background: var(--c196e5-bg);
  border-radius: 8px;
  border: 1px solid var(--c196e5-line-soft);
}
.c196e5-compare-key {
  font-size: 12px;
  font-weight: 700;
  color: var(--c196e5-mint);
  letter-spacing: 0.02em;
}
.c196e5-compare-val {
  font-size: 12.5px;
  color: var(--c196e5-text-soft);
  line-height: 1.5;
}

/* Category highlights grid */
.c196e5-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 4px;
}
.c196e5-cat-tile {
  background: var(--c196e5-bg);
  border: 1px solid var(--c196e5-line);
  border-radius: 10px;
  padding: 10px 10px 9px;
  position: relative;
}
.c196e5-cat-tile-name {
  font-family: var(--c196e5-font-head);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--c196e5-text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.c196e5-cat-tile-dot {
  width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0;
}
.c196e5-cat-tile-desc {
  font-size: 11.5px;
  color: var(--c196e5-text-mute);
  margin-top: 4px;
  line-height: 1.5;
}

/* Promotions strip */
.c196e5-promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 4px;
}
.c196e5-promo-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(30,144,255,0.10), rgba(175,238,238,0.05));
  border: 1px solid var(--c196e5-line);
  border-radius: 10px;
}
.c196e5-promo-badge {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c196e5-blue), var(--c196e5-blue-deep));
  color: var(--c196e5-on-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(30,144,255,0.35);
}
.c196e5-promo-body { min-width: 0; flex: 1; }
.c196e5-promo-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--c196e5-text);
  line-height: 1.3;
}
.c196e5-promo-desc {
  font-size: 11.5px;
  color: var(--c196e5-text-mute);
  margin-top: 2px;
  line-height: 1.4;
}
.c196e5-promo-go {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c196e5-mint);
  flex-shrink: 0;
}
.c196e5-promo-go::after { content: " ›"; }

/* Inline promo anchor */
.c196e5-link-promo {
  color: var(--c196e5-mint);
  font-weight: 700;
  border-bottom: 1px dashed rgba(175, 238, 238, 0.45);
  padding-bottom: 1px;
}
.c196e5-link-promo:hover { color: var(--c196e5-grass); }

/* Takeaways */
.c196e5-takeaway {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--c196e5-line-soft);
}
.c196e5-takeaway:last-child { border-bottom: 0; }
.c196e5-takeaway-num {
  font-family: var(--c196e5-font-head);
  font-weight: 800;
  font-size: 15px;
  color: var(--c196e5-grass);
  background: var(--c196e5-grass-soft);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
}
.c196e5-takeaway-text {
  font-size: 13px;
  color: var(--c196e5-text-soft);
  line-height: 1.55;
}

/* ---------- Extended footer ---------- */
.c196e5-ext-foot {
  margin: 24px 0 0;
  padding: 18px 12px 14px;
  background: linear-gradient(180deg, #1A2538 0%, #131C2E 100%);
  border-top: 1px solid var(--c196e5-line);
}
.c196e5-ext-brand-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.c196e5-ext-brand-row img {
  width: 30px; height: 30px; border-radius: 8px;
}
.c196e5-ext-brand-row strong {
  font-family: var(--c196e5-font-head);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--c196e5-text);
  text-transform: uppercase;
}
.c196e5-ext-intro {
  font-size: 12.5px;
  color: var(--c196e5-text-mute);
  line-height: 1.6;
  margin: 0 0 14px;
}

.c196e5-ext-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin: 10px 0 14px;
}
.c196e5-ext-shortcut {
  background: var(--c196e5-bg-raised);
  border: 1px solid var(--c196e5-line);
  border-radius: 9px;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--c196e5-text);
}
.c196e5-ext-shortcut span { color: var(--c196e5-text-mute); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.c196e5-ext-shortcut.c196e5-ext-shortcut--promo {
  background: linear-gradient(135deg, rgba(30,144,255,0.16), rgba(175,238,238,0.06));
  border-color: rgba(175,238,238,0.3);
}
.c196e5-ext-shortcut--promo span { color: var(--c196e5-mint); }

.c196e5-ext-dir-title {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c196e5-text-dim);
  margin: 12px 0 6px;
  font-weight: 700;
}
.c196e5-ext-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
  margin-bottom: 12px;
}
.c196e5-ext-dir a {
  font-size: 12px;
  color: var(--c196e5-text-soft);
  padding: 4px 0;
  border-bottom: 1px solid var(--c196e5-line-soft);
}
.c196e5-ext-dir a:hover { color: var(--c196e5-mint); }

.c196e5-ext-disclaimer {
  font-size: 11px;
  color: var(--c196e5-text-dim);
  line-height: 1.55;
  padding: 10px 12px;
  background: rgba(15, 22, 38, 0.6);
  border-radius: 8px;
  border-left: 3px solid var(--c196e5-grass);
}

/* ---------- Common footer ---------- */
.c196e5-foot {
  padding: 14px 16px 8px;
  text-align: center;
  border-top: 1px solid var(--c196e5-line);
  background: #0F1729;
}
.c196e5-foot-copy {
  font-size: 11px;
  color: var(--c196e5-text-dim);
  letter-spacing: 0.03em;
}
.c196e5-foot-copy strong { color: var(--c196e5-text-mute); }

/* ---------- Bottom nav (segmented action bar) ---------- */
.c196e5-bottomnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: var(--c196e5-canvas);
  height: calc(var(--c196e5-bottomnav-h) + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, #1E2C46 0%, #152033 100%);
  border-top: 1px solid var(--c196e5-line);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 90;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -8px 20px rgba(8, 13, 26, 0.5);
}
.c196e5-bottomnav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--c196e5-text-mute);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 2px 4px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.c196e5-bottomnav-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 30px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--c196e5-mint), var(--c196e5-blue));
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.c196e5-bottomnav-item.c196e5-is-active { color: var(--c196e5-mint); }
.c196e5-bottomnav-item.c196e5-is-active::before { transform: translateX(-50%) scaleX(1); }
.c196e5-bottomnav-item:hover { color: var(--c196e5-mint); }
.c196e5-bottomnav-icon {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
}
.c196e5-bottomnav-icon svg { width: 20px; height: 20px; }
.c196e5-bottomnav-item.c196e5-is-active .c196e5-bottomnav-icon svg { color: var(--c196e5-mint); }
.c196e5-bottomnav-label { line-height: 1; }
.c196e5-bottomnav-item.c196e5-is-promo .c196e5-bottomnav-icon {
  background: linear-gradient(135deg, var(--c196e5-blue), var(--c196e5-blue-deep));
  color: var(--c196e5-on-blue);
  border-radius: 50%;
  width: 38px; height: 38px;
  margin-top: -16px;
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.5);
  border: 3px solid #1A2538;
}
.c196e5-bottomnav-item.c196e5-is-promo .c196e5-bottomnav-icon svg { width: 18px; height: 18px; }
.c196e5-bottomnav-item.c196e5-is-promo {
  padding-top: 0;
}

/* ---------- Reveal animation (restrained) ---------- */
@keyframes c196e5-fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.c196e5-reveal {
  opacity: 0;
  animation: c196e5-fade-up 0.55s ease forwards;
}
.c196e5-reveal.c196e5-d1 { animation-delay: 0.05s; }
.c196e5-reveal.c196e5-d2 { animation-delay: 0.10s; }
.c196e5-reveal.c196e5-d3 { animation-delay: 0.15s; }
.c196e5-reveal.c196e5-d4 { animation-delay: 0.20s; }
.c196e5-reveal.c196e5-d5 { animation-delay: 0.25s; }

@media (prefers-reduced-motion: reduce) {
  .c196e5-reveal { animation: none; opacity: 1; }
  .c196e5-hero-track { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive tiers ---------- */
@media (min-width: 360px) {
  .c196e5-game-grid { gap: 9px; }
  .c196e5-game-name { font-size: 11.5px; }
}

@media (min-width: 393px) {
  body { font-size: 15.5px; }
  .c196e5-game-grid { grid-template-columns: repeat(5, 1fr); gap: 9px; }
  .c196e5-stat-strip { gap: 9px; }
  .c196e5-stat-num { font-size: 17px; }
  .c196e5-section-title { font-size: 19px; }
  .c196e5-hero-slide img { height: 210px; }
  .c196e5-ext-shortcuts { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 430px) {
  .c196e5-hero-slide img { height: 224px; }
  .c196e5-ext-dir { grid-template-columns: repeat(3, 1fr); }
}

/* Desktop: keep mobile canvas centered, no wide redesign */
@media (min-width: 600px) {
  body { background: #0A1120; }
  .c196e5-canvas { box-shadow: 0 0 80px rgba(0,0,0,0.6); }
}

/* ---------- Utility ---------- */
[hidden] { display: none !important; }
.c196e5-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.c196e5-divider {
  height: 1px; background: var(--c196e5-line-soft); margin: 14px 0; border: 0;
}
.c196e5-hide-on-mobile { display: none; }

/* ---------- Help-page reading layouts ---------- */
.c196e5-help-hero {
  margin: 14px 12px 0;
  padding: 18px 16px 17px;
  border: 1px solid var(--c196e5-line);
  border-radius: 16px 6px 16px 6px;
  background: linear-gradient(145deg, #263C60 0%, #1B263B 68%);
  box-shadow: var(--c196e5-shadow-card);
}
.c196e5-help-kicker { color: var(--c196e5-grass); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.c196e5-help-title { margin-top: 6px; font-family: var(--c196e5-font-head); font-size: 23px; line-height: 1.2; color: var(--c196e5-text); }
.c196e5-help-lede { margin-top: 8px; color: var(--c196e5-text-soft); font-size: 13.5px; line-height: 1.65; }
.c196e5-help-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.c196e5-help-index { margin: 14px 12px 0; display: flex; gap: 7px; overflow-x: auto; padding-bottom: 3px; scrollbar-width: thin; }
.c196e5-help-index a { flex: 0 0 auto; border: 1px solid var(--c196e5-line); border-radius: 999px; padding: 8px 11px; color: var(--c196e5-mint); background: var(--c196e5-bg-raised); font-size: 11px; font-weight: 700; min-height: 36px; }
.c196e5-help-block { margin: 18px 12px 0; padding: 15px 14px; border-left: 3px solid var(--c196e5-blue); background: var(--c196e5-bg-raised); border-top: 1px solid var(--c196e5-line); border-right: 1px solid var(--c196e5-line); border-bottom: 1px solid var(--c196e5-line); border-radius: 4px 12px 12px 4px; }
.c196e5-help-block h2 { font-family: var(--c196e5-font-head); font-size: 18px; line-height: 1.3; color: var(--c196e5-text); margin-bottom: 8px; }
.c196e5-help-block h3 { color: var(--c196e5-mint); font-size: 14px; line-height: 1.35; margin: 13px 0 5px; }
.c196e5-help-block p { color: var(--c196e5-text-soft); font-size: 13.5px; line-height: 1.68; margin: 0 0 9px; }
.c196e5-help-block p:last-child { margin-bottom: 0; }
.c196e5-help-block ul, .c196e5-help-block ol { padding-left: 20px; color: var(--c196e5-text-soft); font-size: 13px; line-height: 1.65; }
.c196e5-help-block li { margin: 5px 0; }
.c196e5-help-block strong { color: var(--c196e5-text); }
.c196e5-fact-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 12px; }
.c196e5-fact-rail div { padding: 9px 6px; background: var(--c196e5-bg); border: 1px solid var(--c196e5-line); border-radius: 8px; text-align: center; }
.c196e5-fact-rail b { display: block; color: var(--c196e5-mint); font-size: 15px; }
.c196e5-fact-rail span { color: var(--c196e5-text-mute); font-size: 10px; }
.c196e5-answer-list { display: grid; gap: 8px; margin-top: 10px; }
.c196e5-answer { padding: 10px 11px; background: var(--c196e5-bg); border-radius: 8px; border: 1px solid var(--c196e5-line-soft); }
.c196e5-answer strong { display: block; color: var(--c196e5-grass); font-size: 13px; margin-bottom: 3px; }
.c196e5-answer span { color: var(--c196e5-text-soft); font-size: 12.5px; line-height: 1.55; }
.c196e5-warning { margin-top: 10px; padding: 10px 11px; border-radius: 8px; background: rgba(255, 107, 91, .09); border: 1px solid rgba(255, 107, 91, .35); color: var(--c196e5-text-soft); font-size: 12.5px; line-height: 1.55; }
.c196e5-steps { counter-reset: c196e5-step; display: grid; gap: 9px; margin-top: 10px; }
.c196e5-step { counter-increment: c196e5-step; display: grid; grid-template-columns: 30px 1fr; gap: 9px; align-items: start; }
.c196e5-step::before { content: counter(c196e5-step); display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c196e5-blue); color: #fff; font-weight: 800; font-size: 12px; }
.c196e5-step p { margin: 3px 0 0; }
.c196e5-footer-note { margin: 20px 12px 0; padding: 13px; border-top: 1px solid var(--c196e5-line); color: var(--c196e5-text-mute); font-size: 11.5px; line-height: 1.55; }
@media (min-width: 393px) { .c196e5-help-hero { padding: 21px 18px; } .c196e5-help-title { font-size: 25px; } }
