/* ============================================================
   娛城指北 — Casino Compass
   Vanilla CSS port of the React + Tailwind + shadcn build
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --bg-void: #020203;
  --bg-base: #050506;
  --bg-elevated: #0a0a0c;
  --bg-surface: rgba(255, 255, 255, 0.05);
  --text-primary: #ededef;
  --text-secondary: #8a8f98;
  --text-inverse: #050506;
  --accent-cyan: #00e5ff;
  --accent-cyan-glow: rgba(0, 229, 255, 0.25);
  --accent-magenta: #d500f9;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(0, 229, 255, 0.3);
  --shadow-ambient: 0 0 40px rgba(0, 229, 255, 0.05);
  --shadow-glow: 0 0 20px rgba(0, 229, 255, 0.3);
  --radius: 0.75rem;
  --maxw: 80rem; /* max-w-7xl  = 1280px */
  --maxw-4xl: 56rem; /* max-w-4xl  = 896px  */
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid var(--border-subtle);
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: "Inter", "Noto Sans SC", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Noto Sans SC", sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

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

img,
svg {
  display: block;
  max-width: 100%;
}

input {
  font-family: inherit;
}

ul {
  list-style: none;
}

::selection {
  background: rgba(0, 229, 255, 0.3);
  color: #ededef;
}

/* ---------- App shell ---------- */
.app {
  min-height: 100vh;
  background-color: var(--bg-base);
  color: var(--text-primary);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1rem;
}
.container-4xl {
  width: 100%;
  max-width: var(--maxw-4xl);
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px) {
  .container,
  .container-4xl {
    padding-inline: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .container,
  .container-4xl {
    padding-inline: 2rem;
  }
}

.section-padding {
  padding-top: 120px;
  padding-bottom: 120px;
}

.bg-base {
  background-color: var(--bg-base);
}
.bg-void {
  background-color: var(--bg-void);
}
.bg-elevated {
  background-color: var(--bg-elevated);
}

.border-y-subtle {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.border-b-subtle {
  border-bottom: 1px solid var(--border-subtle);
}
.border-t-subtle {
  border-top: 1px solid var(--border-subtle);
}

/* ---------- Typography utilities ---------- */
.text-primary {
  color: var(--text-primary);
}
.text-secondary {
  color: var(--text-secondary);
}
.text-cyan {
  color: var(--accent-cyan);
}
.text-magenta {
  color: var(--accent-magenta);
}

.font-mono-data {
  font-family: "JetBrains Mono", monospace;
}

.text-gradient {
  background: linear-gradient(
    135deg,
    var(--accent-cyan),
    var(--accent-magenta)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  font-family: "JetBrains Mono", monospace;
  color: var(--accent-cyan);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow.magenta {
  color: var(--accent-magenta);
}

.tracking-tight-custom {
  letter-spacing: -0.02em;
}
.text-balance {
  text-wrap: balance;
}

/* ---------- Glass card ---------- */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-card.hoverable:hover {
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
  border-color: rgba(0, 229, 255, 0.3);
}

/* ---------- Gradient button ---------- */
.gradient-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(
    135deg,
    var(--accent-cyan),
    var(--accent-magenta)
  );
  color: var(--text-inverse);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
  white-space: nowrap;
}
.gradient-btn:hover {
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
  transform: translateY(-2px);
}
.gradient-btn.btn-sm {
  padding: 8px 20px;
  font-size: 0.875rem;
}
.gradient-btn.btn-md {
  padding: 12px 28px;
  font-size: 0.875rem;
}
.gradient-btn.btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
}

/* outline button */
.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
  background: transparent;
}
.outline-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}
.outline-btn.lg {
  padding: 16px 32px;
  font-size: 1rem;
}

/* icons sizing */
.ic {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}
.ic-sm {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
}
.ic-lg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}
.ic-xl {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.5s ease;
  background: transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
@media (min-width: 1024px) {
  .nav-inner {
    height: 80px;
  }
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-mark {
  width: 2rem;
  height: 2rem;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 0 0.55rem rgba(0, 229, 255, 0.16));
  transition:
    filter 0.3s ease,
    transform 0.3s ease;
}
.nav-logo:hover .logo-mark {
  filter: drop-shadow(0 0 0.75rem rgba(0, 229, 255, 0.3));
  transform: rotate(4deg);
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-title {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.875rem;
  transition: color 0.3s;
}
.nav-logo:hover .logo-title {
  color: var(--accent-cyan);
}
.logo-sub {
  color: var(--text-secondary);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}
.nav-link {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s;
}
.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}
.nav-link.active {
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.08);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-icon-btn {
  width: 2.25rem;
  height: 2.25rem;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  color: var(--text-secondary);
  transition: all 0.3s;
}
@media (min-width: 640px) {
  .nav-icon-btn {
    display: flex;
  }
}
.nav-icon-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}
.nav-cta {
  display: none;
}
@media (min-width: 640px) {
  .nav-cta {
    display: inline-flex;
  }
}
.nav-burger {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  color: var(--text-secondary);
  transition: all 0.3s;
}
@media (min-width: 1024px) {
  .nav-burger {
    display: none;
  }
}
.nav-burger:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}
.nav-burger .ic-close {
  display: none;
}
.nav-burger.open .ic-menu {
  display: none;
}
.nav-burger.open .ic-close {
  display: block;
}

.mobile-menu {
  display: block;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all 0.5s ease;
}
@media (min-width: 1024px) {
  .mobile-menu {
    display: none;
  }
}
.mobile-menu.open {
  max-height: 30rem;
  opacity: 1;
}
.mobile-menu-inner {
  background: rgba(10, 10, 12, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-subtle);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s;
}
.mobile-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}
.mobile-link.active {
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.08);
}
.mobile-cta {
  display: block;
  text-align: center;
  margin-top: 0.75rem;
  padding: 0.75rem;
}

/* ============================================================
   HERO VORTEX (home)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-void);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-canvas canvas {
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    circle at center,
    rgba(5, 5, 6, 0.4) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-inline: 1rem;
  max-width: 42rem;
  margin-inline: auto;
}
.hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 1.5rem 0;
}
.hero-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 32rem;
  margin: 0 auto 2.5rem;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero h1 {
    font-size: 3rem;
  }
  .hero-sub {
    font-size: 1.125rem;
  }
  .hero-cta {
    flex-direction: row;
  }
}
@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: var(--text-secondary);
  animation: pulse-glow 2s ease-in-out infinite;
}

/* hero entrance animation */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
}
.fade-up.go {
  animation: fadeInUp 1s ease-out forwards;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* ============================================================
   PARTNER MARQUEE
   ============================================================ */
.marquee {
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 2rem;
  opacity: 0.5;
  transition: opacity 0.3s;
  cursor: default;
}
.marquee-item:hover {
  opacity: 1;
}
.marquee-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: rgba(0, 229, 255, 0.5);
  flex-shrink: 0;
}
.marquee-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.025em;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-head {
  margin-bottom: 4rem;
}
.section-head .eyebrow {
  display: block;
  margin-bottom: 1rem;
}
.section-head h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.section-head p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 36rem;
}
@media (min-width: 640px) {
  .section-head h2 {
    font-size: 2.25rem;
  }
}
@media (min-width: 1024px) {
  .section-head h2 {
    font-size: 3rem;
  }
}

/* ============================================================
   RANKINGS GRID (home)
   ============================================================ */
.rank-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .rank-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .rank-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rank-card {
  position: relative;
  padding: 1.5rem;
}
.rank-badge {
  position: absolute;
  top: -0.75rem;
  left: -0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: linear-gradient(
    135deg,
    var(--accent-cyan),
    var(--accent-magenta)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-base);
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: var(--shadow-glow);
}
.rank-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.rank-card .rank-type {
  color: var(--text-secondary);
  font-size: 0.875rem;
}
.rating-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
}
.stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.star {
  width: 1rem;
  height: 1rem;
  color: rgba(138, 143, 152, 0.3);
}
.star.filled {
  color: var(--accent-cyan);
  fill: var(--accent-cyan);
}
.rating-num {
  font-family: "JetBrains Mono", monospace;
  color: var(--accent-cyan);
  font-weight: 700;
}
.rating-max {
  color: var(--text-secondary);
  font-size: 0.875rem;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.chip {
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  background: rgba(0, 229, 255, 0.08);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 500;
}
.bonus-box {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.5rem;
  padding: 0.75rem;
  margin-bottom: 1rem;
}
.bonus-box .b-main {
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.bonus-box .b-extra {
  color: var(--text-secondary);
  font-size: 0.75rem;
}
.card-cta {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 229, 255, 0.45);
  background: rgba(0, 229, 255, 0.08);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s;
}
.card-cta:hover {
  background: linear-gradient(
    135deg,
    var(--accent-cyan),
    var(--accent-magenta)
  );
  border-color: transparent;
  color: var(--text-inverse);
  box-shadow: 0 0 24px var(--accent-cyan-glow);
  transform: translateY(-2px);
}
.card-cta:hover .ic {
  transform: translateX(2px);
}
.card-cta .ic {
  transition: transform 0.3s;
}

/* scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(100px) scale(0.9);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   STICKY MORPH FEATURES (home)
   ============================================================ */
.features-head {
  margin-bottom: 3rem;
}

/* Two-column scrollytelling: feature blocks flow in the left column,
   the visual sticks beside them and morphs as each block passes center.
   Heading + blocks share the same .container, so margins line up. */
.morph-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .morph-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}
.morph-text {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
@media (min-width: 1024px) {
  .morph-text {
    gap: 0;
  }
  .morph-block {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
.morph-block {
  max-width: 34rem;
  transition:
    opacity 0.4s ease,
    filter 0.4s ease,
    transform 0.4s ease;
}
@media (min-width: 1024px) {
  .morph-block {
    opacity: 0.3;
    filter: blur(3px);
    transform: translateY(0.5rem);
  }
  .morph-block.active {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}
.morph-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.morph-block h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .morph-block h3 {
    font-size: 1.875rem;
  }
}
.morph-block p {
  color: var(--text-secondary);
  line-height: 1.7;
}
.morph-visual {
  display: none;
}
@media (min-width: 1024px) {
  .morph-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 96px;
    height: calc(100vh - 160px);
  }
}
.morph-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 9999px;
  background: radial-gradient(
    circle,
    rgba(0, 229, 255, 0.12) 0%,
    transparent 70%
  );
  transition: background 0.5s;
}
.morph-img-wrap {
  position: relative;
  width: 400px;
  height: 400px;
}
.morph-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition:
    opacity 0.5s,
    transform 0.5s;
}

/* ============================================================
   CORE METRICS
   ============================================================ */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (min-width: 1024px) {
  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}
.metric {
  text-align: center;
}
.metric-value {
  font-family: "JetBrains Mono", monospace;
  font-size: 2.25rem;
  font-weight: 700;
}
@media (min-width: 640px) {
  .metric-value {
    font-size: 3rem;
  }
}
@media (min-width: 1024px) {
  .metric-value {
    font-size: 3.75rem;
  }
}
.metric-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: 0.75rem;
  letter-spacing: 0.025em;
}

/* ============================================================
   PAGE HERO (sub pages)
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
  background-color: var(--bg-base);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}
.page-hero-bg .blob {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 9999px;
  filter: blur(128px);
}
.page-hero-bg .blob-1 {
  top: 0;
  left: 25%;
  background: rgba(0, 229, 255, 0.1);
}
.page-hero-bg .blob-2 {
  bottom: 0;
  right: 25%;
  background: rgba(213, 0, 249, 0.1);
}
.page-hero-inner {
  position: relative;
  width: 100%;
  padding-block: 4rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 2rem;
}
.breadcrumb a,
.breadcrumb .crumb {
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.3s;
}
.breadcrumb a:hover {
  color: var(--accent-cyan);
}
.breadcrumb .sep {
  color: rgba(138, 143, 152, 0.4);
}
.breadcrumb .current {
  color: var(--text-primary);
}
.page-hero .eyebrow {
  display: block;
  margin-bottom: 1rem;
}
.page-hero h1 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 48rem;
}
@media (min-width: 640px) {
  .page-hero h1 {
    font-size: 2.25rem;
  }
}
@media (min-width: 1024px) {
  .page-hero h1 {
    font-size: 3rem;
  }
}
.page-hero-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 42rem;
  line-height: 1.7;
}
@media (min-width: 640px) {
  .page-hero-sub {
    font-size: 1.125rem;
  }
}
.meta-bar {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.meta-bar .dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: var(--accent-cyan);
  display: inline-block;
  margin-right: 0.375rem;
  animation: pulse-glow 2s infinite;
}
.meta-bar .pipe {
  color: rgba(255, 255, 255, 0.2);
}

/* ============================================================
   DISCLAIMER BAR
   ============================================================ */
.disclaimer {
  background-color: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
}
.disclaimer-inner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-block: 1.5rem;
}
.disclaimer-inner .ic {
  color: var(--accent-magenta);
  margin-top: 0.125rem;
}
.disclaimer-inner p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.7;
}
.disclaimer-inner strong {
  color: var(--text-primary);
}

/* ============================================================
   GENERIC CONTENT
   ============================================================ */
.content-section {
  padding-bottom: 6rem;
}
.content-block {
  margin-bottom: 4rem;
}
.content-block:last-child {
  margin-bottom: 0;
}
.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.section-label .num {
  font-family: "JetBrains Mono", monospace;
  color: var(--accent-cyan);
  font-size: 0.75rem;
}
.h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}
.h2-sm {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.prose p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.prose p:last-child {
  margin-bottom: 0;
}
.lead-secondary {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.callout-cyan {
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 0.5rem;
  padding: 1rem;
}
.callout-cyan p {
  color: var(--accent-cyan);
  font-size: 0.875rem;
  font-weight: 500;
}
.code-box {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}
.code-box p {
  color: var(--text-primary);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.875rem;
}
.muted-box {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.5rem;
  padding: 1rem;
}
.muted-box p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

a.inline-link {
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
a.inline-link:hover {
  text-decoration: underline;
}

/* ---------- Criteria grid (casino ranking) ---------- */
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) {
  .criteria-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .criteria-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
.criteria-card {
  padding: 1rem;
  text-align: center;
}
.criteria-card .w {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.5rem;
  font-weight: 700;
}
.criteria-card .n {
  color: var(--text-secondary);
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

/* ---------- Ranking list rows (casino ranking) ---------- */
.rank-rows {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.rank-row {
  padding: 1.5rem;
}
.rank-row-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .rank-row-inner {
    flex-direction: row;
    align-items: center;
  }
}
.rr-id {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .rr-id {
    width: 16rem;
  }
}
.rr-num {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: linear-gradient(
    135deg,
    var(--accent-cyan),
    var(--accent-magenta)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-base);
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}
.rr-logo {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  background: var(--bg-base);
  flex-shrink: 0;
}
.rr-id h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
}
.rr-id p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}
.rr-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .rr-rating {
    width: 8rem;
  }
}
.rr-bonus {
  flex: 1;
}
.rr-bonus p {
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 500;
}
.rr-pros {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
@media (min-width: 1024px) {
  .rr-pros {
    width: 16rem;
  }
}
.rr-pro {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.rr-pro .ic-sm {
  color: var(--accent-cyan);
}
.rr-pro span {
  color: var(--text-secondary);
}
.rr-cta {
  flex-shrink: 0;
  min-width: 9.5rem;
  min-height: 3rem;
  padding: 0.75rem 1rem 0.75rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, var(--accent-cyan), #73f3ff);
  color: var(--text-inverse);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow:
    0 0.75rem 1.75rem rgba(0, 229, 255, 0.2),
    0 0 1.25rem rgba(0, 229, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}
.rr-cta svg {
  width: 1.75rem;
  height: 1.75rem;
  padding: 0.4rem;
  border-radius: 0.5rem;
  background: rgba(5, 5, 6, 0.14);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}
.rr-cta:hover {
  filter: saturate(1.12) brightness(1.06);
  box-shadow:
    0 1rem 2.25rem rgba(0, 229, 255, 0.3),
    0 0 2rem rgba(0, 229, 255, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
  transform: translateY(-3px);
}
.rr-cta:hover svg {
  background: rgba(5, 5, 6, 0.2);
  transform: translate(2px, -2px);
}
.rr-cta:active {
  transform: translateY(-1px);
}
.rr-cta:focus-visible {
  outline: 3px solid var(--text-primary);
  outline-offset: 3px;
}

/* ============================================================
   FREE BONUS PAGE
   ============================================================ */
.bonus-page-hero .page-hero-inner {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}
.bonus-hero-copy {
  position: relative;
  z-index: 1;
}
.bonus-hero-media {
  position: relative;
  aspect-ratio: 16 / 9;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: var(--bg-elevated);
  box-shadow:
    0 1.5rem 4rem rgba(0, 0, 0, 0.45),
    0 0 2.5rem rgba(0, 229, 255, 0.08);
}
.bonus-hero-media::after,
.editorial-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(0, 229, 255, 0.12),
    transparent 45%,
    rgba(213, 0, 249, 0.12)
  );
  mix-blend-mode: color;
}
.bonus-hero-media img,
.editorial-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bonus-hero-media figcaption {
  position: absolute;
  z-index: 1;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.3rem 0.5rem;
  border-radius: 0.375rem;
  background: rgba(5, 5, 6, 0.76);
  color: rgba(237, 237, 239, 0.68);
  font-size: 0.625rem;
  backdrop-filter: blur(8px);
}
.bonus-hero-media figcaption a:hover,
.editorial-figure figcaption a:hover {
  color: var(--accent-cyan);
}
@media (min-width: 900px) {
  .bonus-page-hero .page-hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
  }
}
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .two-col {
    grid-template-columns: repeat(2, 1fr);
  }
}
.calc-card {
  padding: 2rem;
}
.calc-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.calc-head .badge {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(0, 229, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}
.calc-head h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}
.editorial-figure {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 0.75rem;
  background: var(--bg-elevated);
}
.editorial-figure img {
  aspect-ratio: 8 / 5;
  filter: saturate(0.78) contrast(1.06) brightness(0.82);
}
.editorial-figure figcaption {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.875rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.6875rem;
  line-height: 1.5;
}
.editorial-figure figcaption span {
  color: var(--text-primary);
}
.editorial-figure figcaption a {
  flex-shrink: 0;
  transition: color 0.3s;
}
.calc-visual {
  margin: -0.25rem 0 1.75rem;
}
.guide-visual {
  margin-top: 1.25rem;
}
.field {
  margin-bottom: 1.5rem;
}
.field label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
.field input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  transition: border-color 0.3s;
  font-size: 1rem;
}
.field input:focus {
  outline: none;
  border-color: var(--accent-cyan);
}
.result-box {
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.result-box .r-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
.result-box .r-value {
  font-family: "JetBrains Mono", monospace;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--accent-cyan);
}
.result-box .r-note {
  color: var(--text-secondary);
  font-size: 0.75rem;
  margin-top: 0.5rem;
}
.info-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.info-note .ic {
  margin-top: 0.125rem;
}
.guide-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.guide-col .h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.type-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.type-card {
  padding: 1rem;
}
.type-card h4 {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.type-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* ============================================================
   BLACKLIST PAGE
   ============================================================ */
.blacklist-page-hero .page-hero-inner {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}
.blacklist-hero-copy {
  position: relative;
  z-index: 1;
}
.blacklist-hero-media {
  position: relative;
  aspect-ratio: 3 / 2;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(239, 68, 68, 0.24);
  border-radius: 1rem;
  background: var(--bg-elevated);
  box-shadow:
    0 1.5rem 4rem rgba(0, 0, 0, 0.48),
    0 0 3rem rgba(239, 68, 68, 0.1);
}
.blacklist-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.12),
    transparent 48%,
    rgba(0, 229, 255, 0.1)
  );
  mix-blend-mode: color;
}
.blacklist-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.08) brightness(0.8);
}
.blacklist-hero-media figcaption {
  position: absolute;
  z-index: 1;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.3rem 0.5rem;
  border-radius: 0.375rem;
  background: rgba(5, 5, 6, 0.8);
  color: rgba(237, 237, 239, 0.68);
  font-size: 0.625rem;
  backdrop-filter: blur(8px);
}
.blacklist-hero-media figcaption a,
.blacklist-figure figcaption a {
  transition: color 0.3s;
}
.blacklist-hero-media figcaption a:hover,
.blacklist-figure figcaption a:hover {
  color: var(--accent-cyan);
}
.blacklist-figure {
  margin: 2rem 0;
}
.blacklist-figure img {
  aspect-ratio: 16 / 7;
  object-position: center;
}
@media (min-width: 900px) {
  .blacklist-page-hero .page-hero-inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.92fr);
  }
}
.danger-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .danger-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.danger-card {
  padding: 1.5rem;
  border-left: 4px solid;
}
.danger-card .d-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.danger-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.danger-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.7;
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .check-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.check-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-subtle);
  transition: all 0.3s;
  text-align: left;
  width: 100%;
}
.check-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}
.check-item.pass {
  border-color: rgba(0, 229, 255, 0.5);
  background: rgba(0, 229, 255, 0.05);
}
.check-item.fail {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.05);
}
.check-mark {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
}
.check-item.pass .check-mark {
  background: rgba(0, 229, 255, 0.2);
}
.check-item.fail .check-mark {
  background: rgba(239, 68, 68, 0.2);
}
.check-mark .ic-sm {
  display: none;
}
.check-item.pass .check-mark .ic-pass {
  display: block;
  color: var(--accent-cyan);
}
.check-item.fail .check-mark .ic-fail {
  display: block;
  color: #ef4444;
}
.check-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.check-item.pass .check-label {
  color: var(--accent-cyan);
}
.check-item.fail .check-label {
  color: #f87171;
}
.check-summary {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  display: none;
}
.check-summary.show {
  display: block;
}
.check-summary p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}
.check-summary .ok {
  color: var(--accent-cyan);
  font-weight: 500;
}
.check-summary .bad {
  color: #f87171;
  font-weight: 500;
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.method-card {
  padding: 1.5rem;
}
.method-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.method-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ============================================================
   BACCARAT / TABLES
   ============================================================ */
.intro-card {
  padding: 2rem;
  margin-bottom: 3rem;
}
.intro-card .row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.intro-card .ic {
  color: var(--accent-magenta);
  margin-top: 0.125rem;
}
.intro-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.7;
}
.intro-card .stack > p {
  margin-bottom: 0.5rem;
}
.intro-card .stack > p:last-child {
  margin-bottom: 0;
}

.data-table-wrap {
  overflow-x: auto;
  margin-bottom: 2rem;
}
.data-table {
  width: 100%;
  font-size: 0.875rem;
  border-collapse: collapse;
}
.data-table thead tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.data-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
}
.data-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.data-table td {
  padding: 0.75rem 1rem;
}
.data-table td.primary {
  color: var(--text-primary);
  font-weight: 500;
}
.data-table td.mono {
  font-family: "JetBrains Mono", monospace;
}
.data-table td.cyan {
  color: var(--accent-cyan);
}
.data-table td.muted {
  color: var(--text-secondary);
}

.strategy-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.strategy-card {
  padding: 1.5rem;
}
.strategy-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.strategy-card h3 .ic-cyan {
  color: var(--accent-cyan);
}
.strategy-card h3 .ic-magenta {
  color: var(--accent-magenta);
}
.strategy-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ---------- Section 04 · first-round playbook timeline ---------- */
.playbook {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.play-step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
}

/* connecting rail + node */
.play-rail {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 6px;
}
.play-rail::before {
  content: "";
  position: absolute;
  top: 44px;
  bottom: -1.5rem;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    var(--accent-cyan),
    var(--accent-magenta)
  );
  opacity: 0.3;
}
.playbook .play-step:last-child .play-rail::before {
  display: none;
}

.play-node {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}
.tone-cyan .play-node {
  color: var(--accent-cyan);
  border-color: var(--border-active);
  box-shadow: 0 0 14px var(--accent-cyan-glow);
}
.tone-magenta .play-node {
  color: var(--accent-magenta);
  border-color: rgba(213, 0, 249, 0.35);
  box-shadow: 0 0 14px rgba(213, 0, 249, 0.22);
}

/* body card */
.play-body {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.play-step:hover .play-body {
  transform: translateX(4px);
}
.play-step:hover .play-node {
  transform: scale(1.08);
}
.tone-cyan:hover .play-body {
  border-color: var(--border-active);
  box-shadow: -4px 0 22px rgba(0, 229, 255, 0.12);
}
.tone-magenta:hover .play-body {
  border-color: rgba(213, 0, 249, 0.35);
  box-shadow: -4px 0 22px rgba(213, 0, 249, 0.12);
}

/* icon chip */
.play-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tone-cyan .play-icon {
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent-cyan);
}
.tone-magenta .play-icon {
  background: rgba(213, 0, 249, 0.1);
  color: var(--accent-magenta);
}
.play-icon .ic {
  width: 22px;
  height: 22px;
}

/* text */
.play-text {
  position: relative;
  z-index: 1;
}
.play-text h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}
.play-text p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* decorative watermark number */
.play-watermark {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  z-index: 0;
}

/* finish cap */
.tone-finish .play-node {
  background: linear-gradient(
    135deg,
    var(--accent-cyan),
    var(--accent-magenta)
  );
  border: none;
  color: var(--text-inverse);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.3);
}
.tone-finish .play-node .ic {
  width: 18px;
  height: 18px;
}
.tone-finish .play-body {
  background: rgba(255, 255, 255, 0.02);
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.15);
}
.tone-finish:hover .play-body {
  transform: translateX(4px);
  border-color: rgba(0, 229, 255, 0.3);
}

/* ============================================================
   SPORTS PAGE  ·  "live broadcast" redesign
   Bet/odds/tip/warn cards restyled; broadcast image system below.
   ============================================================ */
/* Bet types as numbered broadcast "channels" */
.bet-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  counter-reset: bet;
}
.bet-card {
  position: relative;
  padding: 1.2rem 1.3rem 1.2rem 3.7rem;
  counter-increment: bet;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.bet-card::before {
  content: counter(bet, decimal-leading-zero);
  position: absolute;
  left: 1.15rem;
  top: 1.25rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
}
.bet-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    180deg,
    var(--accent-cyan),
    var(--accent-magenta)
  );
  opacity: 0.45;
  transition: opacity 0.3s ease;
}
.bet-card:hover {
  transform: translateX(4px);
  border-color: var(--border-active);
  box-shadow: -4px 0 22px rgba(0, 229, 255, 0.12);
}
.bet-card:hover::after {
  opacity: 1;
}
.bet-card .b-top {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
@media (min-width: 640px) {
  .bet-card .b-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.bet-card h3 {
  color: var(--text-primary);
  font-weight: 600;
}
.bet-card .complexity {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.22);
  color: var(--accent-cyan);
  font-family: "JetBrains Mono", monospace;
  width: fit-content;
}
.bet-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Odds cards — neon top rail + hover lift */
.odds-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) {
  .odds-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.odds-card {
  position: relative;
  padding: 1.5rem 1.3rem 1.3rem;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.odds-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), transparent 80%);
}
.odds-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-active);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.35),
    0 0 22px rgba(0, 229, 255, 0.1);
}
.odds-card h3 {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.odds-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* NBA tips — circular index nodes */
.tip-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.tip-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.tip-row .num {
  flex-shrink: 0;
  width: 1.7rem;
  height: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.28);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-top: 0.05rem;
}
.tip-row span:last-child {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Warning card */
.warn-card {
  padding: 1.6rem 1.6rem 1.6rem 1.8rem;
  border-left: 4px solid var(--accent-magenta);
  background: rgba(213, 0, 249, 0.04);
}
.warn-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.warn-card p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat {
  text-align: center;
}
.stat .v {
  font-family: "JetBrains Mono", monospace;
  font-size: 2.25rem;
  font-weight: 700;
}
@media (min-width: 1024px) {
  .stat .v {
    font-size: 3rem;
  }
}
.stat .l {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.quote-card {
  padding: 1.5rem;
  border-left: 4px solid var(--accent-cyan);
  margin: 2rem 0;
}
.quote-card p.q {
  color: var(--text-primary);
  font-style: italic;
}
.quote-card p.q a {
  color: var(--accent-cyan);
}
.quote-card p.q a:hover {
  text-decoration: underline;
}
.quote-card .by {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: 0.75rem;
}

.principle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .principle-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.principle-card {
  padding: 1.5rem;
}
.principle-card .p-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.principle-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.principle-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.7;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.tl-row {
  display: flex;
  gap: 1.5rem;
}
.tl-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.tl-dot {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: linear-gradient(
    135deg,
    var(--accent-cyan),
    var(--accent-magenta)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-base);
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.tl-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, rgba(0, 229, 255, 0.5), transparent);
  margin-top: 0.5rem;
}
.tl-body {
  padding-bottom: 2rem;
}
.tl-body .yr {
  font-family: "JetBrains Mono", monospace;
  color: var(--accent-cyan);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tl-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0.25rem 0 0.5rem;
}
.tl-body p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.7;
}

.cta-card {
  padding: 2rem;
  text-align: center;
}
.cta-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.cta-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  /* --- Standardized footer spacing scale --- */
  --fs-pad-top: 4rem; /* outer top padding */
  --fs-pad-bottom: 2.5rem; /* outer bottom padding */
  --fs-sep: 2.5rem; /* space around every bordered separator (margin == padding) */
  --fs-stack-gap: 3rem; /* vertical gap between stacked blocks (mobile) */
  --fs-col-gap: 2rem; /* horizontal gap between columns (desktop) */
  --fs-gap: 1rem; /* unified vertical rhythm inside every column (heading / list / items / brand) */
  background-color: var(--bg-void);
  border-top: 1px solid var(--border-subtle);
}
.footer-inner {
  padding-top: var(--fs-pad-top);
  padding-bottom: var(--fs-pad-bottom);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--fs-stack-gap);
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--fs-col-gap);
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 3fr 1fr 1fr 1fr;
  }
}
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--fs-gap);
}
.footer-brand-logo span {
  color: var(--text-primary);
  font-weight: 700;
}
.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: var(--fs-gap);
}
.footer-age {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}
.footer-age .pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  font-weight: 700;
}
.footer-col h4 {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: var(--fs-gap);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--fs-gap);
}
.footer-col a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: color 0.3s;
}
.footer-col a:hover,
.footer-col a:hover .ic {
  color: var(--accent-cyan);
}
.footer-disclaimer {
  margin-top: var(--fs-sep);
  padding-top: var(--fs-sep);
  border-top: 1px solid var(--border-subtle);
}
.fd-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 768px) {
  .fd-top {
    flex-direction: row;
    align-items: center;
  }
}
.fd-top .label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-cyan);
  font-weight: 500;
  font-size: 0.875rem;
}
.fd-top p {
  color: var(--text-secondary);
  font-size: 0.75rem;
  line-height: 1.7;
  max-width: 48rem;
}
@media (min-width: 768px) {
  .fd-top p {
    text-align: right;
  }
}
.fd-bottom {
  margin-top: var(--fs-sep);
  padding-top: var(--fs-sep);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .fd-bottom {
    flex-direction: row;
  }
}
.fd-bottom p {
  color: var(--text-secondary);
  font-size: 0.75rem;
}

/* ============================================================
   Baccarat — full-bleed banner hero
   A wide cinematic photo fills the hero behind a dark scrim,
   distinct from the side-by-side hero media on other pages.
   ============================================================ */
.bac-page-hero {
  min-height: 30rem;
}
.bac-hero-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.bac-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 6, 0.94) 0%,
      rgba(5, 5, 6, 0.78) 38%,
      rgba(5, 5, 6, 0.42) 72%,
      rgba(5, 5, 6, 0.3) 100%
    ),
    linear-gradient(
      0deg,
      var(--bg-base) 1%,
      rgba(5, 5, 6, 0.1) 42%,
      rgba(5, 5, 6, 0.45) 100%
    );
}
/* keep the colour blobs glowing over the photo */
.bac-page-hero .page-hero-bg {
  z-index: 2;
  opacity: 0.45;
  mix-blend-mode: screen;
}
/* lift the text content above image + scrim */
.bac-page-hero .page-hero-inner {
  z-index: 3;
}
/* On narrow screens the left-to-right scrim hides the photo, so
   switch to a top-to-bottom one: image up top, dark behind the text. */
/* keep the hero text legible over the busy photo */
.bac-page-hero h1,
.bac-page-hero .page-hero-sub,
.bac-page-hero .breadcrumb,
.bac-page-hero .eyebrow,
.bac-page-hero .meta-bar {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}
@media (max-width: 819px) {
  .bac-page-hero {
    min-height: 24rem;
  }
  .bac-hero-banner {
    object-position: 68% center;
  }
  .bac-hero-scrim {
    background: linear-gradient(
      180deg,
      rgba(5, 5, 6, 0.4) 0%,
      rgba(5, 5, 6, 0.48) 30%,
      rgba(5, 5, 6, 0.66) 56%,
      rgba(5, 5, 6, 0.84) 84%,
      var(--bg-base) 100%
    );
  }
}

/* ============================================================
   Baccarat — split feature panels (image + insight)
   A deliberately different layout from .editorial-figure:
   instead of a full-width image with a caption bar, the photo
   sits in a framed glass card beside a short insight column,
   alternating left/right down the page (zig-zag editorial).
   ============================================================ */
.bac-split {
  --ring: var(--accent-cyan);
  --ring-soft: rgba(0, 229, 255, 0.4);
  --ring-faint: rgba(0, 229, 255, 0.14);
  --ring-sweep: rgba(0, 229, 255, 0.22);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  margin: 2.5rem 0 0.25rem;
}
.bac-split.tone-magenta {
  --ring: var(--accent-magenta);
  --ring-soft: rgba(213, 0, 249, 0.42);
  --ring-faint: rgba(213, 0, 249, 0.15);
  --ring-sweep: rgba(213, 0, 249, 0.2);
}

/* Framed image card — full colour, accent ring, hover zoom */
.bac-split-media {
  position: relative;
  aspect-ratio: 4 / 3;
  min-width: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.5);
  isolation: isolate;
}
.bac-split-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px var(--ring-soft),
    inset 0 0 2.75rem var(--ring-faint);
}
.bac-split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(135deg, var(--ring-sweep), transparent 42%);
  mix-blend-mode: screen;
}
.bac-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.bac-split-media:hover img {
  transform: scale(1.04);
}

/* Insight text column */
.bac-split-body {
  position: relative;
  min-width: 0;
}
.bac-fig-index {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--ring);
  margin-bottom: 0.85rem;
}
.bac-fig-index::after {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--ring), transparent);
}
.bac-split-body h3 {
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}
.bac-split-body p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
}
.bac-chiprow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.1rem;
}
.bac-chiprow span {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  padding: 0.26rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-secondary);
}

@media (min-width: 820px) {
  .bac-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem;
  }
  .bac-split.reverse .bac-split-media {
    order: 2;
  }
  .bac-split.reverse .bac-split-body {
    order: 1;
  }
}

/* ============================================================
   SPORTS — broadcast image system
   A third, distinct photo layout (NOT .editorial-figure's
   caption-below, NOT .bac-split's text-beside): cinematic photos
   wear a TV-broadcast skin — neon tally bar, a pulsing LIVE cue,
   and a lower-third caption laid OVER the image.
   ============================================================ */

/* ---- Hero: full-bleed arena, bottom-anchored lower-third ---- */
.sp-page-hero {
  min-height: 34rem;
  align-items: flex-end;
}
/* Banner starts BELOW the fixed nav (64px / 80px) so the photo never
   sits behind the header; its top edge fades into the dark header band. */
.sp-hero-banner {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  height: calc(100% - 64px);
  z-index: 0;
  width: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.sp-hero-scrim {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, var(--bg-base), transparent 14%),
    radial-gradient(
      115% 80% at 78% 12%,
      rgba(0, 229, 255, 0.16),
      transparent 55%
    ),
    linear-gradient(
      0deg,
      var(--bg-base) 1%,
      rgba(5, 5, 6, 0.72) 28%,
      rgba(5, 5, 6, 0.26) 58%,
      rgba(5, 5, 6, 0.42) 100%
    );
}
@media (min-width: 1024px) {
  .sp-hero-banner {
    top: 80px;
    height: calc(100% - 80px);
  }
  .sp-hero-scrim {
    top: 80px;
  }
}
.sp-page-hero .page-hero-bg {
  z-index: 2;
  opacity: 0.5;
  mix-blend-mode: screen;
}
.sp-page-hero .page-hero-inner {
  z-index: 3;
  padding-block: 3rem 3.25rem;
}

/* ---- Broadcast frame (the distinct in-content photo layout) ---- */
.sp-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.5);
  margin: 2.5rem 0 0.5rem;
}
.sp-frame.wide {
  aspect-ratio: 16 / 7;
}
.sp-frame.tall {
  aspect-ratio: 3 / 4;
}
@media (max-width: 640px) {
  .sp-frame.wide {
    aspect-ratio: 4 / 3;
  }
}
.sp-frame > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sp-frame:hover > img {
  transform: scale(1.045);
}
/* neon tally bar */
.sp-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 3;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
}
/* legibility scrim + cyan sweep */
.sp-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      0deg,
      rgba(5, 5, 6, 0.92) 1%,
      rgba(5, 5, 6, 0.28) 44%,
      transparent 70%
    ),
    linear-gradient(125deg, rgba(0, 229, 255, 0.16), transparent 42%);
}
.sp-frame.tone-magenta::after {
  background:
    linear-gradient(
      0deg,
      rgba(5, 5, 6, 0.92) 1%,
      rgba(5, 5, 6, 0.28) 44%,
      transparent 70%
    ),
    linear-gradient(125deg, rgba(213, 0, 249, 0.18), transparent 42%);
}

/* lower-third: caption laid over the photo */
.sp-lower {
  position: absolute;
  z-index: 4;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.sp-lower h3 {
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--text-primary);
  max-width: 32rem;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.7);
}
@media (max-width: 560px) {
  .sp-lower {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .sp-lower h3 {
    font-size: 0.92rem;
  }
}

/* ---- NBA "court" split: tall action tile + tips card ---- */
.sp-court {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 0.5rem;
}
.sp-court .sp-frame {
  margin: 0;
}
@media (min-width: 860px) {
  .sp-court {
    grid-template-columns: 0.82fr 1.18fr;
    gap: 2rem;
    align-items: start;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track {
    animation: none;
  }
}

/* ---------- 本月推薦娛樂城 (recommendation block, server-rendered) ---------- */
.rec-casino {
  padding: 5rem 0;
  border-top: 1px solid var(--border-subtle);
}
.rec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.rec-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.rec-head .eyebrow svg {
  width: 15px;
  height: 15px;
}
.rec-head h2 {
  margin: 0.4rem 0 0.35rem;
}
.rec-head p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
  max-width: 48ch;
}
.rec-alllink {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: gap 0.25s ease;
}
.rec-alllink:hover {
  gap: 0.7rem;
}
.rec-alllink svg {
  width: 16px;
  height: 16px;
}
.rec-note {
  margin-top: 1.75rem;
  font-size: 0.72rem;
  color: var(--text-secondary);
  opacity: 0.75;
  line-height: 1.6;
}
