/* ==========================================================================
   BL777 Game - mobile-first display stylesheet
   Palette: #0A0A0A background | #778899 / #808080 text
   Class prefix: framebcec4-
   ========================================================================== */

:root {
  --framebcec4-bg: #0A0A0A;
  --framebcec4-bg-soft: #121214;
  --framebcec4-bg-card: #17171a;
  --framebcec4-bg-elev: #1e1e22;
  --framebcec4-line: #2a2a30;
  --framebcec4-line-soft: #20202410;
  --framebcec4-text: #f3f4f6;
  --framebcec4-muted: #778899;
  --framebcec4-muted-2: #808080;
  --framebcec4-accent: #c7d2da;
  --framebcec4-accent-warm: #b9a25b;
  --framebcec4-danger: #c0563f;
  --framebcec4-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  --framebcec4-shadow-soft: 0 4px 14px rgba(0, 0, 0, 0.35);
  --framebcec4-radius-sm: 8px;
  --framebcec4-radius: 14px;
  --framebcec4-radius-lg: 20px;
  --framebcec4-header-h: 58px;
  --framebcec4-bottomnav-h: 64px;
  --framebcec4-safe-pad: 18px;
  --framebcec4-max: 430px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

html, body {
  background: var(--framebcec4-bg);
  color: var(--framebcec4-text);
  font-family: "Segoe UI", "Helvetica Neue", "PingFang SC", Roboto, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0.01em;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

ul, ol { list-style: none; }

/* ----- Mobile canvas frame (centered on wide screens) ----- */
.framebcec4-canvas {
  position: relative;
  max-width: var(--framebcec4-max);
  margin: 0 auto;
  background: var(--framebcec4-bg);
  min-height: 100vh;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

@media (min-width: 431px) {
  body { background: #050506; }
  .framebcec4-canvas { border-left: 1px solid var(--framebcec4-line); border-right: 1px solid var(--framebcec4-line); }
}

/* ==========================================================================
   Header
   ========================================================================== */
.framebcec4-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(180deg, #0c0c0e 0%, #0A0A0A 100%);
  border-bottom: 1px solid var(--framebcec4-line);
}

.framebcec4-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  min-height: var(--framebcec4-header-h);
}

.framebcec4-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
}

.framebcec4-brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: radial-gradient(circle at 35% 30%, #1c1c20, #0A0A0A);
  border: 1px solid var(--framebcec4-line);
  object-fit: cover;
  flex: 0 0 auto;
}

.framebcec4-brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--framebcec4-text);
}

.framebcec4-brand-name span { color: var(--framebcec4-accent-warm); }

.framebcec4-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.framebcec4-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  min-height: 38px;
  white-space: nowrap;
}

.framebcec4-btn-login {
  background: transparent;
  border: 1px solid var(--framebcec4-line);
  color: var(--framebcec4-text);
}

.framebcec4-btn-login:hover { background: var(--framebcec4-bg-elev); }

.framebcec4-btn-register {
  background: linear-gradient(135deg, #c7d2da 0%, #778899 100%);
  color: #0A0A0A;
  box-shadow: 0 6px 16px rgba(119, 136, 153, 0.28);
}

.framebcec4-btn-register:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(119, 136, 153, 0.36); }

.framebcec4-btn-ghost {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 10px;
  background: var(--framebcec4-bg-card);
  border: 1px solid var(--framebcec4-line);
  color: var(--framebcec4-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.framebcec4-btn-ghost:hover { background: var(--framebcec4-bg-elev); }

.framebcec4-btn-ghost svg { width: 20px; height: 20px; display: block; }

.framebcec4-btn-icon-only { display: none; }

@media (max-width: 360px) {
  .framebcec4-btn-login { padding: 0 10px; font-size: 12px; }
  .framebcec4-btn-register { padding: 0 11px; font-size: 12px; }
}

/* ==========================================================================
   Slide-down menu
   ========================================================================== */
.framebcec4-menu {
  position: absolute;
  top: var(--framebcec4-header-h);
  left: 0;
  right: 0;
  z-index: 75;
  background: linear-gradient(180deg, #0c0c0e, #0A0A0A);
  border-bottom: 1px solid var(--framebcec4-line);
  padding: 14px 12px 18px;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s ease;
}

.framebcec4-menu[data-open="true"] {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.framebcec4-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.framebcec4-menu-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  min-height: 62px;
  padding: 10px 10px;
  border-radius: var(--framebcec4-radius-sm);
  background: var(--framebcec4-bg-card);
  border: 1px solid var(--framebcec4-line);
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.framebcec4-menu-item:hover { background: var(--framebcec4-bg-elev); border-color: var(--framebcec4-muted-2); }

.framebcec4-menu-item-label { font-size: 13px; font-weight: 700; color: var(--framebcec4-text); }
.framebcec4-menu-item-sub { font-size: 11px; color: var(--framebcec4-muted); letter-spacing: 0.04em; text-transform: uppercase; }

.framebcec4-menu-promo-row {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.framebcec4-menu-promo {
  flex: 1 1 0;
  min-height: 48px;
  border-radius: var(--framebcec4-radius-sm);
  background: linear-gradient(135deg, #2a2210, #14110a);
  border: 1px solid #3a2f15;
  color: var(--framebcec4-accent-warm);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.framebcec4-menu-promo:hover { filter: brightness(1.15); }

/* ==========================================================================
   Main / sections
   ========================================================================== */
.framebcec4-main {
  padding: 14px 12px calc(var(--framebcec4-bottomnav-h) + var(--framebcec4-safe-pad) + 10px);
}

.framebcec4-section { margin-top: 26px; }

.framebcec4-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(--framebcec4-line);
}

.framebcec4-section-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--framebcec4-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.framebcec4-section-title::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--framebcec4-accent-warm), #6b5828);
  display: inline-block;
}

.framebcec4-section-meta {
  font-size: 11px;
  color: var(--framebcec4-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   Hero carousel
   ========================================================================== */
.framebcec4-hero {
  position: relative;
  margin-top: 12px;
  border-radius: var(--framebcec4-radius-lg);
  overflow: hidden;
  background: var(--framebcec4-bg-card);
  border: 1px solid var(--framebcec4-line);
  box-shadow: var(--framebcec4-shadow-soft);
}

.framebcec4-hero-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

.framebcec4-hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: 184px;
}

.framebcec4-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78) saturate(1.05);
}

.framebcec4-hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.35) 55%, rgba(10, 10, 10, 0.15) 100%);
}

.framebcec4-hero-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.framebcec4-hero-text-block { max-width: 70%; }

.framebcec4-hero-eyebrow {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--framebcec4-accent-warm);
  background: rgba(10, 10, 10, 0.55);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(185, 162, 91, 0.4);
  margin-bottom: 6px;
}

.framebcec4-hero-title { font-size: 18px; font-weight: 800; line-height: 1.25; color: #fff; }
.framebcec4-hero-sub { font-size: 12px; color: var(--framebcec4-muted); margin-top: 4px; }

.framebcec4-hero-cta {
  flex: 0 0 auto;
  background: linear-gradient(135deg, #c7d2da, #778899);
  color: #0A0A0A;
  font-weight: 800;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.framebcec4-hero-cta:hover { transform: translateY(-1px); }

.framebcec4-hero-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  top: auto;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 4;
}

.framebcec4-hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: background 0.2s ease, width 0.2s ease;
}

.framebcec4-hero-dot[data-active="true"] {
  background: var(--framebcec4-accent-warm);
  width: 16px;
  border-radius: 3px;
}

/* ==========================================================================
   Quick stat strip
   ========================================================================== */
.framebcec4-stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.framebcec4-stat {
  background: var(--framebcec4-bg-card);
  border: 1px solid var(--framebcec4-line);
  border-radius: var(--framebcec4-radius-sm);
  padding: 10px 6px;
  text-align: center;
}

.framebcec4-stat-num { font-size: 15px; font-weight: 800; color: var(--framebcec4-accent); }
.framebcec4-stat-label { font-size: 10px; color: var(--framebcec4-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }

/* ==========================================================================
   Category chips
   ========================================================================== */
.framebcec4-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 10px;
  margin: 0 -2px;
  scrollbar-width: none;
}

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

.framebcec4-chip {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--framebcec4-bg-card);
  border: 1px solid var(--framebcec4-line);
  font-size: 12px;
  font-weight: 700;
  color: var(--framebcec4-muted);
  letter-spacing: 0.04em;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

.framebcec4-chip:hover { color: var(--framebcec4-text); border-color: var(--framebcec4-muted-2); }

/* ==========================================================================
   Game grid + cards
   ========================================================================== */
.framebcec4-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

@media (min-width: 375px) {
  .framebcec4-game-grid { gap: 10px; }
}

@media (min-width: 400px) {
  .framebcec4-game-grid { grid-template-columns: repeat(4, 1fr); gap: 11px; }
}

.framebcec4-game-card {
  display: flex;
  flex-direction: column;
  background: var(--framebcec4-bg-card);
  border: 1px solid var(--framebcec4-line);
  border-radius: var(--framebcec4-radius-sm);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
  position: relative;
  min-width: 0;
}

.framebcec4-game-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--framebcec4-shadow-soft);
  border-color: var(--framebcec4-muted-2);
}

.framebcec4-game-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #0c0c0e;
  overflow: hidden;
}

.framebcec4-game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.framebcec4-game-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--framebcec4-text);
  padding: 5px 6px 6px;
  text-align: center;
  line-height: 1.25;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-top: 1px solid var(--framebcec4-line);
  background: var(--framebcec4-bg-card);
}

.framebcec4-game-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background: rgba(10, 10, 10, 0.78);
  color: var(--framebcec4-accent-warm);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 5px;
  border-radius: 4px;
  border: 1px solid rgba(185, 162, 91, 0.4);
  text-transform: uppercase;
}

.framebcec4-game-ribbon {
  position: absolute;
  top: 4px;
  right: 4px;
  background: linear-gradient(135deg, #c0563f, #6f2e22);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 5px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* ==========================================================================
   Info modules (RTP / How to play / styles / winners / relations)
   ========================================================================== */
.framebcec4-panel {
  background: var(--framebcec4-bg-card);
  border: 1px solid var(--framebcec4-line);
  border-radius: var(--framebcec4-radius);
  padding: 14px;
}

.framebcec4-panel + .framebcec4-panel { margin-top: 12px; }

.framebcec4-panel-lead {
  font-size: 14px;
  color: var(--framebcec4-text);
  margin-bottom: 10px;
  line-height: 1.6;
}

.framebcec4-panel-lead strong { color: var(--framebcec4-accent); font-weight: 700; }

.framebcec4-panel p {
  font-size: 13.5px;
  color: #c8ccd1;
  margin-top: 8px;
  line-height: 1.65;
}

.framebcec4-panel p a { color: var(--framebcec4-accent-warm); border-bottom: 1px dashed rgba(185, 162, 91, 0.6); }

.framebcec4-panel ul { margin-top: 8px; display: grid; gap: 6px; }

.framebcec4-panel li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: #b9bdc2;
  line-height: 1.55;
}

.framebcec4-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--framebcec4-muted);
}

.framebcec4-rtp-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.framebcec4-rtp-cell {
  background: var(--framebcec4-bg-soft);
  border: 1px solid var(--framebcec4-line);
  border-radius: var(--framebcec4-radius-sm);
  padding: 8px 10px;
}

.framebcec4-rtp-cell strong { display: block; color: var(--framebcec4-accent); font-size: 13px; }
.framebcec4-rtp-cell span { color: var(--framebcec4-muted); font-size: 11px; }

.framebcec4-step-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  counter-reset: stepcount;
}

.framebcec4-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  background: var(--framebcec4-bg-soft);
  border: 1px solid var(--framebcec4-line);
  border-radius: var(--framebcec4-radius-sm);
  padding: 9px 10px;
  counter-increment: stepcount;
}

.framebcec4-step::before {
  content: counter(stepcount);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--framebcec4-bg-elev);
  border: 1px solid var(--framebcec4-line);
  color: var(--framebcec4-accent-warm);
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.framebcec4-step-title { font-size: 13px; font-weight: 700; color: var(--framebcec4-text); }
.framebcec4-step-text { font-size: 12px; color: var(--framebcec4-muted); margin-top: 2px; line-height: 1.5; }

/* styles comparison */
.framebcec4-compare {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.framebcec4-compare-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  background: var(--framebcec4-bg-soft);
  border: 1px solid var(--framebcec4-line);
  border-radius: var(--framebcec4-radius-sm);
  padding: 9px 10px;
}

.framebcec4-compare-label { font-size: 12px; font-weight: 800; color: var(--framebcec4-accent-warm); letter-spacing: 0.04em; }
.framebcec4-compare-text { font-size: 12.5px; color: #c8ccd1; line-height: 1.55; }

/* Latest winners */
.framebcec4-winners {
  background: var(--framebcec4-bg-card);
  border: 1px solid var(--framebcec4-line);
  border-radius: var(--framebcec4-radius);
  overflow: hidden;
}

.framebcec4-winners-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid var(--framebcec4-line);
}

.framebcec4-winners-head h3 { font-size: 13px; font-weight: 800; color: var(--framebcec4-text); }
.framebcec4-winners-head span { font-size: 11px; color: var(--framebcec4-accent-warm); }

.framebcec4-winners-list {
  display: grid;
  max-height: 220px;
  overflow: hidden;
}

.framebcec4-winner {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid var(--framebcec4-line);
}

.framebcec4-winner:last-child { border-bottom: none; }

.framebcec4-winner-ava {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a2a30, #17171a);
  border: 1px solid var(--framebcec4-line);
  color: var(--framebcec4-accent);
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.framebcec4-winner-meta { display: grid; gap: 1px; min-width: 0; }
.framebcec4-winner-name { font-size: 12px; color: var(--framebcec4-text); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.framebcec4-winner-game { font-size: 10.5px; color: var(--framebcec4-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.framebcec4-winner-amount {
  font-size: 13px;
  font-weight: 800;
  color: var(--framebcec4-accent-warm);
  white-space: nowrap;
}

/* Entity relationship map */
.framebcec4-relations {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.framebcec4-relation {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  background: var(--framebcec4-bg-soft);
  border: 1px solid var(--framebcec4-line);
  border-radius: var(--framebcec4-radius-sm);
  padding: 9px 10px;
}

.framebcec4-relation-node { font-size: 12px; color: var(--framebcec4-text); font-weight: 700; }
.framebcec4-relation-edge { font-size: 11px; color: var(--framebcec4-muted); letter-spacing: 0.04em; text-align: center; white-space: nowrap; }

/* ==========================================================================
   Extended footer (page directory + brand + promotions)
   ========================================================================== */
.framebcec4-extended {
  margin-top: 28px;
  border-top: 1px solid var(--framebcec4-line);
  padding-top: 18px;
}

.framebcec4-extended-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.framebcec4-ext-block {
  background: var(--framebcec4-bg-card);
  border: 1px solid var(--framebcec4-line);
  border-radius: var(--framebcec4-radius);
  padding: 12px;
}

.framebcec4-ext-block-title {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--framebcec4-accent-warm);
  margin-bottom: 8px;
  font-weight: 800;
}

.framebcec4-ext-block ul { display: grid; gap: 7px; }
.framebcec4-ext-block li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #c8ccd1;
  padding: 4px 0;
}

.framebcec4-ext-block li a::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--framebcec4-muted);
}

.framebcec4-ext-block li a:hover { color: var(--framebcec4-text); }

.framebcec4-ext-block li a[data-promo="true"] { color: var(--framebcec4-accent-warm); font-weight: 700; }
.framebcec4-ext-block li a[data-promo="true"]::before { background: var(--framebcec4-accent-warm); }

.framebcec4-ext-brand-text {
  font-size: 12.5px;
  color: #b9bdc2;
  line-height: 1.6;
}

.framebcec4-ext-promo-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.framebcec4-ext-promo-cta .framebcec4-btn { width: 100%; }

.framebcec4-ext-disclaimer {
  grid-column: 1 / -1;
  background: var(--framebcec4-bg-soft);
  border: 1px dashed var(--framebcec4-line);
  border-radius: var(--framebcec4-radius-sm);
  padding: 10px 12px;
  font-size: 11px;
  color: var(--framebcec4-muted-2);
  line-height: 1.55;
}

/* ==========================================================================
   Bottom copyright bar
   ========================================================================== */
.framebcec4-copy {
  margin-top: 18px;
  padding: 12px 4px 4px;
  border-top: 1px solid var(--framebcec4-line);
  text-align: center;
  font-size: 11px;
  color: var(--framebcec4-muted-2);
  letter-spacing: 0.04em;
}

.framebcec4-copy a { color: var(--framebcec4-muted); }

/* ==========================================================================
   Mobile bottom navigation (5 roles)
   ========================================================================== */
.framebcec4-bottomnav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: var(--framebcec4-max);
  z-index: 90;
  background: linear-gradient(180deg, rgba(12, 12, 14, 0.92) 0%, #0A0A0A 100%);
  border-top: 1px solid var(--framebcec4-line);
  backdrop-filter: blur(8px);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.framebcec4-bottomnav-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: var(--framebcec4-bottomnav-h);
}

.framebcec4-bottomnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--framebcec4-muted-2);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.18s ease, transform 0.18s ease;
  min-height: 44px;
}

.framebcec4-bottomnav-item svg {
  width: 22px;
  height: 22px;
  display: block;
}

.framebcec4-bottomnav-item:hover { color: var(--framebcec4-text); }

.framebcec4-bottomnav-item[data-active="true"] {
  color: var(--framebcec4-accent-warm);
  transform: translateY(-2px);
}

.framebcec4-bottomnav-item[data-active="true"]::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--framebcec4-accent-warm);
}

.framebcec4-bottomnav-item[data-role="promo"] {
  color: var(--framebcec4-accent);
}

.framebcec4-bottomnav-item[data-role="promo"] .framebcec4-bottomnav-bubble {
  position: relative;
}

.framebcec4-bottomnav-item[data-role="promo"] .framebcec4-bottomnav-bubble::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(119, 136, 153, 0.28), transparent 70%);
  z-index: -1;
}

/* ==========================================================================
   Sticky register banner (above bottom nav)
   ========================================================================== */
.framebcec4-sticky-cta {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(var(--framebcec4-bottomnav-h) + 8px);
  width: calc(100% - 24px);
  max-width: calc(var(--framebcec4-max) - 24px);
  z-index: 88;
  background: linear-gradient(135deg, #1c1c20, #0c0c0e);
  border: 1px solid var(--framebcec4-line);
  border-radius: var(--framebcec4-radius);
  padding: 8px 8px 8px 12px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: var(--framebcec4-shadow);
}

.framebcec4-sticky-cta[data-show="true"] { display: flex; }

.framebcec4-sticky-cta-text { font-size: 12px; color: var(--framebcec4-text); font-weight: 700; line-height: 1.3; }
.framebcec4-sticky-cta-text span { display: block; color: var(--framebcec4-muted); font-size: 10.5px; font-weight: 500; }
.framebcec4-sticky-cta .framebcec4-btn { padding: 0 16px; height: 36px; font-size: 12px; }

/* ==========================================================================
   Misc / utility
   ========================================================================== */
.framebcec4-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;
}

.framebcec4-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--framebcec4-accent-warm);
  font-weight: 800;
}

.framebcec4-h2 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 6px;
  color: var(--framebcec4-text);
}

.framebcec4-intro {
  font-size: 13.5px;
  color: var(--framebcec4-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}

.framebcec4-more-row {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

.framebcec4-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--framebcec4-accent-warm);
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(185, 162, 91, 0.4);
}

.framebcec4-more-link:hover { background: rgba(185, 162, 91, 0.1); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
