/* ==========================================================================
   dynamic-5a2701-palette.css
   Tong Its Go (tongitsgo.homes) - mobile-first gaming canvas (320-430px).
   All custom classes and CSS variables use the shell5a270- prefix.
   Palette: #66CDAA / #1A1A1A / #00FF7F / #008000
   Navigation direction:
     top = centered identity bar
     menu = stacked overlay
     bottom bar = layered bottom strip
     icons = compact icons with text labels
     active state = contrast inversion
     micro interaction = short vertical lift
   ========================================================================== */

:root {
  --shell5a270-ink: #1A1A1A;
  --shell5a270-bg: #131614;
  --shell5a270-bg-deep: #0c0e0d;
  --shell5a270-bg-soft: #1b211e;
  --shell5a270-card: #20262a;
  --shell5a270-card-2: #262d31;
  --shell5a270-line: #2f3a36;
  --shell5a270-line-soft: #243029;
  --shell5a270-mint: #66CDAA;
  --shell5a270-spring: #00FF7F;
  --shell5a270-leaf: #008000;
  --shell5a270-leaf-deep: #0a5c43;
  --shell5a270-text: #eafff6;
  --shell5a270-text-dim: #9bb3ac;
  --shell5a270-muted: #6f8580;
  --shell5a270-gold: #ffd76a;
  --shell5a270-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  --shell5a270-radius: 16px;
  --shell5a270-radius-sm: 10px;
  --shell5a270-canvas: 480px;
  --shell5a270-header-h: 84px;
  --shell5a270-bottomnav-h: 74px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: 'Segoe UI', 'Helvetica Neue', system-ui, -apple-system, Arial, sans-serif;
  color: var(--shell5a270-text);
  background:
    radial-gradient(1100px 520px at 50% -8%, rgba(102, 205, 170, 0.20), transparent 60%),
    radial-gradient(820px 460px at 100% 100%, rgba(0, 128, 0, 0.18), transparent 60%),
    var(--shell5a270-bg);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.shell5a270-lock-scroll { overflow: hidden; }

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

a { color: var(--shell5a270-mint); text-decoration: none; }
a:hover { color: var(--shell5a270-spring); }

h1, h2, h3, h4 { line-height: 1.25; }

button { font-family: inherit; }

.shell5a270-hidden { display: none !important; }

.shell5a270-skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.shell5a270-skip:focus {
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: var(--shell5a270-ink);
  border: 1px solid var(--shell5a270-mint);
  border-radius: 8px;
  z-index: 200;
  color: var(--shell5a270-text);
}

/* ==========================================================================
   Header - centered identity bar
   ========================================================================== */
.shell5a270-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shell5a270-canvas);
  z-index: 90;
  background: linear-gradient(180deg, rgba(19, 22, 20, 0.97), rgba(19, 22, 20, 0.88));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--shell5a270-line);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.shell5a270-header-inner { padding: 8px 12px 8px; }

.shell5a270-brand-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 10px;
}

.shell5a270-menu-trigger {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--shell5a270-line);
  background: var(--shell5a270-bg-soft);
  color: var(--shell5a270-text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.shell5a270-menu-trigger:hover {
  transform: translateY(-1px);
  border-color: var(--shell5a270-mint);
  color: var(--shell5a270-mint);
}
.shell5a270-menu-trigger.shell5a270-trigger-active {
  background: var(--shell5a270-mint);
  color: var(--shell5a270-ink);
  border-color: var(--shell5a270-mint);
}
.shell5a270-menu-trigger svg { width: 20px; height: 20px; }

.shell5a270-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  justify-self: center;
  text-align: center;
  min-width: 0;
}
.shell5a270-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(102, 205, 170, 0.55);
  box-shadow: 0 0 0 3px rgba(102, 205, 170, 0.14);
  flex-shrink: 0;
}
.shell5a270-brand-text { min-width: 0; }
.shell5a270-brand-name {
  font-weight: 800;
  letter-spacing: 0.3px;
  font-size: 16px;
  color: var(--shell5a270-text);
  line-height: 1.1;
  white-space: nowrap;
}
.shell5a270-brand-name b { color: var(--shell5a270-mint); }
.shell5a270-brand-tag {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--shell5a270-spring);
  margin-top: 1px;
}

.shell5a270-header-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: var(--shell5a270-text-dim);
  font-weight: 600;
  justify-self: end;
}
.shell5a270-status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--shell5a270-spring);
  box-shadow: 0 0 0 3px rgba(0, 255, 127, 0.22);
}

.shell5a270-auth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.shell5a270-auth-btn {
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  border: 1px solid transparent;
}
.shell5a270-auth-btn svg { width: 14px; height: 14px; }
.shell5a270-auth-btn:hover { transform: translateY(-1px); }
.shell5a270-auth-login {
  background: transparent;
  color: var(--shell5a270-text);
  border-color: var(--shell5a270-line);
}
.shell5a270-auth-login:hover {
  border-color: var(--shell5a270-mint);
  color: var(--shell5a270-mint);
}
.shell5a270-auth-register {
  background: linear-gradient(135deg, var(--shell5a270-spring), var(--shell5a270-leaf));
  color: #06210f;
  box-shadow: 0 6px 14px rgba(0, 255, 127, 0.24);
}
.shell5a270-auth-register:hover {
  box-shadow: 0 10px 20px rgba(0, 255, 127, 0.34);
}

/* ==========================================================================
   Stacked overlay menu
   ========================================================================== */
#shell5a270-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: linear-gradient(180deg, rgba(8, 12, 10, 0.97), rgba(8, 12, 10, 0.95));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
  overflow-y: auto;
}
#shell5a270-menu-overlay.shell5a270-menu-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s;
}
.shell5a270-menu-wrap {
  max-width: var(--shell5a270-canvas);
  margin: 0 auto;
  padding: 18px 16px calc(var(--shell5a270-bottomnav-h) + 28px);
}
.shell5a270-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.shell5a270-menu-title {
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--shell5a270-spring);
  font-weight: 800;
}
.shell5a270-menu-title b { color: var(--shell5a270-text); }
#shell5a270-menu-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--shell5a270-line);
  background: var(--shell5a270-bg-soft);
  color: var(--shell5a270-text);
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.shell5a270-menu-grid {
  display: grid;
  gap: 8px;
}
.shell5a270-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--shell5a270-radius-sm);
  background: var(--shell5a270-card);
  border: 1px solid var(--shell5a270-line);
  color: var(--shell5a270-text);
  font-weight: 700;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.shell5a270-menu-item:hover {
  transform: translateY(-2px);
  border-color: var(--shell5a270-mint);
  background: var(--shell5a270-card-2);
}
.shell5a270-menu-ico {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(102, 205, 170, 0.12);
  color: var(--shell5a270-mint);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.shell5a270-menu-ico svg { width: 18px; height: 18px; }
.shell5a270-menu-item small {
  display: block;
  color: var(--shell5a270-text-dim);
  font-weight: 500;
  font-size: 11px;
  margin-top: 2px;
}
.shell5a270-menu-cta {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* ==========================================================================
   Main canvas
   ========================================================================== */
.shell5a270-main {
  max-width: var(--shell5a270-canvas);
  margin: 0 auto;
  padding: calc(var(--shell5a270-header-h) + 12px) 14px calc(var(--shell5a270-bottomnav-h) + 30px);
}

/* ==========================================================================
   Hero carousel
   ========================================================================== */
.shell5a270-hero {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--shell5a270-line);
  box-shadow: var(--shell5a270-shadow);
  margin-bottom: 18px;
}
.shell5a270-hero-track {
  position: relative;
  aspect-ratio: 16 / 10;
}
.shell5a270-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
}
.shell5a270-hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.shell5a270-hero-slide.shell5a270-slide-active { opacity: 1; }
.shell5a270-hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.18) 55%, rgba(0, 0, 0, 0.06) 100%);
}
.shell5a270-hero-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
}
.shell5a270-hero-eyebrow {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--shell5a270-ink);
  background: var(--shell5a270-spring);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.shell5a270-hero-title {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 5px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}
.shell5a270-hero-text {
  font-size: 12.5px;
  color: #d8fff0;
  margin: 0 0 10px;
  max-width: 94%;
}
.shell5a270-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--shell5a270-mint), var(--shell5a270-spring));
  color: var(--shell5a270-ink);
  font-weight: 800;
  font-size: 12.5px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 255, 127, 0.3);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.shell5a270-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(0, 255, 127, 0.4);
}
.shell5a270-hero-dots {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 3;
  display: flex;
  gap: 6px;
}
.shell5a270-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.shell5a270-hero-dot.shell5a270-dot-active {
  background: var(--shell5a270-spring);
  transform: scale(1.3);
}

/* ==========================================================================
   Section shells
   ========================================================================== */
.shell5a270-section { margin: 24px 0 0; }
.shell5a270-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.shell5a270-section-title {
  font-size: 17px;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--shell5a270-text);
}
.shell5a270-bar {
  width: 4px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--shell5a270-spring), var(--shell5a270-leaf));
  flex-shrink: 0;
}
.shell5a270-section-link {
  font-size: 12px;
  color: var(--shell5a270-mint);
  font-weight: 800;
}

/* ==========================================================================
   Intro / H1 area
   ========================================================================== */
.shell5a270-intro {
  margin-top: 4px;
  background: linear-gradient(160deg, rgba(102, 205, 170, 0.12), rgba(0, 128, 0, 0.1));
  border: 1px solid var(--shell5a270-line);
  border-radius: 18px;
  padding: 18px;
}
.shell5a270-intro h1 {
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 8px;
  font-weight: 800;
  color: var(--shell5a270-text);
}
.shell5a270-intro h1 em { font-style: normal; color: var(--shell5a270-spring); }
.shell5a270-intro p {
  margin: 0 0 10px;
  color: var(--shell5a270-text-dim);
  font-size: 14px;
}
.shell5a270-intro p strong { color: var(--shell5a270-text); }
.shell5a270-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.shell5a270-pill {
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(102, 205, 170, 0.12);
  color: var(--shell5a270-mint);
  border: 1px solid rgba(102, 205, 170, 0.3);
  font-weight: 700;
}

/* ==========================================================================
   Game catalogue
   ========================================================================== */
.shell5a270-cat { margin-top: 22px; }
.shell5a270-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--shell5a270-line);
}
.shell5a270-cat-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--shell5a270-text);
}
.shell5a270-cat-badge {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--shell5a270-leaf-deep);
  color: #cfffe6;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.shell5a270-cat-meta { font-size: 11px; color: var(--shell5a270-text-dim); }

.shell5a270-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.shell5a270-game {
  background: var(--shell5a270-card);
  border: 1px solid var(--shell5a270-line);
  border-radius: 12px;
  padding: 6px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 44px;
  width: 100%;
}
.shell5a270-game:hover {
  transform: translateY(-3px);
  border-color: var(--shell5a270-mint);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}
.shell5a270-game-img {
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  background: #0c0f0e;
}
.shell5a270-game-name {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--shell5a270-text);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 26px;
}

/* ==========================================================================
   CTA module
   ========================================================================== */
.shell5a270-cta {
  margin-top: 26px;
  background:
    radial-gradient(420px 200px at 80% 0%, rgba(0, 255, 127, 0.18), transparent 70%),
    linear-gradient(135deg, rgba(0, 255, 127, 0.14), rgba(0, 128, 0, 0.14));
  border: 1px solid rgba(0, 255, 127, 0.32);
  border-radius: 18px;
  padding: 20px 18px;
  text-align: center;
}
.shell5a270-cta h2 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: var(--shell5a270-text);
}
.shell5a270-cta p {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--shell5a270-text-dim);
}
.shell5a270-cta-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.shell5a270-btn {
  border: none;
  cursor: pointer;
  font-weight: 800;
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  min-height: 44px;
}
.shell5a270-btn svg { width: 15px; height: 15px; }
.shell5a270-btn-primary {
  background: linear-gradient(135deg, var(--shell5a270-spring), var(--shell5a270-leaf));
  color: #06210f;
  box-shadow: 0 8px 18px rgba(0, 255, 127, 0.3);
}
.shell5a270-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(0, 255, 127, 0.4);
}
.shell5a270-btn-ghost {
  background: transparent;
  color: var(--shell5a270-mint);
  border: 1px solid var(--shell5a270-mint);
}
.shell5a270-btn-ghost:hover {
  background: rgba(102, 205, 170, 0.12);
  transform: translateY(-2px);
}

/* ==========================================================================
   Content cards (tricks / achievements / mobile summary)
   ========================================================================== */
.shell5a270-cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.shell5a270-cards-2 .shell5a270-card-wide { grid-column: 1 / -1; }
.shell5a270-card {
  background: var(--shell5a270-card);
  border: 1px solid var(--shell5a270-line);
  border-radius: 14px;
  padding: 14px;
}
.shell5a270-card h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--shell5a270-text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.shell5a270-card h3 .shell5a270-num {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--shell5a270-leaf-deep);
  color: var(--shell5a270-spring);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.shell5a270-card p {
  margin: 0;
  font-size: 12.5px;
  color: var(--shell5a270-text-dim);
}
.shell5a270-card p a { font-weight: 700; }

.shell5a270-steps {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 8px;
}
.shell5a270-steps li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--shell5a270-bg-soft);
  border: 1px solid var(--shell5a270-line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--shell5a270-text-dim);
}
.shell5a270-steps li b {
  color: var(--shell5a270-spring);
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.shell5a270-steps li span { color: var(--shell5a270-text-dim); }
.shell5a270-steps li a { font-weight: 700; }

.shell5a270-ach-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.shell5a270-ach {
  background: var(--shell5a270-bg-soft);
  border: 1px solid var(--shell5a270-line);
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
}
.shell5a270-ach-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--shell5a270-spring);
}
.shell5a270-ach-lbl {
  font-size: 10.5px;
  color: var(--shell5a270-text-dim);
  margin-top: 2px;
}

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

/* ==========================================================================
   Extended footer (brand > directory > promotions > disclaimer)
   ========================================================================== */
.shell5a270-ext {
  margin-top: 28px;
  border-top: 1px solid var(--shell5a270-line);
  padding-top: 20px;
}
.shell5a270-ext-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.shell5a270-ext-block h3 {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--shell5a270-mint);
  font-weight: 800;
}
.shell5a270-ext-block p {
  font-size: 12.5px;
  color: var(--shell5a270-text-dim);
  margin: 0 0 8px;
}
.shell5a270-ext-links {
  display: grid;
  gap: 6px;
}
.shell5a270-ext-links a {
  font-size: 12px;
  color: var(--shell5a270-text);
  padding: 7px 9px;
  border-radius: 8px;
  background: var(--shell5a270-bg-soft);
  border: 1px solid var(--shell5a270-line);
  transition: border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.shell5a270-ext-links a:hover {
  border-color: var(--shell5a270-mint);
  color: var(--shell5a270-mint);
  transform: translateY(-1px);
}
.shell5a270-promo-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.shell5a270-promo-chip {
  font-size: 10px;
  text-align: center;
  padding: 9px 3px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 255, 127, 0.16), rgba(0, 128, 0, 0.14));
  border: 1px solid rgba(0, 255, 127, 0.3);
  color: var(--shell5a270-spring);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.shell5a270-promo-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 255, 127, 0.22);
}
.shell5a270-disclaimer {
  margin-top: 16px;
  font-size: 11px;
  color: var(--shell5a270-muted);
  background: rgba(0, 0, 0, 0.25);
  border: 1px dashed var(--shell5a270-line);
  border-radius: 10px;
  padding: 11px;
  line-height: 1.55;
}

/* ==========================================================================
   Footer (copyright)
   ========================================================================== */
.shell5a270-footer {
  max-width: var(--shell5a270-canvas);
  margin: 22px auto 0;
  padding: 16px 14px;
  text-align: center;
  border-top: 1px solid var(--shell5a270-line);
  color: var(--shell5a270-text-dim);
  font-size: 12px;
}
.shell5a270-footer b { color: var(--shell5a270-mint); }
.shell5a270-footer small {
  display: block;
  margin-top: 4px;
  color: var(--shell5a270-muted);
  font-size: 10.5px;
}

/* ==========================================================================
   Layered bottom navigation
   ========================================================================== */
.shell5a270-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shell5a270-canvas);
  z-index: 95;
  background: linear-gradient(180deg, rgba(20, 24, 22, 0.95), rgba(8, 10, 9, 0.98));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--shell5a270-line);
  box-shadow: 0 -8px 22px rgba(0, 0, 0, 0.42);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.shell5a270-bottomnav-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  padding: 7px 4px 7px;
  min-height: var(--shell5a270-bottomnav-h);
  gap: 2px;
}
.shell5a270-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 5px 2px;
  color: var(--shell5a270-text-dim);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  border-radius: 10px;
  transition: transform 0.18s ease, color 0.18s ease;
  min-height: 44px;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  border: none;
  text-decoration: none;
}
.shell5a270-nav-ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--shell5a270-bg-soft);
  border: 1px solid var(--shell5a270-line);
  color: var(--shell5a270-text-dim);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.shell5a270-nav-ico svg { width: 17px; height: 17px; }
.shell5a270-nav-item:hover {
  transform: translateY(-3px);
  color: var(--shell5a270-text);
}
.shell5a270-nav-item:hover .shell5a270-nav-ico {
  border-color: var(--shell5a270-mint);
  color: var(--shell5a270-mint);
}
.shell5a270-nav-item.shell5a270-nav-active { color: #06210f; }
.shell5a270-nav-item.shell5a270-nav-active .shell5a270-nav-ico {
  background: linear-gradient(135deg, var(--shell5a270-spring), var(--shell5a270-mint));
  border-color: var(--shell5a270-spring);
  color: #06210f;
  transform: translateY(-4px);
  box-shadow: 0 8px 14px rgba(0, 255, 127, 0.34);
}
.shell5a270-nav-item.shell5a270-nav-promo .shell5a270-nav-ico {
  background: linear-gradient(135deg, rgba(0, 255, 127, 0.18), rgba(0, 128, 0, 0.18));
  border-color: rgba(0, 255, 127, 0.4);
  color: var(--shell5a270-spring);
}

/* ==========================================================================
   Back to top
   ========================================================================== */
#shell5a270-to-top {
  position: fixed;
  right: 14px;
  bottom: calc(var(--shell5a270-bottomnav-h) + 14px);
  z-index: 80;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--shell5a270-mint);
  background: rgba(20, 24, 22, 0.94);
  color: var(--shell5a270-mint);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}
#shell5a270-to-top.shell5a270-to-top-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}
#shell5a270-to-top svg { width: 18px; height: 18px; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.shell5a270-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.shell5a270-reveal.shell5a270-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive tweaks (still inside the mobile canvas)
   ========================================================================== */
@media (min-width: 360px) {
  .shell5a270-game-grid { gap: 9px; }
  .shell5a270-intro h1 { font-size: 23px; }
  .shell5a270-game-name { font-size: 11px; }
}

@media (min-width: 394px) {
  .shell5a270-promo-chip { font-size: 10.5px; }
}

@media (min-width: 410px) {
  .shell5a270-game-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 359px) {
  .shell5a270-auth-btn { padding: 8px 8px; font-size: 11.5px; }
  .shell5a270-brand-name { font-size: 14px; }
  .shell5a270-game-grid { gap: 6px; }
  .shell5a270-intro { padding: 14px; }
  .shell5a270-intro h1 { font-size: 20px; }
  .shell5a270-promo-chip { font-size: 9.5px; padding: 8px 2px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .shell5a270-reveal { opacity: 1; transform: none; transition: none; }
}
