/* ==========================================================================
   ga88casino.click - viewport-dynamic-483bfe.css
   Mobile-first stylesheet for the 320-430px phone canvas.
   Palette base: #AD1457 / #FF69B4 / #3A3A3A (dark canvas, light text).
   Design tone: geometric headings + neutral body, light-rounded cards with
   compact buttons, mixed large/small game cards, question-driven rhythm,
   short-distance section transitions, light-rounded text CTA groups.
   ========================================================================== */

:root {
  --mobile3bfe0-ink: #3A3A3A;
  --mobile3bfe0-canvas: #171317;
  --mobile3bfe0-canvas-2: #1f1a1f;
  --mobile3bfe0-surface: #262026;
  --mobile3bfe0-surface-2: #2d262d;
  --mobile3bfe0-line: #3d353d;
  --mobile3bfe0-rose: #AD1457;
  --mobile3bfe0-rose-deep: #8d0f45;
  --mobile3bfe0-pink: #FF69B4;
  --mobile3bfe0-pink-soft: #ffb3d9;
  --mobile3bfe0-text: #f4e9f0;
  --mobile3bfe0-text-dim: #c9b8c3;
  --mobile3bfe0-text-faint: #a2919c;
  --mobile3bfe0-radius-lg: 18px;
  --mobile3bfe0-radius-md: 12px;
  --mobile3bfe0-radius-sm: 8px;
  --mobile3bfe0-gap: 10px;
  --mobile3bfe0-header-h: 58px;
  --mobile3bfe0-bottomnav-h: 66px;
  --mobile3bfe0-shell-max: 430px;
  --mobile3bfe0-tap: 44px;
  --mobile3bfe0-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --mobile3bfe0-font-head: "Segoe UI", "Trebuchet MS", system-ui, -apple-system, sans-serif;
  --mobile3bfe0-font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  padding: 0;
  background: #0d0a0d;
  color: var(--mobile3bfe0-text);
  font-family: var(--mobile3bfe0-font-body);
  font-size: 15px;
  line-height: 1.62;
  min-height: 100vh;
}

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

a {
  color: var(--mobile3bfe0-pink);
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--mobile3bfe0-pink);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--mobile3bfe0-font-head);
  color: #ffffff;
  letter-spacing: 0.01em;
  margin: 0 0 10px;
  line-height: 1.28;
  text-wrap: balance;
}

h1 { font-size: 22px; }
h2 { font-size: 18px; }
h3 { font-size: 15.5px; }
p { margin: 0 0 12px; }

ul, ol { margin: 0 0 12px; padding-left: 20px; }
li { margin-bottom: 6px; }

/* ---------- Phone shell: stays a phone canvas on wide screens ---------- */
.mobile3bfe0-shell {
  max-width: var(--mobile3bfe0-shell-max);
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 220px at 50% -60px, rgba(173, 20, 87, 0.38), transparent 70%),
    linear-gradient(180deg, var(--mobile3bfe0-canvas) 0%, var(--mobile3bfe0-canvas-2) 100%);
  box-shadow: 0 0 0 1px rgba(255, 105, 180, 0.06);
  position: relative;
}

/* ---------- Top header (fixed, edge-aligned functional bar) ---------- */
.mobile3bfe0-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--mobile3bfe0-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  background: rgba(23, 19, 23, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mobile3bfe0-line);
}

.mobile3bfe0-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.mobile3bfe0-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 105, 180, 0.45);
  box-shadow: 0 0 10px rgba(255, 105, 180, 0.22);
  flex: none;
}

.mobile3bfe0-brand-name {
  font-family: var(--mobile3bfe0-font-head);
  font-weight: 700;
  font-size: 17px;
  color: #ffffff;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.mobile3bfe0-brand-name em {
  font-style: normal;
  color: var(--mobile3bfe0-pink);
}

.mobile3bfe0-top-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

/* Compact rounded text CTAs */
.mobile3bfe0-btn {
  font-family: var(--mobile3bfe0-font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0 14px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  transition: transform 0.18s var(--mobile3bfe0-ease), box-shadow 0.18s var(--mobile3bfe0-ease), filter 0.18s var(--mobile3bfe0-ease);
}

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

.mobile3bfe0-btn--register {
  background: linear-gradient(135deg, var(--mobile3bfe0-rose) 0%, #d81b6f 100%);
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(173, 20, 87, 0.5);
}

.mobile3bfe0-btn--register:hover {
  box-shadow: 0 4px 16px rgba(255, 105, 180, 0.55);
  filter: brightness(1.08);
}

.mobile3bfe0-btn--login {
  background: transparent;
  color: var(--mobile3bfe0-pink-soft);
  border: 1px solid rgba(255, 105, 180, 0.55);
}

.mobile3bfe0-btn--login:hover {
  background: rgba(255, 105, 180, 0.12);
}

/* Hamburger (linear icon, fills when open) */
.mobile3bfe0-burger {
  width: 40px;
  height: 40px;
  min-height: 40px;
  border: 1px solid var(--mobile3bfe0-line);
  border-radius: var(--mobile3bfe0-radius-sm);
  background: var(--mobile3bfe0-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.mobile3bfe0-burger svg {
  width: 20px;
  height: 20px;
  stroke: var(--mobile3bfe0-pink);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.mobile3bfe0-burger[aria-expanded="true"] svg {
  fill: rgba(255, 105, 180, 0.25);
  background: rgba(255, 105, 180, 0.08);
  border-radius: 4px;
}

/* ---------- Side drawer menu ---------- */
.mobile3bfe0-scrim {
  position: fixed;
  inset: 0;
  background: rgba(8, 5, 8, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--mobile3bfe0-ease);
  z-index: 70;
}

.mobile3bfe0-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile3bfe0-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(79vw, 318px);
  z-index: 80;
  background: linear-gradient(180deg, #241d24 0%, #1a151a 100%);
  border-left: 1px solid var(--mobile3bfe0-line);
  transform: translateX(105%);
  transition: transform 0.28s var(--mobile3bfe0-ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

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

.mobile3bfe0-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--mobile3bfe0-line);
}

.mobile3bfe0-drawer-title {
  font-family: var(--mobile3bfe0-font-head);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}

.mobile3bfe0-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: var(--mobile3bfe0-radius-sm);
  border: 1px solid var(--mobile3bfe0-line);
  background: var(--mobile3bfe0-surface-2);
  color: var(--mobile3bfe0-pink);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}

.mobile3bfe0-drawer-cta {
  display: flex;
  gap: 8px;
  padding: 14px 16px 6px;
}

.mobile3bfe0-drawer-cta .mobile3bfe0-btn { flex: 1; height: 40px; min-height: 40px; }

.mobile3bfe0-drawer-group {
  padding: 10px 16px 4px;
}

.mobile3bfe0-drawer-group-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mobile3bfe0-text-faint);
  margin-bottom: 6px;
  font-family: var(--mobile3bfe0-font-head);
}

.mobile3bfe0-drawer a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 10px;
  border-radius: var(--mobile3bfe0-radius-sm);
  color: var(--mobile3bfe0-text);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s var(--mobile3bfe0-ease), transform 0.15s var(--mobile3bfe0-ease);
}

.mobile3bfe0-drawer a:hover {
  background: rgba(255, 105, 180, 0.1);
  color: #fff;
}

.mobile3bfe0-drawer a:active { transform: translateX(2px); }

.mobile3bfe0-drawer a svg {
  width: 18px;
  height: 18px;
  stroke: var(--mobile3bfe0-pink);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Main column ---------- */
.mobile3bfe0-main {
  padding: 14px 12px calc(var(--mobile3bfe0-bottomnav-h) + 30px);
}

.mobile3bfe0-section {
  margin: 0 0 26px;
  animation: mobile3bfe0-rise 0.4s var(--mobile3bfe0-ease) both;
}

@keyframes mobile3bfe0-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Hero / H1 block ---------- */
.mobile3bfe0-hero {
  padding: 6px 2px 14px;
}

.mobile3bfe0-hero h1 {
  font-size: 22px;
  margin-bottom: 10px;
}

.mobile3bfe0-hero h1 span {
  color: var(--mobile3bfe0-pink);
}

.mobile3bfe0-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mobile3bfe0-pink-soft);
  background: rgba(173, 20, 87, 0.28);
  border: 1px solid rgba(255, 105, 180, 0.35);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 10px;
  font-family: var(--mobile3bfe0-font-head);
}

.mobile3bfe0-lede {
  color: var(--mobile3bfe0-text-dim);
  font-size: 14.5px;
}

.mobile3bfe0-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 4px;
}

.mobile3bfe0-hero-ctas .mobile3bfe0-btn { height: 40px; min-height: 40px; flex: 1 1 auto; padding: 0 16px; }

/* ---------- Banner carousel ---------- */
.mobile3bfe0-carousel {
  position: relative;
  border-radius: var(--mobile3bfe0-radius-lg);
  overflow: hidden;
  border: 1px solid var(--mobile3bfe0-line);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.42);
  margin-bottom: 4px;
}

.mobile3bfe0-carousel-track {
  display: flex;
  transition: transform 0.42s var(--mobile3bfe0-ease);
}

.mobile3bfe0-slide {
  flex: 0 0 100%;
  position: relative;
  cursor: pointer;
}

.mobile3bfe0-slide img {
  width: 100%;
  aspect-ratio: 16 / 8.4;
  object-fit: cover;
}

.mobile3bfe0-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(23, 19, 23, 0.85) 100%);
  pointer-events: none;
}

.mobile3bfe0-slide-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 9px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mobile3bfe0-slide-title {
  font-family: var(--mobile3bfe0-font-head);
  font-weight: 700;
  font-size: 14.5px;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.mobile3bfe0-slide-tag {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  background: linear-gradient(135deg, var(--mobile3bfe0-rose), #e0247c);
  border-radius: 999px;
  padding: 5px 11px;
}

.mobile3bfe0-carousel-dots {
  position: absolute;
  right: 10px;
  top: 10px;
  display: flex;
  gap: 5px;
  z-index: 3;
}

.mobile3bfe0-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.mobile3bfe0-dot.is-active {
  background: var(--mobile3bfe0-pink);
  transform: scale(1.25);
  box-shadow: 0 0 6px rgba(255, 105, 180, 0.8);
}

/* ---------- Category chip strip (horizontal scroll) ---------- */
.mobile3bfe0-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 2px 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.mobile3bfe0-chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 105, 180, 0.4);
  background: var(--mobile3bfe0-surface);
  color: var(--mobile3bfe0-pink-soft);
  font-size: 12.5px;
  font-weight: 700;
  font-family: var(--mobile3bfe0-font-head);
  letter-spacing: 0.02em;
  transition: background 0.16s var(--mobile3bfe0-ease), transform 0.16s var(--mobile3bfe0-ease);
}

.mobile3bfe0-chip:hover {
  background: rgba(173, 20, 87, 0.4);
  color: #fff;
}

.mobile3bfe0-chip:active { transform: scale(0.95); }

/* ---------- Section heading (question-driven rhythm) ---------- */
.mobile3bfe0-sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  padding-left: 10px;
  border-left: 3px solid var(--mobile3bfe0-rose);
}

.mobile3bfe0-sec-head h2 {
  margin: 0;
  font-size: 17px;
}

.mobile3bfe0-sec-note {
  flex: none;
  font-size: 11.5px;
  color: var(--mobile3bfe0-text-faint);
  font-weight: 600;
}

.mobile3bfe0-sec-intro {
  color: var(--mobile3bfe0-text-dim);
  font-size: 13.5px;
  margin: 0 0 12px;
}

/* ---------- Featured large cards (big/small card mix) ---------- */
.mobile3bfe0-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 6px;
}

@media (min-width: 375px) {
  .mobile3bfe0-featured { grid-template-columns: 1fr 1fr; }
}

.mobile3bfe0-feature-card {
  position: relative;
  border-radius: var(--mobile3bfe0-radius-lg);
  overflow: hidden;
  border: 1px solid var(--mobile3bfe0-line);
  background: var(--mobile3bfe0-surface);
  cursor: pointer;
  transition: transform 0.2s var(--mobile3bfe0-ease), box-shadow 0.2s var(--mobile3bfe0-ease);
}

.mobile3bfe0-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(173, 20, 87, 0.35);
}

.mobile3bfe0-feature-card img {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
}

.mobile3bfe0-feature-card figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 10px 9px;
  background: linear-gradient(180deg, transparent, rgba(23, 19, 23, 0.92));
  font-family: var(--mobile3bfe0-font-head);
  font-weight: 700;
  font-size: 13.5px;
  color: #fff;
}

.mobile3bfe0-feature-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--mobile3bfe0-rose), #ff3d97);
  border-radius: 999px;
  padding: 4px 9px;
  box-shadow: 0 0 12px rgba(255, 61, 151, 0.5);
}

/* ---------- Game grids ---------- */
.mobile3bfe0-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--mobile3bfe0-gap);
}

@media (min-width: 390px) {
  .mobile3bfe0-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.mobile3bfe0-gcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: var(--mobile3bfe0-radius-md);
  background: var(--mobile3bfe0-surface);
  border: 1px solid var(--mobile3bfe0-line);
  padding: 6px 4px 8px;
  cursor: pointer;
  transition: transform 0.18s var(--mobile3bfe0-ease), border-color 0.18s var(--mobile3bfe0-ease), box-shadow 0.18s var(--mobile3bfe0-ease);
}

.mobile3bfe0-gcard:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 105, 180, 0.6);
  box-shadow: 0 6px 16px rgba(173, 20, 87, 0.32);
}

.mobile3bfe0-gcard:active { transform: translateY(-1px) scale(0.97); }

.mobile3bfe0-gcard img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--mobile3bfe0-radius-sm);
  background: #171317;
}

.mobile3bfe0-gcard span {
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.3;
  color: var(--mobile3bfe0-text-dim);
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
}

.mobile3bfe0-gcard:hover span { color: var(--mobile3bfe0-pink-soft); }

/* ---------- Info panels (prose modules) ---------- */
.mobile3bfe0-panel {
  background: linear-gradient(180deg, var(--mobile3bfe0-surface) 0%, var(--mobile3bfe0-surface-2) 100%);
  border: 1px solid var(--mobile3bfe0-line);
  border-radius: var(--mobile3bfe0-radius-lg);
  padding: 14px 14px 10px;
}

.mobile3bfe0-panel p { color: var(--mobile3bfe0-text-dim); font-size: 14px; }

.mobile3bfe0-panel strong { color: #fff; font-weight: 700; }

.mobile3bfe0-panel a {
  color: var(--mobile3bfe0-pink);
  border-bottom: 1px dashed rgba(255, 105, 180, 0.55);
  font-weight: 600;
}

.mobile3bfe0-panel a:hover { color: #ffd7ec; }

/* Q&A rows: question-first info rhythm */
.mobile3bfe0-qa {
  border: 1px solid var(--mobile3bfe0-line);
  border-radius: var(--mobile3bfe0-radius-md);
  background: var(--mobile3bfe0-surface);
  margin-bottom: 10px;
  overflow: hidden;
}

.mobile3bfe0-qa-q {
  width: 100%;
  min-height: var(--mobile3bfe0-tap);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
  background: transparent;
  border: none;
  padding: 12px 13px;
  cursor: pointer;
  color: #fff;
  font-family: var(--mobile3bfe0-font-head);
  font-weight: 700;
  font-size: 14px;
}

.mobile3bfe0-qa-q svg {
  flex: none;
  width: 16px;
  height: 16px;
  stroke: var(--mobile3bfe0-pink);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  transition: transform 0.22s var(--mobile3bfe0-ease);
}

.mobile3bfe0-qa[data-open="true"] .mobile3bfe0-qa-q svg { transform: rotate(45deg); }

.mobile3bfe0-qa-a {
  display: none;
  padding: 0 13px 12px;
  color: var(--mobile3bfe0-text-dim);
  font-size: 13.5px;
}

.mobile3bfe0-qa[data-open="true"] .mobile3bfe0-qa-a { display: block; }

/* Mini stat / fact tiles */
.mobile3bfe0-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 12px;
}

@media (min-width: 400px) {
  .mobile3bfe0-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.mobile3bfe0-fact {
  background: var(--mobile3bfe0-surface);
  border: 1px solid var(--mobile3bfe0-line);
  border-radius: var(--mobile3bfe0-radius-md);
  padding: 10px 8px;
  text-align: center;
}

.mobile3bfe0-fact b {
  display: block;
  font-family: var(--mobile3bfe0-font-head);
  font-size: 15px;
  color: var(--mobile3bfe0-pink);
  margin-bottom: 2px;
}

.mobile3bfe0-fact small {
  font-size: 11px;
  color: var(--mobile3bfe0-text-faint);
  line-height: 1.35;
  display: block;
}

/* Pros / limitations two-column list */
.mobile3bfe0-duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 375px) {
  .mobile3bfe0-duo { grid-template-columns: 1fr 1fr; }
}

.mobile3bfe0-duo-col {
  border-radius: var(--mobile3bfe0-radius-md);
  border: 1px solid var(--mobile3bfe0-line);
  padding: 12px;
  background: var(--mobile3bfe0-surface);
}

.mobile3bfe0-duo-col h3 { margin-bottom: 8px; }

.mobile3bfe0-duo-col ul { margin: 0; padding-left: 16px; }

.mobile3bfe0-duo-col li {
  font-size: 12.8px;
  color: var(--mobile3bfe0-text-dim);
}

/* Inline promo text link inside prose */
.mobile3bfe0-promo-inline {
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--mobile3bfe0-rose) 0%, #d81b6f 100%);
  border-radius: 999px;
  padding: 2px 12px;
  white-space: nowrap;
  cursor: pointer;
  border-bottom: none;
  display: inline-block;
  line-height: 1.7;
  box-shadow: 0 2px 10px rgba(173, 20, 87, 0.45);
}

.mobile3bfe0-promo-inline:hover { filter: brightness(1.1); color: #fff; }

/* CTA cluster (light-rounded text button group) */
.mobile3bfe0-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.mobile3bfe0-cta-row .mobile3bfe0-btn { flex: 1 1 130px; height: 42px; min-height: 42px; }

/* ---------- Extended footer (home only) ---------- */
.mobile3bfe0-ext {
  margin-top: 26px;
  border-top: 1px solid var(--mobile3bfe0-line);
  padding-top: 18px;
}

.mobile3bfe0-ext-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.mobile3bfe0-ext-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 105, 180, 0.4);
}

.mobile3bfe0-ext-brand p {
  margin: 0;
  font-size: 12.8px;
  color: var(--mobile3bfe0-text-faint);
}

.mobile3bfe0-ext h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mobile3bfe0-pink-soft);
  margin: 16px 0 8px;
}

/* Horizontal shortcut link lists */
.mobile3bfe0-links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.mobile3bfe0-links-row a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--mobile3bfe0-line);
  background: var(--mobile3bfe0-surface);
  color: var(--mobile3bfe0-text-dim);
  font-size: 12px;
  font-weight: 600;
  transition: border-color 0.15s, color 0.15s, transform 0.15s;
}

.mobile3bfe0-links-row a:hover {
  border-color: rgba(255, 105, 180, 0.6);
  color: #fff;
  transform: translateY(-1px);
}

/* 4 promotion shortcuts, 2x2 on narrow / 4 across when roomy */
.mobile3bfe0-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

@media (min-width: 400px) {
  .mobile3bfe0-promo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.mobile3bfe0-promo-tile {
  border: none;
  cursor: pointer;
  border-radius: var(--mobile3bfe0-radius-md);
  min-height: var(--mobile3bfe0-tap);
  padding: 10px 6px;
  background: linear-gradient(160deg, rgba(173, 20, 87, 0.55), rgba(255, 105, 180, 0.16));
  border-top: 1px solid rgba(255, 105, 180, 0.5);
  color: #fff;
  font-family: var(--mobile3bfe0-font-head);
  font-weight: 700;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: transform 0.16s var(--mobile3bfe0-ease), box-shadow 0.16s var(--mobile3bfe0-ease);
}

.mobile3bfe0-promo-tile svg {
  width: 18px;
  height: 18px;
  stroke: var(--mobile3bfe0-pink);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile3bfe0-promo-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 14px rgba(255, 105, 180, 0.35);
}

.mobile3bfe0-disclaimer {
  margin-top: 16px;
  padding: 12px;
  border-radius: var(--mobile3bfe0-radius-md);
  border: 1px dashed rgba(255, 105, 180, 0.35);
  font-size: 11.8px;
  line-height: 1.55;
  color: var(--mobile3bfe0-text-faint);
}

/* ---------- Bottom copyright bar ---------- */
.mobile3bfe0-foot {
  text-align: center;
  padding: 16px 14px calc(var(--mobile3bfe0-bottomnav-h) + 16px);
  border-top: 1px solid var(--mobile3bfe0-line);
  font-size: 12px;
  color: var(--mobile3bfe0-text-faint);
}

.mobile3bfe0-foot b {
  color: var(--mobile3bfe0-text-dim);
  font-family: var(--mobile3bfe0-font-head);
}

/* ---------- Mobile bottom navigation (center-raised) ---------- */
.mobile3bfe0-bottomnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: var(--mobile3bfe0-shell-max);
  height: calc(var(--mobile3bfe0-bottomnav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: flex-end;
  background: rgba(26, 21, 26, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--mobile3bfe0-line);
  z-index: 50;
}

.mobile3bfe0-navitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: var(--mobile3bfe0-bottomnav-h);
  min-width: 44px;
  color: var(--mobile3bfe0-text-faint);
  font-size: 10.5px;
  font-weight: 700;
  font-family: var(--mobile3bfe0-font-head);
  letter-spacing: 0.01em;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0 2px;
  transition: color 0.16s var(--mobile3bfe0-ease), transform 0.16s var(--mobile3bfe0-ease);
}

.mobile3bfe0-navitem svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile3bfe0-navitem:hover { color: var(--mobile3bfe0-pink-soft); }

/* Active: slight lift + filled icon + restrained glow */
.mobile3bfe0-navitem.is-active {
  color: var(--mobile3bfe0-pink);
  transform: translateY(-3px);
}

.mobile3bfe0-navitem.is-active svg {
  fill: rgba(255, 105, 180, 0.3);
  filter: drop-shadow(0 0 6px rgba(255, 105, 180, 0.7));
}

/* Raised center promo button */
.mobile3bfe0-navitem--raised {
  position: relative;
  top: -14px;
  height: calc(var(--mobile3bfe0-bottomnav-h) - 6px);
}

.mobile3bfe0-navitem--raised .mobile3bfe0-navicon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, var(--mobile3bfe0-rose) 0%, #ff3d97 100%);
  box-shadow: 0 5px 16px rgba(255, 61, 151, 0.5), 0 0 0 4px rgba(23, 19, 23, 0.95);
  color: #fff;
  transition: box-shadow 0.18s var(--mobile3bfe0-ease), transform 0.18s var(--mobile3bfe0-ease);
}

.mobile3bfe0-navitem--raised:hover .mobile3bfe0-navicon-wrap {
  box-shadow: 0 6px 20px rgba(255, 61, 151, 0.7), 0 0 0 4px rgba(23, 19, 23, 0.95);
  transform: translateY(-2px);
}

.mobile3bfe0-navitem--raised svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
}

.mobile3bfe0-navitem--raised span {
  color: var(--mobile3bfe0-pink-soft);
}

/* ---------- Utilities ---------- */
.mobile3bfe0-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Wide viewport: keep the phone canvas, refine spacing ---------- */
@media (min-width: 430px) {
  .mobile3bfe0-main { padding-left: 16px; padding-right: 16px; }
  .mobile3bfe0-hero h1 { font-size: 24px; }
  .mobile3bfe0-gcard span { font-size: 11.5px; }
}

@media (min-width: 760px) {
  body { background: #0d0a0d radial-gradient(60% 40% at 50% 0%, rgba(173, 20, 87, 0.14), transparent 70%); }
  .mobile3bfe0-shell {
    border-left: 1px solid var(--mobile3bfe0-line);
    border-right: 1px solid var(--mobile3bfe0-line);
  }
}

/* ---------- Help pages: numbered step timeline ---------- */
.mobile3bfe0-steps {
  list-style: none;
  margin: 0;
  padding: 2px 0 0;
  counter-reset: mobile3bfe0-step;
}

.mobile3bfe0-step {
  counter-increment: mobile3bfe0-step;
  position: relative;
  padding: 0 0 16px 46px;
}

.mobile3bfe0-step::before {
  content: counter(mobile3bfe0-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mobile3bfe0-font-head);
  font-weight: 800;
  font-size: 14px;
  color: #ffffff;
  background: linear-gradient(140deg, var(--mobile3bfe0-rose) 0%, #d81b6f 100%);
  box-shadow: 0 0 10px rgba(255, 105, 180, 0.28);
}

.mobile3bfe0-step::after {
  content: "";
  position: absolute;
  left: 15.5px;
  top: 36px;
  bottom: 3px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255, 105, 180, 0.5), rgba(255, 105, 180, 0.06));
}

.mobile3bfe0-step:last-child { padding-bottom: 4px; }
.mobile3bfe0-step:last-child::after { display: none; }

.mobile3bfe0-step h3 {
  margin: 3px 0 4px;
  font-size: 14.5px;
  color: #ffffff;
}

.mobile3bfe0-step p {
  margin: 0;
  font-size: 13.5px;
  color: var(--mobile3bfe0-text-dim);
}

/* ---------- Help pages: check rows ---------- */
.mobile3bfe0-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding: 10px 11px;
  border-radius: var(--mobile3bfe0-radius-sm);
  border: 1px solid var(--mobile3bfe0-line);
  background: var(--mobile3bfe0-surface);
  margin-bottom: 8px;
  font-size: 13.5px;
  color: var(--mobile3bfe0-text-dim);
  line-height: 1.5;
}

.mobile3bfe0-check svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  stroke: var(--mobile3bfe0-pink);
  fill: none;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Guide page: mistake cards (wrong vs right) ---------- */
.mobile3bfe0-miss {
  border: 1px solid var(--mobile3bfe0-line);
  border-left: 3px solid var(--mobile3bfe0-rose);
  border-radius: var(--mobile3bfe0-radius-md);
  background: var(--mobile3bfe0-surface);
  padding: 12px 12px 6px;
  margin-bottom: 12px;
}

.mobile3bfe0-miss h3 {
  margin: 0 0 8px;
  font-size: 14.5px;
  color: #ffffff;
}

.mobile3bfe0-miss-tag {
  display: inline-block;
  font-family: var(--mobile3bfe0-font-head);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 5px;
}

.mobile3bfe0-miss-tag--bad {
  background: rgba(173, 20, 87, 0.35);
  color: var(--mobile3bfe0-pink-soft);
}

.mobile3bfe0-miss-tag--good {
  background: rgba(255, 105, 180, 0.16);
  color: var(--mobile3bfe0-pink);
}

.mobile3bfe0-miss p {
  font-size: 13.3px;
  color: var(--mobile3bfe0-text-dim);
  margin: 0 0 10px;
}

/* ---------- Guide page: decision rows ---------- */
.mobile3bfe0-decide {
  padding: 10px 12px;
  border-radius: var(--mobile3bfe0-radius-sm);
  background: linear-gradient(90deg, rgba(173, 20, 87, 0.22), rgba(255, 105, 180, 0.04));
  border: 1px solid var(--mobile3bfe0-line);
  margin-bottom: 8px;
  font-size: 13.5px;
  color: var(--mobile3bfe0-text-dim);
  line-height: 1.52;
}

.mobile3bfe0-decide b {
  color: #ffffff;
  font-family: var(--mobile3bfe0-font-head);
  display: block;
  margin-bottom: 2px;
}

/* ---------- Guide page: breadcrumb row ---------- */
.mobile3bfe0-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--mobile3bfe0-text-faint);
  padding: 2px 2px 10px;
  font-weight: 600;
}

.mobile3bfe0-crumbs a { color: var(--mobile3bfe0-pink-soft); }
.mobile3bfe0-crumbs a:hover { color: #ffd7ec; }
.mobile3bfe0-crumbs span { color: var(--mobile3bfe0-text-faint); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
}
