/* ============================================================
   Lucky 88 - canvas-native-8c84e5.css
   Mobile-first base stylesheet for lucky-88.homes
   All class names use the c8c84e- prefix (see prompt .dat).
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --c8c84e-bg: #1C2833;
  --c8c84e-bg-deep: #121A22;
  --c8c84e-bg-soft: #22303D;
  --c8c84e-surface: #243341;
  --c8c84e-surface-2: #2B3D4E;
  --c8c84e-text: #F8F9FA;
  --c8c84e-blue: #BAE1FF;
  --c8c84e-pink: #FFB3FF;
  --c8c84e-gold: #FFD56B;
  --c8c84e-muted: rgba(248, 249, 250, 0.66);
  --c8c84e-faint: rgba(248, 249, 250, 0.40);
  --c8c84e-border: rgba(186, 225, 255, 0.16);
  --c8c84e-border-strong: rgba(186, 225, 255, 0.32);
  --c8c84e-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
  --c8c84e-shadow-soft: 0 6px 16px rgba(0, 0, 0, 0.28);
  --c8c84e-radius-xs: 6px;
  --c8c84e-radius: 10px;
  --c8c84e-radius-lg: 16px;
  --c8c84e-radius-pill: 999px;
  --c8c84e-gap: 12px;
  --c8c84e-header-h: 58px;
  --c8c84e-bottom-h: 70px;
  --c8c84e-max: 480px;
  --c8c84e-font: 'Be Vietnam Pro', 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --c8c84e-display: 'Be Vietnam Pro', 'Segoe UI', system-ui, sans-serif;
}

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

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

body {
  font-family: var(--c8c84e-font);
  background:
    radial-gradient(1100px 600px at 50% -8%, rgba(255, 179, 255, 0.10), transparent 60%),
    radial-gradient(900px 500px at 90% 8%, rgba(186, 225, 255, 0.08), transparent 55%),
    var(--c8c84e-bg);
  color: var(--c8c84e-text);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
  min-height: 100vh;
  padding-bottom: calc(var(--c8c84e-bottom-h) + 14px);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--c8c84e-blue); text-decoration: none; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--c8c84e-pink);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Layout container ---------- */
.c8c84e-shell {
  width: 100%;
  max-width: var(--c8c84e-max);
  margin: 0 auto;
  padding: 0 14px;
}

.c8c84e-main { padding-bottom: 28px; }

.c8c84e-section { margin-top: 26px; }

/* ============================================================
   HEADER  (top = tight brand core)
   ============================================================ */
.c8c84e-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(28, 40, 51, 0.96) 0%, rgba(28, 40, 51, 0.92) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c8c84e-border);
}

.c8c84e-header-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--c8c84e-header-h);
  padding: 8px 0;
}

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

.c8c84e-brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--c8c84e-border-strong), 0 4px 10px rgba(0, 0, 0, 0.35);
}

.c8c84e-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.c8c84e-brand-name {
  font-family: var(--c8c84e-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--c8c84e-text);
  white-space: nowrap;
  background: linear-gradient(90deg, #FFFFFF 0%, #FFB3FF 60%, #BAE1FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.c8c84e-brand-tag {
  font-size: 10.5px;
  color: var(--c8c84e-faint);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.c8c84e-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.c8c84e-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--c8c84e-radius);
  padding: 8px 14px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.c8c84e-btn:active { transform: translateY(1px); }

.c8c84e-btn-login {
  background: transparent;
  color: var(--c8c84e-blue);
  border-color: var(--c8c84e-border-strong);
}

.c8c84e-btn-register {
  background: linear-gradient(135deg, #FFB3FF 0%, #BAE1FF 100%);
  color: #1C2833;
  box-shadow: 0 6px 16px rgba(255, 179, 255, 0.22);
}

.c8c84e-menu-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--c8c84e-radius);
  background: transparent;
  border: 1px solid var(--c8c84e-border-strong);
  color: var(--c8c84e-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.c8c84e-menu-btn span,
.c8c84e-menu-btn span::before,
.c8c84e-menu-btn span::after {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.c8c84e-menu-btn span { position: relative; }
.c8c84e-menu-btn span::before { position: absolute; top: -5px; left: 0; }
.c8c84e-menu-btn span::after { position: absolute; top: 5px; left: 0; }

/* ============================================================
   SLIDE-UP MENU PANEL  (menu = slide-up road panel)
   ============================================================ */
.c8c84e-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 18, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 70;
}

.c8c84e-menu-backdrop.c8c84e-is-open {
  opacity: 1;
  visibility: visible;
}

.c8c84e-menu {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, #22303D 0%, #1A2530 100%);
  border-top: 1px solid var(--c8c84e-border-strong);
  border-radius: 18px 18px 0 0;
  padding: 14px 16px calc(env(safe-area-inset-bottom, 0px) + 22px);
  transform: translateY(110%);
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 80;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.c8c84e-menu.c8c84e-is-open { transform: translateY(0); }

.c8c84e-menu-handle {
  width: 44px;
  height: 4px;
  border-radius: 4px;
  background: var(--c8c84e-border-strong);
  margin: 0 auto 12px;
}

.c8c84e-menu-title {
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--c8c84e-faint);
  margin-bottom: 10px;
}

.c8c84e-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.c8c84e-menu-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px;
  background: rgba(186, 225, 255, 0.06);
  border: 1px solid var(--c8c84e-border);
  border-radius: var(--c8c84e-radius);
  color: var(--c8c84e-text);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.c8c84e-menu-link:active {
  background: rgba(255, 179, 255, 0.14);
  border-color: var(--c8c84e-border-strong);
}

.c8c84e-menu-link svg {
  width: 22px;
  height: 22px;
  color: var(--c8c84e-blue);
}

.c8c84e-menu-cta {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.c8c84e-menu-cta .c8c84e-btn { flex: 1; }

/* ============================================================
   HERO  (carousel)
   ============================================================ */
.c8c84e-hero {
  margin-top: 14px;
  border-radius: var(--c8c84e-radius-lg);
  overflow: hidden;
  box-shadow: var(--c8c84e-shadow);
  position: relative;
  background: var(--c8c84e-bg-deep);
}

.c8c84e-carousel {
  position: relative;
}

.c8c84e-track {
  display: flex;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.c8c84e-track::-webkit-scrollbar { display: none; }

.c8c84e-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
  display: block;
  border: 0;
  background: transparent;
  padding: 0;
  width: 100%;
}

.c8c84e-slide img {
  width: 100%;
  height: 188px;
  object-fit: cover;
  display: block;
}

.c8c84e-slide-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 14px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 12, 18, 0.86) 100%);
  text-align: left;
}

.c8c84e-slide-title {
  font-family: var(--c8c84e-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--c8c84e-text);
  margin-bottom: 3px;
}

.c8c84e-slide-sub {
  font-size: 12px;
  color: var(--c8c84e-blue);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.c8c84e-dots {
  position: absolute;
  bottom: 10px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.c8c84e-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(248, 249, 250, 0.35);
  border: 0;
  padding: 0;
  transition: background 0.18s ease, transform 0.18s ease;
}

.c8c84e-dot.c8c84e-is-active {
  background: var(--c8c84e-pink);
  transform: scale(1.25);
}

/* ============================================================
   SECTION HEADERS  (information rhythm = lead paragraph)
   ============================================================ */
.c8c84e-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--c8c84e-border);
}

.c8c84e-section-eyebrow {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--c8c84e-pink);
  font-weight: 700;
  margin-bottom: 3px;
}

.c8c84e-section-title {
  font-family: var(--c8c84e-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--c8c84e-text);
  line-height: 1.25;
}

.c8c84e-section-more {
  font-size: 12px;
  color: var(--c8c84e-blue);
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease;
}
.c8c84e-section-more:active { border-color: var(--c8c84e-blue); }

/* ============================================================
   LEAD / INTRO TEXT
   ============================================================ */
.c8c84e-lead {
  background: linear-gradient(180deg, rgba(186, 225, 255, 0.06) 0%, rgba(255, 179, 255, 0.04) 100%);
  border: 1px solid var(--c8c84e-border);
  border-radius: var(--c8c84e-radius-lg);
  padding: 16px 16px 18px;
  margin-top: 14px;
}

.c8c84e-lead h1 {
  font-family: var(--c8c84e-display);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #FFFFFF 0%, #FFB3FF 70%, #BAE1FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.c8c84e-lead p {
  color: var(--c8c84e-muted);
  font-size: 14.5px;
  margin-bottom: 10px;
}

.c8c84e-lead p strong { color: var(--c8c84e-text); font-weight: 700; }

.c8c84e-lead-cta {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.c8c84e-lead-cta .c8c84e-btn { flex: 1; min-width: 130px; }

.c8c84e-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.c8c84e-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: var(--c8c84e-radius-pill);
  background: rgba(186, 225, 255, 0.10);
  border: 1px solid var(--c8c84e-border);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--c8c84e-blue);
}

.c8c84e-pill::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c8c84e-pink);
}

/* ============================================================
   GAME GRID  (game card shape = big+small mix)
   ============================================================ */
.c8c84e-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.c8c84e-game {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--c8c84e-surface);
  border: 1px solid var(--c8c84e-border);
  border-radius: var(--c8c84e-radius);
  padding: 5px;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease;
  text-align: left;
  color: var(--c8c84e-text);
}

.c8c84e-game:active,
.c8c84e-game:focus-visible {
  transform: translateY(1px) scale(0.99);
  border-color: var(--c8c84e-border-strong);
}

.c8c84e-game:focus-visible { outline-offset: -2px; }

.c8c84e-game-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--c8c84e-radius-xs);
  overflow: hidden;
  background: var(--c8c84e-bg-deep);
}

.c8c84e-game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.c8c84e-game-flag {
  position: absolute;
  top: 4px;
  left: 4px;
  padding: 2px 6px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  border-radius: var(--c8c84e-radius-pill);
  background: rgba(255, 179, 255, 0.85);
  color: #1C2833;
}

.c8c84e-game-flag.c8c84e-flag-hot { background: rgba(255, 92, 92, 0.9); color: #fff; }
.c8c84e-game-flag.c8c84e-flag-new { background: rgba(186, 225, 255, 0.9); color: #1C2833; }

.c8c84e-game-name {
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--c8c84e-text);
  text-align: center;
  line-height: 1.25;
  min-height: 28px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Featured (big) card spans 2x2 */
.c8c84e-game.c8c84e-game-feature {
  grid-column: span 2;
  grid-row: span 2;
  padding: 0;
  background: var(--c8c84e-bg-deep);
}

.c8c84e-game.c8c84e-game-feature .c8c84e-game-thumb {
  aspect-ratio: 1 / 1;
  border-radius: 0;
  flex: 1;
}

.c8c84e-game.c8c84e-game-feature .c8c84e-game-thumb img {
  height: 100%;
}

.c8c84e-game.c8c84e-game-feature .c8c84e-game-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 18px 12px 10px;
  font-size: 13.5px;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 12, 18, 0.92) 100%);
  text-align: left;
  min-height: 0;
}

.c8c84e-game.c8c84e-game-feature .c8c84e-game-flag {
  top: 8px;
  left: 8px;
}

/* Wide card spans 2x1 */
.c8c84e-game.c8c84e-game-wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 6px;
}

.c8c84e-game.c8c84e-game-wide .c8c84e-game-thumb {
  width: 56px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}

.c8c84e-game.c8c84e-game-wide .c8c84e-game-name {
  margin-top: 0;
  text-align: left;
  min-height: 0;
  font-size: 12.5px;
}

/* ============================================================
   CATEGORY BANNER  (introduces each game region)
   ============================================================ */
.c8c84e-cat-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
  border-radius: var(--c8c84e-radius);
  background: linear-gradient(90deg, rgba(255, 179, 255, 0.10) 0%, rgba(186, 225, 255, 0.06) 100%);
  border: 1px solid var(--c8c84e-border);
}

.c8c84e-cat-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 179, 255, 0.18);
  color: var(--c8c84e-pink);
  flex-shrink: 0;
}
.c8c84e-cat-icon svg { width: 18px; height: 18px; }

.c8c84e-cat-meta { flex: 1; min-width: 0; }

.c8c84e-cat-name {
  font-family: var(--c8c84e-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--c8c84e-text);
  line-height: 1.2;
}

.c8c84e-cat-desc {
  font-size: 11.5px;
  color: var(--c8c84e-muted);
  margin-top: 2px;
}

.c8c84e-cat-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 8px;
  padding: 0 4px 4px;
}

.c8c84e-cat-link {
  font-size: 11.5px;
  color: var(--c8c84e-blue);
  font-weight: 600;
  border-bottom: 1px dashed transparent;
  transition: border-color 0.18s ease;
}
.c8c84e-cat-link:active { border-color: var(--c8c84e-blue); }
.c8c84e-cat-link::before {
  content: '› ';
  color: var(--c8c84e-pink);
  font-weight: 800;
}

/* ============================================================
   SUPPLEMENTARY MODULES
   (Latest Winners, RTP Analysis, Common Scenario Answer,
    Entity Relationship Summary)
   ============================================================ */
.c8c84e-module {
  background: var(--c8c84e-surface);
  border: 1px solid var(--c8c84e-border);
  border-radius: var(--c8c84e-radius-lg);
  padding: 16px;
  margin-top: 14px;
}

.c8c84e-module-title {
  font-family: var(--c8c84e-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--c8c84e-text);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.c8c84e-module-title svg { width: 18px; height: 18px; color: var(--c8c84e-pink); }

.c8c84e-module-eyebrow {
  font-size: 10.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--c8c84e-faint);
  margin-bottom: 8px;
}

.c8c84e-module p {
  color: var(--c8c84e-muted);
  font-size: 13.5px;
  margin-top: 6px;
}

.c8c84e-module p strong { color: var(--c8c84e-text); }

/* Winner ticker */
.c8c84e-winners {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 10px;
}

.c8c84e-winner {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 11px;
  border-radius: var(--c8c84e-radius);
  background: rgba(186, 225, 255, 0.06);
  border: 1px solid var(--c8c84e-border);
}

.c8c84e-winner-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFB3FF 0%, #BAE1FF 100%);
  color: #1C2833;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.c8c84e-winner-meta { min-width: 0; }
.c8c84e-winner-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--c8c84e-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.c8c84e-winner-game {
  font-size: 11.5px;
  color: var(--c8c84e-faint);
  margin-top: 1px;
}

.c8c84e-winner-prize {
  font-size: 13px;
  font-weight: 800;
  color: var(--c8c84e-gold);
  white-space: nowrap;
}

/* RTP bars */
.c8c84e-rtp-row {
  margin-top: 12px;
}

.c8c84e-rtp-head {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  margin-bottom: 4px;
}
.c8c84e-rtp-name { color: var(--c8c84e-text); font-weight: 600; }
.c8c84e-rtp-value { color: var(--c8c84e-pink); font-weight: 800; }

.c8c84e-rtp-bar {
  height: 6px;
  border-radius: 4px;
  background: rgba(186, 225, 255, 0.12);
  overflow: hidden;
}

.c8c84e-rtp-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #FFB3FF 0%, #BAE1FF 100%);
}

/* Scenario list */
.c8c84e-scenario {
  padding: 12px;
  border-radius: var(--c8c84e-radius);
  background: rgba(186, 225, 255, 0.06);
  border: 1px solid var(--c8c84e-border);
  margin-top: 10px;
}

.c8c84e-scenario-q {
  font-size: 13px;
  font-weight: 700;
  color: var(--c8c84e-text);
  display: flex;
  gap: 8px;
}
.c8c84e-scenario-q::before {
  content: 'Q';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--c8c84e-pink);
  color: #1C2833;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c8c84e-scenario-a {
  font-size: 13px;
  color: var(--c8c84e-muted);
  margin-top: 6px;
  padding-left: 28px;
}
.c8c84e-scenario-a strong { color: var(--c8c84e-text); }

/* Entity relationship */
.c8c84e-relate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.c8c84e-relate {
  padding: 11px 12px;
  border-radius: var(--c8c84e-radius);
  background: rgba(255, 179, 255, 0.06);
  border: 1px solid var(--c8c84e-border);
}

.c8c84e-relate-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--c8c84e-text);
  margin-bottom: 2px;
}

.c8c84e-relate-desc {
  font-size: 11.5px;
  color: var(--c8c84e-faint);
  line-height: 1.4;
}

/* ============================================================
   STEPS / CHECKLIST
   ============================================================ */
.c8c84e-steps {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.c8c84e-step {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(186, 225, 255, 0.06);
  border: 1px solid var(--c8c84e-border);
  border-radius: var(--c8c84e-radius);
}

.c8c84e-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFB3FF 0%, #BAE1FF 100%);
  color: #1C2833;
  font-weight: 800;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c8c84e-step-body { min-width: 0; }
.c8c84e-step-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--c8c84e-text);
}
.c8c84e-step-desc {
  font-size: 12px;
  color: var(--c8c84e-muted);
  margin-top: 2px;
}

/* ============================================================
   EXTENDED FOOTER  (homepage extended foot)
   ============================================================ */
.c8c84e-extfoot {
  margin-top: 24px;
  padding: 18px 14px 8px;
  background: linear-gradient(180deg, rgba(255, 179, 255, 0.05) 0%, rgba(186, 225, 255, 0.04) 100%);
  border-top: 1px solid var(--c8c84e-border);
  border-radius: var(--c8c84e-radius-lg) var(--c8c84e-radius-lg) 0 0;
}

.c8c84e-extfoot-intro {
  font-size: 13px;
  color: var(--c8c84e-muted);
  margin-bottom: 14px;
}
.c8c84e-extfoot-intro strong { color: var(--c8c84e-text); }

/* Shortcuts row (promotion actions = 6, horizontal shortcuts) */
.c8c84e-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.c8c84e-shortcut {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 11px 6px;
  border-radius: var(--c8c84e-radius);
  background: var(--c8c84e-surface);
  border: 1px solid var(--c8c84e-border);
  color: var(--c8c84e-text);
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.c8c84e-shortcut:active {
  background: rgba(255, 179, 255, 0.14);
  border-color: var(--c8c84e-border-strong);
}
.c8c84e-shortcut svg { width: 22px; height: 22px; color: var(--c8c84e-blue); }
.c8c84e-shortcut.c8c84e-shortcut-promo svg { color: var(--c8c84e-pink); }

/* Page directory */
.c8c84e-directory {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 10px;
  margin-bottom: 14px;
}

.c8c84e-directory a {
  font-size: 12.5px;
  color: var(--c8c84e-blue);
  padding: 5px 0;
  border-bottom: 1px dashed var(--c8c84e-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}
.c8c84e-directory a::after {
  content: '↗';
  color: var(--c8c84e-faint);
  font-size: 11px;
}

.c8c84e-disclaimer {
  font-size: 11px;
  color: var(--c8c84e-faint);
  line-height: 1.5;
  padding: 10px 12px;
  border-radius: var(--c8c84e-radius);
  background: rgba(8, 12, 18, 0.4);
  border: 1px solid var(--c8c84e-border);
  margin-top: 6px;
}

/* ============================================================
   COMMON FOOTER
   ============================================================ */
.c8c84e-footer {
  background: var(--c8c84e-bg-deep);
  border-top: 1px solid var(--c8c84e-border);
  padding: 16px 14px calc(env(safe-area-inset-bottom, 0px) + 12px);
  margin-top: 8px;
}

.c8c84e-footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.c8c84e-footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.c8c84e-footer-brand-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--c8c84e-text);
}

.c8c84e-footer-copy {
  font-size: 11px;
  color: var(--c8c84e-faint);
  line-height: 1.55;
}

.c8c84e-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 10px 0;
}

.c8c84e-footer-nav a {
  font-size: 12px;
  color: var(--c8c84e-muted);
}
.c8c84e-footer-nav a:active { color: var(--c8c84e-blue); }

/* ============================================================
   MOBILE BOTTOM NAV  (floating dock core)
   ============================================================ */
.c8c84e-bottomnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 8px;
  width: calc(100% - 16px);
  max-width: var(--c8c84e-max);
  background: linear-gradient(180deg, rgba(34, 48, 61, 0.98) 0%, rgba(20, 28, 36, 0.98) 100%);
  border: 1px solid var(--c8c84e-border-strong);
  border-radius: var(--c8c84e-radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 6px 4px;
  z-index: 65;
}

.c8c84e-navitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 2px;
  background: transparent;
  border: 0;
  color: var(--c8c84e-muted);
  font-size: 10px;
  font-weight: 600;
  border-radius: var(--c8c84e-radius);
  position: relative;
  min-height: 50px;
  text-align: center;
}

.c8c84e-navitem svg { width: 22px; height: 22px; }

.c8c84e-navitem.c8c84e-is-active {
  color: var(--c8c84e-text);
}

.c8c84e-navitem.c8c84e-is-active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--c8c84e-pink);
}

.c8c84e-navitem.c8c84e-navitem-promo {
  color: var(--c8c84e-pink);
}

.c8c84e-navitem:active { background: rgba(255, 179, 255, 0.10); }

.c8c84e-navitem-label {
  font-size: 10px;
  letter-spacing: 0.2px;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.c8c84e-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;
}

.c8c84e-divider {
  height: 1px;
  background: var(--c8c84e-border);
  margin: 16px 0;
}

/* ============================================================
   RESPONSIVE  (430px breakpoint)
   ============================================================ */
@media (min-width: 430px) {
  body { font-size: 15.5px; }
  .c8c84e-shell { padding: 0 16px; }
  .c8c84e-game-grid { grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .c8c84e-slide img { height: 220px; }
  .c8c84e-lead h1 { font-size: 25px; }
  .c8c84e-section-title { font-size: 21px; }
  .c8c84e-shortcuts { grid-template-columns: repeat(6, 1fr); }
  .c8c84e-directory { grid-template-columns: repeat(3, 1fr); }
  .c8c84e-relate-grid { grid-template-columns: repeat(3, 1fr); }
  .c8c84e-winners { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 430px) and (max-width: 480px) {
  .c8c84e-game-name { font-size: 12px; }
}

/* Tighter phones */
@media (max-width: 359px) {
  .c8c84e-brand-tag { display: none; }
  .c8c84e-brand-name { font-size: 17px; }
  .c8c84e-btn { padding: 8px 10px; font-size: 12px; }
  .c8c84e-game-grid { gap: 6px; }
  .c8c84e-game-name { font-size: 11px; }
}

/* Reduced motion */
/* ---------- Help page reading layout ---------- */
.c8c84e-help-main { padding-bottom: 24px; }
.c8c84e-help-hero { margin-top: 18px; padding: 20px 16px; border-left: 3px solid var(--c8c84e-pink); background: rgba(255,179,255,.07); }
.c8c84e-help-kicker { color: var(--c8c84e-pink); font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.c8c84e-help-hero h1 { margin-top: 7px; color: var(--c8c84e-text); font-size: 26px; line-height: 1.18; }
.c8c84e-help-hero p { margin-top: 10px; color: var(--c8c84e-muted); font-size: 14px; }
.c8c84e-help-band { margin-top: 14px; padding: 16px; border: 1px solid var(--c8c84e-border); border-radius: 4px 16px 4px 16px; background: rgba(36,51,65,.82); }
.c8c84e-help-band h2 { color: var(--c8c84e-text); font-size: 18px; line-height: 1.3; margin-bottom: 8px; }
.c8c84e-help-band h3 { color: var(--c8c84e-blue); font-size: 15px; margin: 14px 0 4px; }
.c8c84e-help-band p { color: var(--c8c84e-muted); font-size: 13.5px; margin-top: 8px; }
.c8c84e-help-band ul { list-style: disc; padding-left: 20px; margin-top: 8px; color: var(--c8c84e-muted); }
.c8c84e-help-band li { margin: 7px 0; font-size: 13.5px; }
.c8c84e-help-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.c8c84e-help-actions .c8c84e-btn { flex: 1 1 132px; min-height: 44px; }
.c8c84e-help-steps { counter-reset: helpstep; display: grid; gap: 8px; margin-top: 12px; }
.c8c84e-help-step { counter-increment: helpstep; display: grid; grid-template-columns: 32px 1fr; gap: 10px; padding: 11px; border-bottom: 1px solid var(--c8c84e-border); }
.c8c84e-help-step::before { content: counter(helpstep); width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--c8c84e-pink); color: var(--c8c84e-pink); border-radius: 50%; font-weight: 800; }
.c8c84e-help-step strong { color: var(--c8c84e-text); display: block; font-size: 14px; }
.c8c84e-help-step span { display: block; color: var(--c8c84e-muted); font-size: 13px; margin-top: 3px; }
.c8c84e-help-qa { margin-top: 10px; padding: 11px 0; border-top: 1px dashed var(--c8c84e-border); }
.c8c84e-help-qa strong { color: var(--c8c84e-text); display: block; font-size: 13.5px; }
.c8c84e-help-qa p { margin-top: 4px; }
.c8c84e-help-note { padding: 11px 12px; border: 1px solid rgba(255,213,107,.35); color: var(--c8c84e-muted); background: rgba(255,213,107,.07); font-size: 13px; margin-top: 10px; }
.c8c84e-checklist { display: grid; gap: 7px; margin-top: 10px; }
.c8c84e-checklist li { padding: 9px 10px 9px 31px; position: relative; color: var(--c8c84e-muted); font-size: 13px; border: 1px solid var(--c8c84e-border); }
.c8c84e-checklist li::before { content: '✓'; position: absolute; left: 10px; color: var(--c8c84e-pink); font-weight: 800; }
.c8c84e-compare { display: grid; gap: 8px; margin-top: 10px; }
.c8c84e-compare div { padding: 11px; border-left: 2px solid var(--c8c84e-blue); background: rgba(186,225,255,.06); }
.c8c84e-compare b { display: block; color: var(--c8c84e-text); font-size: 14px; }
.c8c84e-compare span { color: var(--c8c84e-muted); font-size: 13px; }

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