/* ==========================================================================
   786 bed apk - shared mobile-first stylesheet
   File   : css/786-bed-apk-chrome-8cf033.css
   Canvas : 320-430px phone frame, centered on wide screens
   Voice  : deep ink canvas, bronze structure, gold segmented actions,
            geometric headings + neutral body, pill buttons + square cards,
            image cards with bottom name bars, short-paragraph rhythm,
            menu slide-in + gentle card lift, soft color transitions.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --surface8cf03-ink: #171410;
  --surface8cf03-ink-deep: #100e0b;
  --surface8cf03-panel: #241f17;
  --surface8cf03-panel-2: #2c261c;
  --surface8cf03-panel-3: #342d21;
  --surface8cf03-line: #413826;
  --surface8cf03-line-soft: #332c1e;
  --surface8cf03-bronze: #b8860b;
  --surface8cf03-gold: #ffcc33;
  --surface8cf03-gold-press: #e2ad1f;
  --surface8cf03-pale: #eee8aa;
  --surface8cf03-mist: #e9ecef;
  --surface8cf03-dim: #c4bda6;
  --surface8cf03-dim-2: #a49c85;
  --surface8cf03-on-gold: #221a07;
  --surface8cf03-grad-gold: linear-gradient(138deg, #ffcc33 0%, #f0bb2d 48%, #b8860b 100%);
  --surface8cf03-grad-panel: linear-gradient(180deg, #2c261c 0%, #221d15 100%);
  --surface8cf03-font-head: "Trebuchet MS", "Segoe UI", "Noto Sans Bengali", "Hind Siliguri", sans-serif;
  --surface8cf03-font-body: system-ui, -apple-system, "Segoe UI", "Noto Sans Bengali", "Hind Siliguri", sans-serif;
  --surface8cf03-r-pill: 999px;
  --surface8cf03-r-card: 10px;
  --surface8cf03-r-chip: 7px;
  --surface8cf03-gap: 10px;
  --surface8cf03-pad: 12px;
  --surface8cf03-bnav-h: 64px;
  --surface8cf03-shadow-1: 0 6px 18px rgba(0, 0, 0, 0.45);
  --surface8cf03-shadow-2: 0 10px 30px rgba(0, 0, 0, 0.55);
  --surface8cf03-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #0b0a08;
  color: var(--surface8cf03-mist);
  font-family: var(--surface8cf03-font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

a { color: var(--surface8cf03-gold); text-decoration: none; transition: color 0.25s var(--surface8cf03-ease); }
a:hover, a:focus-visible { color: var(--surface8cf03-pale); }

h1, h2, h3 {
  font-family: var(--surface8cf03-font-head);
  line-height: 1.3;
  margin: 0 0 8px;
  letter-spacing: 0.2px;
}

p { margin: 0 0 10px; }
p:last-child { margin-bottom: 0; }

ul, ol, dl { margin: 0; padding: 0; }

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

/* --------------------------------------------------------------------------
   3. Phone-canvas shell (centered on desktop)
   -------------------------------------------------------------------------- */
.surface8cf03-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 220px at 50% 0%, rgba(184, 134, 11, 0.16), transparent 70%),
    var(--surface8cf03-ink);
  box-shadow: 0 0 0 1px rgba(238, 232, 170, 0.05), 0 0 90px rgba(0, 0, 0, 0.6);
  overflow-x: clip;
}

.surface8cf03-main {
  padding: 14px var(--surface8cf03-pad) calc(var(--surface8cf03-bnav-h) + 28px + env(safe-area-inset-bottom));
}

/* --------------------------------------------------------------------------
   4. Top bar - two stacked layers (brand row, then action row)
   -------------------------------------------------------------------------- */
.surface8cf03-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(23, 20, 16, 0.98) 0%, rgba(23, 20, 16, 0.94) 78%, rgba(23, 20, 16, 0.88) 100%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--surface8cf03-line-soft);
  padding: 8px var(--surface8cf03-pad) 9px;
  padding-top: calc(8px + env(safe-area-inset-top));
}

.surface8cf03-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
}

.surface8cf03-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--surface8cf03-mist);
  min-height: 44px;
}

.surface8cf03-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--surface8cf03-r-chip);
  border: 1px solid rgba(184, 134, 11, 0.55);
  background: #0e0c09;
  object-fit: cover;
  flex: 0 0 auto;
}

.surface8cf03-brand-name {
  font-family: var(--surface8cf03-font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--surface8cf03-pale);
  white-space: nowrap;
}

.surface8cf03-brand-tag {
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--surface8cf03-bronze);
  border-left: 2px solid var(--surface8cf03-bronze);
  padding-left: 7px;
  line-height: 1.35;
}

.surface8cf03-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr 58px;
  gap: 8px;
  margin-top: 8px;
}

/* segmented action buttons - pill shape, split roles */
.surface8cf03-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: var(--surface8cf03-r-pill);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: transform 0.2s var(--surface8cf03-ease), filter 0.25s var(--surface8cf03-ease), background-color 0.25s var(--surface8cf03-ease), color 0.25s var(--surface8cf03-ease);
}

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

.surface8cf03-btn-gold {
  background: var(--surface8cf03-grad-gold);
  color: var(--surface8cf03-on-gold);
  box-shadow: 0 4px 14px rgba(255, 204, 51, 0.22);
}

.surface8cf03-btn-gold:hover, .surface8cf03-btn-gold:focus-visible { filter: brightness(1.08); color: var(--surface8cf03-on-gold); }

.surface8cf03-btn-ghost {
  background: rgba(238, 232, 170, 0.04);
  color: var(--surface8cf03-pale);
  box-shadow: inset 0 0 0 1px rgba(238, 232, 170, 0.38);
}

.surface8cf03-btn-ghost:hover, .surface8cf03-btn-ghost:focus-visible { background: rgba(238, 232, 170, 0.1); color: var(--surface8cf03-mist); }

.surface8cf03-menu-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 42px;
  border-radius: var(--surface8cf03-r-pill);
  background: rgba(184, 134, 11, 0.14);
  box-shadow: inset 0 0 0 1px rgba(184, 134, 11, 0.5);
  color: var(--surface8cf03-pale);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  transition: background-color 0.25s var(--surface8cf03-ease), color 0.25s var(--surface8cf03-ease);
}

.surface8cf03-menu-btn:hover, .surface8cf03-menu-btn:focus-visible,
.surface8cf03-menu-btn[aria-expanded="true"] {
  background: rgba(184, 134, 11, 0.32);
  color: var(--surface8cf03-gold);
}

.surface8cf03-menu-ico { width: 20px; height: 16px; display: block; }

/* --------------------------------------------------------------------------
   5. Layered dropdown drawer (slides in from the top bar)
   -------------------------------------------------------------------------- */
.surface8cf03-drawer {
  position: absolute;
  left: var(--surface8cf03-pad);
  right: var(--surface8cf03-pad);
  top: calc(100% + 1px);
  z-index: 60;
  background: var(--surface8cf03-grad-panel);
  border: 1px solid var(--surface8cf03-line);
  border-radius: 0 0 var(--surface8cf03-r-card) var(--surface8cf03-r-card);
  box-shadow: var(--surface8cf03-shadow-2);
  padding: 8px 4px 12px;
  display: none;
}

.surface8cf03-drawer.surface8cf03-is-open {
  display: block;
  animation: surface8cf03-drawer-in 0.28s var(--surface8cf03-ease) both;
}

@keyframes surface8cf03-drawer-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.surface8cf03-drawer-group + .surface8cf03-drawer-group {
  margin-top: 8px;
  border-top: 1px dashed var(--surface8cf03-line-soft);
  padding-top: 8px;
}

.surface8cf03-drawer-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--surface8cf03-bronze);
  padding: 4px 12px 2px;
}

.surface8cf03-drawer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--surface8cf03-r-chip);
  color: var(--surface8cf03-dim);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.22s var(--surface8cf03-ease), color 0.22s var(--surface8cf03-ease);
}

.surface8cf03-drawer-link::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--surface8cf03-line);
  flex: 0 0 auto;
  transition: background-color 0.22s var(--surface8cf03-ease);
}

.surface8cf03-drawer-link:hover, .surface8cf03-drawer-link:focus-visible {
  background: rgba(255, 204, 51, 0.08);
  color: var(--surface8cf03-mist);
}

.surface8cf03-drawer-link:hover::before { background: var(--surface8cf03-gold); }

.surface8cf03-drawer-link.surface8cf03-is-here { color: var(--surface8cf03-gold); background: rgba(255, 204, 51, 0.09); }
.surface8cf03-drawer-link.surface8cf03-is-here::before { background: var(--surface8cf03-gold); }

/* --------------------------------------------------------------------------
   6. Hero carousel
   -------------------------------------------------------------------------- */
.surface8cf03-hero {
  position: relative;
  border-radius: var(--surface8cf03-r-card);
  overflow: hidden;
  border: 1px solid var(--surface8cf03-line-soft);
  box-shadow: var(--surface8cf03-shadow-1);
  aspect-ratio: 4 / 5;
  max-height: 480px;
  background: var(--surface8cf03-ink-deep);
}

.surface8cf03-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.6s var(--surface8cf03-ease), transform 4s var(--surface8cf03-ease);
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  text-align: left;
  pointer-events: none;
}

.surface8cf03-hero-slide.surface8cf03-is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.surface8cf03-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.surface8cf03-hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 44px 14px 16px;
  background: linear-gradient(180deg, rgba(16, 14, 11, 0) 0%, rgba(16, 14, 11, 0.82) 46%, rgba(16, 14, 11, 0.96) 100%);
  color: var(--surface8cf03-mist);
}

.surface8cf03-hero-kicker {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--surface8cf03-on-gold);
  background: var(--surface8cf03-gold);
  border-radius: var(--surface8cf03-r-pill);
  padding: 2px 10px;
  margin-bottom: 7px;
}

.surface8cf03-hero-title {
  font-family: var(--surface8cf03-font-head);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 3px;
  text-wrap: balance;
}

.surface8cf03-hero-sub { font-size: 12px; color: var(--surface8cf03-dim); margin: 0; }

.surface8cf03-hero-dots {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  gap: 6px;
  z-index: 3;
}

.surface8cf03-dot {
  width: 22px;
  height: 8px;
  min-width: 22px;
  border-radius: var(--surface8cf03-r-pill);
  background: rgba(238, 232, 170, 0.22);
  transition: background-color 0.3s var(--surface8cf03-ease);
}

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

/* --------------------------------------------------------------------------
   7. Page head (unique H1 zone)
   -------------------------------------------------------------------------- */
.surface8cf03-pagehead {
  margin: 16px 0 4px;
  padding: 12px 14px;
  background: var(--surface8cf03-grad-panel);
  border: 1px solid var(--surface8cf03-line-soft);
  border-left: 3px solid var(--surface8cf03-gold);
  border-radius: var(--surface8cf03-r-card);
}

.surface8cf03-pagehead h1 {
  font-size: 21px;
  font-weight: 800;
  color: var(--surface8cf03-pale);
  margin: 0 0 7px;
}

.surface8cf03-pagehead p { font-size: 13.5px; color: var(--surface8cf03-dim); }

/* --------------------------------------------------------------------------
   8. Generic section shell + headings
   -------------------------------------------------------------------------- */
.surface8cf03-section { margin-top: 22px; }

.surface8cf03-section-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 7px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--surface8cf03-line-soft);
}

.surface8cf03-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--surface8cf03-bronze);
  white-space: nowrap;
  flex: 0 0 auto;
}

.surface8cf03-section-head h2 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--surface8cf03-pale);
  margin: 0;
  text-wrap: balance;
}

.surface8cf03-lede { font-size: 13.5px; color: var(--surface8cf03-dim); margin: 0 0 10px; }
.surface8cf03-lede a { border-bottom: 1px dashed rgba(255, 204, 51, 0.5); padding-bottom: 1px; }

.surface8cf03-h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--surface8cf03-gold);
  margin: 14px 0 6px;
}

/* --------------------------------------------------------------------------
   9. Game grid + image cards with bottom name bar
   -------------------------------------------------------------------------- */
.surface8cf03-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.surface8cf03-gcard {
  display: block;
  width: 100%;
  text-align: center;
  border-radius: var(--surface8cf03-r-card);
  background: var(--surface8cf03-panel);
  border: 1px solid var(--surface8cf03-line-soft);
  overflow: hidden;
  transition: transform 0.22s var(--surface8cf03-ease), border-color 0.25s var(--surface8cf03-ease), box-shadow 0.25s var(--surface8cf03-ease);
  -webkit-tap-highlight-color: rgba(255, 204, 51, 0.14);
}

.surface8cf03-gcard:hover, .surface8cf03-gcard:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(184, 134, 11, 0.75);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
}

.surface8cf03-gcard:active { transform: translateY(-1px) scale(0.98); }

.surface8cf03-gcard-frame {
  display: block;
  aspect-ratio: 1 / 1;
  background: #0e0c09;
  border-bottom: 1px solid var(--surface8cf03-line-soft);
}

.surface8cf03-gcard-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.surface8cf03-gcard-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 32px;
  padding: 4px 5px 5px;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--surface8cf03-pale);
  background: linear-gradient(180deg, #221d15, #1b1711);
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   10. Prose rhythm - short paragraphs, checklists, steps, terms
   -------------------------------------------------------------------------- */
.surface8cf03-prose {
  background: var(--surface8cf03-grad-panel);
  border: 1px solid var(--surface8cf03-line-soft);
  border-radius: var(--surface8cf03-r-card);
  padding: 13px 14px;
  font-size: 13.5px;
  color: var(--surface8cf03-dim);
}

.surface8cf03-prose strong { color: var(--surface8cf03-pale); font-weight: 700; }
.surface8cf03-prose a { border-bottom: 1px dashed rgba(255, 204, 51, 0.5); padding-bottom: 1px; }

.surface8cf03-checklist { list-style: none; margin-top: 8px; }

.surface8cf03-checklist li {
  position: relative;
  padding: 7px 10px 7px 26px;
  border-radius: var(--surface8cf03-r-chip);
  background: rgba(238, 232, 170, 0.035);
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--surface8cf03-dim);
}

.surface8cf03-checklist li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 13px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--surface8cf03-gold);
  box-shadow: 0 0 0 2px rgba(255, 204, 51, 0.18);
}

.surface8cf03-checklist li strong { color: var(--surface8cf03-pale); }

.surface8cf03-steps { list-style: none; counter-reset: surface8cf03-step; margin-top: 6px; }

.surface8cf03-steps li {
  counter-increment: surface8cf03-step;
  position: relative;
  padding: 0 0 14px 40px;
  font-size: 13px;
  color: var(--surface8cf03-dim);
}

.surface8cf03-steps li::before {
  content: counter(surface8cf03-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--surface8cf03-r-chip);
  background: rgba(184, 134, 11, 0.16);
  border: 1px solid rgba(184, 134, 11, 0.55);
  color: var(--surface8cf03-gold);
  font-family: var(--surface8cf03-font-head);
  font-size: 12px;
  font-weight: 700;
}

.surface8cf03-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 32px;
  bottom: 2px;
  width: 1px;
  background: var(--surface8cf03-line-soft);
}

.surface8cf03-steps li strong { display: block; color: var(--surface8cf03-pale); font-size: 13.5px; margin-bottom: 2px; }

.surface8cf03-terms { margin-top: 8px; }

.surface8cf03-terms > div {
  padding: 9px 11px;
  border-left: 2px solid var(--surface8cf03-bronze);
  background: rgba(184, 134, 11, 0.07);
  border-radius: 0 var(--surface8cf03-r-chip) var(--surface8cf03-r-chip) 0;
  margin-bottom: 7px;
}

.surface8cf03-term-k {
  display: block;
  font-family: var(--surface8cf03-font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--surface8cf03-gold);
  margin-bottom: 2px;
}

.surface8cf03-term-d { font-size: 12.5px; color: var(--surface8cf03-dim); display: block; }

.surface8cf03-note {
  margin-top: 10px;
  padding: 9px 11px;
  border-radius: var(--surface8cf03-r-chip);
  background: rgba(233, 236, 239, 0.05);
  border: 1px dashed rgba(164, 156, 133, 0.4);
  font-size: 12px;
  color: var(--surface8cf03-dim-2);
}

/* --------------------------------------------------------------------------
   11. CTA zone - segmented pill actions in decision context
   -------------------------------------------------------------------------- */
.surface8cf03-cta {
  margin-top: 22px;
  padding: 16px 14px;
  border-radius: var(--surface8cf03-r-card);
  background:
    radial-gradient(140% 120% at 85% 0%, rgba(255, 204, 51, 0.14), transparent 55%),
    var(--surface8cf03-panel-2);
  border: 1px solid rgba(184, 134, 11, 0.5);
  text-align: center;
}

.surface8cf03-cta h2 {
  font-size: 17px;
  color: var(--surface8cf03-pale);
  margin-bottom: 6px;
}

.surface8cf03-cta p { font-size: 13px; color: var(--surface8cf03-dim); }

.surface8cf03-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 13px;
}

.surface8cf03-cta-row .surface8cf03-btn { width: 100%; min-height: 46px; }

/* --------------------------------------------------------------------------
   12. Extended footer (brand > promotions > directory > conditional note)
   -------------------------------------------------------------------------- */
.surface8cf03-xfoot {
  margin: 26px var(--surface8cf03-pad) 0;
  padding: 14px 13px 12px;
  border-radius: var(--surface8cf03-r-card) var(--surface8cf03-r-card) 0 0;
  background: var(--surface8cf03-ink-deep);
  border: 1px solid var(--surface8cf03-line-soft);
  border-bottom: 0;
}

.surface8cf03-xfoot-brand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--surface8cf03-line-soft);
  margin-bottom: 12px;
}

.surface8cf03-xfoot-brand img {
  width: 34px;
  height: 34px;
  border-radius: var(--surface8cf03-r-chip);
  border: 1px solid rgba(184, 134, 11, 0.5);
  flex: 0 0 auto;
}

.surface8cf03-xfoot-brand p { font-size: 12px; color: var(--surface8cf03-dim-2); margin: 0; }
.surface8cf03-xfoot-brand strong { color: var(--surface8cf03-pale); font-family: var(--surface8cf03-font-head); display: block; font-size: 13px; margin-bottom: 3px; }

.surface8cf03-xfoot-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--surface8cf03-bronze);
  margin: 12px 0 8px;
}

.surface8cf03-promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.surface8cf03-promo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 10px;
  border-radius: var(--surface8cf03-r-chip);
  background: rgba(255, 204, 51, 0.05);
  border: 1px solid rgba(184, 134, 11, 0.4);
  color: var(--surface8cf03-pale);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  transition: background-color 0.25s var(--surface8cf03-ease), border-color 0.25s var(--surface8cf03-ease), transform 0.2s var(--surface8cf03-ease);
}

.surface8cf03-promo-item:hover, .surface8cf03-promo-item:focus-visible {
  background: rgba(255, 204, 51, 0.12);
  border-color: var(--surface8cf03-gold);
  transform: translateY(-2px);
}

.surface8cf03-promo-item:active { transform: translateY(0); }

.surface8cf03-promo-item:last-child { grid-column: 1 / -1; }

.surface8cf03-promo-ico {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--surface8cf03-gold);
}

.surface8cf03-xfoot-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.surface8cf03-dir-col { min-width: 0; }

.surface8cf03-dir-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--surface8cf03-dim-2);
  margin: 0 0 6px;
}

.surface8cf03-dir-link {
  display: block;
  padding: 6px 8px;
  margin-bottom: 3px;
  border-radius: var(--surface8cf03-r-chip);
  color: var(--surface8cf03-dim);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.4;
  transition: background-color 0.22s var(--surface8cf03-ease), color 0.22s var(--surface8cf03-ease);
}

.surface8cf03-dir-link:hover, .surface8cf03-dir-link:focus-visible {
  background: rgba(238, 232, 170, 0.07);
  color: var(--surface8cf03-mist);
}

.surface8cf03-xfoot-note {
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px dashed var(--surface8cf03-line-soft);
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--surface8cf03-dim-2);
}

/* --------------------------------------------------------------------------
   13. Common footer + fixed segmented bottom action bar
   -------------------------------------------------------------------------- */
.surface8cf03-foot {
  margin: 0 var(--surface8cf03-pad);
  padding: 12px 4px 14px;
  text-align: center;
}

.surface8cf03-foot-copy {
  font-size: 11.5px;
  color: var(--surface8cf03-dim-2);
  letter-spacing: 0.3px;
}

.surface8cf03-bnav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  min-height: var(--surface8cf03-bnav-h);
  padding: 4px 2px calc(4px + env(safe-area-inset-bottom));
  background: rgba(16, 14, 11, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--surface8cf03-line);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.55);
}

.surface8cf03-bnav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 52px;
  color: var(--surface8cf03-dim-2);
  border-radius: var(--surface8cf03-r-chip);
  transition: color 0.25s var(--surface8cf03-ease);
  -webkit-tap-highlight-color: transparent;
}

.surface8cf03-bnav-item .surface8cf03-fillpart { transition: fill 0.25s var(--surface8cf03-ease), stroke 0.25s var(--surface8cf03-ease); }

.surface8cf03-bnav-item:hover, .surface8cf03-bnav-item:focus-visible { color: var(--surface8cf03-pale); }

.surface8cf03-bnav-item.surface8cf03-is-here { color: var(--surface8cf03-gold); }
.surface8cf03-bnav-item.surface8cf03-is-here::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--surface8cf03-gold);
}

.surface8cf03-bnav-ico { width: 22px; height: 22px; display: block; }

.surface8cf03-bnav-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1;
}

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

.surface8cf03-skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--surface8cf03-gold);
  color: var(--surface8cf03-on-gold);
  font-weight: 700;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: var(--surface8cf03-r-pill);
  transition: top 0.2s var(--surface8cf03-ease);
}

.surface8cf03-skip:focus { top: 10px; }

/* --------------------------------------------------------------------------
   15. Breakpoints - phone canvas 320 -> 430px
   -------------------------------------------------------------------------- */
@media (min-width: 375px) {
  .surface8cf03-grid { gap: 9px; }
  .surface8cf03-pagehead h1 { font-size: 22px; }
  .surface8cf03-hero { aspect-ratio: 87 / 100; }
}

@media (min-width: 430px) {
  .surface8cf03-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .surface8cf03-gcard-name { font-size: 11px; }
  .surface8cf03-pagehead h1 { font-size: 24px; }
  .surface8cf03-hero { aspect-ratio: 9 / 10; max-height: 500px; }
  .surface8cf03-prose { padding: 15px 16px; }
  .surface8cf03-promos { gap: 8px; }
}

@media (min-width: 700px) {
  body {
    background:
      radial-gradient(50% 30% at 50% 0%, rgba(184, 134, 11, 0.1), transparent 70%),
      #080706;
  }
  .surface8cf03-shell { border-radius: 4px; }
}

/* --------------------------------------------------------------------------
   16. Motion preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
