/* ==========================================================================
   BIGBUNNY MOBILE APP SHELL ENGINE (27-TOKEN CYBER OBSIDIAN GOLD ARCHETYPE)
   ========================================================================== */

/* Theme Safety Guard */
html, body {
  max-width: 100%!important;
  overflow-x: clip!important;
  margin: 0;
  padding: 0;
}
img, svg, video, iframe {
  max-width: 100%!important;
  height: auto;
}
.prose table {
  table-layout: fixed!important;
  width: 100%!important;
  border-collapse: collapse;
}
.prose th, .prose td {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Base App Shell Styling */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(ellipse 80% 60% at 50% 15%, #080f14 0%, #030507 70%, #010202 100%);
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
}

.bbn-container {
  width: min(var(--maxw), 94vw);
  margin-inline: auto;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--text);
  text-transform: uppercase;
}
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); margin-block: 0.5rem 1rem; }
h2 { font-size: clamp(1.5rem, 3.8vw, 2.3rem); margin-block: 2rem 0.75rem; border-bottom: 1px solid var(--border); padding-bottom: 0.4rem; }
h3 { font-size: clamp(1.2rem, 2.8vw, 1.6rem); color: var(--gold-soft); margin-block: 1.5rem 0.5rem; }
p { margin-block-end: 1em; color: var(--text); }
a { color: var(--gold); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--gold-soft); }

/* Shimmer Wordmark Logo */
.bbn-wm {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 2.5vw, 26px);
  letter-spacing: 0.5px;
  line-height: 1;
  white-space: nowrap;
  background: var(--wm-grad);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 8px oklch(72% .22 68 / .45));
  animation: wmshine 3.5s ease-in-out infinite;
}
@keyframes wmshine {
  0% { background-position: 200% center; }
  50% { background-position: -20% center; }
  100% { background-position: 200% center; }
}

/* Non-blocking 21+ Compliance Top Bar */
.bbn-top-bar {
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  padding: 6px 0;
  color: var(--muted);
}
.bbn-top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.bbn-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: oklch(72% .18 68 / .12);
  border: 1px solid oklch(72% .18 68 / .3);
  color: var(--gold);
  padding: 2px 8px;
  border-radius: var(--r-pill);
  font-weight: 700;
}

/* Sticky App Header */
.bbn-hd {
  position: sticky;
  top: 0;
  z-index: 900;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.bbn-hd-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 14px;
}
.bbn-nav-links {
  display: flex;
  gap: 16px;
  align-items: center;
}
.bbn-nav-link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.16s ease;
}
.bbn-nav-link:hover, .bbn-nav-link.active {
  color: var(--gold);
}

/* Button Component System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.55em 1.4em;
  border-radius: var(--r);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--border-2);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  min-height: 44px;
  user-select: none;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.12s ease, box-shadow 0.16s ease;
}
.btn:hover {
  background: var(--surface-2);
  border-color: var(--gold-2);
  transform: translateY(-1px);
}
.btn-gold {
  background: var(--gold-grad);
  color: #030608;
  border: none;
  box-shadow: 0 2px oklch(50% .14 55), 0 4px 16px oklch(72% .18 68 / .35);
  font-weight: 800;
}
.btn-gold:hover {
  box-shadow: var(--gold-glow), 0 2px oklch(50% .14 55);
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-2);
  color: var(--muted);
}
.btn-ghost:hover {
  border-color: var(--gold-soft);
  color: var(--gold);
  background: oklch(72% .18 68 / .08);
}
.btn-sm {
  padding: 0.35em 0.9em;
  font-size: 0.8rem;
  min-height: 36px;
}

/* Horizontal Category Chip Scroller */
.bbn-cat {
  position: relative;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 0;
}
.bbn-cat-in {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
  -webkit-overflow-scrolling: touch;
}
.bbn-cat-in::-webkit-scrollbar { display: none; }
.bbn-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px #ffffff22, 0 2px 6px #00000040;
  transition: all 0.2s ease;
}
.bbn-chip:hover, .bbn-chip.active {
  color: var(--gold);
  border-color: var(--gold-2);
  background: oklch(72% .18 68 / .12);
  box-shadow: inset 0 1px #fff5dc8c, 0 4px 12px oklch(72% .18 68 / .2);
}

/* Live Activity Marquee Ticker */
.bbn-wm-bar {
  display: flex;
  align-items: center;
  height: 38px;
  margin: 14px 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.bbn-wm-bar-lbl {
  padding: 0 16px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold);
  white-space: nowrap;
  background: var(--bg-2);
  height: 100%;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--border);
}
.bbn-wm-bar-track-wrap {
  overflow: hidden;
  flex: 1;
}
.bbn-wm-bar-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: bbnMarquee 45s linear infinite;
}
.bbn-wm-bar-track:hover { animation-play-state: paused; }
@keyframes bbnMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Card Tiles Grid */
.bbn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  margin-block: 24px;
}
.bbn-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.bbn-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-2);
  box-shadow: 0 8px 24px #00000080, 0 0 0 1px oklch(72% .18 68 / .25);
}
.bbn-badge-rtp {
  display: inline-block;
  background: oklch(64% .18 145 / .15);
  color: var(--green);
  border: 1px solid oklch(64% .18 145 / .35);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--r-pill);
}

/* Prose Tables */
.prose table {
  width: 100%;
  margin-block: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-size: 0.92rem;
}
.prose thead th {
  background: var(--surface-2);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--gold-2);
  text-align: left;
}
.prose tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}
.prose tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

/* FAQ Accordion Details */
.bbn-faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  margin-block-end: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.bbn-faq-item:hover {
  border-color: var(--gold-2);
}
.bbn-faq-item summary {
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bbn-faq-item summary::-webkit-details-marker { display: none; }
.bbn-faq-item summary:after {
  content: "+";
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}
.bbn-faq-item[open] summary:after {
  content: "−";
}
.bbn-faq-body {
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Sticky Bottom Navigation Bar (Mobile Viewport) */
.bbn-bn {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  padding: 0 10px calc(8px + env(safe-area-inset-bottom, 0px));
}
.bbn-bn-row {
  max-width: 500px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(14px) saturate(135%);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-pill);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.4), 0 10px 30px #00000099;
  padding: 6px 8px;
}
.bbn-bn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
}
.bbn-bn-item:hover, .bbn-bn-item.active {
  color: var(--gold);
}
.bbn-fab-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.bbn-fab {
  width: 46px;
  height: 46px;
  margin-top: -22px;
  border-radius: 50%;
  background: var(--gold-grad);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 4px var(--bg), 0 8px 20px oklch(72% .18 68 / .5);
  animation: bnPulse 2.8s ease-in-out infinite;
  color: #020406;
  font-weight: 900;
  font-size: 1.1rem;
}
@keyframes bnPulse {
  0%, 100% { transform: scale(0.96); box-shadow: 0 0 0 4px var(--bg), 0 4px 14px oklch(72% .18 68 / .4); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 4px var(--bg), 0 10px 26px oklch(72% .18 68 / .7); }
}

@media (max-width: 860px) {
  .bbn-nav-links { display: none; }
  .bbn-bn { display: block; }
}

/* Footer Architecture */
.bbn-ft {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding-block: 40px 80px;
  margin-top: 60px;
  font-size: 0.9rem;
}
.bbn-ft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  margin-bottom: 30px;
}
.bbn-ft-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.bbn-ft-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bbn-ft-links a {
  color: var(--muted);
  transition: color 0.16s ease;
}
.bbn-ft-links a:hover {
  color: var(--text);
}
.bbn-ft-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  color: var(--muted-2);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* ==========================================================================
   DYNAMIC INTERACTIVE HERO CAROUSEL COMPONENT
   ========================================================================== */
.bbn-hero {
  padding: 18px 0 10px;
}
.bbn-hero-view {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5), inset 0 1px rgba(255, 255, 255, 0.35);
}
.bbn-hero-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.bbn-hero-slide {
  min-width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: center;
  padding: 32px 30px;
  background: radial-gradient(120% 130% at 88% 10%, oklch(72% .18 68 / .16) 0%, transparent 55%),
              linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 60%),
              #080f14;
}
.bbn-hero-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  min-width: 0;
}
.bbn-hero-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: oklch(72% .18 68 / .12);
  border: 1px solid oklch(72% .18 68 / .35);
  border-radius: var(--r-pill);
  padding: 4px 12px;
}
.bbn-hero-h {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.8vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
}
.bbn-hero-sub {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 44ch;
  margin: 0;
}
.bbn-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.bbn-hero-art {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.bbn-hero-tile {
  border-radius: var(--r);
  overflow: hidden;
  border: 2px solid var(--border-2);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
  aspect-ratio: 16/10;
  background: var(--surface);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.bbn-hero-tile:hover {
  transform: scale(1.03);
  border-color: var(--gold);
}
.bbn-hero-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bbn-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  background: color-mix(in srgb, var(--bg) 65%, transparent);
  color: var(--text);
  font-size: 20px;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0.8;
  z-index: 10;
  transition: all 0.2s ease;
}
.bbn-hero-nav:hover {
  opacity: 1;
  background: var(--gold);
  color: #020406;
}
.bbn-hero-nav-prev { left: 12px; }
.bbn-hero-nav-next { right: 12px; }
.bbn-hero-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 12px 0 4px;
}
.bbn-hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--border-2);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}
.bbn-hero-dot.active {
  width: 26px;
  border-radius: 5px;
  background: var(--gold);
  border-color: var(--gold);
}

@media (max-width: 880px) {
  .bbn-hero-slide {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 18px;
  }
  .bbn-hero-panel {
    align-items: center;
  }
  .bbn-hero-cta {
    justify-content: center;
  }
  .bbn-hero-art {
    order: -1;
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
  }
  .bbn-hero-nav {
    display: none;
  }
}
