/* ============================================================
   1xbet philippines login - mobile visuals
   Palette: #CD853F | #FFA500 | #FF5722 | #FF4500 | #2C2C2C | #999999
   Font pairing: clean bold titles + light body
   Game card: grouped cover card | CTA: full-width primary
   ============================================================ */

:root {
  --mobile1d9b4-bg: #2C2C2C;
  --mobile1d9b4-bg-deep: #1f1f1f;
  --mobile1d9b4-surface: #353028;
  --mobile1d9b4-surface-2: #3d372e;
  --mobile1d9b4-line: rgba(255, 165, 0, 0.18);
  --mobile1d9b4-text: #f5ead6;
  --mobile1d9b4-text-soft: #c9bfa9;
  --mobile1d9b4-muted: #999999;
  --mobile1d9b4-tan: #CD853F;
  --mobile1d9b4-amber: #FFA500;
  --mobile1d9b4-flame: #FF5722;
  --mobile1d9b4-ember: #FF4500;
  --mobile1d9b4-gold-grad: linear-gradient(135deg, #FFA500 0%, #FF5722 55%, #FF4500 100%);
  --mobile1d9b4-tan-grad: linear-gradient(135deg, #CD853F 0%, #FFA500 100%);
  --mobile1d9b4-radius-sm: 8px;
  --mobile1d9b4-radius: 14px;
  --mobile1d9b4-radius-lg: 20px;
  --mobile1d9b4-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  --mobile1d9b4-shadow-soft: 0 4px 14px rgba(0, 0, 0, 0.35);
  --mobile1d9b4-topbar-h: 58px;
  --mobile1d9b4-bottomnav-h: 66px;
  --mobile1d9b4-stage-w: 480px;
  --mobile1d9b4-font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  background: #15110d;
  color: var(--mobile1d9b4-text);
  font-family: var(--mobile1d9b4-font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--mobile1d9b4-amber); text-decoration: none; }
a:hover { color: var(--mobile1d9b4-flame); }

button { font-family: inherit; }

.mobile1d9b4-sr-only {
  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 ---------- */
.mobile1d9b4-stage {
  position: relative;
  width: 100%;
  max-width: var(--mobile1d9b4-stage-w);
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(255, 87, 34, 0.18), transparent 60%),
    linear-gradient(180deg, #2C2C2C 0%, #241f1a 60%, #1c1814 100%);
  box-shadow: var(--mobile1d9b4-shadow);
  overflow: hidden;
}

/* ---------- Top bar ---------- */
.mobile1d9b4-topbar {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--mobile1d9b4-stage-w);
  height: var(--mobile1d9b4-topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  background: linear-gradient(180deg, rgba(31, 31, 31, 0.97), rgba(44, 44, 44, 0.92));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--mobile1d9b4-line);
  z-index: 60;
}

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

.mobile1d9b4-brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 165, 0, 0.55);
  box-shadow: 0 0 0 2px rgba(44, 44, 44, 0.8), 0 3px 8px rgba(255, 87, 34, 0.4);
  flex-shrink: 0;
}

.mobile1d9b4-brand-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: var(--mobile1d9b4-tan-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mobile1d9b4-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.mobile1d9b4-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.mobile1d9b4-btn:focus-visible {
  outline: 2px solid var(--mobile1d9b4-amber);
  outline-offset: 2px;
}

.mobile1d9b4-btn--primary {
  background: var(--mobile1d9b4-gold-grad);
  color: #1c1206;
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.45);
}
.mobile1d9b4-btn--primary:hover { color: #1c1206; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255, 69, 0, 0.55); }

.mobile1d9b4-btn--ghost {
  background: transparent;
  color: var(--mobile1d9b4-text);
  border-color: rgba(255, 165, 0, 0.45);
}
.mobile1d9b4-btn--ghost:hover { color: var(--mobile1d9b4-amber); border-color: var(--mobile1d9b4-amber); }

.mobile1d9b4-iconbtn {
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 12px;
  background: rgba(255, 165, 0, 0.1);
  border: 1px solid rgba(255, 165, 0, 0.3);
  color: var(--mobile1d9b4-amber);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.mobile1d9b4-iconbtn:hover { background: rgba(255, 87, 34, 0.2); }
.mobile1d9b4-iconbtn svg { width: 20px; height: 20px; }

/* ---------- Slide-up menu ---------- */
.mobile1d9b4-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}
.mobile1d9b4-menu[aria-hidden="false"] { pointer-events: auto; }

.mobile1d9b4-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 6, 0.62);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.mobile1d9b4-menu[aria-hidden="false"] .mobile1d9b4-menu-backdrop { opacity: 1; }

.mobile1d9b4-menu-panel {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 100%);
  width: 100%;
  max-width: var(--mobile1d9b4-stage-w);
  max-height: 78vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #353028, #241f1a);
  border-top: 1px solid rgba(255, 165, 0, 0.3);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -14px 40px rgba(0, 0, 0, 0.55);
  padding: 14px 16px calc(20px + env(safe-area-inset-bottom));
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile1d9b4-menu[aria-hidden="false"] .mobile1d9b4-menu-panel { transform: translate(-50%, 0); }

.mobile1d9b4-menu-grip {
  width: 44px; height: 5px;
  border-radius: 999px;
  background: rgba(255, 165, 0, 0.4);
  margin: 0 auto 14px;
}

.mobile1d9b4-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.mobile1d9b4-menu-title { font-size: 15px; font-weight: 800; color: var(--mobile1d9b4-amber); margin: 0; }
.mobile1d9b4-menu-close {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 165, 0, 0.25);
  color: var(--mobile1d9b4-text-soft);
  cursor: pointer;
  font-size: 18px; line-height: 1;
}

.mobile1d9b4-menu-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}
.mobile1d9b4-menu-cta .mobile1d9b4-btn { min-height: 42px; }

.mobile1d9b4-menu-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}
.mobile1d9b4-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 12px;
  color: var(--mobile1d9b4-text);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.mobile1d9b4-menu-link:hover {
  background: rgba(255, 165, 0, 0.1);
  border-color: rgba(255, 165, 0, 0.3);
  color: var(--mobile1d9b4-amber);
}
.mobile1d9b4-menu-link-tile {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--mobile1d9b4-tan-grad);
  color: #1c1206;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mobile1d9b4-menu-link-tile svg { width: 18px; height: 18px; }
.mobile1d9b4-menu-link small { display: block; font-weight: 400; color: var(--mobile1d9b4-muted); font-size: 12px; }

/* ---------- Main content frame ---------- */
.mobile1d9b4-main {
  padding-top: calc(var(--mobile1d9b4-topbar-h) + 4px);
  padding-bottom: calc(var(--mobile1d9b4-bottomnav-h) + 28px);
}

/* ---------- Hero / carousel ---------- */
.mobile1d9b4-hero {
  padding: 14px 12px 6px;
}

.mobile1d9b4-hero-intro {
  margin: 4px 2px 12px;
}
.mobile1d9b4-hero-intro h1 {
  font-size: 24px;
  line-height: 1.2;
  margin: 0 0 6px;
  font-weight: 800;
  letter-spacing: -0.2px;
}
.mobile1d9b4-hero-intro h1 .mobile1d9b4-hl {
  background: var(--mobile1d9b4-gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mobile1d9b4-hero-intro p {
  margin: 0;
  color: var(--mobile1d9b4-text-soft);
  font-size: 14px;
}

.mobile1d9b4-carousel {
  position: relative;
  border-radius: var(--mobile1d9b4-radius-lg);
  overflow: hidden;
  box-shadow: var(--mobile1d9b4-shadow);
  background: #15110d;
}
.mobile1d9b4-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.mobile1d9b4-slide {
  flex: 0 0 100%;
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.mobile1d9b4-slide img {
  width: 100%;
  height: 188px;
  object-fit: cover;
}
.mobile1d9b4-slide-caption {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  text-align: left;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
.mobile1d9b4-slide-caption span {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--mobile1d9b4-gold-grad);
  color: #1c1206;
  margin-bottom: 6px;
}
.mobile1d9b4-slide-caption strong {
  display: block;
  font-size: 16px;
  line-height: 1.25;
}

.mobile1d9b4-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.mobile1d9b4-dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.mobile1d9b4-dot.is-active { width: 20px; background: var(--mobile1d9b4-amber); }

.mobile1d9b4-hero-cta {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8px;
}

/* ---------- Generic full-width CTA ---------- */
.mobile1d9b4-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--mobile1d9b4-radius);
  border: 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.4px;
  background: var(--mobile1d9b4-gold-grad);
  color: #1c1206;
  box-shadow: 0 6px 16px rgba(255, 69, 0, 0.4);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.mobile1d9b4-cta:hover { color: #1c1206; transform: translateY(-1px); box-shadow: 0 9px 22px rgba(255, 69, 0, 0.55); }
.mobile1d9b4-cta:focus-visible { outline: 2px solid var(--mobile1d9b4-text); outline-offset: 2px; }

.mobile1d9b4-cta--ghost {
  background: rgba(255, 165, 0, 0.08);
  color: var(--mobile1d9b4-amber);
  border: 1px solid rgba(255, 165, 0, 0.4);
  box-shadow: none;
}
.mobile1d9b4-cta--ghost:hover { color: var(--mobile1d9b4-flame); border-color: var(--mobile1d9b4-flame); background: rgba(255, 87, 34, 0.14); }

/* ---------- Sections ---------- */
.mobile1d9b4-section {
  padding: 18px 12px 6px;
}
.mobile1d9b4-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.mobile1d9b4-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--mobile1d9b4-flame);
  margin-bottom: 4px;
}
.mobile1d9b4-section-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
  color: var(--mobile1d9b4-text);
}
.mobile1d9b4-section-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--mobile1d9b4-amber);
  white-space: nowrap;
}

/* ---------- Game categories ---------- */
.mobile1d9b4-cat {
  margin-bottom: 18px;
}
.mobile1d9b4-cat-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--mobile1d9b4-radius);
  background: linear-gradient(135deg, rgba(205, 133, 63, 0.22), rgba(255, 87, 34, 0.12));
  border: 1px solid rgba(255, 165, 0, 0.25);
  margin-bottom: 10px;
}
.mobile1d9b4-cat-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--mobile1d9b4-text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.mobile1d9b4-cat-title .mobile1d9b4-cat-pip {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--mobile1d9b4-gold-grad);
  box-shadow: 0 0 8px rgba(255, 165, 0, 0.7);
}
.mobile1d9b4-cat-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--mobile1d9b4-amber);
  border: 1px solid rgba(255, 165, 0, 0.3);
}

.mobile1d9b4-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (min-width: 400px) {
  .mobile1d9b4-grid { grid-template-columns: repeat(5, 1fr); gap: 9px; }
}

.mobile1d9b4-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  background: var(--mobile1d9b4-surface);
  border: 1px solid rgba(255, 165, 0, 0.18);
  border-radius: var(--mobile1d9b4-radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--mobile1d9b4-shadow-soft);
}
.mobile1d9b4-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 165, 0, 0.55);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}
.mobile1d9b4-card:focus-visible {
  outline: 2px solid var(--mobile1d9b4-amber);
  outline-offset: 2px;
}
.mobile1d9b4-card-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #15110d;
  overflow: hidden;
}
.mobile1d9b4-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.mobile1d9b4-card:hover .mobile1d9b4-card-img { transform: scale(1.06); }
.mobile1d9b4-card-name {
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  padding: 5px 4px 6px;
  color: var(--mobile1d9b4-text);
  background: linear-gradient(180deg, rgba(53, 48, 40, 0.4), rgba(31, 31, 31, 0.85));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Prose / SEO content ---------- */
.mobile1d9b4-prose {
  padding: 4px 2px;
  color: var(--mobile1d9b4-text-soft);
  font-size: 14.5px;
}
.mobile1d9b4-prose h2 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  margin: 22px 0 8px;
  color: var(--mobile1d9b4-text);
}
.mobile1d9b4-prose h2:first-child { margin-top: 4px; }
.mobile1d9b4-prose h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 16px 0 6px;
  color: var(--mobile1d9b4-amber);
}
.mobile1d9b4-prose p { margin: 0 0 10px; }
.mobile1d9b4-prose ul, .mobile1d9b4-prose ol { margin: 0 0 12px; padding-left: 20px; }
.mobile1d9b4-prose li { margin-bottom: 6px; }
.mobile1d9b4-prose strong { color: var(--mobile1d9b4-text); font-weight: 700; }
.mobile1d9b4-prose a { font-weight: 600; border-bottom: 1px dashed rgba(255, 165, 0, 0.5); }
.mobile1d9b4-prose a:hover { border-bottom-style: solid; }

.mobile1d9b4-lead {
  font-size: 15px;
  color: var(--mobile1d9b4-text);
}

/* lead/fact summary box */
.mobile1d9b4-fact {
  border-left: 3px solid var(--mobile1d9b4-amber);
  background: rgba(255, 165, 0, 0.08);
  padding: 12px 14px;
  border-radius: 0 12px 12px 0;
  margin: 8px 0 14px;
  font-size: 13.5px;
  color: var(--mobile1d9b4-text);
}
.mobile1d9b4-fact strong { color: var(--mobile1d9b4-amber); }

/* ---------- Highlights tiles (category highlights) ---------- */
.mobile1d9b4-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin: 10px 0 6px;
}
.mobile1d9b4-tile {
  padding: 12px;
  border-radius: var(--mobile1d9b4-radius);
  background: var(--mobile1d9b4-surface);
  border: 1px solid rgba(255, 165, 0, 0.18);
}
.mobile1d9b4-tile-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--mobile1d9b4-amber);
  margin-bottom: 5px;
}
.mobile1d9b4-tile-name svg { width: 16px; height: 16px; }
.mobile1d9b4-tile p { margin: 0; font-size: 12.5px; color: var(--mobile1d9b4-text-soft); line-height: 1.45; }

/* ---------- Decision checklist ---------- */
.mobile1d9b4-checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 10px 0 4px;
}
.mobile1d9b4-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 12px;
  border-radius: var(--mobile1d9b4-radius);
  background: rgba(255, 165, 0, 0.06);
  border: 1px solid rgba(255, 165, 0, 0.2);
}
.mobile1d9b4-check-icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--mobile1d9b4-gold-grad);
  color: #1c1206;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
}
.mobile1d9b4-check-text { font-size: 13px; color: var(--mobile1d9b4-text); line-height: 1.45; }
.mobile1d9b4-check-text strong { color: var(--mobile1d9b4-amber); }

/* ---------- Promotions strip ---------- */
.mobile1d9b4-promos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin: 10px 0 4px;
}
.mobile1d9b4-promo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--mobile1d9b4-radius);
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.18), rgba(205, 133, 63, 0.1));
  border: 1px solid rgba(255, 165, 0, 0.3);
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease;
}
.mobile1d9b4-promo:hover { transform: translateY(-1px); border-color: rgba(255, 165, 0, 0.6); }
.mobile1d9b4-promo-tag {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--mobile1d9b4-gold-grad);
  color: #1c1206;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile1d9b4-promo-tag svg { width: 22px; height: 22px; }
.mobile1d9b4-promo-body { flex: 1; min-width: 0; }
.mobile1d9b4-promo-body strong { display: block; font-size: 14px; color: var(--mobile1d9b4-text); }
.mobile1d9b4-promo-body span { display: block; font-size: 12px; color: var(--mobile1d9b4-text-soft); }
.mobile1d9b4-promo-arrow { color: var(--mobile1d9b4-amber); font-weight: 800; }

/* ---------- App download block ---------- */
.mobile1d9b4-app {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 14px;
  border-radius: var(--mobile1d9b4-radius-lg);
  background: linear-gradient(135deg, #3d372e, #2C2C2C);
  border: 1px solid rgba(255, 165, 0, 0.28);
  margin: 10px 0 4px;
}
.mobile1d9b4-app-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mobile1d9b4-app-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255, 165, 0, 0.5);
  flex-shrink: 0;
}
.mobile1d9b4-app-top h3 { margin: 0; font-size: 15px; color: var(--mobile1d9b4-text); }
.mobile1d9b4-app-top span { font-size: 12px; color: var(--mobile1d9b4-text-soft); }
.mobile1d9b4-app p { margin: 0; font-size: 13px; color: var(--mobile1d9b4-text-soft); }
.mobile1d9b4-app-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }

/* ---------- Extended footer ---------- */
.mobile1d9b4-foot {
  margin-top: 18px;
  padding: 18px 14px 12px;
  background: linear-gradient(180deg, rgba(31, 31, 31, 0.85), #1a1611);
  border-top: 1px solid rgba(255, 165, 0, 0.22);
}
.mobile1d9b4-foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.mobile1d9b4-foot-brand img {
  width: 34px; height: 34px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 165, 0, 0.4);
}
.mobile1d9b4-foot-brand p { margin: 0; font-size: 12.5px; color: var(--mobile1d9b4-text-soft); line-height: 1.5; }
.mobile1d9b4-foot-brand p strong { color: var(--mobile1d9b4-amber); display: block; font-size: 13.5px; margin-bottom: 2px; }

.mobile1d9b4-foot-group { margin-bottom: 14px; }
.mobile1d9b4-foot-group-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--mobile1d9b4-flame);
  margin: 0 0 8px;
}

.mobile1d9b4-foot-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
}
.mobile1d9b4-foot-dir a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mobile1d9b4-text-soft);
  border-bottom: 1px dashed rgba(255, 165, 0, 0.16);
}
.mobile1d9b4-foot-dir a:hover { color: var(--mobile1d9b4-amber); }
.mobile1d9b4-foot-dir svg { width: 13px; height: 13px; color: var(--mobile1d9b4-tan); flex-shrink: 0; }

.mobile1d9b4-foot-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mobile1d9b4-foot-promo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 11px;
  background: rgba(255, 165, 0, 0.08);
  border: 1px solid rgba(255, 165, 0, 0.28);
  color: var(--mobile1d9b4-text);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.mobile1d9b4-foot-promo:hover { background: rgba(255, 87, 34, 0.18); border-color: var(--mobile1d9b4-amber); color: var(--mobile1d9b4-amber); }
.mobile1d9b4-foot-promo svg { width: 16px; height: 16px; color: var(--mobile1d9b4-amber); flex-shrink: 0; }

.mobile1d9b4-foot-disclaimer {
  margin-top: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(153, 153, 153, 0.25);
  font-size: 11.5px;
  color: var(--mobile1d9b4-muted);
  line-height: 1.5;
}
.mobile1d9b4-foot-copy {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 11.5px;
  color: var(--mobile1d9b4-muted);
}

/* ---------- Bottom nav ---------- */
.mobile1d9b4-bottomnav {
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--mobile1d9b4-stage-w);
  height: var(--mobile1d9b4-bottomnav-h);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(44, 44, 44, 0.96), rgba(20, 16, 12, 0.98));
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 165, 0, 0.28);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.45);
  z-index: 70;
}
.mobile1d9b4-bottomnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: var(--mobile1d9b4-muted);
  cursor: pointer;
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
  border-radius: 12px;
  transition: transform 0.18s ease, color 0.18s ease;
}
.mobile1d9b4-bottomnav-tile {
  width: 38px; height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.18s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.mobile1d9b4-bottomnav-tile svg { width: 20px; height: 20px; color: var(--mobile1d9b4-text-soft); transition: color 0.2s ease; }
.mobile1d9b4-bottomnav-item:hover .mobile1d9b4-bottomnav-tile { transform: translateY(-1px); border-color: rgba(255, 165, 0, 0.4); }
.mobile1d9b4-bottomnav-item:hover { color: var(--mobile1d9b4-text); }
.mobile1d9b4-bottomnav-item:hover .mobile1d9b4-bottomnav-tile svg { color: var(--mobile1d9b4-amber); }

.mobile1d9b4-bottomnav-item.is-active .mobile1d9b4-bottomnav-tile {
  background: var(--mobile1d9b4-gold-grad);
  border-color: rgba(255, 165, 0, 0.7);
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(255, 69, 0, 0.5);
}
.mobile1d9b4-bottomnav-item.is-active .mobile1d9b4-bottomnav-tile svg { color: #1c1206; }
.mobile1d9b4-bottomnav-item.is-active { color: var(--mobile1d9b4-amber); }

/* promo accent tiles get a flame tint */
.mobile1d9b4-bottomnav-item--promo .mobile1d9b4-bottomnav-tile {
  background: rgba(255, 87, 34, 0.16);
  border-color: rgba(255, 87, 34, 0.45);
}
.mobile1d9b4-bottomnav-item--promo .mobile1d9b4-bottomnav-tile svg { color: var(--mobile1d9b4-flame); }
.mobile1d9b4-bottomnav-item--promo:hover .mobile1d9b4-bottomnav-tile { box-shadow: 0 0 12px rgba(255, 87, 34, 0.5); }

/* ---------- Provider strip ---------- */
.mobile1d9b4-providers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 4px;
}
.mobile1d9b4-providers img {
  width: 44px; height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 165, 0, 0.22);
  background: #15110d;
}

/* ---------- Wide screen backdrop ---------- */
@media (min-width: 481px) {
  body { background: #0c0a07; }
  .mobile1d9b4-stage { border-left: 1px solid rgba(255, 165, 0, 0.08); border-right: 1px solid rgba(255, 165, 0, 0.08); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .mobile1d9b4-card:hover .mobile1d9b4-card-img { transform: none; }
}
