/* ==========================================================================
   gbd33.homes - mobile-first interface stylesheet
   Design voice: rounded display type over compact body text, mixed radii,
   dark slate canvas (#273746) with light ink (#CCCCCC) and magenta accent.
   All classes and custom properties use the shell409c4- prefix.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --shell409c4-bg: #273746;
  --shell409c4-bg-deep: #1b2632;
  --shell409c4-bg-panel: #2e3f50;
  --shell409c4-bg-raise: #35485b;
  --shell409c4-ink: #cccccc;
  --shell409c4-ink-bright: #ececec;
  --shell409c4-ink-dim: #97a1ab;
  --shell409c4-accent: #8b008b;
  --shell409c4-accent-soft: rgba(139, 0, 139, 0.22);
  --shell409c4-accent-line: rgba(139, 0, 139, 0.45);
  --shell409c4-line: rgba(204, 204, 204, 0.14);
  --shell409c4-font-head: "Baloo Da 2", "Hind Siliguri", "Noto Sans Bengali", sans-serif;
  --shell409c4-font-body: "Hind Siliguri", "Noto Sans Bengali", "Segoe UI", sans-serif;
  --shell409c4-radius-lg: 18px;
  --shell409c4-radius-md: 13px;
  --shell409c4-radius-sm: 9px;
  --shell409c4-top-h: 58px;
  --shell409c4-bnav-h: 64px;
}

/* ---------- 2. Base / reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background: #12181f;
  color: var(--shell409c4-ink);
  font-family: var(--shell409c4-font-body);
  font-size: 15px;
  line-height: 1.7;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

a {
  color: #d98ede;
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: #f0b8f2;
}

.shell409c4-shell :focus-visible {
  outline: 2px solid #cf59cf;
  outline-offset: 2px;
  border-radius: 6px;
}

.shell409c4-vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.shell409c4-skip {
  position: absolute;
  left: 10px;
  top: -48px;
  z-index: 120;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--shell409c4-accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.25s ease;
}

.shell409c4-skip:focus {
  top: 8px;
}

/* ---------- 3. Phone canvas ---------- */
.shell409c4-shell {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--shell409c4-bg) 0%, var(--shell409c4-bg-deep) 100%);
  padding-top: var(--shell409c4-top-h);
  overflow: hidden;
}

.shell409c4-main {
  display: block;
  padding-bottom: calc(var(--shell409c4-bnav-h) + env(safe-area-inset-bottom, 0px) + 26px);
}

/* ---------- 4. Fixed tab-style top bar ---------- */
.shell409c4-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  background: linear-gradient(180deg, #243442 0%, #1e2b37 100%);
  border-bottom: 2px solid var(--shell409c4-accent);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

.shell409c4-top-in {
  max-width: 480px;
  margin: 0 auto;
  min-height: var(--shell409c4-top-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
}

.shell409c4-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
}

.shell409c4-brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  object-fit: cover;
  border: 2px solid var(--shell409c4-accent-line);
  flex: 0 0 auto;
}

.shell409c4-brand-name {
  font-family: var(--shell409c4-font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--shell409c4-ink-bright);
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.shell409c4-acts {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
}

.shell409c4-btn-reg {
  min-height: 38px;
  padding: 6px 15px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #a313a3 0%, var(--shell409c4-accent) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  transition: filter 0.25s ease, transform 0.2s ease;
}

.shell409c4-btn-log {
  min-height: 38px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(204, 204, 204, 0.42);
  background: transparent;
  color: var(--shell409c4-ink-bright);
  font-weight: 600;
  font-size: 13.5px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.shell409c4-btn-reg:active {
  transform: scale(0.96);
}

.shell409c4-btn-log:hover {
  background: rgba(204, 204, 204, 0.1);
}

.shell409c4-btn-menu {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  border: 1px solid var(--shell409c4-line);
  background: rgba(204, 204, 204, 0.07);
  color: var(--shell409c4-ink-bright);
  transition: background 0.25s ease;
}

.shell409c4-btn-menu:hover {
  background: rgba(204, 204, 204, 0.14);
}

.shell409c4-btn-menu svg {
  width: 21px;
  height: 21px;
}

/* ---------- 5. Side drawer menu ---------- */
.shell409c4-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(8, 12, 17, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.shell409c4-scrim.is-on {
  opacity: 1;
  visibility: visible;
}

.shell409c4-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  width: min(84%, 318px);
  background: linear-gradient(180deg, #22303d 0%, #1a2530 100%);
  border-right: 2px solid var(--shell409c4-accent-line);
  transform: translateX(-104%);
  transition: transform 0.32s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-bottom: calc(var(--shell409c4-bnav-h) + 14px);
}

.shell409c4-drawer.is-open {
  transform: translateX(0);
}

.shell409c4-drawer-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 15px 14px 12px;
  border-bottom: 1px solid var(--shell409c4-line);
}

.shell409c4-drawer-head img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--shell409c4-accent-line);
}

.shell409c4-drawer-title {
  font-family: var(--shell409c4-font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--shell409c4-ink-bright);
  margin: 0;
}

.shell409c4-drawer-close {
  margin-left: auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--shell409c4-line);
  background: transparent;
  color: var(--shell409c4-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shell409c4-drawer-close svg {
  width: 18px;
  height: 18px;
}

.shell409c4-drawer-group {
  margin: 14px 14px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--shell409c4-ink-dim);
  text-transform: uppercase;
}

.shell409c4-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 10px;
}

.shell409c4-drawer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--shell409c4-ink);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: background 0.25s ease, color 0.25s ease;
}

.shell409c4-drawer-link:hover {
  background: rgba(204, 204, 204, 0.08);
  color: var(--shell409c4-ink-bright);
}

.shell409c4-drawer-link.is-here {
  background: var(--shell409c4-accent-soft);
  color: #fff;
  font-weight: 700;
}

/* ---------- 6. Hero ---------- */
.shell409c4-hero {
  padding: 20px 16px 8px;
}

.shell409c4-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--shell409c4-accent-soft);
  border: 1px solid var(--shell409c4-accent-line);
  color: #e9b8eb;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}

.shell409c4-hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d35fd3;
}

.shell409c4-hero-title {
  font-family: var(--shell409c4-font-head);
  font-size: 25px;
  line-height: 1.32;
  font-weight: 700;
  color: var(--shell409c4-ink-bright);
  margin: 0 0 10px;
}

.shell409c4-hero-sub {
  margin: 0 0 16px;
  font-size: 14.5px;
  color: var(--shell409c4-ink);
}

.shell409c4-cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shell409c4-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, #a313a3 0%, #6c016c 100%);
  color: #fff;
  font-family: var(--shell409c4-font-head);
  font-size: 16.5px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(139, 0, 139, 0.4);
  transition: filter 0.25s ease, transform 0.2s ease;
}

.shell409c4-cta:active {
  transform: scale(0.98);
}

.shell409c4-cta:hover {
  filter: brightness(1.12);
}

.shell409c4-cta svg {
  width: 19px;
  height: 19px;
}

.shell409c4-cta--line {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 13px;
  border: 1px dashed rgba(204, 204, 204, 0.45);
  background: transparent;
  color: var(--shell409c4-ink-bright);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease;
}

.shell409c4-cta--line:hover {
  background: rgba(204, 204, 204, 0.07);
}

/* ---------- 7. Promo carousel ---------- */
.shell409c4-carousel {
  position: relative;
  padding: 14px 0 4px;
}

.shell409c4-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.shell409c4-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  padding: 0;
  border: 1px solid var(--shell409c4-line);
  border-radius: var(--shell409c4-radius-lg);
  overflow: hidden;
  background: var(--shell409c4-bg-panel);
  text-align: left;
}

.shell409c4-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.shell409c4-slide-cap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 600;
  color: var(--shell409c4-ink-bright);
  background: linear-gradient(180deg, #2b3c4c 0%, #243240 100%);
}

.shell409c4-slide-cap::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--shell409c4-accent);
  box-shadow: 0 0 0 3px var(--shell409c4-accent-soft);
}

.shell409c4-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 0 2px;
}

.shell409c4-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: rgba(204, 204, 204, 0.28);
  transition: width 0.25s ease, background 0.25s ease;
}

.shell409c4-dot.is-on {
  width: 22px;
  background: #c24ac2;
}

/* ---------- 8. Category jump chips ---------- */
.shell409c4-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 16px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.shell409c4-chips::-webkit-scrollbar {
  display: none;
}

.shell409c4-chip {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--shell409c4-line);
  background: var(--shell409c4-bg-panel);
  color: var(--shell409c4-ink-bright);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.shell409c4-chip:hover {
  border-color: var(--shell409c4-accent-line);
  background: var(--shell409c4-bg-raise);
}

/* ---------- 9. Sections ---------- */
.shell409c4-sec {
  padding: 22px 16px 4px;
}

.shell409c4-eyebrow {
  display: inline-block;
  margin: 0 0 6px;
  padding: 3px 11px;
  border-radius: 7px;
  background: rgba(204, 204, 204, 0.09);
  color: var(--shell409c4-ink-dim);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.shell409c4-sec h2 {
  font-family: var(--shell409c4-font-head);
  font-size: 19.5px;
  line-height: 1.38;
  font-weight: 700;
  color: var(--shell409c4-ink-bright);
  margin: 0 0 8px;
  padding-bottom: 8px;
  position: relative;
}

.shell409c4-sec h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c24ac2 0%, var(--shell409c4-accent) 100%);
}

.shell409c4-lede {
  margin: 10px 0 4px;
  font-size: 14.5px;
  color: var(--shell409c4-ink);
}

/* ---------- 10. Game grid and cards ---------- */
.shell409c4-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 8px;
  margin-top: 13px;
}

.shell409c4-gcard {
  display: block;
  padding: 0;
  border: 1px solid rgba(204, 204, 204, 0.11);
  border-radius: var(--shell409c4-radius-md);
  overflow: hidden;
  background: #1f2d3a;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, border-color 0.25s ease;
}

.shell409c4-gcard:hover {
  border-color: var(--shell409c4-accent-line);
}

.shell409c4-gcard:active {
  transform: scale(0.96);
}

.shell409c4-gcard img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #182430;
  transition: transform 0.3s ease;
}

.shell409c4-gcard:active img {
  transform: scale(0.94);
}

.shell409c4-gname {
  display: block;
  padding: 5px 4px 6px;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 10.5px;
  line-height: 1.3;
  font-weight: 600;
  color: #d9d9d9;
  background: linear-gradient(180deg, #2c3d4d 0%, #243240 100%);
  border-top: 1px solid rgba(204, 204, 204, 0.08);
  overflow-wrap: anywhere;
}

/* ---------- 11. Prose blocks ---------- */
.shell409c4-prose p {
  margin: 0 0 11px;
  font-size: 14.5px;
  line-height: 1.78;
  color: #c7cdd2;
}

.shell409c4-prose strong {
  color: var(--shell409c4-ink-bright);
  font-weight: 700;
}

.shell409c4-note {
  margin: 12px 0;
  padding: 11px 14px;
  border-radius: var(--shell409c4-radius-md);
  background: var(--shell409c4-accent-soft);
  border: 1px solid var(--shell409c4-accent-line);
  font-size: 13.5px;
  line-height: 1.7;
  color: #e3c8e4;
}

.shell409c4-branch {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin: 13px 0 6px;
}

.shell409c4-branch-it {
  padding: 11px 13px;
  border-radius: var(--shell409c4-radius-md);
  background: var(--shell409c4-bg-panel);
  border: 1px solid var(--shell409c4-line);
  border-left: 4px solid #b13fb1;
}

.shell409c4-branch-it h3 {
  margin: 0 0 4px;
  font-family: var(--shell409c4-font-head);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--shell409c4-ink-bright);
}

.shell409c4-branch-it p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--shell409c4-ink);
}

.shell409c4-qa {
  margin: 0 0 10px;
  padding: 12px 14px;
  border-radius: var(--shell409c4-radius-md);
  border: 1px solid var(--shell409c4-line);
  background: var(--shell409c4-bg-panel);
}

.shell409c4-qa h3 {
  margin: 0 0 5px;
  font-size: 14.5px;
  font-weight: 700;
  color: #dfb6e0;
  font-family: var(--shell409c4-font-head);
}

.shell409c4-qa p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--shell409c4-ink);
}

.shell409c4-check {
  margin: 12px 0 4px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.shell409c4-check li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--shell409c4-radius-sm);
  background: var(--shell409c4-bg-panel);
  border: 1px solid var(--shell409c4-line);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--shell409c4-ink);
}

.shell409c4-check li::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-radius: 3px;
  background: #b13fb1;
  box-shadow: 0 0 0 3px var(--shell409c4-accent-soft);
}

/* ---------- 12. Extended footer (homepage directory) ---------- */
.shell409c4-xf {
  margin-top: 24px;
  padding: 22px 16px 10px;
  border-top: 1px solid var(--shell409c4-line);
  background: linear-gradient(180deg, #20303e 0%, #1a242f 100%);
}

.shell409c4-xf h2 {
  font-family: var(--shell409c4-font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--shell409c4-ink-bright);
  margin: 0 0 12px;
}

.shell409c4-xf-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.shell409c4-xf-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-height: 78px;
  padding: 11px 12px;
  border-radius: var(--shell409c4-radius-md);
  border: 1px solid var(--shell409c4-accent-line);
  background: var(--shell409c4-accent-soft);
  color: #f3d7f4;
  text-align: left;
  transition: background 0.25s ease, transform 0.2s ease;
}

.shell409c4-xf-tile:hover {
  background: rgba(139, 0, 139, 0.34);
}

.shell409c4-xf-tile:active {
  transform: scale(0.97);
}

.shell409c4-xf-tile svg {
  width: 21px;
  height: 21px;
}

.shell409c4-xf-tile b {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
}

.shell409c4-xf-tile small {
  font-size: 11px;
  line-height: 1.45;
  color: #dfc3e0;
}

.shell409c4-xf-brand {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--shell409c4-ink-dim);
}

.shell409c4-dir {
  columns: 2;
  column-gap: 18px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.shell409c4-dir li {
  break-inside: avoid;
  margin: 0 0 3px;
}

.shell409c4-dir a {
  display: block;
  padding: 6px 2px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #c8ced3;
  text-decoration: none;
  border-bottom: 1px dotted rgba(204, 204, 204, 0.18);
}

.shell409c4-dir a:hover {
  color: #f0b8f2;
}

.shell409c4-xf-disc {
  padding: 10px 12px;
  border-radius: var(--shell409c4-radius-sm);
  background: rgba(204, 204, 204, 0.06);
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--shell409c4-ink-dim);
}

/* ---------- 13. Common footer ---------- */
.shell409c4-foot {
  padding: 16px 16px 18px;
  text-align: center;
  font-size: 12px;
  color: #87919b;
  border-top: 1px solid var(--shell409c4-line);
}

.shell409c4-foot b {
  color: #b9c1c8;
}

/* ---------- 14. Layered mobile bottom nav ---------- */
.shell409c4-bnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 70;
}

.shell409c4-bnav-in {
  max-width: 480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  padding: 5px 6px calc(5px + env(safe-area-inset-bottom, 0px));
  background: rgba(21, 29, 38, 0.97);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border-top: 2px solid var(--shell409c4-accent);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.35);
}

.shell409c4-bnav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  padding: 4px 2px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  color: #9aa4ae;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.25s ease, background 0.25s ease;
}

.shell409c4-bnav-item svg {
  width: 22px;
  height: 22px;
}

.shell409c4-bnav-item:hover {
  color: #d4dae0;
}

.shell409c4-bnav-item.is-here {
  background: var(--shell409c4-accent-soft);
  color: #f2f2f2;
}

.shell409c4-bnav-item.is-here::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 3px;
  border-radius: 999px;
  background: #c24ac2;
}

.shell409c4-bnav-promo {
  color: #dfa8e1;
}

/* ---------- 15. Reveal motion ---------- */
.shell409c4-fadein {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.shell409c4-fadein.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .shell409c4-fadein {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- 16. Responsive refinements ---------- */
/* Wider phones inside the canvas: five game columns */
@media (min-width: 390px) {
  .shell409c4-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Desktop frame: keep the phone canvas centered with depth */
@media (min-width: 481px) {
  .shell409c4-shell {
    box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
  }
}

/* Core mobile canvas tuning below 430px */
@media (max-width: 430px) {
  .shell409c4-top-in {
    gap: 6px;
    padding: 7px 10px;
  }

  .shell409c4-brand-name {
    font-size: 17px;
  }

  .shell409c4-btn-reg,
  .shell409c4-btn-log {
    font-size: 12.5px;
    padding: 6px 11px;
  }

  .shell409c4-hero {
    padding: 16px 12px 6px;
  }

  .shell409c4-hero-title {
    font-size: 21.5px;
  }

  .shell409c4-hero-sub {
    font-size: 14px;
  }

  .shell409c4-slide img {
    aspect-ratio: 16 / 8;
  }

  .shell409c4-sec {
    padding: 18px 12px 4px;
  }

  .shell409c4-sec h2 {
    font-size: 18px;
  }

  .shell409c4-grid {
    gap: 8px 6px;
  }

  .shell409c4-gname {
    font-size: 10px;
    min-height: 32px;
  }

  .shell409c4-prose p,
  .shell409c4-lede {
    font-size: 14px;
  }

  .shell409c4-xf {
    padding: 18px 12px 8px;
  }

  .shell409c4-track,
  .shell409c4-chips {
    padding-left: 12px;
    padding-right: 12px;
  }
}
