/* ==========================================================================
   Tableplus Game - shell-compact-dbd309.css
   Mobile-first casino lobby stylesheet for tableplus-game.click
   Canvas target: 320-430px phones, centered shell on wider screens.
   Class prefix .... viewbd309-
   Variable prefix . --viewbd309-
   Palette ......... #7FFF00 / #1A1A2E / #66CDAA / #FFEBCD / #EEEEEE / #008000
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --viewbd309-ink: #1A1A2E;                 /* base canvas */
  --viewbd309-ink-2: #20203a;               /* raised panel tone */
  --viewbd309-ink-3: #262647;               /* card tone */
  --viewbd309-ink-0: #101020;               /* page backdrop behind shell */
  --viewbd309-lime: #7FFF00;                /* primary accent */
  --viewbd309-mint: #66CDAA;                /* secondary accent */
  --viewbd309-cream: #FFEBCD;               /* warm highlight text */
  --viewbd309-paper: #EEEEEE;               /* body text */
  --viewbd309-green: #008000;               /* deep action green */
  --viewbd309-line: rgba(238, 238, 238, 0.14);
  --viewbd309-line-strong: rgba(238, 238, 238, 0.24);
  --viewbd309-lime-soft: rgba(127, 255, 0, 0.16);
  --viewbd309-mint-soft: rgba(102, 205, 170, 0.14);
  --viewbd309-green-soft: rgba(0, 128, 0, 0.28);
  --viewbd309-shadow-1: 0 10px 24px rgba(0, 0, 0, 0.38);
  --viewbd309-shadow-2: 0 4px 12px rgba(0, 0, 0, 0.30);
  --viewbd309-radius-card: 14px;
  --viewbd309-radius-frame: 12px;
  --viewbd309-radius-btn: 9px;
  --viewbd309-radius-pill: 999px;
  --viewbd309-font-head: "Trebuchet MS", "Segoe UI", Verdana, system-ui, sans-serif;
  --viewbd309-font-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --viewbd309-top-h: 58px;
  --viewbd309-dock-h: 66px;
  --viewbd309-shell-w: 480px;
}

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

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

body {
  margin: 0;
  background: var(--viewbd309-ink-0);
  color: var(--viewbd309-paper);
  font-family: var(--viewbd309-font-body);
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }

a { color: var(--viewbd309-mint); text-decoration: none; }
a:hover { color: var(--viewbd309-lime); }

h1, h2, h3, h4 {
  font-family: var(--viewbd309-font-head);
  color: var(--viewbd309-cream);
  line-height: 1.25;
  margin: 0 0 0.5em;
  letter-spacing: 0.2px;
}

p { margin: 0 0 0.9em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px dashed var(--viewbd309-lime);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Phone shell (centered on wide screens) ---------- */
.viewbd309-shell {
  position: relative;
  width: 100%;
  max-width: var(--viewbd309-shell-w);
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 52% at 50% -4%, rgba(102, 205, 170, 0.10), transparent 60%),
    var(--viewbd309-ink);
  border-left: 1px solid rgba(238, 238, 238, 0.06);
  border-right: 1px solid rgba(238, 238, 238, 0.06);
  overflow-x: clip;
}

/* ---------- Top action band ---------- */
.viewbd309-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--viewbd309-shell-w);
  min-height: var(--viewbd309-top-h);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  padding-top: calc(9px + env(safe-area-inset-top));
  background: rgba(26, 26, 46, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--viewbd309-line);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.viewbd309-topbar.viewbd309-is-scrolled {
  background: rgba(16, 16, 32, 0.97);
  box-shadow: var(--viewbd309-shadow-2);
}

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

.viewbd309-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--viewbd309-line-strong);
  object-fit: cover;
  flex: 0 0 auto;
  background: var(--viewbd309-ink-3);
}

.viewbd309-brand-name {
  font-family: var(--viewbd309-font-head);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.4px;
  text-transform: lowercase;
  color: var(--viewbd309-cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.viewbd309-brand-name b { color: var(--viewbd309-lime); font-weight: 800; }

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

/* Compact icon-text CTA buttons */
.viewbd309-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: var(--viewbd309-radius-btn);
  border: 1px solid transparent;
  font-family: var(--viewbd309-font-head);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.2s ease;
}

.viewbd309-btn:active { transform: translateY(1px) scale(0.98); }

.viewbd309-btn-register {
  background: var(--viewbd309-lime);
  color: #14210a;
  box-shadow: 0 3px 10px rgba(127, 255, 0, 0.22);
}

.viewbd309-btn-register:hover { filter: brightness(1.07); color: #14210a; }

.viewbd309-btn-login {
  background: transparent;
  color: var(--viewbd309-mint);
  border-color: rgba(102, 205, 170, 0.55);
}

.viewbd309-btn-login:hover { background: var(--viewbd309-mint-soft); color: var(--viewbd309-lime); }

.viewbd309-btn .viewbd309-btn-ico {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

/* Hamburger trigger */
.viewbd309-menu-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--viewbd309-radius-btn);
  border: 1px solid var(--viewbd309-line-strong);
  background: var(--viewbd309-ink-3);
  cursor: pointer;
}

.viewbd309-menu-lines,
.viewbd309-menu-lines span {
  display: block;
  width: 17px;
  border-radius: 2px;
  background: var(--viewbd309-cream);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.viewbd309-menu-lines { position: relative; height: 12px; }
.viewbd309-menu-lines span { position: absolute; left: 0; height: 2px; }
.viewbd309-menu-lines span:nth-child(1) { top: 0; }
.viewbd309-menu-lines span:nth-child(2) { top: 5px; width: 12px; }
.viewbd309-menu-lines span:nth-child(3) { top: 10px; }

.viewbd309-menu-btn[aria-expanded="true"] .viewbd309-menu-lines span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.viewbd309-menu-btn[aria-expanded="true"] .viewbd309-menu-lines span:nth-child(2) { opacity: 0; }
.viewbd309-menu-btn[aria-expanded="true"] .viewbd309-menu-lines span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Slide-up route panel ---------- */
.viewbd309-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 58;
  background: rgba(6, 6, 14, 0.62);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.viewbd309-sheet-backdrop.viewbd309-is-shown { opacity: 1; }

.viewbd309-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 102%);
  width: 100%;
  max-width: var(--viewbd309-shell-w);
  max-height: calc(100vh - 84px);
  overflow-y: auto;
  z-index: 60;
  padding: 18px 16px calc(20px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, #232342 0%, #191930 100%);
  border-radius: 20px 20px 0 0;
  border-top: 2px solid var(--viewbd309-lime);
  box-shadow: 0 -14px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.32s cubic-bezier(0.22, 0.9, 0.3, 1);
}

.viewbd309-sheet.viewbd309-is-open { transform: translate(-50%, 0); }

.viewbd309-sheet-grip {
  width: 44px;
  height: 4px;
  border-radius: 4px;
  margin: 0 auto 14px;
  background: var(--viewbd309-line-strong);
}

.viewbd309-sheet-title {
  font-family: var(--viewbd309-font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--viewbd309-mint);
  margin: 0 0 10px;
}

.viewbd309-sheet-group { margin-bottom: 16px; }

.viewbd309-route {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  padding: 8px 10px;
  border-radius: var(--viewbd309-radius-btn);
  border: 1px solid transparent;
  color: var(--viewbd309-paper);
  position: relative;
}

.viewbd309-route:hover {
  background: var(--viewbd309-mint-soft);
  color: var(--viewbd309-lime);
}

.viewbd309-route.viewbd309-is-here {
  background: var(--viewbd309-lime-soft);
  border-color: rgba(127, 255, 0, 0.35);
  color: var(--viewbd309-lime);
}

.viewbd309-route.viewbd309-is-here::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 3px;
  background: var(--viewbd309-lime);
}

.viewbd309-route-ico {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--viewbd309-mint);
}

.viewbd309-route.viewbd309-is-here .viewbd309-route-ico { color: var(--viewbd309-lime); }

.viewbd309-route-txt { flex: 1; min-width: 0; }
.viewbd309-route-name { display: block; font-weight: 700; font-size: 14px; }
.viewbd309-route-sub { display: block; font-size: 11.5px; color: rgba(238, 238, 238, 0.62); }

.viewbd309-route-arrow { color: rgba(238, 238, 238, 0.45); font-size: 15px; }

/* ---------- Main column ---------- */
.viewbd309-main {
  padding: calc(var(--viewbd309-top-h) + 14px) 14px 26px;
}

.viewbd309-section { margin: 0 0 30px; scroll-margin-top: calc(var(--viewbd309-top-h) + 12px); }

.viewbd309-h2 {
  font-size: 19.5px;
  font-weight: 800;
  text-transform: none;
  position: relative;
  padding-left: 12px;
}

.viewbd309-h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--viewbd309-lime), var(--viewbd309-green));
}

.viewbd309-h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--viewbd309-cream);
  margin: 0 0 6px;
}

.viewbd309-lede { color: var(--viewbd309-paper); }

.viewbd309-note { font-size: 12.5px; color: rgba(238, 238, 238, 0.66); }

/* ---------- Hero ---------- */
.viewbd309-hero {
  position: relative;
  padding: 16px 14px 18px;
  margin: 0 0 20px;
  border-radius: 18px;
  background:
    radial-gradient(130% 90% at 12% 0%, rgba(127, 255, 0, 0.14), transparent 55%),
    radial-gradient(120% 120% at 95% 15%, rgba(102, 205, 170, 0.16), transparent 58%),
    linear-gradient(180deg, #232342 0%, #1c1c33 100%);
  border: 1px solid var(--viewbd309-line);
  overflow: hidden;
}

.viewbd309-hero::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  border: 14px solid rgba(127, 255, 0, 0.08);
  pointer-events: none;
}

.viewbd309-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--viewbd309-lime);
  border: 1px solid rgba(127, 255, 0, 0.4);
  background: var(--viewbd309-lime-soft);
  border-radius: var(--viewbd309-radius-pill);
  padding: 4px 10px;
  margin-bottom: 10px;
}

.viewbd309-hero h1 {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0.2px;
  margin-bottom: 10px;
}

.viewbd309-hero h1 .viewbd309-h1-tint { color: var(--viewbd309-lime); }

.viewbd309-hero-lede { font-size: 14.5px; color: var(--viewbd309-paper); }

.viewbd309-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 14px 0 12px;
}

.viewbd309-btn-hero {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 14px;
  background: var(--viewbd309-lime);
  color: #14210a;
  box-shadow: 0 6px 18px rgba(127, 255, 0, 0.28);
}

.viewbd309-btn-ghost {
  min-height: 44px;
  padding: 10px 16px;
  background: transparent;
  color: var(--viewbd309-cream);
  border-color: var(--viewbd309-line-strong);
}

.viewbd309-btn-ghost:hover { background: var(--viewbd309-mint-soft); color: var(--viewbd309-lime); }

.viewbd309-hero-chips { display: flex; flex-wrap: wrap; gap: 7px; }

.viewbd309-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--viewbd309-mint);
  background: rgba(102, 205, 170, 0.10);
  border: 1px solid rgba(102, 205, 170, 0.3);
  border-radius: var(--viewbd309-radius-pill);
  padding: 4px 10px;
}

.viewbd309-chip-ico { width: 12px; height: 12px; }

/* ---------- Banner carousel ---------- */
.viewbd309-carousel {
  position: relative;
  margin: 0 0 20px;
  border-radius: var(--viewbd309-radius-card);
  overflow: hidden;
  border: 1px solid var(--viewbd309-line);
  background: var(--viewbd309-ink-2);
  box-shadow: var(--viewbd309-shadow-1);
}

.viewbd309-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: var(--viewbd309-ink-2);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.viewbd309-slide.viewbd309-is-on { opacity: 1; position: relative; }

.viewbd309-slide img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  aspect-ratio: 2.2 / 1;
}

.viewbd309-slide-cap {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: 72%;
  padding: 5px 10px;
  border-radius: var(--viewbd309-radius-pill);
  background: rgba(16, 16, 32, 0.78);
  border: 1px solid rgba(127, 255, 0, 0.4);
  font-family: var(--viewbd309-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--viewbd309-lime);
}

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

.viewbd309-dot {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.viewbd309-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(238, 238, 238, 0.5);
  transition: transform 0.2s ease, background 0.2s ease;
}

.viewbd309-dot.viewbd309-is-on::after {
  background: var(--viewbd309-lime);
  transform: scale(1.35);
}

/* ---------- Category strip ---------- */
.viewbd309-catstrip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  margin: 0 0 18px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.viewbd309-catstrip::-webkit-scrollbar { display: none; }

.viewbd309-catlink {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 13px;
  border-radius: var(--viewbd309-radius-pill);
  border: 1px solid var(--viewbd309-line-strong);
  background: var(--viewbd309-ink-2);
  color: var(--viewbd309-paper);
  font-family: var(--viewbd309-font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.viewbd309-catlink:hover,
.viewbd309-catlink:focus-visible {
  border-color: rgba(127, 255, 0, 0.6);
  color: var(--viewbd309-lime);
  background: var(--viewbd309-lime-soft);
}

.viewbd309-catlink svg { width: 14px; height: 14px; color: var(--viewbd309-mint); }

/* ---------- Game arena ---------- */
.viewbd309-arena-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.viewbd309-arena-count {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--viewbd309-mint);
  border: 1px solid rgba(102, 205, 170, 0.35);
  background: var(--viewbd309-mint-soft);
  border-radius: var(--viewbd309-radius-pill);
  padding: 3px 9px;
}

.viewbd309-arena-intro { font-size: 13.5px; color: rgba(238, 238, 238, 0.86); margin-bottom: 14px; }

.viewbd309-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 8px;
}

.viewbd309-game {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: center;
}

.viewbd309-game-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--viewbd309-radius-frame);
  overflow: hidden;
  background: linear-gradient(180deg, #2c2c52 0%, #20203a 100%);
  border: 1px solid var(--viewbd309-line);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.32);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.viewbd309-game-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.viewbd309-game-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(127, 255, 0, 0.10), transparent 38%);
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}

.viewbd309-game:hover .viewbd309-game-frame,
.viewbd309-game:focus-visible .viewbd309-game-frame {
  transform: translateY(-3px);
  border-color: rgba(127, 255, 0, 0.65);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.42), 0 0 0 3px rgba(127, 255, 0, 0.10);
}

.viewbd309-game:hover .viewbd309-game-frame::after,
.viewbd309-game:focus-visible .viewbd309-game-frame::after { opacity: 1; }

.viewbd309-game:active .viewbd309-game-frame { transform: translateY(-1px) scale(0.97); }

.viewbd309-game-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 28px;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--viewbd309-paper);
  overflow-wrap: anywhere;
}

.viewbd309-game:hover .viewbd309-game-name,
.viewbd309-game:focus-visible .viewbd309-game-name { color: var(--viewbd309-lime); }

/* ---------- CTA band ---------- */
.viewbd309-ctaband {
  position: relative;
  padding: 18px 16px;
  border-radius: var(--viewbd309-radius-card);
  background:
    radial-gradient(120% 100% at 90% 0%, rgba(255, 235, 205, 0.14), transparent 55%),
    linear-gradient(135deg, var(--viewbd309-green) 0%, #0b5a0b 55%, var(--viewbd309-ink) 140%);
  border: 1px solid rgba(127, 255, 0, 0.35);
  overflow: hidden;
}

.viewbd309-ctaband::before {
  content: "";
  position: absolute;
  left: -26px;
  bottom: -42px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 12px solid rgba(255, 235, 205, 0.08);
  pointer-events: none;
}

.viewbd309-ctaband h2 { color: var(--viewbd309-cream); }

.viewbd309-ctaband .viewbd309-h2::before { background: var(--viewbd309-cream); }

.viewbd309-ctaband p { color: rgba(255, 235, 205, 0.92); font-size: 13.5px; }

.viewbd309-ctaband .viewbd309-h2 {
  padding-left: 0;
}

.viewbd309-ctaband .viewbd309-h2::before { display: none; }

.viewbd309-ctaband-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.viewbd309-btn-cta {
  min-height: 44px;
  padding: 10px 18px;
  background: var(--viewbd309-lime);
  color: #14210a;
  font-size: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.viewbd309-btn-cta2 {
  min-height: 44px;
  padding: 10px 15px;
  background: rgba(16, 16, 32, 0.55);
  color: var(--viewbd309-cream);
  border-color: rgba(255, 235, 205, 0.5);
}

.viewbd309-btn-cta2:hover { color: var(--viewbd309-lime); border-color: var(--viewbd309-lime); }

/* ---------- Step rhythm blocks ---------- */
.viewbd309-steps {
  counter-reset: viewbd309step;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 14px 0 6px;
}

.viewbd309-step {
  position: relative;
  counter-increment: viewbd309step;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 11px;
  padding: 12px;
  border-radius: var(--viewbd309-radius-card);
  background: var(--viewbd309-ink-2);
  border: 1px solid var(--viewbd309-line);
}

.viewbd309-step-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--viewbd309-lime-soft);
  border: 1px solid rgba(127, 255, 0, 0.5);
  color: var(--viewbd309-lime);
  font-family: var(--viewbd309-font-head);
  font-weight: 800;
  font-size: 15px;
}

.viewbd309-step-mark::before { content: counter(viewbd309step); }

.viewbd309-step h3 { margin: 0 0 3px; font-size: 14.5px; }
.viewbd309-step p { margin: 0; font-size: 13px; color: rgba(238, 238, 238, 0.84); }

/* ---------- Tip rows ---------- */
.viewbd309-tips {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.viewbd309-tip {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  padding: 11px 12px;
  border-radius: var(--viewbd309-radius-card);
  background: var(--viewbd309-ink-2);
  border-left: 3px solid var(--viewbd309-mint);
}

.viewbd309-tip-ico {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--viewbd309-mint-soft);
  color: var(--viewbd309-mint);
  transition: transform 0.18s ease, color 0.18s ease;
}

.viewbd309-tip:hover .viewbd309-tip-ico { transform: translateY(-2px) rotate(-4deg); color: var(--viewbd309-lime); }

.viewbd309-tip-ico svg { width: 16px; height: 16px; }

.viewbd309-tip h3 { margin: 0 0 3px; font-size: 14px; }
.viewbd309-tip p { margin: 0; font-size: 12.8px; color: rgba(238, 238, 238, 0.84); }

/* ---------- Fact tiles ---------- */
.viewbd309-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.viewbd309-fact {
  padding: 12px;
  border-radius: var(--viewbd309-radius-card);
  background: var(--viewbd309-ink-2);
  border: 1px solid var(--viewbd309-line);
}

.viewbd309-fact b {
  display: block;
  font-family: var(--viewbd309-font-head);
  font-size: 16px;
  color: var(--viewbd309-lime);
  margin-bottom: 3px;
}

.viewbd309-fact span { font-size: 12px; color: rgba(238, 238, 238, 0.82); }

/* ---------- RTP tiles ---------- */
.viewbd309-rtp-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 14px 0 8px;
}

.viewbd309-rtp-tile {
  padding: 11px 9px;
  border-radius: var(--viewbd309-radius-card);
  background: linear-gradient(180deg, #232342 0%, #1d1d36 100%);
  border: 1px solid var(--viewbd309-line);
  text-align: center;
}

.viewbd309-rtp-tile svg {
  width: 20px;
  height: 20px;
  margin: 0 auto 6px;
  color: var(--viewbd309-mint);
}

.viewbd309-rtp-tile b {
  display: block;
  font-family: var(--viewbd309-font-head);
  font-size: 12.5px;
  color: var(--viewbd309-cream);
  margin-bottom: 3px;
}

.viewbd309-rtp-tile span { font-size: 11px; color: rgba(238, 238, 238, 0.75); }

/* ---------- Term list ---------- */
.viewbd309-terms { margin-top: 12px; display: flex; flex-direction: column; gap: 9px; }

.viewbd309-term {
  padding: 11px 13px;
  border-radius: var(--viewbd309-radius-card);
  background: var(--viewbd309-ink-2);
  border: 1px solid var(--viewbd309-line);
}

.viewbd309-term dt {
  font-family: var(--viewbd309-font-head);
  font-weight: 800;
  font-size: 13.5px;
  color: var(--viewbd309-lime);
  margin-bottom: 3px;
}

.viewbd309-term dd { margin: 0; font-size: 12.8px; color: rgba(238, 238, 238, 0.84); }

/* ---------- Extended footer ---------- */
.viewbd309-xfooter {
  margin-top: 34px;
  padding: 22px 14px 18px;
  border-top: 1px solid var(--viewbd309-line);
  background: linear-gradient(180deg, #17172c 0%, #121224 100%);
}

.viewbd309-xfoot-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--viewbd309-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--viewbd309-mint);
  margin: 0 0 12px;
}

.viewbd309-xfoot-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--viewbd309-line);
}

.viewbd309-xfoot-brand {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 22px;
}

.viewbd309-xfoot-brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--viewbd309-line-strong);
  object-fit: cover;
}

.viewbd309-xfoot-brand p { margin: 0; font-size: 12.8px; color: rgba(238, 238, 238, 0.82); }

.viewbd309-xfoot-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 22px;
}

.viewbd309-xpromo {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 10px;
  border-radius: var(--viewbd309-radius-btn);
  border: 1px solid rgba(127, 255, 0, 0.4);
  background: var(--viewbd309-lime-soft);
  color: var(--viewbd309-cream);
  font-family: var(--viewbd309-font-head);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease, background 0.2s ease;
}

.viewbd309-xpromo:hover {
  transform: translateY(-2px);
  border-color: var(--viewbd309-lime);
  background: rgba(127, 255, 0, 0.24);
  color: var(--viewbd309-lime);
}

.viewbd309-xpromo:active { transform: translateY(0) scale(0.98); }

.viewbd309-xpromo svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--viewbd309-lime);
}

.viewbd309-xfoot-dir {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 22px;
}

.viewbd309-dirlink {
  display: block;
  padding: 9px 11px;
  border-radius: var(--viewbd309-radius-btn);
  border: 1px solid var(--viewbd309-line);
  background: var(--viewbd309-ink-2);
}

.viewbd309-dirlink:hover { border-color: rgba(102, 205, 170, 0.55); background: var(--viewbd309-mint-soft); }

.viewbd309-dirlink b {
  display: block;
  font-family: var(--viewbd309-font-head);
  font-size: 12.5px;
  color: var(--viewbd309-cream);
  margin-bottom: 2px;
}

.viewbd309-dirlink:hover b { color: var(--viewbd309-lime); }

.viewbd309-dirlink span { font-size: 10.8px; color: rgba(238, 238, 238, 0.62); line-height: 1.4; display: block; }

.viewbd309-xfoot-note {
  padding: 12px;
  border-radius: var(--viewbd309-radius-card);
  border: 1px dashed rgba(255, 235, 205, 0.35);
  background: rgba(255, 235, 205, 0.05);
}

.viewbd309-xfoot-note p {
  margin: 0;
  font-size: 11.6px;
  line-height: 1.6;
  color: rgba(255, 235, 205, 0.8);
}

/* ---------- Common foot ---------- */
.viewbd309-foot {
  padding: 14px 14px calc(var(--viewbd309-dock-h) + 46px + env(safe-area-inset-bottom));
  text-align: center;
  border-top: 1px solid var(--viewbd309-line);
}

.viewbd309-foot-copy {
  margin: 0;
  font-size: 12px;
  color: rgba(238, 238, 238, 0.66);
}

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

/* ---------- Bottom dock (center-raised) ---------- */
.viewbd309-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--viewbd309-shell-w);
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  min-height: calc(var(--viewbd309-dock-h) + env(safe-area-inset-bottom));
  padding: 4px 4px calc(6px + env(safe-area-inset-bottom));
  background: rgba(18, 18, 36, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--viewbd309-line-strong);
}

.viewbd309-dock-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  min-height: 52px;
  padding: 6px 2px 2px;
  background: none;
  border: 0;
  color: rgba(238, 238, 238, 0.68);
  font-size: 10.5px;
  font-family: var(--viewbd309-font-head);
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  text-decoration: none;
}

.viewbd309-dock-item::before {
  /* active indicator line on top of the item */
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0.4);
  width: 24px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--viewbd309-lime);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.viewbd309-dock-item:hover { color: var(--viewbd309-lime); }

.viewbd309-dock-item.viewbd309-is-active { color: var(--viewbd309-lime); }

.viewbd309-dock-item.viewbd309-is-active::before { opacity: 1; transform: translateX(-50%) scaleX(1); }

.viewbd309-dock-glyph {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  transition: transform 0.2s ease;
}

.viewbd309-dock-glyph svg { width: 22px; height: 22px; }

.viewbd309-dock-item:hover .viewbd309-dock-glyph,
.viewbd309-dock-item.viewbd309-is-active .viewbd309-dock-glyph { transform: translateY(-2px); }

.viewbd309-dock-label { transition: color 0.2s ease, letter-spacing 0.2s ease; }

.viewbd309-dock-item.viewbd309-is-active .viewbd309-dock-label { letter-spacing: 0.7px; }

/* raised center play role */
.viewbd309-dock-center { padding-top: 2px; }

.viewbd309-dock-center .viewbd309-dock-glyph {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--viewbd309-lime) 0%, var(--viewbd309-green) 130%);
  color: #0d1a05;
  box-shadow: 0 8px 20px rgba(127, 255, 0, 0.35), inset 0 -3px 0 rgba(0, 0, 0, 0.22);
  transform: translateY(-16px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.viewbd309-dock-center .viewbd309-dock-glyph svg { width: 26px; height: 26px; }

.viewbd309-dock-center:hover .viewbd309-dock-glyph { transform: translateY(-19px); }

.viewbd309-dock-center:active .viewbd309-dock-glyph { transform: translateY(-13px) scale(0.96); }

.viewbd309-dock-center .viewbd309-dock-label { transform: translateY(-12px); color: var(--viewbd309-lime); }

/* ---------- Progressive reveal (JS-gated, content stays visible without JS) ---------- */
.viewbd309-js .viewbd309-reveal { opacity: 0.01; transform: translateY(10px); transition: opacity 0.45s ease, transform 0.45s ease; }
.viewbd309-js .viewbd309-reveal.viewbd309-is-in { opacity: 1; transform: none; }

/* ---------- Responsive: 375px and up ---------- */
@media (min-width: 375px) {
  .viewbd309-hero h1 { font-size: 27px; }
  .viewbd309-h2 { font-size: 21px; }
  .viewbd309-rtp-tile b { font-size: 13px; }
}

/* ---------- Responsive: 430px and up (5-column game grid) ---------- */
@media (min-width: 430px) {
  .viewbd309-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px 10px; }
  .viewbd309-hero h1 { font-size: 29px; }
  .viewbd309-h2 { font-size: 22px; }
  .viewbd309-xfoot-promos { gap: 10px; }
  .viewbd309-game-name { font-size: 11.5px; }
}

/* ---------- Small phones (320-359px) ---------- */
@media (max-width: 359px) {
  .viewbd309-main { padding-left: 11px; padding-right: 11px; }
  .viewbd309-hero h1 { font-size: 22.5px; }
  .viewbd309-h2 { font-size: 18px; }
  .viewbd309-brand-name { font-size: 15.5px; }
  .viewbd309-btn { padding: 7px 9px; font-size: 11.5px; }
  .viewbd309-rtp-row { grid-template-columns: 1fr; }
  .viewbd309-dock-label { font-size: 9.5px; }
}

/* ---------- Help pages: crumbs, compare rows, specs, Q&A, checks ---------- */
.viewbd309-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin: 0 0 12px;
  font-size: 12px;
  color: rgba(238, 238, 238, 0.62);
}

.viewbd309-crumb a { color: var(--viewbd309-mint); }

.viewbd309-crumb [aria-current="page"] { color: var(--viewbd309-lime); font-weight: 700; }

.viewbd309-leadband {
  padding: 14px;
  margin: 0 0 16px;
  border-radius: var(--viewbd309-radius-card);
  border: 1px solid rgba(127, 255, 0, 0.35);
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(102, 205, 170, 0.16), transparent 55%),
    var(--viewbd309-ink-2);
}

.viewbd309-leadband p:last-child { margin-bottom: 0; }

.viewbd309-compare { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }

.viewbd309-compare-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 8px;
  align-items: start;
  padding: 10px;
  border-radius: var(--viewbd309-radius-card);
  background: var(--viewbd309-ink-2);
  border: 1px solid var(--viewbd309-line);
}

.viewbd309-compare-row b {
  font-family: var(--viewbd309-font-head);
  font-size: 12px;
  color: var(--viewbd309-lime);
}

.viewbd309-compare-row span { font-size: 13px; color: rgba(238, 238, 238, 0.86); }

.viewbd309-specgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.viewbd309-spec {
  padding: 10px;
  border-radius: var(--viewbd309-radius-card);
  background: var(--viewbd309-ink-2);
  border-top: 3px solid var(--viewbd309-mint);
}

.viewbd309-spec b {
  display: block;
  margin-bottom: 4px;
  font-family: var(--viewbd309-font-head);
  font-size: 13px;
  color: var(--viewbd309-cream);
}

.viewbd309-spec span { font-size: 12.5px; color: rgba(238, 238, 238, 0.84); }

.viewbd309-qa { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }

.viewbd309-qa-item {
  border-radius: var(--viewbd309-radius-card);
  border: 1px solid var(--viewbd309-line);
  background: var(--viewbd309-ink-2);
  overflow: hidden;
}

.viewbd309-qa-item summary {
  min-height: 44px;
  padding: 12px 12px;
  cursor: pointer;
  font-family: var(--viewbd309-font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--viewbd309-cream);
  list-style: none;
}

.viewbd309-qa-item summary::-webkit-details-marker { display: none; }

.viewbd309-qa-item summary::after {
  content: "+";
  float: right;
  color: var(--viewbd309-lime);
}

.viewbd309-qa-item[open] summary::after { content: "–"; }

.viewbd309-qa-item .viewbd309-qa-body { padding: 0 12px 12px; font-size: 13.5px; }

.viewbd309-checks { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }

.viewbd309-check {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: start;
  padding: 10px;
  border-radius: var(--viewbd309-radius-btn);
  background: rgba(0, 128, 0, 0.18);
  border: 1px solid rgba(127, 255, 0, 0.28);
}

.viewbd309-check i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--viewbd309-lime);
  color: #14210a;
  font-style: normal;
  font-weight: 800;
  font-family: var(--viewbd309-font-head);
}

.viewbd309-check p { margin: 0; font-size: 13px; }

.viewbd309-prow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 4px;
}

.viewbd309-prow .viewbd309-btn { min-height: 44px; }

@media (max-width: 359px) {
  .viewbd309-compare-row { grid-template-columns: 1fr; }
  .viewbd309-specgrid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .viewbd309-js .viewbd309-reveal { opacity: 1; transform: none; }
}
