/* ============================================================
   phpark.cfd · native-25c241-chrome.css
   Mobile-first casino shell. Prefix: shell5c241-
   Palette: #9932CC / #2C2C2C / #BC8F8F / #FAF0E6 / #FF5722
   Direction: geometric title + neutral body, rounded buttons
   over square cards, big+small card mix, conclusion-first
   rhythm, short-distance transitions, compact CTA pairs.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --shell5c241-purple: #9932CC;
  --shell5c241-purple-deep: #6B1F96;
  --shell5c241-purple-soft: rgba(153, 50, 204, 0.22);
  --shell5c241-dark: #2C2C2C;
  --shell5c241-dark-2: #1c1a1d;
  --shell5c241-rose: #BC8F8F;
  --shell5c241-rose-deep: #8a6669;
  --shell5c241-cream: #FAF0E6;
  --shell5c241-orange: #FF5722;
  --shell5c241-orange-deep: #c8410f;

  --shell5c241-bg: #242122;
  --shell5c241-bg-elev: #2f2a2e;
  --shell5c241-surface: #332d33;
  --shell5c241-surface-2: #3c353b;
  --shell5c241-line: rgba(250, 240, 230, 0.10);
  --shell5c241-line-strong: rgba(250, 240, 230, 0.20);

  --shell5c241-text: #FAF0E6;
  --shell5c241-text-dim: #d8c9c2;
  --shell5c241-text-mute: #9b8d8a;

  --shell5c241-canvas: 430px;
  --shell5c241-r-btn: 28px;
  --shell5c241-r-pill: 999px;
  --shell5c241-r-card: 4px;
  --shell5c241-r-tile: 10px;

  --shell5c241-top-h: 58px;
  --shell5c241-bottom-h: 68px;

  --shell5c241-ease: cubic-bezier(0.4, 0.0, 0.2, 1);
  --shell5c241-fast: 160ms;
  --shell5c241-mid: 280ms;

  --shell5c241-shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.35);
  --shell5c241-shadow-lift: 0 12px 32px rgba(0, 0, 0, 0.5);

  --shell5c241-font-display: "SF Pro Display", "Segoe UI", "Trebuchet MS", "Helvetica Neue", system-ui, sans-serif;
  --shell5c241-font-body: "SF Pro Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: var(--shell5c241-dark-2);
  color: var(--shell5c241-text);
  font-family: var(--shell5c241-font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

body { min-height: 100vh; }

img { display: block; max-width: 100%; height: auto; }

a { color: var(--shell5c241-cream); text-decoration: none; }

button {
  font-family: inherit;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--shell5c241-orange);
  outline-offset: 2px;
}

/* ---------- Page canvas ---------- */
.shell5c241-page {
  position: relative;
  max-width: var(--shell5c241-canvas);
  margin: 0 auto;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(153, 50, 204, 0.20) 0%, transparent 60%),
    linear-gradient(180deg, #2a2427 0%, #221e21 40%, #1c191c 100%);
  min-height: 100vh;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.45);
}

.shell5c241-main {
  padding-top: calc(var(--shell5c241-top-h) + 8px);
  padding-bottom: calc(var(--shell5c241-bottom-h) + 28px);
}

/* ---------- Top brand bar ---------- */
.shell5c241-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--shell5c241-top-h);
  padding: 0 12px;
  background: linear-gradient(180deg, rgba(36, 33, 34, 0.96) 0%, rgba(36, 33, 34, 0.88) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--shell5c241-line);
}

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

.shell5c241-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  background: var(--shell5c241-purple-deep);
  border: 1px solid var(--shell5c241-purple);
  box-shadow: 0 2px 8px rgba(153, 50, 204, 0.4);
  flex: none;
}

.shell5c241-brand-name {
  font-family: var(--shell5c241-font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.4px;
  background: linear-gradient(90deg, #FAF0E6 0%, #FF5722 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

/* Compact double button group */
.shell5c241-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

.shell5c241-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  font-family: var(--shell5c241-font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  border-radius: var(--shell5c241-r-btn);
  transition: transform var(--shell5c241-fast) var(--shell5c241-ease),
              background var(--shell5c241-fast) var(--shell5c241-ease),
              box-shadow var(--shell5c241-fast) var(--shell5c241-ease);
  white-space: nowrap;
}

.shell5c241-btn:active { transform: scale(0.95); }

.shell5c241-btn--ghost {
  background: rgba(250, 240, 230, 0.08);
  color: var(--shell5c241-cream);
  border: 1px solid var(--shell5c241-line-strong);
}

.shell5c241-btn--ghost:hover { background: rgba(250, 240, 230, 0.14); }

.shell5c241-btn--primary {
  background: linear-gradient(135deg, #FF5722 0%, #ff7a4d 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.45);
}

.shell5c241-btn--primary:hover {
  box-shadow: 0 6px 18px rgba(255, 87, 34, 0.6);
}

.shell5c241-btn--purple {
  background: linear-gradient(135deg, #9932CC 0%, #b25fe0 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(153, 50, 204, 0.45);
}

.shell5c241-btn--block { width: 100%; }

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

.shell5c241-menu-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--shell5c241-r-btn);
  background: rgba(250, 240, 230, 0.06);
  border: 1px solid var(--shell5c241-line);
  color: var(--shell5c241-cream);
  flex: none;
  transition: background var(--shell5c241-fast) var(--shell5c241-ease);
}

.shell5c241-menu-btn:hover { background: rgba(250, 240, 230, 0.12); }

.shell5c241-menu-btn svg { width: 18px; height: 18px; }

/* ---------- Slide-up routing panel ---------- */
.shell5c241-panel-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 9, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--shell5c241-mid) var(--shell5c241-ease),
              visibility var(--shell5c241-mid);
  z-index: 60;
}

.shell5c241-panel-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.shell5c241-menupanel {
  position: fixed;
  left: 50%;
  transform: translate(-50%, 100%);
  bottom: 0;
  width: 100%;
  max-width: var(--shell5c241-canvas);
  max-height: 78vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #2f2930 0%, #221e22 100%);
  border-top: 1px solid var(--shell5c241-purple);
  border-radius: 22px 22px 0 0;
  padding: 14px 16px calc(env(safe-area-inset-bottom, 0px) + 18px);
  z-index: 70;
  transition: transform var(--shell5c241-mid) var(--shell5c241-ease);
  box-shadow: var(--shell5c241-shadow-lift);
}

.shell5c241-menupanel.is-open {
  transform: translate(-50%, 0);
}

.shell5c241-menupanel-grip {
  width: 44px;
  height: 4px;
  border-radius: var(--shell5c241-r-pill);
  background: var(--shell5c241-rose-deep);
  margin: 0 auto 12px;
}

.shell5c241-menupanel-title {
  font-family: var(--shell5c241-font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--shell5c241-rose);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 10px;
}

.shell5c241-menupanel-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

.shell5c241-menupanel-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px;
  border-radius: var(--shell5c241-r-tile);
  color: var(--shell5c241-cream);
  font-size: 14.5px;
  font-weight: 500;
  transition: background var(--shell5c241-fast) var(--shell5c241-ease),
              padding var(--shell5c241-fast) var(--shell5c241-ease);
}

.shell5c241-menupanel-list a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.6px solid var(--shell5c241-rose);
  border-right: 1.6px solid var(--shell5c241-rose);
  transform: rotate(45deg);
  opacity: 0.7;
}

.shell5c241-menupanel-list a:hover {
  background: var(--shell5c241-purple-soft);
  padding-left: 18px;
}

.shell5c241-menupanel-cta {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.shell5c241-menupanel-cta .shell5c241-btn { flex: 1; }

/* ---------- Hero carousel ---------- */
.shell5c241-hero {
  position: relative;
  margin: 12px 12px 4px;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: var(--shell5c241-shadow-soft);
}

.shell5c241-hero-track {
  display: flex;
  transition: transform 420ms var(--shell5c241-ease);
  will-change: transform;
}

.shell5c241-hero-slide {
  position: relative;
  flex: 0 0 100%;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

.shell5c241-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shell5c241-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.72) 100%);
}

.shell5c241-hero-cap {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
  pointer-events: none;
}

.shell5c241-hero-cap-tag {
  display: inline-block;
  font-family: var(--shell5c241-font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--shell5c241-r-pill);
  background: var(--shell5c241-orange);
  margin-bottom: 6px;
}

.shell5c241-hero-cap-text {
  font-family: var(--shell5c241-font-display);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.shell5c241-hero-dots {
  position: absolute;
  right: 12px;
  bottom: 10px;
  display: flex;
  gap: 5px;
  z-index: 3;
}

.shell5c241-hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(250, 240, 230, 0.5);
  border: 0;
  padding: 0;
  transition: all var(--shell5c241-fast) var(--shell5c241-ease);
}

.shell5c241-hero-dot.is-active {
  background: var(--shell5c241-orange);
  width: 18px;
  border-radius: var(--shell5c241-r-pill);
}

/* ---------- Section header ---------- */
.shell5c241-section {
  margin: 22px 0 0;
  padding: 0 12px;
}

.shell5c241-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.shell5c241-section-title {
  font-family: var(--shell5c241-font-display);
  font-weight: 800;
  font-size: 19px;
  color: var(--shell5c241-cream);
  line-height: 1.15;
  position: relative;
  padding-left: 12px;
}

.shell5c241-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--shell5c241-orange) 0%, var(--shell5c241-purple) 100%);
}

.shell5c241-section-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: var(--shell5c241-rose);
  text-transform: uppercase;
}

.shell5c241-section-link {
  font-size: 12px;
  color: var(--shell5c241-orange);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.shell5c241-lead {
  font-size: 13px;
  color: var(--shell5c241-text-dim);
  margin: 0 0 10px;
}

/* ---------- Game grids ---------- */
.shell5c241-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.shell5c241-game-card {
  position: relative;
  display: block;
  background: var(--shell5c241-surface);
  border-radius: var(--shell5c241-r-card);
  overflow: hidden;
  border: 1px solid var(--shell5c241-line);
  cursor: pointer;
  transition: transform var(--shell5c241-fast) var(--shell5c241-ease),
              border-color var(--shell5c241-fast) var(--shell5c241-ease),
              box-shadow var(--shell5c241-fast) var(--shell5c241-ease);
}

.shell5c241-game-card:hover {
  transform: translateY(-2px);
  border-color: var(--shell5c241-purple);
  box-shadow: 0 6px 16px rgba(153, 50, 204, 0.35);
}

.shell5c241-game-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #1a1718;
  overflow: hidden;
}

.shell5c241-game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--shell5c241-mid) var(--shell5c241-ease);
}

.shell5c241-game-card:hover .shell5c241-game-thumb img { transform: scale(1.06); }

.shell5c241-game-name {
  padding: 6px 6px 7px;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--shell5c241-cream);
  text-align: center;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
}

/* Featured big card */
.shell5c241-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.shell5c241-game-big {
  position: relative;
  display: block;
  border-radius: var(--shell5c241-r-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--shell5c241-surface);
  border: 1px solid var(--shell5c241-line);
  cursor: pointer;
  transition: transform var(--shell5c241-fast) var(--shell5c241-ease),
              border-color var(--shell5c241-fast) var(--shell5c241-ease);
}

.shell5c241-game-big:hover {
  transform: translateY(-2px);
  border-color: var(--shell5c241-orange);
}

.shell5c241-game-big img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shell5c241-game-big-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 10px 10px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 80%);
  color: #fff;
}

.shell5c241-game-big-cap .shell5c241-game-big-tag {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--shell5c241-orange);
  margin-bottom: 3px;
  display: block;
}

.shell5c241-game-big-cap .shell5c241-game-big-name {
  font-family: var(--shell5c241-font-display);
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
}

.shell5c241-game-big-cap .shell5c241-game-big-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 7px;
  font-size: 11px;
  font-weight: 700;
  color: var(--shell5c241-cream);
  padding: 4px 10px;
  border-radius: var(--shell5c241-r-pill);
  background: rgba(255, 87, 34, 0.85);
}

/* ---------- Content modules ---------- */
.shell5c241-module {
  margin: 22px 12px 0;
  padding: 16px;
  background: linear-gradient(180deg, var(--shell5c241-bg-elev) 0%, var(--shell5c241-surface) 100%);
  border-radius: var(--shell5c241-r-tile);
  border: 1px solid var(--shell5c241-line);
}

.shell5c241-module-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.shell5c241-module-icon {
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--shell5c241-purple-soft);
  color: var(--shell5c241-purple);
  border: 1px solid rgba(153, 50, 204, 0.4);
}

.shell5c241-module-icon svg { width: 18px; height: 18px; }

.shell5c241-module-title {
  font-family: var(--shell5c241-font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--shell5c241-cream);
}

.shell5c241-module-lead {
  font-size: 13.5px;
  color: var(--shell5c241-text-dim);
  margin-bottom: 10px;
}

.shell5c241-module p {
  font-size: 13.5px;
  color: var(--shell5c241-text-dim);
  margin-bottom: 8px;
}

.shell5c241-module p:last-child { margin-bottom: 0; }

.shell5c241-module a {
  color: var(--shell5c241-orange);
  font-weight: 600;
  border-bottom: 1px dashed rgba(255, 87, 34, 0.5);
}

.shell5c241-module a:hover { color: #ff8053; }

/* Steps list */
.shell5c241-steps {
  display: grid;
  gap: 8px;
  counter-reset: step;
}

.shell5c241-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  padding: 9px 10px;
  background: rgba(250, 240, 230, 0.04);
  border-radius: var(--shell5c241-r-card);
  border-left: 2px solid var(--shell5c241-purple);
}

.shell5c241-step-num {
  font-family: var(--shell5c241-font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--shell5c241-orange);
  line-height: 1.4;
}

.shell5c241-step-text {
  font-size: 13px;
  color: var(--shell5c241-text-dim);
  line-height: 1.45;
}

.shell5c241-step-text strong { color: var(--shell5c241-cream); }

/* Winners ticker */
.shell5c241-winners {
  display: grid;
  gap: 6px;
}

.shell5c241-winner {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  background: rgba(250, 240, 230, 0.04);
  border-radius: var(--shell5c241-r-card);
}

.shell5c241-winner-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--shell5c241-purple) 0%, var(--shell5c241-orange) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--shell5c241-font-display);
  font-weight: 800;
  font-size: 13px;
}

.shell5c241-winner-meta {
  min-width: 0;
}

.shell5c241-winner-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--shell5c241-cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shell5c241-winner-game {
  font-size: 11px;
  color: var(--shell5c241-text-mute);
}

.shell5c241-winner-amount {
  font-family: var(--shell5c241-font-display);
  font-weight: 800;
  font-size: 13.5px;
  color: #4ade80;
  white-space: nowrap;
}

/* Tricks grid */
.shell5c241-tricks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.shell5c241-trick {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  padding: 10px 11px;
  background: rgba(153, 50, 204, 0.08);
  border-radius: var(--shell5c241-r-card);
  border: 1px solid rgba(153, 50, 204, 0.18);
}

.shell5c241-trick-num {
  font-family: var(--shell5c241-font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--shell5c241-orange);
  line-height: 1.2;
}

.shell5c241-trick-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--shell5c241-cream);
  margin-bottom: 2px;
}

.shell5c241-trick-text {
  font-size: 12.5px;
  color: var(--shell5c241-text-dim);
  line-height: 1.45;
}

/* Takeaways */
.shell5c241-takeaways {
  display: grid;
  gap: 6px;
}

.shell5c241-takeaway {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  padding: 10px 11px;
  background: rgba(255, 87, 34, 0.07);
  border-left: 2px solid var(--shell5c241-orange);
  border-radius: 0 var(--shell5c241-r-card) var(--shell5c241-r-card) 0;
  font-size: 13px;
  color: var(--shell5c241-text);
  line-height: 1.45;
}

.shell5c241-takeaway-mark {
  color: var(--shell5c241-orange);
  font-weight: 800;
  font-family: var(--shell5c241-font-display);
}

/* App download block */
.shell5c241-app {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.shell5c241-app-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* Promotions compact */
.shell5c241-promo-list {
  display: grid;
  gap: 8px;
}

.shell5c241-promo-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: rgba(250, 240, 230, 0.04);
  border-radius: var(--shell5c241-r-card);
  border: 1px solid var(--shell5c241-line);
}

.shell5c241-promo-badge {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--shell5c241-purple) 0%, var(--shell5c241-orange) 100%);
  color: #fff;
  font-family: var(--shell5c241-font-display);
  font-weight: 800;
  font-size: 12px;
  text-align: center;
  line-height: 1.05;
}

.shell5c241-promo-meta { min-width: 0; }

.shell5c241-promo-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--shell5c241-cream);
}

.shell5c241-promo-desc {
  font-size: 11.5px;
  color: var(--shell5c241-text-mute);
  line-height: 1.35;
}

.shell5c241-promo-arrow {
  font-family: var(--shell5c241-font-display);
  font-weight: 800;
  color: var(--shell5c241-orange);
  padding: 6px 10px;
  border-radius: var(--shell5c241-r-pill);
  background: rgba(255, 87, 34, 0.12);
  font-size: 12px;
}

/* ---------- Extended footer (homepage-specific) ---------- */
.shell5c241-extended {
  margin: 24px 12px 0;
  padding: 18px 14px 6px;
  background: linear-gradient(180deg, #2a242a 0%, #1f1b1e 100%);
  border-radius: 14px 14px 0 0;
  border-top: 1px solid var(--shell5c241-line);
}

.shell5c241-extended-group { margin-bottom: 16px; }

.shell5c241-extended-title {
  font-family: var(--shell5c241-font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--shell5c241-rose);
  margin-bottom: 8px;
}

.shell5c241-dir-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.shell5c241-dir-grid a {
  padding: 8px 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--shell5c241-text-dim);
  background: rgba(250, 240, 230, 0.04);
  border-radius: var(--shell5c241-r-card);
  transition: background var(--shell5c241-fast) var(--shell5c241-ease),
              color var(--shell5c241-fast) var(--shell5c241-ease);
}

.shell5c241-dir-grid a:hover {
  background: var(--shell5c241-purple-soft);
  color: var(--shell5c241-cream);
}

.shell5c241-brand-blurb {
  font-size: 12.5px;
  color: var(--shell5c241-text-mute);
  line-height: 1.55;
  padding: 10px 12px;
  background: rgba(250, 240, 230, 0.03);
  border-radius: var(--shell5c241-r-card);
  border-left: 2px solid var(--shell5c241-purple);
}

.shell5c241-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.shell5c241-promo-grid button {
  padding: 9px 4px;
  font-size: 11.5px;
  font-weight: 700;
  font-family: var(--shell5c241-font-display);
  color: var(--shell5c241-cream);
  background: rgba(153, 50, 204, 0.18);
  border: 1px solid rgba(153, 50, 204, 0.35);
  border-radius: var(--shell5c241-r-card);
  transition: all var(--shell5c241-fast) var(--shell5c241-ease);
  text-align: center;
  line-height: 1.2;
}

.shell5c241-promo-grid button:hover {
  background: rgba(255, 87, 34, 0.22);
  border-color: var(--shell5c241-orange);
  color: #fff;
}

.shell5c241-disclaimer {
  font-size: 11px;
  color: var(--shell5c241-text-mute);
  line-height: 1.55;
  padding-top: 10px;
  margin-top: 8px;
  border-top: 1px dashed var(--shell5c241-line);
}

/* ---------- Common footer (copyright) ---------- */
.shell5c241-footer {
  padding: 14px 16px calc(env(safe-area-inset-bottom, 0px) + 12px);
  text-align: center;
}

.shell5c241-footer-copy {
  font-size: 11.5px;
  color: var(--shell5c241-text-mute);
  line-height: 1.5;
}

.shell5c241-footer-copy strong { color: var(--shell5c241-rose); }

/* ---------- Bottom nav (5 roles) ---------- */
.shell5c241-bottomnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: var(--shell5c241-canvas);
  height: var(--shell5c241-bottom-h);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  background: linear-gradient(180deg, rgba(36, 33, 34, 0.92) 0%, rgba(28, 25, 28, 0.98) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--shell5c241-line-strong);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 45;
}

.shell5c241-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 100%;
  color: var(--shell5c241-text-mute);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: color var(--shell5c241-fast) var(--shell5c241-ease);
  position: relative;
}

.shell5c241-nav-item svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all var(--shell5c241-fast) var(--shell5c241-ease);
}

.shell5c241-nav-item.is-active {
  color: var(--shell5c241-orange);
}

.shell5c241-nav-item.is-active svg {
  fill: var(--shell5c241-orange);
  stroke: var(--shell5c241-orange);
}

.shell5c241-nav-item.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: var(--shell5c241-orange);
}

.shell5c241-nav-item:hover { color: var(--shell5c241-cream); }

.shell5c241-nav-promo {
  position: relative;
}

.shell5c241-nav-promo::after {
  content: "HOT";
  position: absolute;
  top: 6px;
  right: 50%;
  transform: translateX(13px);
  font-size: 8px;
  font-weight: 800;
  font-family: var(--shell5c241-font-display);
  color: #fff;
  background: var(--shell5c241-orange);
  padding: 1px 4px;
  border-radius: var(--shell5c241-r-pill);
  letter-spacing: 0.4px;
  line-height: 1.3;
}

/* ---------- Help page additions ---------- */
.shell5c241-faq-list p,
.shell5c241-module dd { color: var(--shell5c241-text-dim); }

/* ---------- Responsive fine-tuning ---------- */
@media (min-width: 360px) {
  .shell5c241-game-grid { gap: 9px; }
  .shell5c241-section-title { font-size: 20px; }
}

@media (min-width: 393px) {
  body { font-size: 15.5px; }
  .shell5c241-hero-cap-text { font-size: 19px; }
  .shell5c241-promo-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 414px) {
  .shell5c241-game-grid { grid-template-columns: repeat(5, 1fr); gap: 10px; }
}

/* Centered canvas on wide screens */
@media (min-width: 480px) {
  body {
    background: radial-gradient(circle at 50% 0%, #2c2530 0%, #14101a 70%);
    padding: 0;
  }
}

@media (min-width: 768px) {
  .shell5c241-page {
    margin: 18px auto;
    border-radius: 22px;
    overflow: hidden;
    min-height: calc(100vh - 36px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  }
  .shell5c241-topbar { border-top-left-radius: 22px; border-top-right-radius: 22px; }
  .shell5c241-bottomnav {
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
  }
}

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