/* ==========================================================================
   bagi999 mobile-first frame stylesheet
   File: css/bagi999-frame-69d40d.css
   All class names and custom properties use the mobile40dfd- prefix.
   Canvas: stable 320-430px phone layout, centered on wide screens.
   Palette anchors: deep navy base, light pink ink, mint/lime action,
   deep pink promo accent. Mixed radii, big+small card rhythm.
   ========================================================================== */

:root {
  --mobile40dfd-bg-deep: #101a24;
  --mobile40dfd-bg: #16222e;
  --mobile40dfd-bg-soft: #1b2a38;
  --mobile40dfd-card: #20303f;
  --mobile40dfd-card-2: #253747;
  --mobile40dfd-line: #2d4256;
  --mobile40dfd-line-soft: #27394a;
  --mobile40dfd-ink: #ffc0cb;
  --mobile40dfd-ink-strong: #ffe9ef;
  --mobile40dfd-ink-dim: #a7bacd;
  --mobile40dfd-mint: #9aff9a;
  --mobile40dfd-lime: #32cd32;
  --mobile40dfd-lime-deep: #22871f;
  --mobile40dfd-pink: #ff1493;
  --mobile40dfd-pink-soft: #ff5fb0;
  --mobile40dfd-white: #ffffff;
  --mobile40dfd-radius-xs: 6px;
  --mobile40dfd-radius-s: 8px;
  --mobile40dfd-radius-m: 12px;
  --mobile40dfd-radius-l: 16px;
  --mobile40dfd-radius-xl: 22px;
  --mobile40dfd-radius-pill: 999px;
  --mobile40dfd-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Noto Sans Bengali", "Hind Siliguri", "Kalpurush", Arial, sans-serif;
  --mobile40dfd-font-head: "Segoe UI", "Noto Sans Bengali", "Hind Siliguri",
    Roboto, -apple-system, Arial, sans-serif;
  --mobile40dfd-shadow-card: 0 2px 10px rgba(0, 0, 0, 0.35);
  --mobile40dfd-glow-lime: 0 0 12px rgba(50, 205, 50, 0.45);
  --mobile40dfd-glow-pink: 0 0 12px rgba(255, 20, 147, 0.42);
  --mobile40dfd-topbar-h: 60px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body.mobile40dfd-page {
  font-family: var(--mobile40dfd-font-body);
  background-color: #0b141d;
  background-image: radial-gradient(
      420px 300px at 12% -4%,
      rgba(255, 20, 147, 0.08),
      transparent 70%
    ),
    radial-gradient(480px 340px at 96% 12%, rgba(50, 205, 50, 0.06), transparent 72%);
  background-repeat: no-repeat;
  color: var(--mobile40dfd-ink);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

a {
  color: var(--mobile40dfd-mint);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--mobile40dfd-lime);
  outline-offset: 2px;
  border-radius: var(--mobile40dfd-radius-xs);
}

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

/* --------------------------------------------------------------------------
   Phone canvas: 430px max width, centered, same chrome on wide screens.
   The literal 430 cap keeps tablets and desktops on the mobile experience.
   -------------------------------------------------------------------------- */
.mobile40dfd-canvas {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin-inline: auto;
  min-height: 100vh;
  background: linear-gradient(
    180deg,
    var(--mobile40dfd-bg) 0%,
    var(--mobile40dfd-bg-deep) 46%,
    #0e1926 100%
  );
  overflow-x: clip;
}

@media (min-width: 480px) {
  .mobile40dfd-canvas {
    box-shadow: 0 0 0 1px var(--mobile40dfd-line), 0 0 44px rgba(0, 0, 0, 0.55);
  }
}

.mobile40dfd-main {
  padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
}

/* --------------------------------------------------------------------------
   Top bar: edge-aligned functional header.
   Brand zone on the left carries the real logo image + name only.
   Action zone on the right carries login / register / menu.
   -------------------------------------------------------------------------- */
.mobile40dfd-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--mobile40dfd-topbar-h);
  padding: 8px 12px;
  padding-top: calc(8px + env(safe-area-inset-top, 0px));
  background: rgba(14, 23, 33, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mobile40dfd-line);
}

.mobile40dfd-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  min-width: 0;
}

.mobile40dfd-logo {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 10px;
  border: 1px solid var(--mobile40dfd-line);
  object-fit: cover;
  background: var(--mobile40dfd-card);
}

.mobile40dfd-brandname {
  font-family: var(--mobile40dfd-font-head);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.4px;
  color: var(--mobile40dfd-white);
  white-space: nowrap;
}

.mobile40dfd-brandname em {
  font-style: normal;
  color: var(--mobile40dfd-pink-soft);
}

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

.mobile40dfd-btn-ghost {
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--mobile40dfd-radius-s);
  border: 1px solid var(--mobile40dfd-pink);
  color: var(--mobile40dfd-pink-soft);
  font-size: 13px;
  font-weight: 700;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.mobile40dfd-btn-ghost:active {
  box-shadow: var(--mobile40dfd-glow-pink);
  transform: scale(0.97);
}

.mobile40dfd-btn-solid {
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--mobile40dfd-radius-s);
  background: linear-gradient(135deg, var(--mobile40dfd-lime) 0%, #7ddc7d 100%);
  color: #0c2410;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(50, 205, 50, 0.28);
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.mobile40dfd-btn-solid:active {
  box-shadow: var(--mobile40dfd-glow-lime);
  transform: scale(0.97);
}

.mobile40dfd-menubtn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--mobile40dfd-radius-s);
  border: 1px solid var(--mobile40dfd-line);
  color: var(--mobile40dfd-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mobile40dfd-menubtn:active {
  border-color: var(--mobile40dfd-lime);
  box-shadow: var(--mobile40dfd-glow-lime);
}

.mobile40dfd-menubtn svg {
  width: 22px;
  height: 22px;
}

/* --------------------------------------------------------------------------
   Sectioned menu page (expandable panel under the top bar).
   -------------------------------------------------------------------------- */
.mobile40dfd-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s;
}

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

.mobile40dfd-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 11, 17, 0.72);
}

.mobile40dfd-menu-panel {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 100%;
  max-width: 430px;
  max-height: 100%;
  overflow-y: auto;
  padding: calc(var(--mobile40dfd-topbar-h) + 10px) 14px 26px;
  background: linear-gradient(180deg, #182736 0%, #121e2a 100%);
  border-bottom: 1px solid var(--mobile40dfd-line);
  transition: transform 0.25s ease;
}

.mobile40dfd-menu.is-open .mobile40dfd-menu-panel {
  transform: translateX(-50%) translateY(0);
}

.mobile40dfd-menu-group {
  margin-bottom: 14px;
  background: var(--mobile40dfd-card);
  border: 1px solid var(--mobile40dfd-line-soft);
  border-radius: var(--mobile40dfd-radius-l);
  padding: 12px;
}

.mobile40dfd-menu-title {
  font-family: var(--mobile40dfd-font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--mobile40dfd-ink-dim);
  text-transform: uppercase;
  margin-bottom: 8px;
  padding-left: 2px;
}

.mobile40dfd-menu-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mobile40dfd-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 46px;
  padding: 6px 10px;
  border-radius: var(--mobile40dfd-radius-m);
  background: var(--mobile40dfd-bg-soft);
  border: 1px solid var(--mobile40dfd-line-soft);
  color: var(--mobile40dfd-ink);
  font-size: 13px;
  font-weight: 600;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mobile40dfd-menu-link::after {
  content: "\203A";
  color: var(--mobile40dfd-ink-dim);
  font-size: 16px;
  font-weight: 700;
}

.mobile40dfd-menu-link:hover,
.mobile40dfd-menu-link:focus-visible {
  text-decoration: none;
  border-color: var(--mobile40dfd-lime);
}

.mobile40dfd-menu-link.is-current {
  color: var(--mobile40dfd-mint);
  border-color: var(--mobile40dfd-lime);
  box-shadow: inset 0 -2px 0 var(--mobile40dfd-lime);
}

/* --------------------------------------------------------------------------
   Hero: single H1, conclusion-first intro, full-width CTAs.
   -------------------------------------------------------------------------- */
.mobile40dfd-hero {
  padding: 18px 14px 4px;
}

.mobile40dfd-hero-title {
  font-family: var(--mobile40dfd-font-head);
  font-size: clamp(21px, 6.4vw, 26px);
  font-weight: 800;
  line-height: 1.34;
  color: var(--mobile40dfd-white);
  letter-spacing: 0.2px;
  margin-bottom: 10px;
}

.mobile40dfd-hero-text {
  font-size: 14px;
  color: var(--mobile40dfd-ink-dim);
  margin-bottom: 4px;
}

.mobile40dfd-hero-text strong {
  color: var(--mobile40dfd-ink-strong);
  font-weight: 700;
}

.mobile40dfd-ctarow {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.mobile40dfd-cta-main {
  width: 100%;
  min-height: 52px;
  border-radius: var(--mobile40dfd-radius-m);
  background: linear-gradient(135deg, var(--mobile40dfd-lime) 0%, #86e286 100%);
  color: #0b2310;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 3px 12px rgba(50, 205, 50, 0.3);
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.mobile40dfd-cta-main:active {
  box-shadow: var(--mobile40dfd-glow-lime);
  transform: scale(0.985);
}

.mobile40dfd-cta-alt {
  width: 100%;
  min-height: 48px;
  border-radius: var(--mobile40dfd-radius-m);
  border: 1px solid var(--mobile40dfd-pink);
  color: var(--mobile40dfd-pink-soft);
  font-size: 15px;
  font-weight: 700;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.mobile40dfd-cta-alt:active {
  box-shadow: var(--mobile40dfd-glow-pink);
  transform: scale(0.985);
}

/* --------------------------------------------------------------------------
   Banner carousel: 3 local promo banners, dots, swipe.
   -------------------------------------------------------------------------- */
.mobile40dfd-carousel {
  position: relative;
  margin: 16px 12px 0;
  aspect-ratio: 21 / 10;
  border-radius: var(--mobile40dfd-radius-xl);
  overflow: hidden;
  border: 1px solid var(--mobile40dfd-line);
  box-shadow: var(--mobile40dfd-shadow-card);
  touch-action: pan-y;
}

.mobile40dfd-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.mobile40dfd-slide.is-active {
  opacity: 1;
  z-index: 2;
}

.mobile40dfd-slide-btn {
  display: block;
  width: 100%;
  height: 100%;
  text-align: left;
}

.mobile40dfd-slide-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile40dfd-slide-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 14, 21, 0.88) 78%);
  color: var(--mobile40dfd-white);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile40dfd-slide-cap .mobile40dfd-cap-arrow {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: var(--mobile40dfd-radius-pill);
  display: grid;
  place-items: center;
  background: var(--mobile40dfd-pink);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.mobile40dfd-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.mobile40dfd-dot {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: var(--mobile40dfd-radius-pill);
}

.mobile40dfd-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 224, 234, 0.45);
  transition: background 0.25s ease, transform 0.25s ease;
}

.mobile40dfd-dot.is-on::before {
  background: var(--mobile40dfd-mint);
  transform: scale(1.25);
  box-shadow: 0 0 8px rgba(154, 255, 154, 0.7);
}

/* --------------------------------------------------------------------------
   Category chip strip: fast scroll to the five game shelves.
   -------------------------------------------------------------------------- */
.mobile40dfd-chipstrip {
  display: flex;
  gap: 8px;
  margin: 14px 12px 0;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.mobile40dfd-chipstrip::-webkit-scrollbar {
  display: none;
}

.mobile40dfd-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--mobile40dfd-radius-pill);
  background: var(--mobile40dfd-card);
  border: 1px solid var(--mobile40dfd-line);
  color: var(--mobile40dfd-ink);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mobile40dfd-chip span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mobile40dfd-pink);
}

.mobile40dfd-chip:hover,
.mobile40dfd-chip:focus-visible {
  text-decoration: none;
  border-color: var(--mobile40dfd-lime);
  box-shadow: var(--mobile40dfd-glow-lime);
}

/* --------------------------------------------------------------------------
   Game shelves: 4 columns at 320px, 5 columns from ~396px up.
   Big tile + small tiles share one grid per shelf.
   -------------------------------------------------------------------------- */
.mobile40dfd-gamesection {
  padding: 24px 12px 2px;
  scroll-margin-top: calc(var(--mobile40dfd-topbar-h) + 8px);
}

.mobile40dfd-sec-head {
  font-family: var(--mobile40dfd-font-head);
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.42;
  color: var(--mobile40dfd-white);
  padding-left: 10px;
  border-left: 3px solid var(--mobile40dfd-pink);
  margin-bottom: 7px;
  overflow-wrap: break-word;
}

.mobile40dfd-sec-note {
  font-size: 13px;
  color: var(--mobile40dfd-ink-dim);
  line-height: 1.65;
  margin-bottom: 12px;
  overflow-wrap: break-word;
}

.mobile40dfd-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

@media (min-width: 396px) {
  .mobile40dfd-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
  }
}

.mobile40dfd-tile {
  display: block;
  width: 100%;
  padding: 5px 5px 7px;
  border-radius: var(--mobile40dfd-radius-m);
  background: var(--mobile40dfd-card);
  border: 1px solid var(--mobile40dfd-line-soft);
  text-align: left;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease;
}

.mobile40dfd-tile:hover,
.mobile40dfd-tile:focus-visible {
  border-color: var(--mobile40dfd-lime);
}

.mobile40dfd-tile:active {
  border-color: var(--mobile40dfd-lime);
  box-shadow: var(--mobile40dfd-glow-lime);
  transform: scale(0.96);
}

.mobile40dfd-tile-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--mobile40dfd-radius-s);
  background: #0d1722;
}

.mobile40dfd-tile-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--mobile40dfd-ink);
  overflow-wrap: anywhere;
}

/* Big hero tile: spans two tracks, wide art, top-pick badge. */
.mobile40dfd-tile--big {
  grid-column: span 2;
  position: relative;
  padding: 6px 6px 9px;
}

.mobile40dfd-tile--big .mobile40dfd-tile-img {
  aspect-ratio: 16 / 10;
}

.mobile40dfd-tile--big .mobile40dfd-tile-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--mobile40dfd-ink-strong);
  -webkit-line-clamp: 2;
}

.mobile40dfd-tile-badge {
  position: absolute;
  top: 11px;
  left: 11px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: var(--mobile40dfd-radius-pill);
  background: rgba(50, 205, 50, 0.92);
  color: #08230b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

/* --------------------------------------------------------------------------
   Content modules (direct answer, category guide, payments, checklist).
   -------------------------------------------------------------------------- */
.mobile40dfd-module {
  margin: 24px 12px 0;
  padding: 16px 14px 18px;
  background: var(--mobile40dfd-card);
  border: 1px solid var(--mobile40dfd-line-soft);
  border-radius: var(--mobile40dfd-radius-l);
  box-shadow: var(--mobile40dfd-shadow-card);
}

.mobile40dfd-module--answer {
  border-left: 4px solid var(--mobile40dfd-lime);
}

.mobile40dfd-mod-head {
  font-family: var(--mobile40dfd-font-head);
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--mobile40dfd-white);
  margin-bottom: 10px;
  overflow-wrap: break-word;
}

.mobile40dfd-mod-lead {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mobile40dfd-ink);
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}

.mobile40dfd-mod-lead strong {
  color: var(--mobile40dfd-mint);
}

.mobile40dfd-modtext {
  font-size: 13px;
  line-height: 1.7;
  color: var(--mobile40dfd-ink-dim);
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}

.mobile40dfd-modtext strong {
  color: var(--mobile40dfd-ink-strong);
}

/* Mini Q&A rows inside the direct-answer module. */
.mobile40dfd-qa {
  margin-top: 12px;
  padding: 11px 12px;
  background: var(--mobile40dfd-bg-soft);
  border-radius: var(--mobile40dfd-radius-m);
  border: 1px solid var(--mobile40dfd-line-soft);
}

.mobile40dfd-qa h3 {
  font-family: var(--mobile40dfd-font-head);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--mobile40dfd-mint);
  line-height: 1.45;
  margin-bottom: 4px;
}

.mobile40dfd-qa p {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--mobile40dfd-ink-dim);
}

/* Category guide: mixed 2-col cards, lead card spans both. */
.mobile40dfd-catcards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.mobile40dfd-catcard {
  padding: 11px 12px;
  background: var(--mobile40dfd-bg-soft);
  border: 1px solid var(--mobile40dfd-line-soft);
  border-radius: var(--mobile40dfd-radius-m);
}

.mobile40dfd-catcard--lead {
  grid-column: span 2;
  border-color: var(--mobile40dfd-lime);
  background: linear-gradient(
    135deg,
    rgba(50, 205, 50, 0.12),
    var(--mobile40dfd-bg-soft) 60%
  );
}

.mobile40dfd-catcard h3 {
  font-family: var(--mobile40dfd-font-head);
  font-size: 13px;
  font-weight: 800;
  color: var(--mobile40dfd-mint);
  margin-bottom: 4px;
}

.mobile40dfd-catcard p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--mobile40dfd-ink-dim);
}

/* Payment conditions: single column ruled rows. */
.mobile40dfd-paylist {
  list-style: none;
}

.mobile40dfd-payrow {
  display: flex;
  gap: 10px;
  padding: 10px 2px;
  border-bottom: 1px dashed var(--mobile40dfd-line);
}

.mobile40dfd-payrow:last-child {
  border-bottom: none;
}

.mobile40dfd-paydot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--mobile40dfd-lime);
  box-shadow: 0 0 7px rgba(50, 205, 50, 0.55);
}

.mobile40dfd-paybody h3 {
  font-family: var(--mobile40dfd-font-head);
  font-size: 13px;
  font-weight: 800;
  color: var(--mobile40dfd-ink-strong);
  margin-bottom: 2px;
}

.mobile40dfd-paybody p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mobile40dfd-ink-dim);
}

/* Decision checklist: check squares. */
.mobile40dfd-checklist {
  list-style: none;
  display: grid;
  gap: 8px;
}

.mobile40dfd-checkitem {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 11px;
  background: var(--mobile40dfd-bg-soft);
  border: 1px solid var(--mobile40dfd-line-soft);
  border-radius: var(--mobile40dfd-radius-m);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--mobile40dfd-ink);
}

.mobile40dfd-checkitem::before {
  content: "\2713";
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  display: grid;
  place-items: center;
  border-radius: var(--mobile40dfd-radius-xs);
  border: 1px solid var(--mobile40dfd-lime);
  color: var(--mobile40dfd-lime);
  font-size: 12px;
  font-weight: 800;
  background: rgba(50, 205, 50, 0.1);
}

/* --------------------------------------------------------------------------
   Extended footer: page directory > brand > promo actions > disclaimer.
   Compact groups, descriptive labels, responsible-entertainment note.
   -------------------------------------------------------------------------- */
.mobile40dfd-xfooter {
  margin: 28px 12px 0;
  display: grid;
  gap: 12px;
}

.mobile40dfd-xf-head {
  font-family: var(--mobile40dfd-font-head);
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--mobile40dfd-white);
  margin-bottom: 4px;
}

.mobile40dfd-xf-group {
  background: var(--mobile40dfd-card);
  border: 1px solid var(--mobile40dfd-line-soft);
  border-radius: var(--mobile40dfd-radius-l);
  padding: 12px;
}

.mobile40dfd-xf-title {
  font-family: var(--mobile40dfd-font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--mobile40dfd-ink-dim);
  margin-bottom: 8px;
}

.mobile40dfd-xf-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mobile40dfd-xf-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 44px;
  padding: 6px 10px;
  border-radius: var(--mobile40dfd-radius-m);
  background: var(--mobile40dfd-bg-soft);
  border: 1px solid var(--mobile40dfd-line-soft);
  color: var(--mobile40dfd-ink);
  font-size: 12.5px;
  font-weight: 600;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mobile40dfd-xf-link::after {
  content: "\203A";
  color: var(--mobile40dfd-ink-dim);
  font-weight: 700;
}

.mobile40dfd-xf-link:hover,
.mobile40dfd-xf-link:focus-visible {
  text-decoration: none;
  border-color: var(--mobile40dfd-lime);
}

.mobile40dfd-brandbox {
  padding: 14px;
  background: linear-gradient(
    135deg,
    rgba(255, 20, 147, 0.1),
    var(--mobile40dfd-card-2) 55%
  );
  border: 1px solid var(--mobile40dfd-line-soft);
  border-radius: var(--mobile40dfd-radius-l);
}

.mobile40dfd-brandbox h3 {
  font-family: var(--mobile40dfd-font-head);
  font-size: 14px;
  font-weight: 800;
  color: var(--mobile40dfd-pink-soft);
  margin-bottom: 5px;
}

.mobile40dfd-brandbox p {
  font-size: 12.5px;
  line-height: 1.68;
  color: var(--mobile40dfd-ink-dim);
}

.mobile40dfd-promorow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.mobile40dfd-promo-btn {
  min-height: 50px;
  padding: 8px 10px;
  border-radius: var(--mobile40dfd-radius-m);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.mobile40dfd-promo-btn:active {
  transform: scale(0.97);
}

.mobile40dfd-promo-btn--lime {
  border: 1px solid var(--mobile40dfd-lime);
  color: var(--mobile40dfd-mint);
  background: rgba(50, 205, 50, 0.09);
}

.mobile40dfd-promo-btn--lime:active {
  box-shadow: var(--mobile40dfd-glow-lime);
}

.mobile40dfd-promo-btn--pink {
  border: 1px solid var(--mobile40dfd-pink);
  color: var(--mobile40dfd-pink-soft);
  background: rgba(255, 20, 147, 0.09);
}

.mobile40dfd-promo-btn--pink:active {
  box-shadow: var(--mobile40dfd-glow-pink);
}

.mobile40dfd-promo-btn--wide {
  grid-column: span 2;
}

.mobile40dfd-note {
  padding: 11px 13px;
  border-left: 3px solid var(--mobile40dfd-pink);
  border-radius: var(--mobile40dfd-radius-s);
  background: rgba(255, 20, 147, 0.06);
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--mobile40dfd-ink-dim);
}

.mobile40dfd-footer {
  text-align: center;
  padding: 18px 14px 10px;
  font-size: 11.5px;
  color: var(--mobile40dfd-ink-dim);
}

/* --------------------------------------------------------------------------
   Bottom nav rail: full-width, 5 roles, linear icons with filled active
   state, underline marker, restrained glow.
   -------------------------------------------------------------------------- */
.mobile40dfd-bottomnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgba(11, 19, 28, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--mobile40dfd-line);
  padding: 5px 2px calc(5px + env(safe-area-inset-bottom, 0px));
}

.mobile40dfd-bn-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 54px;
  padding: 4px 2px;
  border-radius: var(--mobile40dfd-radius-s);
  color: var(--mobile40dfd-ink-dim);
  transition: color 0.2s ease;
}

.mobile40dfd-bn-item svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 0.2s ease, filter 0.2s ease;
}

.mobile40dfd-bn-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.mobile40dfd-bn-item:hover,
.mobile40dfd-bn-item:focus-visible {
  text-decoration: none;
}

.mobile40dfd-bn-item.is-active {
  color: var(--mobile40dfd-mint);
}

.mobile40dfd-bn-item.is-active::before {
  content: "";
  position: absolute;
  top: 2px;
  width: 18px;
  height: 3px;
  border-radius: var(--mobile40dfd-radius-pill);
  background: var(--mobile40dfd-lime);
  box-shadow: 0 0 8px rgba(50, 205, 50, 0.75);
}

.mobile40dfd-bn-item.is-active svg {
  fill: rgba(154, 255, 154, 0.32);
  filter: drop-shadow(0 0 5px rgba(154, 255, 154, 0.6));
}

.mobile40dfd-bn-item--promo {
  color: var(--mobile40dfd-pink-soft);
}

.mobile40dfd-bn-item--promo svg {
  stroke: var(--mobile40dfd-pink-soft);
}

.mobile40dfd-bn-item--promo:active {
  box-shadow: var(--mobile40dfd-glow-pink);
  border-radius: var(--mobile40dfd-radius-m);
}

/* --------------------------------------------------------------------------
   Restrained reveal-on-scroll. Content stays visible without JS.
   -------------------------------------------------------------------------- */
.mobile40dfd-js .mobile40dfd-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.mobile40dfd-js .mobile40dfd-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .mobile40dfd-js .mobile40dfd-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .mobile40dfd-slide {
    transition: none;
  }
}
