/* ============================================================
   paldoplus.cyou - site display stylesheet
   Mobile-first casino entertainment canvas (320-430px)
   Dark competitive-arena aesthetic: coral + gold accents over
   a near-black stage. Tech-feel headings, open body text,
   small radius / high density, compact square game directory.
   All selectors and custom properties carry the frameb4064- prefix.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --frameb4064-bg: #0D1117;
  --frameb4064-bg-soft: #141b24;
  --frameb4064-bg-card: #18202b;
  --frameb4064-bg-elev: #1f2935;
  --frameb4064-fg: #F0F0F0;
  --frameb4064-fg-muted: #9aa3b2;
  --frameb4064-fg-dim: #6b7484;
  --frameb4064-coral: #F08080;
  --frameb4064-coral-deep: #e0536b;
  --frameb4064-gold: #D4AF37;
  --frameb4064-gold-bright: #FFD700;
  --frameb4064-rose: #DB7093;
  --frameb4064-line: rgba(240, 240, 240, 0.08);
  --frameb4064-line-strong: rgba(240, 240, 240, 0.16);
  --frameb4064-glow-coral: rgba(240, 128, 128, 0.28);
  --frameb4064-glow-gold: rgba(212, 175, 55, 0.26);
  --frameb4064-radius-xs: 4px;
  --frameb4064-radius-sm: 6px;
  --frameb4064-radius-md: 10px;
  --frameb4064-radius-lg: 14px;
  --frameb4064-topbar-h: 58px;
  --frameb4064-footbar-h: 66px;
  --frameb4064-maxw: 480px;
  --frameb4064-font-tech: "SF Mono", "JetBrains Mono", "Roboto Mono", ui-monospace, "Cascadia Mono", Consolas, "Segoe UI Mono", monospace;
  --frameb4064-font-body: "Segoe UI", "Helvetica Neue", "Open Sans", Roboto, system-ui, -apple-system, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--frameb4064-font-body);
  background: var(--frameb4064-bg);
  color: var(--frameb4064-fg);
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--frameb4064-coral); text-decoration: none; }
a:hover { color: var(--frameb4064-gold-bright); }
button { font-family: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--frameb4064-gold-bright);
  outline-offset: 2px;
  border-radius: var(--frameb4064-radius-xs);
}

/* ---------- Mobile canvas ---------- */
.frameb4064-page {
  width: 100%;
  max-width: var(--frameb4064-maxw);
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(240, 128, 128, 0.10), transparent 60%),
    radial-gradient(100% 40% at 90% 8%, rgba(212, 175, 55, 0.08), transparent 65%),
    var(--frameb4064-bg);
  position: relative;
  padding-top: var(--frameb4064-topbar-h);
  /* Bottom padding keeps content clear of the fixed bottom nav */
  padding-bottom: calc(var(--frameb4064-footbar-h) + 24px);
  box-shadow: 0 0 0 1px var(--frameb4064-line) inset;
}

/* ---------- Skip link ---------- */
.frameb4064-skip {
  position: absolute;
  left: -9999px;
  top: 6px;
  background: var(--frameb4064-gold-bright);
  color: #1a1404;
  padding: 7px 12px;
  border-radius: var(--frameb4064-radius-sm);
  font-family: var(--frameb4064-font-tech);
  font-weight: 700;
  font-size: 12px;
  z-index: 120;
}
.frameb4064-skip:focus { left: 8px; }

/* ---------- Top bar ---------- */
.frameb4064-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--frameb4064-maxw);
  height: var(--frameb4064-topbar-h);
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.98), rgba(13, 17, 23, 0.92));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--frameb4064-line-strong);
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  gap: 8px;
}

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

.frameb4064-brand-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--frameb4064-radius-sm);
  object-fit: cover;
  border: 1px solid var(--frameb4064-gold);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.18);
  flex-shrink: 0;
}

.frameb4064-brand-name {
  font-family: var(--frameb4064-font-tech);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.5px;
  color: var(--frameb4064-fg);
  white-space: nowrap;
  line-height: 1.1;
}
.frameb4064-brand-name span { color: var(--frameb4064-coral); }

.frameb4064-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Buttons ---------- */
.frameb4064-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 34px;
  padding: 0 12px;
  font-family: var(--frameb4064-font-tech);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--frameb4064-radius-sm);
  cursor: pointer;
  color: var(--frameb4064-bg);
  background: var(--frameb4064-fg);
  transition: transform 0.08s ease, box-shadow 0.18s ease, background 0.18s ease;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}
.frameb4064-btn:active { transform: translateY(1px) scale(0.98); }
.frameb4064-btn:hover { color: var(--frameb4064-bg); }

.frameb4064-btn-register {
  background: linear-gradient(135deg, var(--frameb4064-coral), var(--frameb4064-rose));
  color: #fff;
  box-shadow: 0 4px 14px var(--frameb4064-glow-coral);
}
.frameb4064-btn-register:hover { color: #fff; filter: brightness(1.05); }

.frameb4064-btn-login {
  background: transparent;
  color: var(--frameb4064-fg);
  border: 1px solid var(--frameb4064-line-strong);
}
.frameb4064-btn-login:hover { background: var(--frameb4064-bg-elev); color: var(--frameb4064-fg); }

.frameb4064-btn-ghost {
  background: var(--frameb4064-bg-elev);
  color: var(--frameb4064-fg);
  border: 1px solid var(--frameb4064-line-strong);
}
.frameb4064-btn-ghost:hover { color: var(--frameb4064-fg); background: var(--frameb4064-bg-elev); }

.frameb4064-btn-gold {
  background: linear-gradient(135deg, var(--frameb4064-gold), var(--frameb4064-gold-bright));
  color: #1a1404;
  box-shadow: 0 4px 14px var(--frameb4064-glow-gold);
}
.frameb4064-btn-gold:hover { color: #1a1404; filter: brightness(1.05); }

.frameb4064-btn-block {
  width: 100%;
  min-height: 44px;
  font-size: 13px;
}

/* ---------- Menu toggle ---------- */
.frameb4064-menu-toggle {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--frameb4064-bg-elev);
  border: 1px solid var(--frameb4064-line-strong);
  border-radius: var(--frameb4064-radius-sm);
  color: var(--frameb4064-fg);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.frameb4064-menu-toggle:active { transform: scale(0.95); }
.frameb4064-menu-toggle svg { width: 18px; height: 18px; display: block; }

/* ---------- Expandable menu panel ---------- */
.frameb4064-menupanel {
  position: fixed;
  top: var(--frameb4064-topbar-h);
  left: 50%;
  transform: translate(-50%, -12px);
  width: 100%;
  max-width: var(--frameb4064-maxw);
  background: var(--frameb4064-bg-soft);
  border-bottom: 1px solid var(--frameb4064-line-strong);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.55);
  padding: 14px 14px 18px;
  z-index: 109;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  max-height: calc(100vh - var(--frameb4064-topbar-h));
  overflow-y: auto;
}
.frameb4064-menupanel.frameb4064-is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.frameb4064-menupanel-title {
  font-family: var(--frameb4064-font-tech);
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--frameb4064-gold);
  margin: 12px 2px 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.frameb4064-menupanel-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--frameb4064-line-strong);
}
.frameb4064-menupanel-title:first-child { margin-top: 0; }

.frameb4064-menupanel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.frameb4064-menupanel-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  background: var(--frameb4064-bg-card);
  border: 1px solid var(--frameb4064-line);
  border-radius: var(--frameb4064-radius-sm);
  color: var(--frameb4064-fg);
  font-size: 13px;
  font-weight: 500;
  min-height: 40px;
}
.frameb4064-menupanel-link:hover {
  background: var(--frameb4064-bg-elev);
  border-color: var(--frameb4064-gold);
  color: var(--frameb4064-fg);
}
.frameb4064-menupanel-link:active { background: var(--frameb4064-bg-elev); }
.frameb4064-menupanel-link svg {
  width: 16px; height: 16px; flex-shrink: 0; color: var(--frameb4064-coral);
}
.frameb4064-menupanel-cta {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}
.frameb4064-menupanel-cta .frameb4064-btn { flex: 1; }

/* ---------- Generic section ---------- */
.frameb4064-section {
  padding: 18px 12px 6px;
}

.frameb4064-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--frameb4064-line-strong);
}

.frameb4064-section-eyebrow {
  font-family: var(--frameb4064-font-tech);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--frameb4064-gold);
  display: block;
  margin-bottom: 3px;
}

.frameb4064-section-title {
  font-family: var(--frameb4064-font-tech);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin: 0;
  color: var(--frameb4064-fg);
  line-height: 1.2;
}
.frameb4064-section-title em {
  font-style: normal;
  color: var(--frameb4064-coral);
}

.frameb4064-section-link {
  font-family: var(--frameb4064-font-tech);
  font-size: 11px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--frameb4064-gold);
  white-space: nowrap;
}
.frameb4064-section-link:hover { color: var(--frameb4064-gold-bright); }

/* ---------- Intro / H1 block ---------- */
.frameb4064-intro { padding: 16px 12px 4px; }

.frameb4064-h1 {
  font-family: var(--frameb4064-font-tech);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin: 0 0 8px;
  color: var(--frameb4064-fg);
  line-height: 1.2;
}
.frameb4064-h1 span { color: var(--frameb4064-gold-bright); }

.frameb4064-lede {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--frameb4064-fg-muted);
}

/* ---------- Hero carousel ---------- */
.frameb4064-hero {
  margin: 12px 12px 0;
  border-radius: var(--frameb4064-radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--frameb4064-bg-card);
  border: 1px solid var(--frameb4064-line-strong);
}

.frameb4064-hero-viewport { overflow: hidden; }

.frameb4064-hero-track {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.frameb4064-hero-slide {
  min-width: 100%;
  position: relative;
  cursor: pointer;
}

.frameb4064-hero-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.frameb4064-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 17, 23, 0) 35%, rgba(13, 17, 23, 0.90) 100%);
  pointer-events: none;
}

.frameb4064-hero-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}

.frameb4064-hero-text { min-width: 0; }

.frameb4064-hero-eyebrow {
  font-family: var(--frameb4064-font-tech);
  font-size: 9.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--frameb4064-gold-bright);
  display: block;
  margin-bottom: 3px;
}

.frameb4064-hero-headline {
  font-family: var(--frameb4064-font-tech);
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.frameb4064-hero-cta {
  flex-shrink: 0;
  padding: 7px 12px;
  font-family: var(--frameb4064-font-tech);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--frameb4064-radius-sm);
  background: linear-gradient(135deg, var(--frameb4064-gold), var(--frameb4064-gold-bright));
  color: #1a1404;
  cursor: pointer;
  box-shadow: 0 4px 12px var(--frameb4064-glow-gold);
  pointer-events: auto;
}
.frameb4064-hero-cta:active { transform: scale(0.96); }

.frameb4064-hero-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 3;
}
.frameb4064-hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(240, 240, 240, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
}
.frameb4064-hero-dot.frameb4064-is-active {
  background: var(--frameb4064-gold-bright);
  width: 16px;
  border-radius: 3px;
}

/* ---------- Category strip ---------- */
.frameb4064-catstrip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 14px 12px 4px;
}
.frameb4064-catstrip a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 9px 4px 7px;
  background: var(--frameb4064-bg-card);
  border: 1px solid var(--frameb4064-line);
  border-radius: var(--frameb4064-radius-sm);
  color: var(--frameb4064-fg);
  font-family: var(--frameb4064-font-tech);
  font-size: 9.5px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-align: center;
  min-height: 44px;
  justify-content: center;
}
.frameb4064-catstrip a:hover { color: var(--frameb4064-fg); background: var(--frameb4064-bg-elev); }
.frameb4064-catstrip a:active { background: var(--frameb4064-bg-elev); }
.frameb4064-catstrip svg {
  width: 18px; height: 18px; color: var(--frameb4064-coral);
}

/* ---------- Game grid ---------- */
.frameb4064-gamegrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 7px;
}

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

.frameb4064-gamecard {
  background: var(--frameb4064-bg-card);
  border: 1px solid var(--frameb4064-line);
  border-radius: var(--frameb4064-radius-sm);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.1s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
  text-align: center;
  text-decoration: none;
  color: var(--frameb4064-fg);
}
.frameb4064-gamecard:hover {
  border-color: var(--frameb4064-gold);
  color: var(--frameb4064-fg);
  box-shadow: 0 0 0 2px var(--frameb4064-glow-gold);
}
.frameb4064-gamecard:active {
  transform: scale(0.96);
}

.frameb4064-gamecard-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #0b1018;
  overflow: hidden;
}
.frameb4064-gamecard-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frameb4064-gamecard-name {
  font-size: 10.5px;
  line-height: 1.25;
  padding: 4px 4px 5px;
  color: var(--frameb4064-fg);
  font-weight: 500;
  min-height: 28px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.frameb4064-gamecard-tag {
  position: absolute;
  top: 4px;
  left: 4px;
  font-family: var(--frameb4064-font-tech);
  font-size: 8px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 2px 5px;
  border-radius: 3px;
  background: rgba(13, 17, 23, 0.78);
  color: var(--frameb4064-gold-bright);
  border: 1px solid var(--frameb4064-line-strong);
}

/* ---------- Prose blocks ---------- */
.frameb4064-prose {
  padding: 14px 12px 4px;
}
.frameb4064-prose p {
  margin: 0 0 10px;
  color: var(--frameb4064-fg);
  font-size: 14px;
  line-height: 1.6;
}
.frameb4064-prose p.frameb4064-lead {
  color: var(--frameb4064-fg-muted);
  font-size: 13.5px;
}
.frameb4064-prose strong { color: var(--frameb4064-gold-bright); font-weight: 600; }
.frameb4064-prose a {
  color: var(--frameb4064-coral);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(240, 128, 128, 0.4);
}
.frameb4064-prose a:hover { color: var(--frameb4064-gold-bright); }

.frameb4064-h2 {
  font-family: var(--frameb4064-font-tech);
  font-size: 16.5px;
  font-weight: 700;
  margin: 22px 0 8px;
  color: var(--frameb4064-fg);
  letter-spacing: 0.3px;
  line-height: 1.25;
  padding-left: 10px;
  border-left: 3px solid var(--frameb4064-coral);
}
.frameb4064-h3 {
  font-family: var(--frameb4064-font-tech);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin: 16px 0 6px;
  color: var(--frameb4064-gold);
}

/* ---------- Compact list ---------- */
.frameb4064-list {
  list-style: none;
  margin: 6px 0 12px;
  padding: 0;
  display: grid;
  gap: 6px;
}
.frameb4064-list li {
  position: relative;
  padding: 8px 10px 8px 28px;
  background: var(--frameb4064-bg-card);
  border: 1px solid var(--frameb4064-line);
  border-radius: var(--frameb4064-radius-sm);
  font-size: 13px;
  line-height: 1.5;
  color: var(--frameb4064-fg);
}
.frameb4064-list li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 13px;
  width: 8px;
  height: 8px;
  background: var(--frameb4064-coral);
  border-radius: 2px;
  box-shadow: 0 0 0 2px rgba(240, 128, 128, 0.2);
}
.frameb4064-list li b { color: var(--frameb4064-gold-bright); font-weight: 600; }

/* ---------- Numbered step / infocard ---------- */
.frameb4064-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 8px 0 12px;
}
.frameb4064-infocard {
  background: var(--frameb4064-bg-card);
  border: 1px solid var(--frameb4064-line);
  border-radius: var(--frameb4064-radius-md);
  padding: 12px 12px 11px;
}
.frameb4064-infocard-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.frameb4064-infocard-num {
  font-family: var(--frameb4064-font-tech);
  font-size: 11px;
  font-weight: 700;
  color: #1a1404;
  background: linear-gradient(135deg, var(--frameb4064-gold), var(--frameb4064-gold-bright));
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.frameb4064-infocard-title {
  font-family: var(--frameb4064-font-tech);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--frameb4064-fg);
  margin: 0;
}
.frameb4064-infocard p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--frameb4064-fg-muted);
}

/* ---------- Promo action grid ---------- */
.frameb4064-promogrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 8px 0 4px;
}
.frameb4064-promoaction {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px;
  min-height: 48px;
  border-radius: var(--frameb4064-radius-sm);
  border: 1px solid var(--frameb4064-line-strong);
  background: var(--frameb4064-bg-card);
  color: var(--frameb4064-fg);
  font-family: var(--frameb4064-font-tech);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.1s ease, border-color 0.18s ease;
}
.frameb4064-promoaction:hover {
  border-color: var(--frameb4064-gold);
  color: var(--frameb4064-fg);
}
.frameb4064-promoaction:active {
  transform: scale(0.97);
  border-color: var(--frameb4064-gold);
}
.frameb4064-promoaction svg {
  width: 18px; height: 18px; flex-shrink: 0; color: var(--frameb4064-coral);
}
.frameb4064-promoaction small {
  display: block;
  font-family: var(--frameb4064-font-body);
  font-weight: 400;
  font-size: 10px;
  color: var(--frameb4064-fg-dim);
  letter-spacing: 0.3px;
  text-transform: none;
  margin-top: 1px;
}
.frameb4064-promoaction.frameb4064-promoaction-gold {
  border-color: rgba(212, 175, 55, 0.55);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16), rgba(240, 128, 128, 0.08));
}
.frameb4064-promoaction.frameb4064-promoaction-gold svg { color: var(--frameb4064-gold-bright); }
.frameb4064-promoaction.frameb4064-promoaction-coral {
  border-color: rgba(240, 128, 128, 0.5);
  background: linear-gradient(135deg, rgba(240, 128, 128, 0.14), rgba(219, 112, 147, 0.08));
}

/* ---------- Metric strip ---------- */
.frameb4064-metricrow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 8px 0 10px;
}
.frameb4064-metric {
  background: var(--frameb4064-bg-card);
  border: 1px solid var(--frameb4064-line);
  border-radius: var(--frameb4064-radius-sm);
  padding: 9px 6px;
  text-align: center;
}
.frameb4064-metric-val {
  font-family: var(--frameb4064-font-tech);
  font-size: 16px;
  font-weight: 700;
  color: var(--frameb4064-gold-bright);
  display: block;
  line-height: 1.1;
}
.frameb4064-metric-lab {
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--frameb4064-fg-muted);
  margin-top: 3px;
  display: block;
}

/* ---------- Definition / term list ---------- */
.frameb4064-termlist {
  display: grid;
  gap: 6px;
  margin: 6px 0 12px;
  padding: 0;
}
.frameb4064-term {
  background: var(--frameb4064-bg-card);
  border: 1px solid var(--frameb4064-line);
  border-left: 3px solid var(--frameb4064-rose);
  border-radius: var(--frameb4064-radius-sm);
  padding: 9px 11px;
  margin: 0;
}
.frameb4064-term dt {
  font-family: var(--frameb4064-font-tech);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--frameb4064-coral);
  margin-bottom: 3px;
}
.frameb4064-term dd {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--frameb4064-fg-muted);
}

/* ---------- App download block ---------- */
.frameb4064-appblock {
  background: linear-gradient(135deg, rgba(240, 128, 128, 0.10), rgba(212, 175, 55, 0.08));
  border: 1px solid var(--frameb4064-line-strong);
  border-radius: var(--frameb4064-radius-lg);
  padding: 14px;
  margin: 6px 0 4px;
}
.frameb4064-appblock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.frameb4064-appblock-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--frameb4064-radius-md);
  background: var(--frameb4064-bg-elev);
  border: 1px solid var(--frameb4064-line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.frameb4064-appblock-icon svg { width: 24px; height: 24px; color: var(--frameb4064-coral); }
.frameb4064-appblock h3 {
  font-family: var(--frameb4064-font-tech);
  font-size: 14px;
  margin: 0 0 2px;
  color: var(--frameb4064-fg);
}
.frameb4064-appblock p {
  margin: 0;
  font-size: 12.5px;
  color: var(--frameb4064-fg-muted);
  line-height: 1.5;
}
.frameb4064-appblock-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

/* ---------- RTP table ---------- */
.frameb4064-rtptable {
  width: 100%;
  border-collapse: collapse;
  margin: 6px 0 10px;
  background: var(--frameb4064-bg-card);
  border: 1px solid var(--frameb4064-line);
  border-radius: var(--frameb4064-radius-sm);
  overflow: hidden;
  font-size: 12.5px;
}
.frameb4064-rtptable th,
.frameb4064-rtptable td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid var(--frameb4064-line);
}
.frameb4064-rtptable th {
  font-family: var(--frameb4064-font-tech);
  font-size: 10.5px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--frameb4064-gold);
  background: var(--frameb4064-bg-elev);
}
.frameb4064-rtptable td:last-child,
.frameb4064-rtptable th:last-child { text-align: right; }
.frameb4064-rtptable tr:last-child td { border-bottom: none; }
.frameb4064-rtptable b { color: var(--frameb4064-gold-bright); }

/* ---------- Callout ---------- */
.frameb4064-callout {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--frameb4064-line-strong);
  border-left: 3px solid var(--frameb4064-gold);
  border-radius: var(--frameb4064-radius-sm);
  padding: 10px 12px;
  margin: 8px 0 12px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--frameb4064-fg);
}
.frameb4064-callout b { color: var(--frameb4064-gold-bright); }

/* ---------- Extended footer (homepage only) ---------- */
.frameb4064-extfoot {
  margin: 18px 12px 8px;
  background: var(--frameb4064-bg-soft);
  border: 1px solid var(--frameb4064-line-strong);
  border-radius: var(--frameb4064-radius-lg);
  overflow: hidden;
}
.frameb4064-extfoot-section {
  padding: 14px 12px;
  border-bottom: 1px dashed var(--frameb4064-line-strong);
}
.frameb4064-extfoot-section:last-child { border-bottom: none; }

.frameb4064-extfoot-heading {
  font-family: var(--frameb4064-font-tech);
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--frameb4064-gold);
  margin: 0 0 9px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.frameb4064-extfoot-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--frameb4064-line-strong);
}

.frameb4064-extfoot-brand-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
}
.frameb4064-extfoot-brand-row img {
  width: 32px;
  height: 32px;
  border-radius: var(--frameb4064-radius-sm);
  border: 1px solid var(--frameb4064-gold);
}
.frameb4064-extfoot-brand-row strong {
  font-family: var(--frameb4064-font-tech);
  font-size: 15px;
  color: var(--frameb4064-fg);
}
.frameb4064-extfoot-brand-row strong span { color: var(--frameb4064-coral); }
.frameb4064-extfoot-brand p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--frameb4064-fg-muted);
}

.frameb4064-extfoot-dircol {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.frameb4064-extfoot-dircol a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 9px;
  background: var(--frameb4064-bg-card);
  border: 1px solid var(--frameb4064-line);
  border-radius: var(--frameb4064-radius-sm);
  font-size: 12px;
  color: var(--frameb4064-fg);
  min-height: 38px;
}
.frameb4064-extfoot-dircol a:hover {
  background: var(--frameb4064-bg-elev);
  border-color: var(--frameb4064-gold);
  color: var(--frameb4064-fg);
}
.frameb4064-extfoot-dircol a:active { background: var(--frameb4064-bg-elev); }
.frameb4064-extfoot-dircol svg {
  width: 14px; height: 14px; color: var(--frameb4064-coral); flex-shrink: 0;
}

.frameb4064-extfoot-disclaimer {
  font-size: 11px;
  line-height: 1.55;
  color: var(--frameb4064-fg-dim);
}
.frameb4064-extfoot-disclaimer strong {
  display: block;
  font-family: var(--frameb4064-font-tech);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--frameb4064-gold);
  margin-bottom: 5px;
}

/* ---------- Copyright bar ---------- */
.frameb4064-copyright {
  text-align: center;
  padding: 10px 16px 4px;
  font-size: 11px;
  color: var(--frameb4064-fg-dim);
  font-family: var(--frameb4064-font-tech);
  letter-spacing: 0.5px;
}
.frameb4064-copyright span { color: var(--frameb4064-gold); }

/* ---------- Bottom nav ---------- */
.frameb4064-footbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--frameb4064-maxw);
  height: var(--frameb4064-footbar-h);
  background: linear-gradient(0deg, rgba(13, 17, 23, 0.99), rgba(13, 17, 23, 0.94));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--frameb4064-line-strong);
  z-index: 110;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 0 4px;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.frameb4064-footitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 100%;
  color: var(--frameb4064-fg-muted);
  font-family: var(--frameb4064-font-tech);
  font-size: 9.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 2px 4px;
  min-height: 44px;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}
.frameb4064-footitem:hover { color: var(--frameb4064-fg); }
.frameb4064-footitem:active { color: var(--frameb4064-fg); transform: scale(0.94); }
.frameb4064-footitem svg { width: 20px; height: 20px; }
.frameb4064-footitem.frameb4064-is-active {
  color: var(--frameb4064-gold-bright);
}
.frameb4064-footitem.frameb4064-is-active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--frameb4064-coral), var(--frameb4064-gold-bright));
}
.frameb4064-footitem.frameb4064-footitem-cta {
  color: var(--frameb4064-coral);
}
.frameb4064-footitem.frameb4064-footitem-cta svg {
  filter: drop-shadow(0 0 6px var(--frameb4064-glow-coral));
}

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

.frameb4064-divider {
  height: 1px;
  background: var(--frameb4064-line-strong);
  margin: 14px 0 4px;
  border: none;
}

/* ---------- Wide screens keep mobile canvas centered ---------- */
@media (min-width: 540px) {
  body {
    background:
      radial-gradient(60% 50% at 50% 0%, rgba(240, 128, 128, 0.06), transparent 60%),
      #05080d;
  }
  .frameb4064-hero-img { height: 210px; }
}

@media (min-width: 414px) {
  .frameb4064-extfoot-dircol { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .frameb4064-hero-track { transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
