/* ============================================================
   Arionplay 55 - compact palette stylesheet
   Prefix contract: every class uses frame21bfc-
   Canvas: 320-430px phone frame, centered on wide screens
   Direction: geometric headings + neutral body, near-square
   corners, mixed large/small game cards, scenario-branch
   rhythm, menu slide-in + card lift motion, text CTAs.
   ============================================================ */

:root {
  --frame21bfc-navy: #212F3D;
  --frame21bfc-navy-deep: #182430;
  --frame21bfc-navy-raise: #2A3B4C;
  --frame21bfc-navy-line: #384B5F;
  --frame21bfc-silver: #BBBBBB;
  --frame21bfc-cream: #FFFACD;
  --frame21bfc-gold: #FFD700;
  --frame21bfc-amber: #FFBF00;
  --frame21bfc-flame: #FF8C00;
  --frame21bfc-ink-on-gold: #23180A;
  --frame21bfc-shadow: rgba(6, 12, 19, 0.55);
  --frame21bfc-radius: 3px;
  --frame21bfc-radius-cta: 5px;
  --frame21bfc-shell-max: 430px;
  --frame21bfc-bn-height: 62px;
  --frame21bfc-font-head: "Chakra Petch", "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  --frame21bfc-font-body: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- base ---------- */

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  background: #121a23;
  color: var(--frame21bfc-silver);
  font-family: var(--frame21bfc-font-body);
  font-size: 14px;
  line-height: 1.62;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--frame21bfc-font-head);
  color: var(--frame21bfc-cream);
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
  line-height: 1.28;
  text-wrap: balance;
}

h1 { font-size: 21px; }
h2 { font-size: 17px; }
h3 { font-size: 14.5px; }

p { margin: 0 0 0.85em; }

a { color: var(--frame21bfc-gold); text-decoration: none; }
a:hover { color: var(--frame21bfc-amber); }

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

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

:focus-visible {
  outline: 2px solid var(--frame21bfc-gold);
  outline-offset: 2px;
  border-radius: 2px;
}

.frame21bfc-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 shell ---------- */

.frame21bfc-shell {
  position: relative;
  max-width: var(--frame21bfc-shell-max);
  margin: 0 auto;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 140, 0, 0.05), rgba(255, 215, 0, 0.02) 320px, rgba(0, 0, 0, 0) 600px),
    var(--frame21bfc-navy);
  box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.06);
}

.frame21bfc-main {
  padding: 12px 12px calc(var(--frame21bfc-bn-height) + 26px + env(safe-area-inset-bottom, 0px));
}

/* ---------- top bar: brand row + action row ---------- */

.frame21bfc-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: linear-gradient(180deg, #223243 0%, #1D2A38 100%);
  border-bottom: 1px solid var(--frame21bfc-navy-line);
  box-shadow: 0 3px 12px rgba(5, 10, 16, 0.45);
}

.frame21bfc-brandrow {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px 6px;
  border-bottom: 1px dashed rgba(255, 215, 0, 0.16);
}

.frame21bfc-logo {
  width: 38px;
  height: 38px;
  border-radius: var(--frame21bfc-radius);
  border: 1px solid rgba(255, 191, 0, 0.55);
  background: #0F1822;
  object-fit: contain;
  padding: 2px;
  flex: 0 0 auto;
}

.frame21bfc-brandname {
  font-family: var(--frame21bfc-font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--frame21bfc-cream);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.frame21bfc-brandname span {
  color: var(--frame21bfc-flame);
}

.frame21bfc-actrow {
  display: grid;
  grid-template-columns: 1fr 1fr 52px;
  gap: 8px;
  padding: 7px 12px 9px;
}

.frame21bfc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: var(--frame21bfc-radius-cta);
  font-family: var(--frame21bfc-font-head);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.frame21bfc-btn:active {
  transform: translateY(1px);
}

.frame21bfc-btn--gold {
  background: linear-gradient(135deg, var(--frame21bfc-amber) 0%, var(--frame21bfc-flame) 100%);
  color: var(--frame21bfc-ink-on-gold);
  box-shadow: 0 3px 0 rgba(150, 70, 0, 0.65), 0 6px 14px rgba(255, 140, 0, 0.22);
}

.frame21bfc-btn--gold:hover {
  filter: brightness(1.07);
  color: var(--frame21bfc-ink-on-gold);
}

.frame21bfc-btn--ghost {
  background: rgba(255, 215, 0, 0.06);
  border-color: rgba(255, 191, 0, 0.6);
  color: var(--frame21bfc-gold);
}

.frame21bfc-btn--ghost:hover {
  background: rgba(255, 215, 0, 0.14);
  color: var(--frame21bfc-gold);
}

.frame21bfc-btn--menu {
  background: transparent;
  border-color: var(--frame21bfc-navy-line);
  color: var(--frame21bfc-cream);
  flex-direction: column;
  gap: 3px;
  padding: 6px 4px;
  min-height: 44px;
}

.frame21bfc-btn--menu b {
  font-size: 8.5px;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.frame21bfc-burger {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--frame21bfc-gold);
  box-shadow: 0 -6px 0 var(--frame21bfc-gold), 0 6px 0 var(--frame21bfc-gold);
}

/* ---------- stacked slide-in menu overlay ---------- */

.frame21bfc-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  visibility: hidden;
  pointer-events: none;
}

.frame21bfc-drawer.on {
  visibility: visible;
  pointer-events: auto;
}

.frame21bfc-drawer-veil {
  position: absolute;
  inset: 0;
  background: rgba(8, 13, 20, 0.72);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.frame21bfc-drawer.on .frame21bfc-drawer-veil {
  opacity: 1;
}

.frame21bfc-drawer-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translate(calc(-50% - 440px), 0);
  width: 100%;
  max-width: var(--frame21bfc-shell-max);
  margin: 0 auto;
  background: linear-gradient(180deg, #223143 0%, #1B2735 100%);
  border-right: 1px solid rgba(255, 215, 0, 0.25);
  box-shadow: 12px 0 34px rgba(0, 0, 0, 0.55);
  overflow-y: auto;
  padding: 14px 16px calc(var(--frame21bfc-bn-height) + 20px);
  transition: transform 0.26s cubic-bezier(0.22, 0.9, 0.3, 1);
}

.frame21bfc-drawer.on .frame21bfc-drawer-panel {
  transform: translate(-50%, 0);
}

.frame21bfc-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.18);
  margin-bottom: 12px;
}

.frame21bfc-drawer-title {
  font-family: var(--frame21bfc-font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--frame21bfc-cream);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.frame21bfc-drawer-close {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 140, 0, 0.12);
  border: 1px solid rgba(255, 140, 0, 0.5);
  border-radius: var(--frame21bfc-radius);
  color: var(--frame21bfc-flame);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.frame21bfc-drawer-group {
  margin: 0 0 14px;
}

.frame21bfc-drawer-label {
  font-family: var(--frame21bfc-font-head);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--frame21bfc-flame);
  padding: 0 0 6px 10px;
  border-left: 3px solid var(--frame21bfc-flame);
  margin: 0 0 8px;
}

.frame21bfc-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 10px 12px;
  margin: 0 0 6px;
  background: rgba(255, 250, 205, 0.045);
  border: 1px solid var(--frame21bfc-navy-line);
  border-radius: var(--frame21bfc-radius);
  color: var(--frame21bfc-cream);
  font-family: var(--frame21bfc-font-head);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  opacity: 0;
  transform: translateX(-14px);
  transition: transform 0.24s ease, opacity 0.24s ease, background 0.18s ease;
}

.frame21bfc-drawer.on .frame21bfc-drawer-link {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered label reveal while the panel slides in */
.frame21bfc-drawer.on .frame21bfc-drawer-link:nth-child(1) { transition-delay: 0.05s; }
.frame21bfc-drawer.on .frame21bfc-drawer-link:nth-child(2) { transition-delay: 0.09s; }
.frame21bfc-drawer.on .frame21bfc-drawer-link:nth-child(3) { transition-delay: 0.13s; }
.frame21bfc-drawer.on .frame21bfc-drawer-link:nth-child(4) { transition-delay: 0.17s; }
.frame21bfc-drawer.on .frame21bfc-drawer-link:nth-child(5) { transition-delay: 0.21s; }

.frame21bfc-drawer-link:hover,
.frame21bfc-drawer-link.hot {
  background: rgba(255, 191, 0, 0.12);
  border-color: rgba(255, 191, 0, 0.55);
  color: var(--frame21bfc-gold);
}

.frame21bfc-drawer-arrow {
  color: var(--frame21bfc-flame);
  font-size: 12px;
  flex: 0 0 auto;
}

.frame21bfc-drawer-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}

/* ---------- hero ---------- */

.frame21bfc-hero {
  padding: 16px 2px 6px;
}

.frame21bfc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--frame21bfc-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--frame21bfc-gold);
  border: 1px solid rgba(255, 191, 0, 0.45);
  border-left: 4px solid var(--frame21bfc-flame);
  padding: 4px 9px;
  border-radius: 2px;
  background: rgba(255, 140, 0, 0.08);
  margin: 0 0 10px;
}

.frame21bfc-hero h1 {
  border-bottom: 2px solid rgba(255, 140, 0, 0.5);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.frame21bfc-hero-lead {
  font-size: 13.5px;
  color: var(--frame21bfc-silver);
}

.frame21bfc-hero-lead strong { color: var(--frame21bfc-cream); font-weight: 600; }

/* scenario-branch entry paths */
.frame21bfc-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 12px 0 4px;
}

.frame21bfc-path {
  display: block;
  background: rgba(42, 59, 76, 0.7);
  border: 1px solid var(--frame21bfc-navy-line);
  border-top: 2px solid var(--frame21bfc-flame);
  border-radius: var(--frame21bfc-radius);
  padding: 9px 8px;
  text-align: center;
  min-height: 58px;
}

.frame21bfc-path b {
  display: block;
  font-family: var(--frame21bfc-font-head);
  font-size: 11.5px;
  color: var(--frame21bfc-cream);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.frame21bfc-path small {
  display: block;
  font-size: 10px;
  color: var(--frame21bfc-silver);
  line-height: 1.35;
  margin-top: 3px;
}

.frame21bfc-path:hover {
  border-color: rgba(255, 191, 0, 0.6);
  transform: translateY(-2px);
  transition: transform 0.16s ease;
}

/* ---------- promo carousel ---------- */

.frame21bfc-carousel {
  position: relative;
  margin: 14px 0 6px;
  border: 1px solid rgba(255, 191, 0, 0.35);
  border-radius: var(--frame21bfc-radius);
  overflow: hidden;
  background: var(--frame21bfc-navy-deep);
  box-shadow: 0 8px 22px rgba(4, 9, 15, 0.5);
}

.frame21bfc-slide {
  position: relative;
  aspect-ratio: 16 / 9;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.5s ease, transform 0.7s ease;
  pointer-events: none;
}

.frame21bfc-slide.on {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

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

.frame21bfc-slide-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 10px 9px;
  background: linear-gradient(180deg, rgba(10, 16, 24, 0) 0%, rgba(10, 16, 24, 0.88) 62%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.frame21bfc-slide-txt {
  min-width: 0;
}

.frame21bfc-slide-txt b {
  display: block;
  font-family: var(--frame21bfc-font-head);
  font-size: 13px;
  color: var(--frame21bfc-cream);
  letter-spacing: 0.03em;
}

.frame21bfc-slide-txt small {
  display: block;
  font-size: 10px;
  color: var(--frame21bfc-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.frame21bfc-slide-go {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 13px;
  border-radius: var(--frame21bfc-radius-cta);
  background: linear-gradient(135deg, var(--frame21bfc-gold), var(--frame21bfc-flame));
  color: var(--frame21bfc-ink-on-gold);
  font-family: var(--frame21bfc-font-head);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
}

.frame21bfc-slide-go:hover { filter: brightness(1.08); color: var(--frame21bfc-ink-on-gold); }

.frame21bfc-dots {
  position: absolute;
  top: 8px;
  right: 10px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.frame21bfc-dot {
  width: 22px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(255, 215, 0, 0.7);
  background: rgba(24, 36, 48, 0.75);
  border-radius: 2px;
  cursor: pointer;
}

.frame21bfc-dot.on {
  background: var(--frame21bfc-gold);
}

/* ---------- game sections ---------- */

.frame21bfc-sec {
  margin: 22px 0 0;
}

.frame21bfc-sec-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  background: linear-gradient(90deg, rgba(255, 140, 0, 0.16), rgba(255, 140, 0, 0.02));
  border-left: 4px solid var(--frame21bfc-gold);
  border-radius: 2px;
  margin-bottom: 8px;
}

.frame21bfc-sec-head h2 {
  margin: 0;
  font-size: 15.5px;
}

.frame21bfc-sec-count {
  flex: 0 0 auto;
  font-family: var(--frame21bfc-font-head);
  font-size: 10px;
  font-weight: 700;
  color: var(--frame21bfc-navy);
  background: var(--frame21bfc-gold);
  border-radius: 2px;
  padding: 2px 6px;
  margin-top: 2px;
  letter-spacing: 0.06em;
}

.frame21bfc-sec-intro {
  font-size: 12.5px;
  color: var(--frame21bfc-silver);
  margin: 0 2px 10px;
}

.frame21bfc-sec-intro a { border-bottom: 1px dashed rgba(255, 215, 0, 0.5); }

/* mixed grid: 4 stable tracks, feature tiles span two */
.frame21bfc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 8px;
}

.frame21bfc-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--frame21bfc-navy-raise);
  border: 1px solid var(--frame21bfc-navy-line);
  border-radius: var(--frame21bfc-radius);
  padding: 4px;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}

.frame21bfc-tile:hover,
.frame21bfc-tile:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 191, 0, 0.7);
  box-shadow: 0 8px 16px rgba(4, 9, 15, 0.55);
}

.frame21bfc-tile-img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  border-radius: 2px;
  background: #0F1822;
}

.frame21bfc-tile-name {
  font-family: var(--frame21bfc-font-head);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--frame21bfc-cream);
  text-align: center;
  padding: 4px 2px 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.frame21bfc-tile:hover .frame21bfc-tile-name { color: var(--frame21bfc-gold); }

/* large feature card mixed into the small grid */
.frame21bfc-tile--xl {
  grid-column: span 2;
  border-color: rgba(255, 191, 0, 0.55);
  background: linear-gradient(180deg, #31445A 0%, #243446 100%);
  padding: 6px;
}

.frame21bfc-tile--xl .frame21bfc-tile-name {
  font-size: 12.5px;
  -webkit-line-clamp: 1;
}

.frame21bfc-tile-flag {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-family: var(--frame21bfc-font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--frame21bfc-ink-on-gold);
  background: linear-gradient(135deg, var(--frame21bfc-gold), var(--frame21bfc-flame));
  padding: 3px 7px;
  border-radius: 2px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
}

.frame21bfc-tile-flag--ice {
  background: linear-gradient(135deg, #9fd8ff, #4f9be0);
  color: #0c2233;
}

/* ---------- content modules ---------- */

.frame21bfc-panel {
  margin: 22px 0 0;
  background: rgba(33, 47, 61, 0.65);
  border: 1px solid var(--frame21bfc-navy-line);
  border-radius: var(--frame21bfc-radius);
  padding: 14px 13px 6px;
}

.frame21bfc-panel--rule {
  border-top: 3px solid var(--frame21bfc-flame);
}

.frame21bfc-panel h2 {
  font-size: 15.5px;
  margin-bottom: 8px;
}

.frame21bfc-panel h3 {
  margin: 12px 0 5px;
  color: var(--frame21bfc-gold);
}

.frame21bfc-panel p { font-size: 13px; }

/* stat strip inside RTP module */
.frame21bfc-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 4px 0 12px;
}

.frame21bfc-stat {
  background: var(--frame21bfc-navy-deep);
  border: 1px solid var(--frame21bfc-navy-line);
  border-radius: 2px;
  padding: 8px 6px;
  text-align: center;
}

.frame21bfc-stat b {
  display: block;
  font-family: var(--frame21bfc-font-head);
  font-size: 15px;
  color: var(--frame21bfc-gold);
}

.frame21bfc-stat small {
  display: block;
  font-size: 9.5px;
  line-height: 1.3;
  color: var(--frame21bfc-silver);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* scenario-branch cards (payments / access options) */
.frame21bfc-branch {
  border: 1px solid var(--frame21bfc-navy-line);
  border-left: 4px solid var(--frame21bfc-amber);
  background: rgba(24, 36, 48, 0.75);
  border-radius: 2px;
  padding: 10px 11px;
  margin: 0 0 9px;
}

.frame21bfc-branch h3 {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--frame21bfc-cream);
}

.frame21bfc-branch p { font-size: 12.5px; margin: 0; }

.frame21bfc-branch--flat { border-left-color: var(--frame21bfc-cream); }

/* testimonial stack */
.frame21bfc-quote {
  border: 1px dashed rgba(255, 191, 0, 0.4);
  border-radius: 2px;
  padding: 10px 11px;
  margin: 0 0 9px;
  background: rgba(255, 215, 0, 0.04);
}

.frame21bfc-quote p {
  margin: 0 0 6px;
  font-size: 12.5px;
  color: var(--frame21bfc-cream);
  font-style: italic;
}

.frame21bfc-quote footer {
  font-family: var(--frame21bfc-font-head);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--frame21bfc-flame);
}

/* numbered steps */
.frame21bfc-steps {
  list-style: none;
  padding: 0;
  counter-reset: frame21bfc-step;
  margin: 0 0 10px;
}

.frame21bfc-steps li {
  counter-increment: frame21bfc-step;
  position: relative;
  padding: 0 0 10px 40px;
  font-size: 12.5px;
}

.frame21bfc-steps li::before {
  content: counter(frame21bfc-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--frame21bfc-font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--frame21bfc-ink-on-gold);
  background: linear-gradient(135deg, var(--frame21bfc-amber), var(--frame21bfc-flame));
  border-radius: 2px;
}

.frame21bfc-steps b { color: var(--frame21bfc-cream); }

/* checklist with square markers */
.frame21bfc-check {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}

.frame21bfc-check li {
  position: relative;
  padding: 0 0 7px 26px;
  font-size: 12.5px;
}

.frame21bfc-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--frame21bfc-gold);
  border-radius: 1px;
  background: rgba(255, 215, 0, 0.08);
}

.frame21bfc-check b { color: var(--frame21bfc-cream); }

/* inline text promo link */
.frame21bfc-inline-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--frame21bfc-font-head);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--frame21bfc-gold);
  border-bottom: 2px solid var(--frame21bfc-flame);
  padding-bottom: 1px;
}

.frame21bfc-inline-cta:hover { color: var(--frame21bfc-amber); }

/* highlighted notice block */
.frame21bfc-note {
  border: 1px solid rgba(255, 140, 0, 0.5);
  background: rgba(255, 140, 0, 0.08);
  border-radius: 2px;
  padding: 9px 11px;
  font-size: 12px;
  color: var(--frame21bfc-cream);
  margin: 0 0 10px;
}

/* ---------- extended footer (home only) ---------- */

.frame21bfc-xfooter {
  margin: 26px 0 0;
  border: 1px solid rgba(255, 191, 0, 0.28);
  border-radius: var(--frame21bfc-radius);
  background: linear-gradient(180deg, rgba(24, 36, 48, 0.9), rgba(18, 27, 37, 0.95));
  padding: 4px 13px 12px;
}

.frame21bfc-xblock {
  padding: 11px 0 12px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.14);
}

.frame21bfc-xblock:last-child { border-bottom: 0; }

.frame21bfc-xhead {
  font-family: var(--frame21bfc-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--frame21bfc-flame);
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.frame21bfc-xhead::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 140, 0, 0.6), rgba(255, 140, 0, 0));
}

.frame21bfc-xblock p { font-size: 12.5px; margin: 0 0 8px; }

.frame21bfc-xlist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.frame21bfc-xlist li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px dotted rgba(187, 187, 187, 0.18);
}

.frame21bfc-xlist li:last-child { border-bottom: 0; }

.frame21bfc-xlist a {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--frame21bfc-cream);
}

.frame21bfc-xlist a b {
  display: block;
  font-family: var(--frame21bfc-font-head);
  font-size: 12.5px;
  color: var(--frame21bfc-gold);
  letter-spacing: 0.02em;
}

.frame21bfc-xlist a:hover b { color: var(--frame21bfc-amber); }

.frame21bfc-xlist small {
  flex: 0 0 auto;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--frame21bfc-silver);
  border: 1px solid var(--frame21bfc-navy-line);
  border-radius: 2px;
  padding: 2px 5px;
}

.frame21bfc-xpromo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.frame21bfc-xpromo .frame21bfc-btn { width: 100%; font-size: 12px; padding: 8px 6px; }

.frame21bfc-xdisclaimer {
  font-size: 11px;
  line-height: 1.55;
  color: var(--frame21bfc-silver);
  margin: 0;
}

/* ---------- help pages and shared inner-page blocks ---------- */

.frame21bfc-page-hero {
  margin: 4px 0 16px;
  padding: 16px 13px 14px;
  border: 1px solid rgba(255, 191, 0, 0.38);
  border-left: 4px solid var(--frame21bfc-flame);
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.16), rgba(24, 36, 48, 0.82));
  box-shadow: 0 8px 18px rgba(4, 9, 15, 0.28);
}

.frame21bfc-page-hero h1 { margin-bottom: 8px; }
.frame21bfc-page-hero p { font-size: 13px; margin-bottom: 0; }
.frame21bfc-eyebrow {
  margin: 0 0 7px;
  color: var(--frame21bfc-gold);
  font-family: var(--frame21bfc-font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.frame21bfc-actionrail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0 18px;
}
.frame21bfc-actionrail .frame21bfc-btn { width: 100%; }

.frame21bfc-alert {
  margin: 0 0 11px;
  padding: 10px 11px;
  border: 1px solid rgba(255, 215, 0, 0.42);
  border-top: 3px solid var(--frame21bfc-gold);
  background: rgba(255, 215, 0, 0.07);
  color: var(--frame21bfc-cream);
  font-size: 12.5px;
}

.frame21bfc-route {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  margin: 0 0 10px;
  padding: 10px 11px;
  border: 1px solid var(--frame21bfc-navy-line);
  border-left: 4px solid var(--frame21bfc-amber);
  background: rgba(24, 36, 48, 0.78);
}
.frame21bfc-route-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--frame21bfc-ink-on-gold);
  background: var(--frame21bfc-gold);
  border-radius: 2px;
  font-family: var(--frame21bfc-font-head);
  font-weight: 700;
}
.frame21bfc-route h3 { margin: 0 0 4px; color: var(--frame21bfc-cream); font-size: 13px; }
.frame21bfc-route p { margin: 0; font-size: 12.5px; }

.frame21bfc-qa {
  border-bottom: 1px dotted rgba(187, 187, 187, 0.3);
  padding: 9px 0 10px;
}
.frame21bfc-qa:last-child { border-bottom: 0; }
.frame21bfc-qa h3 { margin: 0 0 4px; color: var(--frame21bfc-cream); font-size: 13px; }
.frame21bfc-qa p { margin: 0; font-size: 12.5px; }

.frame21bfc-helpnav {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 2px 0 5px;
  margin: 0 0 4px;
  scrollbar-width: thin;
}
.frame21bfc-helpnav a {
  flex: 0 0 auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--frame21bfc-navy-line);
  border-bottom: 2px solid var(--frame21bfc-flame);
  color: var(--frame21bfc-cream);
  font-family: var(--frame21bfc-font-head);
  font-size: 11px;
  white-space: nowrap;
}

/* ---------- common footer ---------- */

.frame21bfc-foot {
  margin: 18px 0 0;
  padding: 12px 4px 6px;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  text-align: center;
}

.frame21bfc-foot p {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--frame21bfc-silver);
}

.frame21bfc-foot b { color: var(--frame21bfc-cream); }

/* ---------- fixed bottom nav (5 roles) ---------- */

.frame21bfc-bottomnav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--frame21bfc-shell-max);
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: calc(var(--frame21bfc-bn-height) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: linear-gradient(180deg, #24354A 0%, #1A2634 100%);
  border-top: 2px solid var(--frame21bfc-flame);
  box-shadow: 0 -6px 18px rgba(4, 9, 15, 0.5);
}

.frame21bfc-bn-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 44px;
  color: var(--frame21bfc-silver);
  transition: transform 0.18s ease, color 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.frame21bfc-bn-ico {
  width: 24px;
  height: 24px;
  display: block;
}

.frame21bfc-bn-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* line art by default, filled silhouette + lift when active */
.frame21bfc-ico-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.frame21bfc-ico-fill {
  fill: currentColor;
  stroke: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.frame21bfc-bn-item--on {
  color: var(--frame21bfc-gold);
  transform: translateY(-3px);
}

.frame21bfc-bn-item--on .frame21bfc-ico-fill { opacity: 0.92; }

.frame21bfc-bn-item:hover { color: var(--frame21bfc-cream); }

.frame21bfc-bn-label {
  font-family: var(--frame21bfc-font-head);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.78;
  transform: translateY(2px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.frame21bfc-bn-item--on .frame21bfc-bn-label {
  opacity: 1;
  transform: translateY(0);
  color: var(--frame21bfc-gold);
}

.frame21bfc-bn-item--on::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--frame21bfc-flame);
}

/* ---------- motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- wider phones / desktop phone-frame ---------- */

@media (min-width: 375px) {
  .frame21bfc-main { padding-left: 14px; padding-right: 14px; }
  .frame21bfc-tile-name { font-size: 11px; }
  .frame21bfc-hero h1 { font-size: 22px; }
}

/* 430px canvas breakpoint: the frame stays a phone canvas on desktop */
@media (min-width: 430px) {
  .frame21bfc-shell {
    box-shadow:
      0 0 0 1px rgba(255, 215, 0, 0.1),
      0 0 60px rgba(0, 0, 0, 0.55);
    border-left: 1px solid rgba(255, 215, 0, 0.14);
    border-right: 1px solid rgba(255, 215, 0, 0.14);
  }
  .frame21bfc-slide-txt b { font-size: 14px; }
  .frame21bfc-grid { gap: 12px 10px; }
  .frame21bfc-tile--xl .frame21bfc-tile-name { font-size: 13px; }
  .frame21bfc-panel h2 { font-size: 16.5px; }
}

/* ultra-wide: darken the desk around the phone frame */
@media (min-width: 900px) {
  body {
    background:
      radial-gradient(1200px 500px at 50% -80px, rgba(255, 140, 0, 0.08), rgba(0, 0, 0, 0) 70%),
      #101820;
  }
}
