/* ==========================================================================
   CrazySpin.us — public design system (01_DESIGN_ELEMENTS.md)
   Light UI · vivid purple/pink/orange/cyan · Outfit + DM Sans · 3D-style depth
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #FCFAFF;
  --surface: #FFFFFF;
  --surface-soft: #F4EFFF;
  --ink: #21143F;
  --ink-2: #3B2E5C;
  --muted: #716987;
  --primary: #6B28FA;
  --primary-600: #5A18E6;
  --primary-700: #4A12C2;
  --pink: #FF4B87;
  --orange: #FFAE36;
  --cyan: #16C8E0;
  --green: #12A150;
  --border: #E7E0F3;
  --plum: #21143F;
  --plum-2: #170C30;
  --shadow-soft: 0 22px 48px rgba(65, 25, 120, .10);
  --shadow-sm: 0 6px 18px rgba(65, 25, 120, .08);
  --shadow-lift: 0 30px 60px rgba(65, 25, 120, .18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --container: 1220px;
  --gutter: 24px;
  --section-y: 92px;
  --grad-brand: linear-gradient(120deg, #6B28FA 0%, #B53BEA 38%, #FF4B87 68%, #FFAE36 100%);
  --grad-primary: linear-gradient(135deg, #7B3BFF 0%, #6B28FA 50%, #5414E0 100%);
  --font-display: 'Outfit', 'Trebuchet MS', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --focus: 0 0 0 3px #fff, 0 0 0 6px var(--primary);
  --header-h: 72px;
}
@media (max-width: 1023px) { :root { --section-y: 64px; } }
@media (max-width: 639px)  { :root { --section-y: 50px; --gutter: 20px; --header-h: 64px; } }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--primary-700); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-weight: 900; }
h2 { font-weight: 800; }
h3 { font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }
::selection { background: #E3D5FF; color: var(--ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; transition: top .15s; }
.skip-link:focus { top: 12px; color: #fff; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: -.2em; }
.grad-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

/* ---------- 3. Buttons & chips ---------- */
.btn {
  --btn-bg: var(--grad-primary); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 24px; border-radius: var(--radius-pill); border: 0;
  background: var(--btn-bg); color: var(--btn-fg); font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; position: relative; isolation: isolate;
  box-shadow: 0 10px 24px rgba(107, 40, 250, .28), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(107, 40, 250, .34), inset 0 1px 0 rgba(255,255,255,.25); }
.btn:active { transform: scale(.98); transition-duration: .1s; }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn-secondary { --btn-bg: var(--surface); --btn-fg: var(--ink); box-shadow: inset 0 0 0 2px var(--border), var(--shadow-sm); }
.btn-secondary:hover { box-shadow: inset 0 0 0 2px #CDBDF2, var(--shadow-soft); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--ink); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--primary); box-shadow: none; padding: 0 12px; }
.btn-ghost:hover { box-shadow: none; background: var(--surface-soft); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .92rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }

.chip {
  display: inline-flex; align-items: center; gap: .45em; padding: 6px 14px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--border); font-size: .88rem; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), border-color .2s;
}
.chip .icon { color: var(--primary); }
.chip:hover { transform: translateY(-1px); border-color: #D7C8F7; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--primary);
  background: #EFE6FF; padding: 6px 12px; border-radius: var(--radius-pill); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-brand); }
.badge {
  display: inline-flex; align-items: center; gap: .35em; padding: 4px 10px; border-radius: var(--radius-pill);
  font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; line-height: 1.4;
  background: var(--ink); color: #fff;
}
.badge-hot { background: linear-gradient(135deg, #FF6A3D, #FF4B87); }
.badge-trending { background: linear-gradient(135deg, #16C8E0, #3A8BFF); }
.badge-popular { background: linear-gradient(135deg, #8F55FF, #6B28FA); }
.badge-new { background: linear-gradient(135deg, #12A150, #16C8A0); }
.badge-vip { background: linear-gradient(135deg, #FFAE36, #FF7A2F); color: #2B1500; }
.tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--radius-pill); background: var(--surface-soft); color: var(--ink-2); font-size: .78rem; font-weight: 600; }
.disclosure { display: inline-flex; align-items: center; gap: .35em; font-size: .78rem; font-weight: 600; color: var(--muted); }
.disclosure .icon { width: 1em; height: 1em; }

/* ---------- 4. Announcement ---------- */
.announce { background: var(--plum); color: #F3EDFF; font-size: .9rem; position: relative; z-index: 60; }
.announce .container { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 42px; padding-top: 6px; padding-bottom: 6px; text-align: center; }
.announce a { color: #fff; font-weight: 700; }
.announce-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 174, 54, .25); flex: none; }
.announce-close { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: #CFC4EA; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.announce-close:hover { color: #fff; background: rgba(255,255,255,.08); }
.announce[hidden] { display: none; }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(231, 224, 243, .8); transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(65, 25, 120, .08); }
@media (prefers-reduced-transparency: reduce) { .site-header { background: #fff; backdrop-filter: none; } }
.header-inner { display: flex; align-items: center; gap: 24px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 40px; height: 42px; }
.brand-word { font-family: var(--font-display); font-weight: 900; font-size: 1.55rem; letter-spacing: -.03em; line-height: 1; }
.brand-word span { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand:hover { color: var(--ink); }
.nav-primary { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px; border-radius: var(--radius-pill);
  color: var(--ink-2); font-weight: 600; font-size: .95rem; text-decoration: none; background: none; border: 0; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--surface-soft); color: var(--primary); }
.nav-link[aria-current="page"] { color: var(--primary); background: #EFE6FF; }
.nav-link .icon { width: 1em; height: 1em; transition: transform .2s; }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-soft);
}
.dropdown[hidden] { display: none; }
.dropdown a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--ink-2); text-decoration: none; font-weight: 600; }
.dropdown a:hover { background: var(--surface-soft); color: var(--primary); }
.header-cta { flex: none; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; place-items: center; color: var(--ink); }
@media (max-width: 1023px) {
  .nav-primary, .header-cta { display: none; }
  .menu-toggle { display: grid; }
}

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer[hidden] { display: none; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(23, 12, 48, .45); animation: fadeIn .2s; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); background: var(--surface);
  padding: 18px 20px 28px; overflow-y: auto; box-shadow: -20px 0 60px rgba(23, 12, 48, .25); animation: slideIn .25s var(--ease);
  display: flex; flex-direction: column;
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer-close { width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; display: grid; place-items: center; }
.drawer-nav { list-style: none; margin: 0; padding: 0; }
.drawer-nav a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 14px; border-radius: var(--radius-md); color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.drawer-nav a:hover, .drawer-nav a[aria-current="page"] { background: var(--surface-soft); color: var(--primary); }
.drawer-nav ul { list-style: none; padding: 0 0 0 14px; margin: 0; }
.drawer-nav ul a { font-size: 1rem; font-weight: 600; min-height: 44px; }
.drawer-foot { margin-top: auto; padding-top: 20px; display: grid; gap: 10px; }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
body.no-scroll { overflow: hidden; }

/* ---------- 6. Sections & headings ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.section-soft { background: var(--surface-soft); }
.section-dark { background: var(--plum); color: #E9E2FA; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head-text { max-width: 680px; }
.section-title { font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: .3em; }
.section-sub { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-dark .section-sub { color: #BDB1DA; }
.section-dark .eyebrow { background: rgba(255,255,255,.08); color: #E3D5FF; }
.link-more { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; min-height: 44px; }
.link-more:hover .icon { transform: translateX(3px); }
.link-more .icon { transition: transform .2s var(--ease); }

/* ---------- 7. Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(42% 52% at 82% 34%, rgba(255, 75, 135, .20), transparent 70%),
    radial-gradient(38% 48% at 62% 78%, rgba(22, 200, 224, .18), transparent 70%),
    radial-gradient(40% 50% at 96% 90%, rgba(255, 174, 54, .20), transparent 70%),
    radial-gradient(50% 60% at 10% 10%, rgba(107, 40, 250, .10), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(107, 40, 250, .16) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-title { font-size: clamp(3.2rem, 6vw, 5.5rem); line-height: 1.0; letter-spacing: -.035em; margin-bottom: 22px; }
.hero-title .grad-text { display: inline; padding-bottom: .06em; }
.hero-sub { font-size: 1.18rem; color: var(--ink-2); max-width: 560px; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.hero-art { position: relative; aspect-ratio: 1 / .95; perspective: 1100px; }
.hero-art .stage { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(6deg) rotateY(-10deg); }
.hero-art .glow { position: absolute; inset: 12% 8% 8% 14%; border-radius: 50%; background: conic-gradient(from 200deg, #6B28FA, #FF4B87, #FFAE36, #16C8E0, #6B28FA); filter: blur(60px); opacity: .35; }
.hero-art .disc { position: absolute; left: 14%; right: 10%; bottom: 6%; height: 18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(107,40,250,.25), rgba(107,40,250,.0)); transform: translateZ(-40px); }
.layer { position: absolute; will-change: transform; filter: drop-shadow(0 24px 30px rgba(58, 28, 122, .22)); }
.layer img { width: 100%; height: auto; }
.l-cabinet { width: 56%; left: 22%; top: 6%; transform: translateZ(40px); }
.l-wheel  { width: 27%; right: 0%; top: 4%; transform: translateZ(90px) rotate(8deg); }
.l-coin1  { width: 15%; left: 6%; top: 16%; transform: translateZ(120px); }
.l-coin2  { width: 10%; right: 12%; bottom: 26%; transform: translateZ(140px) rotate(-18deg); }
.l-dice   { width: 18%; left: 2%; bottom: 18%; transform: translateZ(100px) rotate(-8deg); }
.l-chip   { width: 22%; right: 2%; bottom: 6%; transform: translateZ(110px); }
.l-card   { width: 16%; left: 12%; top: 52%; transform: translateZ(70px) rotate(-16deg); }
.l-ball   { width: 11%; right: 26%; top: 0%; transform: translateZ(130px); }
.l-spark1 { width: 8%; left: 28%; top: 0; transform: translateZ(150px); filter: none; }
.l-spark2 { width: 6%; right: 6%; top: 44%; transform: translateZ(150px); filter: none; }
.float { animation: float 6s ease-in-out infinite; }
.float.d1 { animation-duration: 5s; animation-delay: -1.2s; }
.float.d2 { animation-duration: 7s; animation-delay: -2.4s; }
.float.d3 { animation-duration: 4.6s; animation-delay: -.6s; }
.float.d4 { animation-duration: 6.4s; animation-delay: -3.1s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
.twinkle { animation: twinkle 3.4s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { scale: 1; opacity: 1; } 50% { scale: .75; opacity: .7; } }
.hero-art.is-paused, .hero-art.is-paused *, .is-paused .float, .is-paused .twinkle { animation-play-state: paused !important; }
.l-spark3 { width: 7%; left: 44%; bottom: 10%; transform: translateZ(150px); filter: none; }
.twinkle.d2 { animation-delay: -1.1s; animation-duration: 2.8s; }
.twinkle.d4 { animation-delay: -2.2s; animation-duration: 3.9s; }

/* Hero motion: headline words rise in, highlight shimmers, swoosh draws, rest fades up */
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .2em; margin-bottom: -.2em; }
.hero-title .wi { display: inline-block; animation: wordUp .9s var(--ease) both; animation-delay: calc(.12s + var(--i, 0) * .09s); }
@keyframes wordUp { from { transform: translateY(105%) rotate(6deg); opacity: 0; } to { transform: none; opacity: 1; } }
.hero-title .hl-last { position: relative; display: inline-block; }
.hero-title .hl .wi {
  background: linear-gradient(100deg, #6B28FA 0%, #B53BEA 22%, #FF4B87 44%, #FFAE36 62%, #FF4B87 80%, #6B28FA 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: wordUp .9s var(--ease) both, gradPan 6s linear infinite;
  animation-delay: calc(.12s + var(--i, 0) * .09s), 1s;
}
@keyframes gradPan { from { background-position: 0% 50%; } to { background-position: -250% 50%; } }
.hl-swoosh { position: absolute; left: 0; right: 0; bottom: -.12em; width: 100%; height: .28em; overflow: visible; pointer-events: none; }
.hl-swoosh path { fill: none; stroke: var(--pink); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawLine 1s .95s var(--ease) forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.hero-in { animation: fadeUp .8s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-in-art { animation: artIn 1.1s .2s var(--ease) both; }
@keyframes artIn { from { opacity: 0; transform: scale(.9) translateY(24px); } to { opacity: 1; transform: none; } }
.hero .eyebrow::before { animation: dotPulse 1.8s ease-in-out infinite; }
@keyframes dotPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 75, 135, .55); } 50% { box-shadow: 0 0 0 6px rgba(255, 75, 135, 0); } }
.btn-shine { position: relative; overflow: hidden; isolation: isolate; }
.btn-shine::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); animation: shine 4s 2s ease-in-out infinite; }
@keyframes shine { 0% { transform: translateX(-120%); } 30%, 100% { transform: translateX(120%); } }
.hero::before { animation: blobDrift 18s ease-in-out infinite alternate; }
@keyframes blobDrift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-3%, 2%, 0) scale(1.06); } }
.hero-art .glow { animation: glowSpin 14s linear infinite; }
@keyframes glowSpin { to { transform: rotate(360deg); } }
.hero-art .stage { transform: rotateX(calc(6deg + var(--tx, 0deg))) rotateY(calc(-10deg + var(--ty, 0deg))); transition: transform .5s var(--ease); }
.coin-flip { animation: coinFlip 4.5s ease-in-out infinite; }
.coin-flip.slow { animation-duration: 6s; animation-delay: -2s; }
@keyframes coinFlip { 0%, 55%, 100% { transform: rotateY(0); } 80% { transform: rotateY(360deg); } }
.chip-spin { animation: chipSpin 9s ease-in-out infinite; }
@keyframes chipSpin { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(40deg); } }
.hero-art-custom { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); }
@media (max-width: 1023px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { max-width: 520px; width: 100%; margin: 0 auto; aspect-ratio: 1 / .82; }
}
@media (max-width: 639px) {
  .hero { padding: 32px 0 44px; }
  .hero-sub { font-size: 1.05rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-art { aspect-ratio: 1 / .78; }
  .l-ball, .l-spark2, .l-card { display: none; }
}

/* ---------- 8. Ticker ---------- */
.ticker { background: var(--plum); color: #EDE6FF; position: relative; overflow: hidden; }
.ticker-inner { display: flex; align-items: center; gap: 12px; min-height: 58px; }
.ticker-label { flex: none; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 800; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); padding-right: 12px; border-right: 1px solid rgba(255,255,255,.12); }
.ticker-viewport { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker 34s linear infinite; }
.ticker-list { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker-list li { display: inline-flex; align-items: center; white-space: nowrap; padding: 0 26px; font-weight: 600; font-size: .95rem; }
.ticker-list li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); margin-left: 52px; margin-right: -26px; }
.ticker-list a { color: #fff; text-decoration: none; }
.ticker-list a:hover { text-decoration: underline; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track, .ticker.is-paused .ticker-track { animation-play-state: paused; }
.ticker-toggle { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; display: grid; place-items: center; }
.ticker-toggle:hover { background: rgba(255,255,255,.14); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 9. Filter tabs ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 28px; }
.tab {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--radius-pill);
  border: 1px solid var(--border); background: var(--surface); color: var(--ink-2); font-weight: 700; font-size: .93rem;
  text-decoration: none; cursor: pointer; transition: all .18s var(--ease);
}
.tab:hover { border-color: #CDBDF2; color: var(--primary); }
.tab[aria-pressed="true"], .tab[aria-current="true"] { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 10px 20px rgba(107, 40, 250, .25); }
.tab .count { font-size: .75rem; opacity: .75; }
.tab .icon { width: 1.05em; height: 1.05em; }

/* ---------- 10. Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1023px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px)  { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s;
  transform-style: preserve-3d;
}
.card:hover { box-shadow: var(--shadow-lift); border-color: #DCCFF6; transform: translateY(-6px); }
.card.tilt:hover { transform: translateY(-6px) perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card-link { text-decoration: none; color: inherit; }
.card-link:focus-visible { box-shadow: none; }
.card:has(.card-link:focus-visible) { box-shadow: var(--focus); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-title { font-size: 1.25rem; margin: 0; }
.card-title a { color: var(--ink); }
.card-text { color: var(--muted); margin: 0; font-size: .95rem; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 6px; }
.card-cta { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; color: var(--primary); font-size: .93rem; }
.card:hover .card-cta .icon { transform: translateX(3px); }
.card-cta .icon { transition: transform .2s var(--ease); }
.card [data-z] { position: relative; z-index: 2; }

/* Platform card */
.p-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-soft); }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .p-media img { transform: scale(1.05); }
.p-media .badge { position: absolute; top: 14px; left: 14px; z-index: 2; box-shadow: 0 6px 14px rgba(0,0,0,.18); }
.p-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.p-brand { font-size: .85rem; color: var(--muted); font-weight: 600; margin: -4px 0 0; }
.platform-card[hidden] { display: none; }

/* Feature (why) card */
.feature { padding: 28px; background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .26s var(--ease), box-shadow .26s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.feature h3 { font-size: 1.25rem; margin: 18px 0 8px; }
.feature p { color: var(--muted); margin: 0; }
.icon-3d {
  width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; color: #fff; position: relative;
  background: var(--g, var(--grad-primary));
  box-shadow: 0 14px 24px -8px var(--gs, rgba(107,40,250,.55)), inset 0 2px 0 rgba(255,255,255,.35), inset 0 -4px 0 rgba(0,0,0,.12);
  transform: perspective(300px) rotateX(10deg) rotateY(-10deg);
}
.icon-3d .icon { width: 28px; height: 28px; stroke-width: 2.2; }
.icon-3d.c-pink { --g: linear-gradient(135deg, #FF7AA8, #FF4B87 60%, #E5306E); --gs: rgba(255,75,135,.55); }
.icon-3d.c-orange { --g: linear-gradient(135deg, #FFC870, #FFAE36 60%, #F08C00); --gs: rgba(255,174,54,.6); }
.icon-3d.c-cyan { --g: linear-gradient(135deg, #5BE3F2, #16C8E0 60%, #0A9DB4); --gs: rgba(22,200,224,.55); }

/* Offer card */
.offer-card .o-top {
  --o1: #8F55FF; --o2: #6B28FA;
  position: relative; padding: 24px 22px; min-height: 150px; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, var(--o1), var(--o2));
}
.offer-card .o-top::after { content: ""; position: absolute; right: -40px; top: -40px; width: 170px; height: 170px; border-radius: 50%; background: rgba(255,255,255,.14); }
.offer-card .o-top::before { content: ""; position: absolute; right: 40px; bottom: -60px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,.10); }
.theme-gold .o-top   { --o1: #FFC870; --o2: #FF8A2F; }
.theme-cyan .o-top   { --o1: #3FDDEE; --o2: #0E8FD8; }
.theme-purple .o-top { --o1: #9C64FF; --o2: #6B28FA; }
.theme-green .o-top  { --o1: #3BD58A; --o2: #0E9F6E; }
.theme-red .o-top    { --o1: #FF7AA8; --o2: #FF3D6E; }
.o-type { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.o-value { font-family: var(--font-display); font-weight: 900; font-size: 2rem; line-height: 1.05; margin-top: 8px; position: relative; z-index: 1; text-shadow: 0 2px 10px rgba(0,0,0,.12); }
.o-art { position: absolute; right: 18px; bottom: 14px; width: 64px; height: 64px; z-index: 1; filter: drop-shadow(0 10px 16px rgba(0,0,0,.2)); }
.o-meta { display: flex; flex-direction: column; gap: 6px; font-size: .86rem; color: var(--ink-2); }
.o-meta .row { display: flex; align-items: flex-start; gap: 8px; }
.o-meta .icon { color: var(--primary); margin-top: 2px; width: 1.05em; height: 1.05em; }

/* Happy hour tiles */
.hh-tile { padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.hh-tile.is-live { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad-brand) border-box; border: 2px solid transparent; box-shadow: var(--shadow-soft); }
.hh-day { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; }
.hh-time { font-size: 1.05rem; font-weight: 700; color: var(--ink-2); margin: 4px 0 12px; font-variant-numeric: tabular-nums; }
.hh-time abbr { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .85rem; }
.hh-state { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--surface-soft); color: var(--ink-2); }
.hh-state.live { background: #E3F8EC; color: #0C7A3C; }
.hh-state.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 1.8s ease-in-out infinite; }
.hh-state.ended_today { color: var(--muted); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(18,161,80,.5); } 50% { box-shadow: 0 0 0 6px rgba(18,161,80,0); } }
.hh-title { font-weight: 700; margin: 12px 0 0; font-size: .95rem; }
.hh-title a { color: var(--ink); }

/* Category tiles */
.cat-tile {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius-lg); background: var(--surface);
  border: 1px solid var(--border); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s, border-color .22s;
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); color: var(--ink); border-color: #DCCFF6; }
.cat-tile .icon-3d { width: 54px; height: 54px; border-radius: 16px; flex: none; }
.cat-name { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; display: block; }
.cat-count { font-size: .85rem; color: var(--muted); }
.cat-tile .arrow { margin-left: auto; color: var(--primary); transition: transform .2s; }
.cat-tile:hover .arrow { transform: translateX(4px); }

/* Article cards */
.a-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-soft); position: relative; }
.a-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .a-media img { transform: scale(1.04); }
.a-media-fallback { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, #EFE6FF, #FFE3EE 60%, #FFF0D9); }
.a-media-fallback .icon { width: 54px; height: 54px; color: var(--primary); opacity: .6; stroke-width: 1.5; }
.a-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.a-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }
.a-topic { color: var(--primary); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; }
.articles-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; }
.articles-side { display: grid; gap: 22px; }
.article-wide { flex-direction: row; }
.article-wide .a-media { width: 42%; aspect-ratio: auto; flex: none; }
.article-feature .a-media { aspect-ratio: 16 / 9; }
.article-feature .card-title { font-size: 1.6rem; }
@media (max-width: 1023px) { .articles-layout { grid-template-columns: 1fr; } }
@media (max-width: 639px) { .article-wide { flex-direction: column; } .article-wide .a-media { width: 100%; aspect-ratio: 16/10; } }

/* Steps (guides) */
.steps { counter-reset: step; }
.step { position: relative; padding: 30px 26px 26px; background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.step-num { position: absolute; top: -18px; right: 22px; font-family: var(--font-display); font-weight: 900; font-size: 4rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px #DCCFF6; }
.step h3 { font-size: 1.2rem; margin: 18px 0 8px; }
.step p { color: var(--muted); margin: 0; }

/* Testimonials */
.quote { padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px; margin: 0; }
.quote blockquote { margin: 0; font-size: 1.02rem; color: var(--ink-2); }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-family: var(--font-display); overflow: hidden; flex: none; background: var(--primary); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.stars { display: inline-flex; gap: 2px; color: var(--orange); }
.stars .icon { width: 1.05em; height: 1.05em; fill: currentColor; stroke: none; }
.stars .off { color: #E2DAF2; }

/* Cashout gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1023px) { .gallery { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.gallery button { padding: 0; border: 0; background: var(--surface); border-radius: var(--radius-md); overflow: hidden; cursor: zoom-in; text-align: left; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery .cap { display: block; padding: 10px 12px; font-size: .85rem; color: var(--ink-2); }
.lightbox { border: 0; padding: 0; border-radius: var(--radius-lg); max-width: min(900px, 94vw); background: var(--surface); box-shadow: var(--shadow-lift); }
.lightbox::backdrop { background: rgba(23, 12, 48, .7); }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; }
.lightbox .lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; }

/* FAQ accordion */
.faq-list { display: grid; gap: 12px; max-width: 880px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: box-shadow .2s, border-color .2s; }
.faq-item:has([aria-expanded="true"]) { border-color: #DCCFF6; box-shadow: var(--shadow-soft); }
.faq-q { margin: 0; font-size: 1.05rem; }
.faq-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left;
  padding: 18px 22px; min-height: 60px; background: none; border: 0; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; color: var(--ink); border-radius: var(--radius-md);
}
.faq-btn .pm { width: 34px; height: 34px; border-radius: 50%; background: var(--surface-soft); display: grid; place-items: center; color: var(--primary); flex: none; transition: transform .2s var(--ease), background .2s; }
.faq-btn[aria-expanded="true"] .pm { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .2s var(--ease); }
.faq-panel > div { overflow: hidden; }
.faq-panel-inner { padding: 0 22px 20px; color: var(--ink-2); }
.faq-panel-inner p:last-child { margin: 0; }
.js .faq-panel.is-closed { grid-template-rows: 0fr; }
.js .faq-panel.is-closed .faq-panel-inner { visibility: hidden; }

/* Responsible gaming band */
.rg-band { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.age-badge { width: 108px; height: 108px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: 2.2rem; color: #fff; background: radial-gradient(circle at 35% 30%, #FF7AA8, #FF4B87 50%, #C21E5A); box-shadow: 0 18px 40px rgba(255, 75, 135, .35), inset 0 3px 0 rgba(255,255,255,.3); }
.rg-band p { color: #CFC4EA; margin: 0; max-width: 680px; }
.rg-band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.rg-actions { display: flex; flex-direction: column; gap: 10px; }
.rg-help { font-weight: 700; color: #fff; }
@media (max-width: 1023px) { .rg-band { grid-template-columns: 1fr; text-align: left; } .rg-actions { flex-direction: row; flex-wrap: wrap; } }

/* Empty / error state */
.empty { text-align: center; padding: 48px 24px; background: var(--surface); border: 1px dashed #D7C8F7; border-radius: var(--radius-lg); }
.empty .icon-3d { margin: 0 auto 16px; }
.empty h2, .empty h3 { font-size: 1.35rem; margin-bottom: 6px; }
.empty p { color: var(--muted); max-width: 520px; margin: 0 auto 16px; }

/* ---------- 11. Interior pages ---------- */
.page-hero { position: relative; overflow: hidden; padding: 40px 0 48px; background: linear-gradient(180deg, #F4EFFF 0%, var(--bg) 100%); isolation: isolate; }
.page-hero::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 160%; z-index: -1; background: radial-gradient(closest-side, rgba(255,75,135,.16), transparent), radial-gradient(closest-side at 30% 70%, rgba(22,200,224,.14), transparent); }
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); margin: 10px 0 12px; }
.page-hero .lead { font-size: 1.12rem; color: var(--ink-2); max-width: 720px; margin: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: .88rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--primary); }
.crumbs [aria-current] { color: var(--ink-2); font-weight: 600; }

.toolbar { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 24px; }
.search { position: relative; flex: 1 1 320px; max-width: 460px; }
.search input { width: 100%; min-height: 50px; padding: 0 120px 0 46px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm); font-size: 1rem; }
.search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(107,40,250,.15); }
.search > .icon { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search .btn { position: absolute; right: 4px; top: 4px; min-height: 42px; }
.result-count { color: var(--muted); font-size: .92rem; margin: 0; }

.pagination { display: flex; justify-content: center; margin-top: 44px; }
.pagination ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); text-decoration: none; color: var(--ink-2); font-weight: 700; }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination [aria-current="page"] { background: var(--primary); color: #fff; border-color: var(--primary); }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
@media (max-width: 1023px) { .detail-grid { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.panel + .panel { margin-top: 20px; }
.panel h2 { font-size: 1.2rem; margin-bottom: 14px; }
.sticky-aside { position: sticky; top: calc(var(--header-h) + 20px); }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.facts li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: .94rem; }
.facts li:last-child { border-bottom: 0; }
.facts span:first-child { color: var(--muted); }
.facts span:last-child { font-weight: 700; text-align: right; }
.notice { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--radius-md); background: #FFF6E6; border: 1px solid #FFE0AD; color: #6B4300; font-size: .94rem; }
.notice .icon { color: #E08A00; margin-top: 3px; }
.notice.info { background: #EEF9FC; border-color: #C3EEF5; color: #0B5563; }
.notice.info .icon { color: #0A9DB4; }
.notice p { margin: 0; }
.detail-hero { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; }
.detail-hero .p-media { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
@media (max-width: 639px) { .detail-hero { grid-template-columns: 1fr; } }
.ext-cta { display: grid; gap: 10px; }
.age-locked { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); background: var(--surface-soft); padding: 14px; border-radius: var(--radius-md); }

/* Prose (CMS rich text) */
.prose { max-width: 70ch; font-size: 1.06rem; color: var(--ink-2); }
.prose h2 { font-size: 1.75rem; margin: 1.8em 0 .55em; }
.prose h3 { font-size: 1.3rem; margin: 1.5em 0 .5em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--primary); }
.prose blockquote { margin: 1.5em 0; padding: 14px 22px; border-left: 4px solid var(--pink); background: var(--surface-soft); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.prose img { border-radius: var(--radius-md); margin: 1.5em 0; }
.prose pre { background: var(--plum); color: #F3EDFF; padding: 16px; border-radius: var(--radius-md); overflow-x: auto; font-size: .9rem; }
.prose code { background: var(--surface-soft); padding: 2px 6px; border-radius: 6px; font-size: .92em; }
.prose pre code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; margin: 1.5em 0; border: 1px solid var(--border); border-radius: var(--radius-md); }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--border); text-align: left; vertical-align: top; min-width: 90px; }
/* CMS tables have no <th>; style the first row as the header row. */
.prose tr:first-child > td, .prose th { background: var(--surface-soft); color: var(--ink); font-weight: 700; }
.prose tr:nth-child(even):not(:first-child) > td { background: #FCFAFF; }
.prose .ql-align-center { text-align: center; } .prose .ql-align-right { text-align: right; }
.prose a[target="_blank"]::after { content: " ↗"; font-size: .85em; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: start; }
@media (max-width: 1023px) { .article-layout { grid-template-columns: 1fr; } .toc-aside { order: -1; } }
.article-hero-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); margin: 0 0 36px; aspect-ratio: 16 / 9; }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
/* Blog post: hero image sits in the article column, meta bar right under it */
.post-hero-img { margin: 0; width: 100%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 16 / 9; max-height: 440px; background: var(--surface-soft); }
.post-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.post-meta { list-style: none; margin: 14px 0 32px; padding: 12px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); font-size: .9rem; color: var(--muted); }
.post-meta.no-img { margin-top: 0; }
.post-meta li { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.post-meta li + li { position: relative; }
.post-meta li + li::before { content: ""; position: absolute; left: -11px; top: 50%; width: 1px; height: 16px; transform: translateY(-50%); background: var(--border); }
.post-meta .icon { width: 17px; height: 17px; color: var(--primary); }
.post-meta strong { color: var(--ink); }
.post-meta a { color: var(--primary); font-weight: 600; text-decoration: none; }
.post-meta a:hover { text-decoration: underline; }
.pm-lbl { color: var(--muted); }
.pm-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
@media (max-width: 519px) { .post-meta { gap: 8px 16px; } .post-meta li + li::before { display: none; } .pm-lbl { display: none; } }
.byline { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: var(--muted); font-size: .92rem; margin-top: 18px; }
.byline strong { color: var(--ink); }
/* Blog post sidebar: categories with counts + tag cloud */
.post-aside { min-width: 0; }
.cat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cat-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-size: .93rem; font-weight: 600; transition: background .2s, color .2s; }
.cat-list a > span:first-child { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.cat-list .icon { width: 16px; height: 16px; color: var(--primary); }
.cat-list a:hover, .cat-list a.is-current { background: var(--surface-soft); color: var(--primary); }
.cat-count { flex: none; min-width: 26px; padding: 2px 8px; border-radius: 999px; background: var(--surface-soft); color: var(--primary); font-size: .78rem; font-weight: 800; text-align: center; }
.cat-list a:hover .cat-count, .cat-list a.is-current .cat-count { background: var(--primary); color: #fff; }
.tag-cloud { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tag-cloud a { display: inline-block; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--ink-2); text-decoration: none; font-weight: 600; line-height: 1.3; transition: all .2s; }
.tag-cloud a.w1 { font-size: .8rem; } .tag-cloud a.w2 { font-size: .88rem; } .tag-cloud a.w3 { font-size: .97rem; } .tag-cloud a.w4 { font-size: 1.06rem; font-weight: 700; }
.tag-cloud a:hover { border-color: var(--primary); color: var(--primary); background: var(--surface-soft); }
.tag-cloud a.is-current { background: var(--primary); border-color: var(--primary); color: #fff; }
.toc { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .93rem; }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; border-left: 2px solid var(--border); }
.toc a:hover, .toc a.is-active { color: var(--primary); background: var(--surface-soft); border-left-color: var(--primary); }
.toc .lvl-3 a { padding-left: 22px; font-size: .88rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* Engagement */
/* Author bio box (between the article and the like/rating panel) */
.author-box { display: flex; gap: 20px; align-items: flex-start; margin: 40px 0 0; padding: 22px 24px; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.author-box + .engage { margin-top: 20px; }
.author-avatar { width: 84px; height: 84px; flex: none; border-radius: 50%; overflow: hidden; background: var(--grad-primary); display: grid; place-items: center; color: #fff; font-family: var(--font-display, inherit); font-weight: 800; font-size: 1.6rem; box-shadow: 0 0 0 4px var(--surface-soft); }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-info { min-width: 0; }
.author-kicker { margin: 0; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.author-name { margin: 2px 0 0; font-size: 1.2rem; }
.author-role { margin: 2px 0 0; font-size: .88rem; color: var(--muted); font-weight: 600; }
.author-bio { margin: 10px 0 0; font-size: .95rem; color: var(--ink-2); line-height: 1.6; }
.author-links { list-style: none; margin: 12px 0 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.author-links a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-soft); color: var(--primary); transition: background .2s, color .2s, transform .2s; }
.author-links a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.author-links .icon { width: 17px; height: 17px; }
@media (max-width: 519px) { .author-box { flex-direction: column; align-items: center; text-align: center; padding: 20px 18px; } .author-links { justify-content: center; } }
.engage { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 18px 20px; border-radius: var(--radius-lg); background: var(--surface-soft); margin: 40px 0; }
.like-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--surface); cursor: pointer; font-weight: 700; }
.like-btn[aria-pressed="true"] { color: var(--pink); border-color: #FFC2D6; }
.like-btn[aria-pressed="true"] .icon { fill: currentColor; }
.rating { display: inline-flex; align-items: center; gap: 4px; border: 0; padding: 0; margin: 0; }
.rating legend { float: left; margin-right: 8px; font-weight: 700; font-size: .92rem; }
.rating button { width: 40px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: #D9CFF0; padding: 0; }
.rating button .icon { width: 26px; height: 26px; fill: currentColor; stroke: none; }
.rating button.on { color: var(--orange); }
.rating-sum { font-size: .9rem; color: var(--muted); }
.comments h2 { font-size: 1.5rem; }
.comment { padding: 18px 0; border-top: 1px solid var(--border); }
.comment .who { font-weight: 700; } .comment .when { color: var(--muted); font-size: .85rem; margin-left: 8px; }
.comment .staff { font-size: .72rem; background: #EFE6FF; color: var(--primary); padding: 2px 8px; border-radius: 999px; margin-left: 6px; font-weight: 800; }
.comment p { margin: 6px 0 0; white-space: pre-wrap; }
.comment .replies { margin: 12px 0 0 22px; border-left: 2px solid var(--border); padding-left: 16px; }
.form { display: grid; gap: 14px; max-width: 640px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 639px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--surface); font-size: 1rem; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(107,40,250,.15); }
.field .err { color: #C21E5A; font-size: .86rem; margin-top: 4px; }
.field [aria-invalid="true"] { border-color: #E5306E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 12px 16px; border-radius: var(--radius-md); font-weight: 600; }
.form-msg.ok { background: #E3F8EC; color: #0C7A3C; } .form-msg.bad { background: #FFE8EF; color: #A3164A; }

/* ---------- 12. Footer ---------- */
.site-footer { background: var(--plum-2); color: #BDB1DA; padding: 72px 0 28px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: -10%; top: -60%; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(107,40,250,.35), transparent); pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; position: relative; }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer .brand { color: #fff; }
.site-footer .brand:hover { color: #fff; }
.footer-about { margin: 16px 0 20px; max-width: 360px; }
.footer-title { font-family: var(--font-display); color: #fff; font-weight: 800; font-size: 1rem; margin: 0 0 14px; letter-spacing: .02em; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-links a, .footer-links button { color: #CFC4EA; text-decoration: none; display: inline-flex; align-items: center; min-height: 36px; background: none; border: 0; padding: 0; cursor: pointer; font-size: .96rem; }
.footer-links a:hover, .footer-links button:hover { color: #fff; text-decoration: underline; }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #fff; border: 1px solid rgba(255,255,255,.1); transition: background .2s, transform .2s; }
.social a:hover { background: var(--primary); transform: translateY(-2px); color: #fff; }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: grid; gap: 12px; font-size: .86rem; position: relative; }
.footer-legal .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-legal a { color: #fff; }
.age-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(255,75,135,.16); color: #FFB3CB; font-weight: 800; font-size: .8rem; }

/* ---------- 13. Floating support, consent, age gate ---------- */
.support-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px;
  border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 18px 40px rgba(33, 20, 63, .35);
  transition: transform .2s var(--ease);
}
.support-fab:hover { color: #fff; transform: translateY(-3px); }
.support-fab .bubble { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-brand); }
@media (max-width: 639px) { .support-fab .label { display: none; } .support-fab { padding: 0 11px; } }

.consent { position: fixed; left: 20px; bottom: 20px; z-index: 90; max-width: 440px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); padding: 22px; }
.consent[hidden] { display: none; }
.consent h2 { font-size: 1.1rem; margin-bottom: 6px; }
.consent p { font-size: .92rem; color: var(--ink-2); margin-bottom: 14px; }
.consent .actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 639px) { .consent { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

.age-gate { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(23, 12, 48, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.age-gate[hidden] { display: none; }
.age-card { width: min(520px, 100%); background: var(--surface); border-radius: 28px; box-shadow: var(--shadow-lift); padding: 34px 30px 28px; text-align: center; position: relative; overflow: hidden; }
.age-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--grad-brand); }
.age-card .age-badge { margin: 0 auto 18px; width: 92px; height: 92px; font-size: 1.9rem; }
.age-card h2 { font-size: 1.7rem; }
.age-card p { color: var(--ink-2); font-size: .98rem; }
.age-card .actions { display: grid; gap: 10px; margin-top: 20px; }
.age-card .fine { font-size: .8rem; color: var(--muted); margin: 16px 0 0; }

/* ---------- 14. Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .06s !important; } .reveal-delay-2 { transition-delay: .12s !important; } .reveal-delay-3 { transition-delay: .18s !important; }

/* Skeleton (only while loading) */
.skeleton { background: linear-gradient(90deg, #F1ECFA 25%, #F8F5FD 37%, #F1ECFA 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: 8px; min-height: 1em; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* 404 */
.notfound { text-align: center; padding: 80px 0; }
.notfound .big { font-family: var(--font-display); font-weight: 900; font-size: clamp(6rem, 18vw, 11rem); line-height: 1; letter-spacing: -.05em; }

/* ---------- 15. Reduced motion: no autoplay loops, tilt, parallax or reveals ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .float, .twinkle, .ticker-track, .hh-state.live::before { animation: none !important; }
  .hero-title .wi, .hero-in, .hero-in-art, .coin-flip, .chip-spin, .hero-art .glow, .hero::before, .btn-shine::after, .hero .eyebrow::before { animation: none !important; }
  .hl-swoosh path { animation: none !important; stroke-dashoffset: 0; }
  .ticker-viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .ticker-track .ticker-list[aria-hidden="true"] { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .card:hover, .card.tilt:hover, .feature:hover, .cat-tile:hover, .btn:hover { transform: none; }
  .hero-art .stage { transform: none; }
}

/* ---------- 16. Print ---------- */
@media print {
  .site-header, .site-footer, .announce, .ticker, .support-fab, .consent, .age-gate, .hero-art { display: none !important; }
  body { background: #fff; }
}

/* Public page completion: readable spacing and narrow-screen containment. */
.featured-article { margin-bottom: 28px; }
/* Blog listing: 2 cards per row, image left / details right */
.a-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.a-rows > .empty { grid-column: 1 / -1; }
.a-row { flex-direction: row; }
.a-row .a-media { width: 40%; flex: none; aspect-ratio: auto; min-height: 220px; }
.a-row .a-media img { position: absolute; inset: 0; }
.a-row .card-body { padding: 18px 20px; gap: 8px; min-width: 0; }
.a-row .card-title { font-size: 1.12rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.a-row .card-text { font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.a-badge { position: absolute; top: 10px; left: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; background: var(--grad-primary, var(--primary)); color: #fff; font-size: .72rem; font-weight: 700; box-shadow: 0 6px 14px rgba(107,40,250,.3); }
.a-badge .icon { width: 12px; height: 12px; fill: currentColor; }
.a-stats { list-style: none; margin: auto 0 0; padding: 10px 0 0; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; color: var(--muted); }
.a-stats li { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.a-stats li:first-child span { max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a-stats .icon { width: 15px; height: 15px; color: var(--primary); }
.a-stats .a-rating .icon { color: var(--orange, #FFAE36); fill: currentColor; }
.a-stats .muted { color: var(--muted); opacity: .85; }
@media (max-width: 859px) { .a-rows { grid-template-columns: 1fr; } }
@media (max-width: 519px) {
  .a-row { flex-direction: column; }
  .a-row .a-media { width: 100%; min-height: 0; aspect-ratio: 16 / 9; }
}
.detail-grid + h2, .article-layout + h2, .grid + h2 { margin-top: 48px; }
.prose + h2 { margin-top: 36px; }
.container, .detail-grid > *, .article-layout > * { min-width: 0; }
h1, h2, h3, .prose, .notice { overflow-wrap: anywhere; }
@media (max-width: 639px) { .rating { flex-wrap: wrap; } .section .tags { gap: 8px; } }

/* Reference-site feature layouts, in CrazySpin's public design system. */
.directory-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 40px 0 12px; padding: 25px; border: 1px solid var(--border); border-radius: 24px; background: rgba(255,255,255,.85); box-shadow: var(--shadow-soft); gap: 20px; }
.directory-stats > div { display: flex; flex-direction: column-reverse; border-right: 1px solid var(--border); }
.directory-stats > div:last-child { border: 0; }
.directory-stats dt { font-weight: 600; color: var(--muted); font-size: .9rem; }
.directory-stats dd { font: 800 2.5rem var(--font-display); color: var(--primary); margin: 0; }
#ticker.section { padding: 0; }
#ticker > .container { max-width: none; padding: 0; }
.ticker-toggle .i-play { display: none; }
.comparison-list { display: grid; gap: 12px; }
.comparison-item { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 16px; }
.comparison-item img { border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.comparison-item h3 { font-size: 1.2rem; margin: 0 0 4px; }
.comparison-item p { color: var(--muted); margin: 0; }
.comparison-item .btn { margin-left: auto; flex-shrink: 0; }
.compare-selectors { display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: end; gap: 18px; margin: 24px 0; }
select { font: inherit; color: var(--ink); border: 1px solid var(--border); border-radius: 12px; background: white; min-height: 48px; padding: 10px 16px; max-width: 100%; }
.compare-selectors select { width: 100%; }
.versus { align-self: center; font-weight: 900; color: var(--primary); }
.comparison-table-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--border); background: #fff; }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 560px; text-align: left; }
.comparison-table th, .comparison-table td { padding: 20px 24px; border-bottom: 1px solid var(--border); width: 33.33%; }
.comparison-table thead { background: var(--plum); color: #fff; }
.comparison-table tbody th { color: var(--muted); font-weight: 600; }
.comparison-table tr:last-child > * { border-bottom: 0; }
.support-banner { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 48px; background: var(--surface-soft); padding: 32px; border: 1px solid var(--border); border-radius: 24px; }
.support-banner h2 { margin-bottom: 8px; }
.support-banner p { margin: 0; }
.support-banner .btn { flex-shrink: 0; }
.about-values { margin-top: 60px; }
.schedule-countdown { display: flex; gap: 24px; justify-content: space-between; align-items: center; margin-top: 28px; background: var(--plum); color: #fff; }
.schedule-countdown h3 { color: #fff; }
.schedule-countdown .muted { color: #d4c9e8; }
.countdown-digits { font: 800 clamp(1.5rem,4vw,2.7rem) var(--font-display); margin: 0; font-variant-numeric: tabular-nums; }
.proof-card { margin: 0; overflow: hidden; border-radius: 20px; border: 1px solid var(--border); background: #fff; }
.proof-card a { display: block; position: relative; }
.proof-card img { width: 100%; height: 260px; object-fit: cover; }
.proof-card figcaption { display: flex; gap: 16px; justify-content: space-between; padding: 18px; font-weight: 700; }
.proof-zoom { position: absolute; bottom: 16px; left: 16px; display: flex; gap: 8px; padding: 8px 14px; color: #fff; background: var(--plum); border-radius: 12px; }
.proof-lightbox { max-width: min(900px, 95vw); max-height: 90vh; border: 0; border-radius: 20px; padding: 20px; background: var(--surface); }
.proof-lightbox::backdrop { background: rgba(20,10,40,.85); }
.proof-lightbox img { display: block; max-height: 65vh; width: auto; max-width: 100%; margin: 20px auto; object-fit: contain; }
.form input[type=checkbox] { width: 24px; min-height: 24px; accent-color: var(--primary); }
.form .errorlist { color: #a3164a; padding-left: 20px; }
.cashout-entries { display: flex; gap: 16px; overflow-x: auto; padding-top: 20px; }
.cashout-entries p { flex: 0 0 260px; background: #fff; border: 1px solid var(--border); padding: 16px; border-radius: 16px; }
@media(max-width: 1023px) { .compare-selectors { grid-template-columns: 1fr auto 1fr; } .compare-selectors .btn { grid-column: 1 / -1; } }
@media(max-width: 639px) { .directory-stats { grid-template-columns: 1fr 1fr; } .directory-stats > div { border: 0; } .comparison-item { flex-wrap: wrap; } .comparison-item img { width: 65px; height: 55px; } .comparison-item .btn { width: 100%; } .compare-selectors { grid-template-columns: 1fr; } .versus { display: none; } .support-banner, .schedule-countdown { flex-direction: column; align-items: stretch; padding: 24px; } }

/* ---------- Homepage "Why explore" feature cards ---------- */
.grid > .panel + .panel { margin-top: 0; } /* sibling spacing is for stacked panels, not grid cells */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.why-card {
  --accent: var(--primary); --accent-ink: var(--primary); --accent-soft: rgba(107, 40, 250, .10);
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 34px 30px 30px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff 0%, #fff 60%, color-mix(in srgb, var(--accent) 4%, #fff) 100%);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.why-card.c-pink { --accent: var(--pink); --accent-ink: #C81E5E; --accent-soft: rgba(255, 75, 135, .12); }
.why-card.c-orange { --accent: #F59A12; --accent-ink: #A35A00; --accent-soft: rgba(255, 174, 54, .16); }
/* accent bar along the top edge */
.why-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 30%, transparent));
}
/* soft glow blob behind the icon */
.why-card::after {
  content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; top: -90px; right: -70px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  transition: transform .5s var(--ease);
}
.why-num {
  position: absolute; top: 18px; right: 24px; font-family: var(--font-display); font-weight: 900;
  font-size: 4.2rem; line-height: 1; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--accent) 28%, transparent);
  transition: -webkit-text-stroke-color .35s var(--ease);
}
.why-card .icon-3d { margin-bottom: 26px; transition: transform .35s var(--ease); }
.why-card h3 { font-size: 1.32rem; margin-bottom: .45em; }
.why-card p { color: var(--muted); margin: 0 0 22px; }
.why-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--accent-ink); text-decoration: none;
}
.why-link .icon { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.why-link:hover { color: var(--accent-ink); text-decoration: underline; }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.why-card:hover::after { transform: scale(1.25); }
.why-card:hover .why-num { -webkit-text-stroke-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.why-card:hover .icon-3d { transform: perspective(300px) rotateX(0) rotateY(0) translateY(-3px); }
.why-card:hover .why-link .icon { transform: translateX(4px); }
@media (max-width: 1023px) { .why-grid { grid-template-columns: 1fr 1fr; } .why-grid > :last-child { grid-column: 1 / -1; } }
@media (max-width: 639px) { .why-grid { grid-template-columns: 1fr; } .why-card { padding: 28px 24px 24px; } .why-num { font-size: 3.4rem; } }
@media (prefers-reduced-motion: reduce) { .why-card, .why-card::after, .why-card .icon-3d { transition: none; } .why-card:hover { transform: none; } }

/* Platform directory: one platform per horizontal row */
.p-rows { display: flex; flex-direction: column; gap: 18px; }
.p-row { flex-direction: row; align-items: stretch; }
.p-row .p-media { width: 280px; flex: none; aspect-ratio: auto; min-height: 190px; }
.p-row .p-media img { position: absolute; inset: 0; }
.p-row .card-body { padding: 20px 24px; gap: 8px; min-width: 0; justify-content: center; }
.p-row .card-title { font-size: 1.3rem; line-height: 1.25; }
.p-row .p-brand { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.p-row .p-brand .icon { width: 16px; height: 16px; color: var(--primary); }
.p-row .card-text { font-size: .93rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-side { flex: none; width: 230px; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 20px 22px; border-left: 1px solid var(--border); background: var(--surface-soft); }
.p-facts { margin: 0; display: grid; gap: 8px; }
.p-facts > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .85rem; }
.p-facts dt { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; }
.p-facts dt .icon { width: 15px; height: 15px; color: var(--primary); }
.p-facts dd { margin: 0; font-weight: 800; color: var(--ink); }
.p-verified dd { color: var(--green); }
.p-cta { width: 100%; justify-content: center; }
.p-rows > .empty { width: 100%; }
@media (max-width: 899px) {
  .p-row { flex-wrap: wrap; }
  .p-row .p-media { width: 220px; }
  .p-row .card-body { flex: 1 1 0; }
  .p-side { width: 100%; flex-direction: row; align-items: center; border-left: 0; border-top: 1px solid var(--border); padding: 14px 20px; }
  .p-facts { flex: 1; grid-auto-flow: column; justify-content: start; gap: 18px; }
  .p-facts > div { flex-direction: column; align-items: flex-start; gap: 2px; }
  .p-cta { width: auto; }
}
@media (max-width: 559px) {
  .p-row .p-media { width: 100%; min-height: 0; aspect-ratio: 16 / 9; }
  .p-row .card-body { flex-basis: 100%; }
  .p-side { flex-direction: column; align-items: stretch; }
  .p-facts { grid-auto-flow: row; justify-content: stretch; }
  .p-facts > div { flex-direction: row; align-items: center; }
  .p-cta { width: 100%; }
}

/* ---------- Reference-parity blocks: picks, steps, quick compare, CTA band, about, offers ---------- */
.section-tight { padding-bottom: 40px; }
.picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pick-card { position: relative; }
.pick-num { position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 800 1.1rem var(--font-display); color: #fff; background: var(--grad-primary); box-shadow: 0 8px 18px rgba(107,40,250,.35); }
.pick-card:first-child .pick-num { background: var(--grad-brand); }
.pick-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-soft); }
.pick-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .pick-media img { transform: scale(1.05); }
.pick-media .badge { position: absolute; top: 12px; left: 12px; }
.pick-card .card-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.steps { list-style: none; margin: 0 0 64px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: none; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 24px 24px; box-shadow: var(--shadow-sm); }
.step h3 { font-size: 1.15rem; margin: 14px 0 6px; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }
.step-num { position: absolute; top: 18px; right: 22px; font: 800 2.6rem/1 var(--font-display); color: var(--surface-soft); -webkit-text-stroke: 1px #D9CCF5; }

.quick-table th, .quick-table td { width: auto; padding: 14px 18px; vertical-align: middle; }
.quick-table tbody th { font-weight: 700; }
.qt-name { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.qt-name img { width: 48px; height: 32px; object-fit: cover; border-radius: 8px; flex: none; }
.qt-name:hover { color: var(--primary); }
.quick-table td:last-child { text-align: right; }
.quick-table .muted { color: var(--muted); font-size: .9rem; }
.quick-table .btn-sm { min-height: 38px; }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 56px; padding: 40px 44px; border-radius: var(--radius-lg); background: var(--plum); background-image: radial-gradient(circle at 90% 0%, rgba(255,75,135,.35), transparent 45%), radial-gradient(circle at 0% 100%, rgba(107,40,250,.55), transparent 50%); color: #fff; box-shadow: var(--shadow-soft); }
.cta-band h2 { color: #fff; margin: 8px 0 6px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.cta-band p { margin: 0; color: #CFC4EA; max-width: 560px; }
.cta-band .eyebrow { background: rgba(255,255,255,.1); color: #E3D5FF; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.btn-outline-light:hover { --btn-fg: #fff; box-shadow: inset 0 0 0 2px #fff; }

.about-stats { margin-top: 48px; }
.about-block { margin-top: 64px; }
.about-block > h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 10px 0 24px; }
.commit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.commit { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.commit h3 { font-size: 1.08rem; margin: 14px 0 6px; }
.commit p { color: var(--muted); margin: 0; font-size: .92rem; }
.value > .icon { width: 28px; height: 28px; color: var(--primary); }
.value h3 { font-size: 1.1rem; margin: 12px 0 6px; }
.value p { color: var(--muted); margin: 0; font-size: .93rem; }
.values-grid .panel + .panel { margin-top: 0; }

.offer-jump { margin-top: 22px; }
.tab-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: var(--surface-soft); color: var(--primary); font-size: .75rem; font-weight: 800; }
.offer-group { scroll-margin-top: 90px; }
.offer-tips { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.offer-tips li { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); font-size: .92rem; color: var(--ink-2); }
.offer-tips .icon { width: 22px; height: 22px; color: var(--primary); flex: none; margin-top: 2px; }

@media (max-width: 1023px) {
  .picks, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-tips { grid-template-columns: 1fr; }
}
@media (max-width: 639px) {
  .picks, .steps, .commit-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: stretch; padding: 28px 24px; }
  .cta-band-actions .btn { width: 100%; justify-content: center; }
}
