/* ============================================================
   888q.homes - Mobile-first visuals
   Class prefix: c14cc9-
   Palette: #BA55D3 | #4B0082 | #333333 | #D2B48C | #DDA0DD | #6C757D
   Direction: bold title + light body, rounded buttons / square cards,
   horizontal icon-name game bars, conclusion-first rhythm,
   slide-up menu + soft card lift, compact dual-button CTA.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --c14cc9-bg-deep: #4B0082;
  --c14cc9-bg-dark: #333333;
  --c14cc9-bg-darker: #262029;
  --c14cc9-accent: #BA55D3;
  --c14cc9-accent-soft: #DDA0DD;
  --c14cc9-tan: #D2B48C;
  --c14cc9-muted: #6C757D;
  --c14cc9-text: #F6ECFF;
  --c14cc9-text-dim: #C9B8DC;
  --c14cc9-line: rgba(186, 85, 211, 0.22);
  --c14cc9-line-strong: rgba(186, 85, 211, 0.45);
  --c14cc9-shadow: 0 10px 26px rgba(0, 0, 0, 0.38);
  --c14cc9-shadow-soft: 0 6px 16px rgba(75, 0, 130, 0.28);
  --c14cc9-r-gap: 12px;
  --c14cc9-r-pill: 999px;
  --c14cc9-r-card: 8px;
  --c14cc9-r-tile: 4px;
  --c14cc9-topbar-h: 60px;
  --c14cc9-bottombar-h: 68px;
  --c14cc9-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --c14cc9-font: "Segoe UI", "Helvetica Neue", Roboto, "Be Vietnam Pro", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--c14cc9-font);
  background: var(--c14cc9-bg-darker);
  color: var(--c14cc9-text);
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }

/* ---------- Mobile canvas frame ---------- */
.c14cc9-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  background:
    radial-gradient(1100px 380px at 50% -120px, rgba(186, 85, 211, 0.30), transparent 70%),
    linear-gradient(180deg, #3a1d52 0%, #2a1838 38%, #1d1426 100%);
  min-height: 100vh;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.45);
  padding-bottom: calc(var(--c14cc9-bottombar-h) + env(safe-area-inset-bottom, 0px));
}

/* ---------- Skip link ---------- */
.c14cc9-skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--c14cc9-accent);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--c14cc9-r-tile);
  z-index: 200;
}
.c14cc9-skip:focus { left: 12px; }

/* ---------- Top brand bar ---------- */
.c14cc9-topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  height: var(--c14cc9-topbar-h);
  background: linear-gradient(180deg, rgba(38, 32, 41, 0.96), rgba(38, 32, 41, 0.88));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c14cc9-line);
}
.c14cc9-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.c14cc9-brand img {
  width: 38px;
  height: 38px;
  border-radius: var(--c14cc9-r-pill);
  object-fit: cover;
  border: 1px solid var(--c14cc9-line-strong);
  flex: 0 0 auto;
}
.c14cc9-brand-name {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.5px;
  color: #fff;
  white-space: nowrap;
}
.c14cc9-brand-name span { color: var(--c14cc9-accent-soft); }
.c14cc9-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.c14cc9-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--c14cc9-r-pill);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.2px;
  transition: transform 0.18s var(--c14cc9-ease), box-shadow 0.18s var(--c14cc9-ease), background 0.18s var(--c14cc9-ease);
  white-space: nowrap;
}
.c14cc9-btn-primary {
  background: linear-gradient(135deg, #BA55D3 0%, #7a3aa8 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(186, 85, 211, 0.32);
}
.c14cc9-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(186, 85, 211, 0.42); }
.c14cc9-btn-ghost {
  background: transparent;
  color: var(--c14cc9-text);
  border: 1px solid var(--c14cc9-line-strong);
}
.c14cc9-btn-ghost:hover { background: rgba(186, 85, 211, 0.12); }
.c14cc9-btn-tan {
  background: linear-gradient(135deg, #D2B48C 0%, #b89366 100%);
  color: #2a1838;
  box-shadow: 0 6px 16px rgba(210, 180, 140, 0.28);
}
.c14cc9-btn-tan:hover { transform: translateY(-1px); }
.c14cc9-btn:focus-visible {
  outline: 2px solid var(--c14cc9-accent-soft);
  outline-offset: 2px;
}

/* Hamburger */
.c14cc9-iconbtn {
  width: 40px;
  height: 40px;
  border-radius: var(--c14cc9-r-pill);
  border: 1px solid var(--c14cc9-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(186, 85, 211, 0.10);
  color: #fff;
}
.c14cc9-iconbtn:hover { background: rgba(186, 85, 211, 0.22); }
.c14cc9-iconbtn svg { width: 20px; height: 20px; }

/* ---------- Slide-up route panel ---------- */
.c14cc9-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 6, 16, 0.66);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--c14cc9-ease), visibility 0.25s var(--c14cc9-ease);
  z-index: 90;
}
.c14cc9-menu-backdrop.c14cc9-open { opacity: 1; visibility: visible; }
.c14cc9-menu {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 430px;
  margin: 0 auto;
  background: linear-gradient(180deg, #2a1c34, #1b1326);
  border-top: 1px solid var(--c14cc9-line-strong);
  border-radius: 18px 18px 0 0;
  padding: 14px 14px calc(18px + env(safe-area-inset-bottom, 0px));
  transform: translateY(102%);
  transition: transform 0.32s var(--c14cc9-ease);
  z-index: 95;
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.5);
  max-height: 78vh;
  overflow-y: auto;
}
.c14cc9-menu.c14cc9-open { transform: translateY(0); }
.c14cc9-menu-handle {
  width: 42px;
  height: 4px;
  background: var(--c14cc9-line-strong);
  border-radius: var(--c14cc9-r-pill);
  margin: -4px auto 10px;
}
.c14cc9-menu-title {
  font-size: 13px;
  color: var(--c14cc9-text-dim);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 10px;
  padding: 0 4px;
}
.c14cc9-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.c14cc9-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--c14cc9-line);
  border-radius: var(--c14cc9-r-card);
  background: rgba(186, 85, 211, 0.06);
  font-weight: 600;
  font-size: 14px;
  color: var(--c14cc9-text);
  transition: background 0.18s var(--c14cc9-ease), transform 0.18s var(--c14cc9-ease), border-color 0.18s var(--c14cc9-ease);
}
.c14cc9-menu-item:hover {
  background: rgba(186, 85, 211, 0.18);
  border-color: var(--c14cc9-line-strong);
  transform: translateY(-1px);
}
.c14cc9-menu-item svg { width: 18px; height: 18px; color: var(--c14cc9-accent-soft); flex: 0 0 auto; }
.c14cc9-menu-item span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c14cc9-menu-cta {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* ---------- Visible page H1 ---------- */
.c14cc9-page-title {
  font-size: 22px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  padding: 4px 12px 0;
  margin: 6px 0 2px;
}
.c14cc9-page-sub {
  padding: 0 12px;
  margin: 0 0 4px;
  font-size: 12.5px;
  color: var(--c14cc9-text-dim);
  font-weight: 300;
}
.c14cc9-page-sub b { color: var(--c14cc9-tan); font-weight: 600; }

/* ---------- Hero carousel ---------- */
.c14cc9-hero {
  margin: 12px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--c14cc9-shadow);
  background: #1a0f28;
}
.c14cc9-hero-track {
  display: flex;
  transition: transform 0.5s var(--c14cc9-ease);
}
.c14cc9-hero-slide {
  flex: 0 0 100%;
  position: relative;
}
.c14cc9-hero-slide img {
  width: 100%;
  height: 188px;
  object-fit: cover;
}
.c14cc9-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 15, 40, 0.05) 30%, rgba(26, 15, 40, 0.86) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
}
.c14cc9-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--c14cc9-r-pill);
  background: rgba(210, 180, 140, 0.22);
  color: var(--c14cc9-tan);
  border: 1px solid rgba(210, 180, 140, 0.42);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  width: max-content;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.c14cc9-hero-title {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.c14cc9-hero-sub {
  font-size: 13px;
  color: var(--c14cc9-text-dim);
  margin-bottom: 10px;
}
.c14cc9-hero-cta { display: flex; gap: 8px; }
.c14cc9-hero-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 5px;
  z-index: 5;
}
.c14cc9-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--c14cc9-r-pill);
  background: rgba(255, 255, 255, 0.35);
  border: 0;
  padding: 0;
  transition: background 0.2s var(--c14cc9-ease), width 0.2s var(--c14cc9-ease);
}
.c14cc9-hero-dot.c14cc9-active { background: var(--c14cc9-accent); width: 18px; }

/* ---------- Section frame ---------- */
.c14cc9-section {
  margin: 18px 12px;
}
.c14cc9-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.c14cc9-section-bar {
  width: 4px;
  height: 22px;
  border-radius: var(--c14cc9-r-pill);
  background: linear-gradient(180deg, var(--c14cc9-accent), var(--c14cc9-tan));
  flex: 0 0 auto;
}
.c14cc9-section-title {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}
.c14cc9-section-note {
  margin-left: auto;
  font-size: 11px;
  color: var(--c14cc9-text-dim);
  background: rgba(186, 85, 211, 0.12);
  border: 1px solid var(--c14cc9-line);
  padding: 3px 8px;
  border-radius: var(--c14cc9-r-pill);
  white-space: nowrap;
}

/* ---------- Category strip ---------- */
.c14cc9-cat-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.c14cc9-cat-strip::-webkit-scrollbar { display: none; }
.c14cc9-cat-chip {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: var(--c14cc9-r-pill);
  border: 1px solid var(--c14cc9-line);
  background: rgba(186, 85, 211, 0.06);
  color: var(--c14cc9-text-dim);
  font-weight: 600;
  font-size: 12.5px;
  transition: background 0.18s var(--c14cc9-ease), color 0.18s var(--c14cc9-ease), border-color 0.18s var(--c14cc9-ease);
}
.c14cc9-cat-chip:hover { background: rgba(186, 85, 211, 0.16); color: #fff; }
.c14cc9-cat-chip.c14cc9-active {
  background: linear-gradient(135deg, var(--c14cc9-accent), #7a3aa8);
  color: #fff;
  border-color: transparent;
}

/* ---------- Game grid: horizontal icon-name bars ---------- */
.c14cc9-game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.c14cc9-game {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  background: linear-gradient(135deg, rgba(51, 51, 51, 0.92), rgba(38, 32, 41, 0.92));
  border: 1px solid var(--c14cc9-line);
  border-radius: var(--c14cc9-r-card);
  transition: transform 0.18s var(--c14cc9-ease), box-shadow 0.18s var(--c14cc9-ease), border-color 0.18s var(--c14cc9-ease);
  text-align: left;
  width: 100%;
}
.c14cc9-game:hover {
  transform: translateY(-2px);
  box-shadow: var(--c14cc9-shadow-soft);
  border-color: var(--c14cc9-line-strong);
}
.c14cc9-game-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--c14cc9-r-tile);
  object-fit: cover;
  background: #1a0f28;
  flex: 0 0 auto;
  border: 1px solid rgba(186, 85, 211, 0.18);
}
.c14cc9-game-body { min-width: 0; flex: 1; }
.c14cc9-game-name {
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.c14cc9-game-meta {
  font-size: 10.5px;
  color: var(--c14cc9-accent-soft);
  margin-top: 2px;
  letter-spacing: 0.3px;
}
.c14cc9-game-go {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: var(--c14cc9-r-pill);
  background: rgba(210, 180, 140, 0.18);
  color: var(--c14cc9-tan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.c14cc9-game-go svg { width: 12px; height: 12px; }

/* ---------- Content modules ---------- */
.c14cc9-card {
  background: linear-gradient(135deg, rgba(51, 51, 51, 0.85), rgba(38, 32, 41, 0.92));
  border: 1px solid var(--c14cc9-line);
  border-radius: var(--c14cc9-r-card);
  padding: 14px;
  box-shadow: var(--c14cc9-shadow-soft);
}
.c14cc9-card + .c14cc9-card { margin-top: 12px; }
.c14cc9-card-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--c14cc9-r-pill);
  background: rgba(210, 180, 140, 0.18);
  color: var(--c14cc9-tan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.c14cc9-card h2 {
  font-size: 17px;
  color: #fff;
  margin-bottom: 8px;
}
.c14cc9-card h3 {
  font-size: 14.5px;
  color: var(--c14cc9-accent-soft);
  margin: 12px 0 6px;
  font-weight: 700;
}
.c14cc9-card p {
  font-size: 13.5px;
  color: var(--c14cc9-text-dim);
  font-weight: 300;
}
.c14cc9-card p + p { margin-top: 8px; }
.c14cc9-card p a {
  color: var(--c14cc9-tan);
  font-weight: 600;
  border-bottom: 1px dotted rgba(210, 180, 140, 0.6);
}
.c14cc9-card p a:hover { color: #fff; border-bottom-color: #fff; }
.c14cc9-card ul { margin: 6px 0 0; padding-left: 18px; list-style: disc; }
.c14cc9-card ul li { font-size: 13px; color: var(--c14cc9-text-dim); font-weight: 300; margin-bottom: 4px; }
.c14cc9-card ul li::marker { color: var(--c14cc9-accent); }
.c14cc9-card strong { color: #fff; font-weight: 700; }

/* Conclusion lead paragraph */
.c14cc9-lead {
  background: linear-gradient(135deg, rgba(186, 85, 211, 0.18), rgba(75, 0, 130, 0.18));
  border: 1px solid var(--c14cc9-line-strong);
  border-radius: var(--c14cc9-r-card);
  padding: 12px 14px;
  margin-bottom: 10px;
  font-size: 13.5px;
  color: #fff;
  font-weight: 500;
}
.c14cc9-lead strong { color: var(--c14cc9-tan); }

/* Achievements grid */
.c14cc9-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.c14cc9-stat {
  background: rgba(186, 85, 211, 0.10);
  border: 1px solid var(--c14cc9-line);
  border-radius: var(--c14cc9-r-card);
  padding: 10px 6px;
  text-align: center;
}
.c14cc9-stat-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--c14cc9-tan);
  line-height: 1.1;
}
.c14cc9-stat-label {
  font-size: 10.5px;
  color: var(--c14cc9-text-dim);
  margin-top: 3px;
  letter-spacing: 0.3px;
}

/* Comparison rows */
.c14cc9-compare {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.c14cc9-compare-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  align-items: start;
  padding: 9px 10px;
  border: 1px solid var(--c14cc9-line);
  border-radius: var(--c14cc9-r-card);
  background: rgba(38, 32, 41, 0.6);
}
.c14cc9-compare-key {
  font-weight: 700;
  color: #fff;
  font-size: 12.5px;
  padding: 3px 8px;
  background: rgba(186, 85, 211, 0.18);
  border-radius: var(--c14cc9-r-pill);
  text-align: center;
  height: max-content;
}
.c14cc9-compare-val {
  font-size: 12.5px;
  color: var(--c14cc9-text-dim);
  font-weight: 300;
}
.c14cc9-compare-val b { color: var(--c14cc9-accent-soft); font-weight: 600; }

/* Steps */
.c14cc9-steps { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.c14cc9-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}
.c14cc9-step-num {
  width: 28px;
  height: 28px;
  border-radius: var(--c14cc9-r-pill);
  background: linear-gradient(135deg, var(--c14cc9-accent), #7a3aa8);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.c14cc9-step-body h4 { font-size: 13.5px; color: #fff; margin-bottom: 2px; font-weight: 700; }
.c14cc9-step-body p { font-size: 12.5px; color: var(--c14cc9-text-dim); font-weight: 300; }

/* Checklist */
.c14cc9-checklist { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.c14cc9-checklist li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: start;
  font-size: 12.5px;
  color: var(--c14cc9-text-dim);
  font-weight: 300;
}
.c14cc9-checklist li::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-top: 3px;
  border-radius: 3px;
  border: 1.5px solid var(--c14cc9-accent);
  background: radial-gradient(circle at center, var(--c14cc9-accent) 35%, transparent 36%);
}

/* ---------- Extended footer ---------- */
.c14cc9-extended {
  margin: 18px 12px 8px;
  background: linear-gradient(180deg, rgba(75, 0, 130, 0.30), rgba(38, 32, 41, 0.6));
  border: 1px solid var(--c14cc9-line);
  border-radius: 14px;
  padding: 14px;
}
.c14cc9-extended-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.c14cc9-shortcut {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: var(--c14cc9-r-card);
  background: rgba(186, 85, 211, 0.08);
  border: 1px solid var(--c14cc9-line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c14cc9-text);
  transition: background 0.18s var(--c14cc9-ease), transform 0.18s var(--c14cc9-ease);
}
.c14cc9-shortcut:hover { background: rgba(186, 85, 211, 0.18); transform: translateY(-1px); }
.c14cc9-shortcut svg { width: 16px; height: 16px; color: var(--c14cc9-accent-soft); flex: 0 0 auto; }
.c14cc9-shortcut.is-promo { background: rgba(210, 180, 140, 0.12); border-color: rgba(210, 180, 140, 0.32); color: var(--c14cc9-tan); }
.c14cc9-shortcut.is-promo svg { color: var(--c14cc9-tan); }

.c14cc9-promo-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.c14cc9-promo-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border-radius: var(--c14cc9-r-card);
  background: linear-gradient(135deg, rgba(186, 85, 211, 0.18), rgba(75, 0, 130, 0.18));
  border: 1px solid var(--c14cc9-line-strong);
  text-align: left;
  transition: transform 0.18s var(--c14cc9-ease), box-shadow 0.18s var(--c14cc9-ease);
}
.c14cc9-promo-card:hover { transform: translateY(-2px); box-shadow: var(--c14cc9-shadow-soft); }
.c14cc9-promo-card-title { font-size: 13px; font-weight: 800; color: #fff; }
.c14cc9-promo-card-sub { font-size: 11.5px; color: var(--c14cc9-text-dim); font-weight: 300; }

.c14cc9-disclaimer {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: var(--c14cc9-r-card);
  background: rgba(108, 117, 125, 0.18);
  border-left: 3px solid var(--c14cc9-muted);
  font-size: 11.5px;
  color: var(--c14cc9-text-dim);
  font-weight: 300;
  line-height: 1.55;
}

/* ---------- Generic footer ---------- */
.c14cc9-foot {
  padding: 16px 14px calc(8px + env(safe-area-inset-bottom, 0px));
  text-align: center;
}
.c14cc9-foot-copy {
  font-size: 11.5px;
  color: var(--c14cc9-text-dim);
  font-weight: 300;
}
.c14cc9-foot-copy strong { color: var(--c14cc9-accent-soft); font-weight: 700; }

/* ---------- Bottom nav ---------- */
.c14cc9-bottomnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: 430px;
  margin: 0 auto;
  height: calc(var(--c14cc9-bottombar-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: linear-gradient(180deg, rgba(30, 22, 36, 0.96), rgba(20, 14, 26, 0.98));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--c14cc9-line-strong);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 85;
}
.c14cc9-navitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 2px;
  color: var(--c14cc9-text-dim);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
  position: relative;
  transition: color 0.18s var(--c14cc9-ease);
}
.c14cc9-navitem svg { width: 22px; height: 22px; transition: transform 0.18s var(--c14cc9-ease); }
.c14cc9-navitem:hover { color: #fff; }
.c14cc9-navitem:hover svg { transform: translateY(-1px); }
.c14cc9-navitem.c14cc9-active { color: var(--c14cc9-accent-soft); }
.c14cc9-navitem.c14cc9-active svg { color: var(--c14cc9-accent); filter: drop-shadow(0 0 6px rgba(186, 85, 211, 0.6)); }
.c14cc9-navitem.c14cc9-promo {
  color: var(--c14cc9-tan);
}
.c14cc9-navitem.c14cc9-promo svg {
  color: var(--c14cc9-tan);
  filter: drop-shadow(0 0 4px rgba(210, 180, 140, 0.5));
}
.c14cc9-navitem-label { white-space: nowrap; }

/* ---------- Utility ---------- */
.c14cc9-hidden { display: none !important; }
.c14cc9-container { padding: 0 12px; }

/* ---------- Responsive: 375-430px ---------- */
@media (min-width: 375px) {
  body { font-size: 15.5px; }
  .c14cc9-hero-slide img { height: 210px; }
  .c14cc9-hero-title { font-size: 21px; }
  .c14cc9-section-title { font-size: 18.5px; }
}
@media (min-width: 414px) {
  .c14cc9-hero-slide img { height: 226px; }
  .c14cc9-game-grid { gap: 10px; }
  .c14cc9-game-icon { width: 48px; height: 48px; }
}

/* Wider screens: keep the phone canvas centered */
@media (min-width: 480px) {
  body { background: #160f1f; }
  .c14cc9-shell { box-shadow: 0 0 80px rgba(0, 0, 0, 0.6); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
