:root {
  --bg: #030508;
  --bg-card: #0a1628;
  --border: rgba(30, 70, 150, 0.5);
  --border-bright: rgba(60, 130, 255, 0.6);
  --text: #e4edff;
  --muted: #8ea4cc;
  --accent: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.45);
  --accent-soft: #60a5fa;
  --electric: #38bdf8;
  --gamer-blue: #38bdf8;
  --gamer-blue-glow: rgba(56, 189, 248, 0.5);
  --gamer-blue-deep: #1d4ed8;
  /* legacy alias — keep components using old names working */
  --gamer-red: var(--electric);
  --gamer-red-glow: var(--gamer-blue-glow);
  --green: #3b82f6;
  --green-glow: rgba(59, 130, 246, 0.6);
  --amber-glow: rgba(251, 191, 36, 0.5);
  --radius: 16px;
  --radius-sm: 10px;
  /* Fixed header: nav bar + optional iOS safe area */
  --header-h: calc(68px + env(safe-area-inset-top, 0px));
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0; padding: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(59, 130, 246, 0.15);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100001;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  text-decoration: underline;
}
.skip-link:focus {
  left: max(12px, env(safe-area-inset-left));
  top: max(12px, env(safe-area-inset-top));
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.site-header ~ main {
  padding-top: var(--header-h);
}

section[id],
main#main,
.hero-fancy {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: "Space Grotesk", sans-serif;
  margin: 0 0 10px;
  line-height: 1.2;
}
h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 3vw, 2rem); }

.hero-title { font-family: "Syne", "Space Grotesk", sans-serif; font-weight: 800; letter-spacing: -0.02em; }
.hero-gradient {
  display: inline;
  background: linear-gradient(120deg, #93c5fd 0%, #3b82f6 45%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── particles canvas (fixed = viewport only) ── */
#particles,
#particles-dust {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
#particles-dust { z-index: 1; opacity: 0.9; }

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(40, 100, 200, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40, 100, 200, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 25%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 85% 65% at 50% 25%, #000 15%, transparent 72%);
  opacity: 0.75;
}
.inline-link {
  color: #7dd3fc;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.inline-link:hover { color: #bae6fd; }

/* ── background orbs ── */
.bg-orb {
  position: fixed; border-radius: 50%;
  filter: blur(44px); z-index: 0;
  pointer-events: none; opacity: 0.35;
  animation: drift 20s ease-in-out infinite;
}
.orb-1 { width: 420px; height: 420px; top: -120px; left: -90px; background: radial-gradient(circle, #1a45a8, transparent 70%); }
.orb-2 { width: 480px; height: 480px; bottom: -140px; right: -100px; background: radial-gradient(circle, #0c38a2, transparent 70%); animation-delay: -10s; }

/* ── layout ── */
.container { width: min(1140px, 92vw); margin: 0 auto; position: relative; z-index: 1; }
.narrow { width: min(780px, 92vw); margin: 0 auto; position: relative; z-index: 1; }

/* ── header (always visible while scrolling) ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 200;
  padding-top: env(safe-area-inset-top, 0);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(2, 6, 17, 0.88);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}
.nav-wrap {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nav-wrap .nav-dock {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}
.nav-wrap .header-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-actions .btn:not(.btn-outline) {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.35);
}
.header-actions .btn-outline {
  box-shadow: none;
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}
.brand-logo {
  height: 36px;
  width: auto;
  max-width: min(220px, 46vw);
  display: block;
  object-fit: contain;
}
.brand:focus-visible {
  outline: 2px solid var(--border-bright);
  outline-offset: 4px;
  border-radius: 6px;
}

/* ── nav dock (glass pill + icon tiles + center sparkle) ── */
.nav-dock-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(120, 160, 220, 0.12);
  background: linear-gradient(180deg, rgba(18, 32, 58, 0.72), rgba(8, 14, 32, 0.78));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow:
    0 12px 40px rgba(0, 4, 20, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.nav-dock-ico {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  pointer-events: none;
}
.nav-dock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: rgba(226, 232, 240, 0.82);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
}
.nav-dock-btn:hover {
  transform: scale(1.08);
  color: #fff;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.14), rgba(60, 120, 200, 0.12));
  border-color: rgba(100, 170, 255, 0.35);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.nav-dock-btn:focus-visible {
  outline: 2px solid rgba(96, 165, 250, 0.9);
  outline-offset: 2px;
}
.nav-dock-btn.active {
  color: #fff;
  background: linear-gradient(165deg, rgba(59, 130, 246, 0.35), rgba(30, 70, 160, 0.25));
  border-color: rgba(96, 165, 250, 0.55);
  box-shadow: 0 0 22px rgba(59, 130, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
/* Center: Cleanban logo → cart / checkout */
.nav-dock-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 4px;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(96, 165, 250, 0.25);
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s, border-color 0.2s;
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.25));
}
.nav-dock-brand img {
  display: block;
  height: 26px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  pointer-events: none;
}
a.nav-dock-brand { -webkit-tap-highlight-color: transparent; }
.nav-dock-brand:hover {
  transform: scale(1.06);
  border-color: rgba(96, 165, 250, 0.55);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.3);
}
.nav-dock-brand:focus-visible {
  outline: 2px solid rgba(96, 165, 250, 0.9);
  outline-offset: 3px;
}
.nav-dock-cart { position: relative; }
.nav-dock-cart .nav-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 17px;
  text-align: center;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  border-radius: 999px;
  border: 2px solid #0a1520;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.45);
  pointer-events: none;
}
@keyframes cartBadgePop {
  0% { transform: scale(1); }
  35% { transform: scale(1.28); }
  70% { transform: scale(0.96); }
  100% { transform: scale(1); }
}
.nav-cart-badge--pop {
  animation: cartBadgePop 0.5s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.nav-cart-badge:empty,
.nav-cart-badge[hidden] {
  display: none !important;
}
@media (max-width: 900px) {
  .nav-dock-pill { gap: 4px; padding: 6px 8px; }
  .nav-dock-btn { width: 36px; height: 36px; border-radius: 10px; }
  .nav-dock-ico { width: 18px; height: 18px; }
  .nav-dock-brand { padding: 3px 8px; margin: 0 2px; }
  .nav-dock-brand img { height: 22px; max-width: 100px; }
}

/* ── mobile nav (shown only when nav-dock hidden) ── */
.mobile-nav {
  display: none;
  gap: 8px 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.mobile-nav a {
  color: var(--muted); font-size: 0.82rem; font-weight: 500;
  transition: color 0.15s;
}
.mobile-nav a:hover { color: #fff; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 0.65rem 1.1rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.92rem;
  background: linear-gradient(135deg, var(--accent), #2563eb);
  color: #fff; border: 1px solid rgba(120, 170, 255, 0.3);
  box-shadow: 0 6px 24px var(--accent-glow);
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px var(--accent-glow); }
.btn-sm { padding: 0.4rem 0.75rem; font-size: 0.84rem; }
.btn-outline { background: rgba(6, 16, 38, 0.8); border: 1px solid var(--border); box-shadow: none; }
.btn-outline:hover { border-color: var(--border-bright); }
.btn-green { background: linear-gradient(135deg, #2563eb, #1d4ed8); box-shadow: 0 6px 24px rgba(37, 99, 235, 0.4); }

/* ── hero ── */
.hero { padding: 72px 0 24px; text-align: center; }
.hero h1 { max-width: 640px; margin: 0 auto 12px; }
.eyebrow { margin: 0 0 12px; text-transform: uppercase; letter-spacing: 2px; font-size: 0.72rem; color: var(--accent); font-weight: 700; }
.subtitle { color: var(--muted); }
.hero .subtitle { max-width: 520px; margin: 0 auto; }

.hero-fancy { text-align: left; padding: 52px 0 26px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 1fr);
  gap: 22px 40px;
  align-items: start;
}
.hero-copy {
  min-width: 0;
  container-type: inline-size;
  overflow-x: clip;
}
.hero-fancy .eyebrow {
  margin-bottom: 8px;
}
.hero-copy .hero-title {
  margin: 0 0 12px;
  line-height: 1.06;
  letter-spacing: -0.04em;
  max-width: 100%;
  font-size: clamp(1.45rem, 2.6vw + 0.75rem, 2.55rem);
  isolation: isolate;
}
@media (max-width: 640px) {
  .hero-copy .hero-title {
    font-size: clamp(1.45rem, 5.2vw + 0.35rem, 2.05rem);
    text-wrap: balance;
    line-height: 1.16;
    margin-bottom: 14px;
  }
}
@media (min-width: 641px) {
  @container (min-width: 480px) {
    .hero-fancy .hero-copy .hero-title {
      white-space: normal;
      text-wrap: balance;
      font-size: clamp(1.15rem, 5.5cqw + 0.5rem, 2.58rem);
    }
  }
}
.hero-lead { max-width: 520px; margin: 0 0 20px; font-size: 1.02rem; line-height: 1.65; }
.hero-fancy .hero-lead {
  max-width: min(36rem, 100%);
  margin: 0 0 14px;
  font-size: 0.98rem;
  line-height: 1.58;
}
@media (min-width: 641px) {
  @container (min-width: 520px) {
    .hero-fancy .hero-lead {
      white-space: normal;
      text-wrap: balance;
      font-size: clamp(0.82rem, 1.85cqw + 0.62rem, 0.95rem);
    }
  }
}
.eyebrow-pulse { animation: eyebrowGlow 3s ease-in-out infinite; }
@keyframes eyebrowGlow {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.35)); }
  50% { opacity: 0.85; filter: drop-shadow(0 0 12px rgba(34, 211, 238, 0.45)); }
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero-fancy .hero-cta {
  gap: 10px;
  margin-bottom: 14px;
}
.btn-lg { padding: 0.78rem 1.35rem; font-size: 0.98rem; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}
.hero-badges .hb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-sizing: border-box;
  max-width: 100%;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 16px;
  background: rgba(6, 16, 40, 0.65);
  text-align: center;
}
.hero-badges .hb-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  flex-wrap: wrap;
  white-space: normal;
  text-align: center;
}
.hero-badges .hb-text {
  color: var(--muted);
  font-weight: 500;
}
.hero-badges .hb strong {
  color: #e8f0ff;
  font-weight: 600;
  flex-shrink: 0;
}
.hero-fancy .hero-badges {
  gap: 8px 12px;
  margin-bottom: 2px;
}
@media (max-width: 380px) {
  .hero-badges .hb-inner {
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}

.hero-3d-wrap {
  position: relative;
  min-height: 300px;
  border-radius: 24px;
  border: 1px solid rgba(59, 130, 246, 0.28);
  background:
    linear-gradient(160deg, rgba(6, 14, 32, 0.94), rgba(4, 8, 20, 0.98)),
    repeating-linear-gradient(0deg, transparent, transparent 31px, rgba(255, 255, 255, 0.03) 31px, rgba(255, 255, 255, 0.03) 32px),
    repeating-linear-gradient(90deg, transparent, transparent 31px, rgba(255, 255, 255, 0.03) 31px, rgba(255, 255, 255, 0.03) 32px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.65),
    0 0 80px rgba(59, 130, 246, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.hero-3d-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 90% 70% at 70% 30%, rgba(59, 130, 246, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(59, 130, 246, 0.08), transparent 45%);
  pointer-events: none;
  z-index: 0;
}
.hero-3d-glow {
  position: absolute;
  inset: -45%;
  background:
    radial-gradient(circle at 55% 35%, rgba(56, 189, 248, 0.18), transparent 42%),
    radial-gradient(circle at 30% 60%, rgba(37, 99, 235, 0.16), transparent 48%);
  pointer-events: none;
  z-index: 0;
}
.hero-3d-canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  height: min(360px, 48vh);
  min-height: 260px;
  cursor: grab;
  touch-action: none;
}
.hero-3d-canvas.is-dragging {
  cursor: grabbing;
}
.hero-3d-canvas canvas { display: block; width: 100% !important; height: 100% !important; }

.hero-fancy > .container + .container .stats-strip {
  margin-top: 12px;
}
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(6, 14, 34, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.stat-pill { text-align: center; }
.stat-num {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 700;
  color: #f0f6ff;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  max-width: 11em;
  margin-inline: auto;
  line-height: 1.35;
  text-wrap: balance;
}

.hero-fancy > .container + .container .feature-marquee {
  margin-top: 10px;
}
.feature-marquee {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 8px;
  margin-top: 16px;
  padding: 12px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #a8c4f0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.feature-marquee .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.6);
}
/* letter-spacing adds extra space after the last letter of each segment */
.feature-marquee > span:not(.dot) {
  display: inline-block;
  margin-right: -0.12em;
}

/* ── spin wheel ── */
.wheel-section {
  padding-top: 40px;
  padding-bottom: 48px;
}
.wheel-inner { text-align: center; }
.wheel-inner h2 { margin-bottom: 8px; }
.wheel-sub {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 0.95rem;
  line-height: 1.6;
}
.wheel-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 40px;
}
.wheel-canvas-wrap {
  position: relative;
  width: min(320px, 88vw);
  height: min(320px, 88vw);
  filter: drop-shadow(0 20px 40px rgba(0, 30, 80, 0.65));
}
.wheel-canvas-wrap canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
}
.wheel-pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 22px solid #f8fafc;
  z-index: 2;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.45));
}
.wheel-side {
  max-width: 320px;
  text-align: center;
}
.btn-wheel { min-width: 160px; }
.wheel-note { font-size: 0.88rem; color: var(--muted); margin: 14px 0 0; }
.wheel-result { margin-top: 18px; text-align: center; }
.wheel-pct {
  font-family: "Syne", "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 12px;
  background: linear-gradient(120deg, #93c5fd, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.code-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-bright);
  background: rgba(4, 12, 32, 0.95);
}
.code-box code {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #e8f2ff;
}
.wheel-hint { font-size: 0.8rem; color: var(--muted); margin: 12px 0 0; max-width: 280px; margin-left: auto; margin-right: auto; }
.btn-copy { box-shadow: none; }

/* ── wheel floating button + modal ── */
/* Stacked above CleanBot launcher (56px + margins) so both stay usable bottom-right */
.wheel-fab-wrap {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: calc(56px + 20px + 18px);
  z-index: 210;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  pointer-events: none;
}
.wheel-fab-wrap > .wheel-fab {
  pointer-events: auto;
}
.wheel-fab {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.45);
  background: radial-gradient(circle at 30% 25%, rgba(30, 64, 120, 0.95), rgba(4, 12, 32, 0.98));
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.15),
    0 12px 32px rgba(0, 20, 60, 0.65),
    0 0 28px rgba(59, 130, 246, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wheel-fab:hover {
  transform: scale(1.06);
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.35),
    0 16px 40px rgba(0, 30, 80, 0.75),
    0 0 36px rgba(59, 130, 246, 0.5);
}
.wheel-fab-tip {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  max-width: min(240px, 70vw);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: #f0f6ff;
  background: rgba(6, 14, 36, 0.96);
  border: 1px solid rgba(59, 130, 246, 0.45);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55), 0 0 20px rgba(59, 130, 246, 0.2);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
  text-align: right;
}
.wheel-fab:hover .wheel-fab-tip,
.wheel-fab:focus-visible .wheel-fab-tip {
  opacity: 1;
  transform: translateY(0);
}
.wheel-fab img { border-radius: 8px; }
.wheel-fab-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.55);
}
.wheel-fab-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: rgba(56, 189, 248, 0.7);
  border-right-color: rgba(59, 130, 246, 0.35);
  animation: fabSpin 8s linear infinite;
  pointer-events: none;
}
@keyframes fabSpin { to { transform: rotate(360deg); } }

.wheel-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 310;
  background: rgba(1, 4, 14, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.wheel-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.wheel-modal {
  position: relative;
  width: min(560px, 96vw);
  max-height: min(92vh, 720px);
  overflow: hidden;
  contain: layout style;
  border-radius: 24px;
  border: 1px solid rgba(59, 130, 246, 0.45);
  background: linear-gradient(165deg, rgba(12, 28, 58, 0.97), rgba(4, 10, 26, 0.99));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 28px 80px rgba(0, 15, 50, 0.85),
    0 0 60px rgba(59, 130, 246, 0.2);
  transform: scale(0.94) translateY(12px);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.wheel-modal-overlay.open .wheel-modal {
  transform: scale(1) translateY(0);
}
.wheel-modal-glow {
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.2), transparent 55%);
  pointer-events: none;
  border-radius: 24px;
}
.wheel-modal-inner {
  position: relative;
  z-index: 1;
  padding: 28px 24px 32px;
  text-align: center;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: min(88vh, 680px);
  scrollbar-width: thin;
}
.wheel-modal-inner h2 {
  font-family: "Syne", "Space Grotesk", sans-serif;
  font-weight: 800;
  margin-bottom: 8px;
}
.wheel-modal-sub {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 480px;
  margin: 0 auto 22px;
}
.wheel-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: rgba(8, 20, 50, 0.85);
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.wheel-modal-close:hover {
  color: #fff;
  background: rgba(30, 60, 120, 0.9);
}
.wheel-layout-modal {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 28px;
  min-height: 300px;
  box-sizing: border-box;
}
.wheel-side-modal {
  flex: 1 1 200px;
  max-width: 300px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.wheel-canvas-wrap-lg {
  width: min(300px, 78vw);
  height: min(300px, 78vw);
  flex: 0 0 auto;
  contain: layout style;
  filter: drop-shadow(0 0 28px rgba(59, 130, 246, 0.35));
}

.wheel-code-popup {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  background: rgba(1, 6, 18, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 24px;
}
.wheel-code-popup[hidden] {
  display: none !important;
}
.wheel-code-popup-panel {
  position: relative;
  width: 100%;
  max-width: 340px;
  padding: 22px 20px 20px;
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.45);
  background: linear-gradient(165deg, rgba(14, 32, 68, 0.98), rgba(6, 12, 28, 0.99));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 20px 50px rgba(0, 10, 40, 0.75);
  text-align: center;
}
.wheel-code-popup-x {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: rgba(8, 20, 50, 0.9);
  color: rgba(200, 215, 235, 0.85);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.wheel-code-popup-x:hover {
  color: #fff;
  background: rgba(30, 60, 120, 0.95);
}
.wheel-code-popup-eyebrow {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(180, 210, 255, 0.75);
}
.wheel-code-popup-off {
  margin: 0 0 16px;
  font-family: "Syne", "Space Grotesk", sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: #f0f7ff;
  text-shadow: 0 0 24px rgba(59, 130, 246, 0.35);
}
.wheel-code-popup-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(59, 130, 246, 0.35);
  background: rgba(4, 12, 32, 0.95);
}
.wheel-code-popup-code {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #e8f2ff;
  font-family: ui-monospace, "Cascadia Code", monospace;
}
.wheel-code-popup-hint {
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}
.games-trademark {
  text-align: center;
  margin-top: 12px;
  font-size: 0.8rem;
}
.modal-checkout-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}
.modal-checkout-note code {
  font-size: 0.78rem;
  color: #a5c4ff;
}

/* ── cookie consent banner ── */
.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 320;
  max-width: 420px;
  margin: 0 auto;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.35);
  background: rgba(6, 14, 36, 0.96);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.cookie-consent[hidden] {
  display: none !important;
}
.cookie-consent-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.cookie-consent-title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #e8f0ff;
}
.cookie-consent-text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
}
.cookie-consent .btn {
  align-self: flex-end;
}

/* ── hero floating pills (gamer badges) ── */
.hero-float-badges {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-float-badges .glow-pill {
  pointer-events: auto;
  cursor: default;
  transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  animation: heroPillBob 4.8s ease-in-out infinite;
}
.hero-float-badges .glow-pill.gp-blue {
  animation-duration: 5.4s;
  animation-delay: 0.45s;
}
.hero-float-badges .glow-pill.gp-ice {
  animation-duration: 6s;
  animation-delay: 0.9s;
}
.hero-float-badges .glow-pill:hover {
  transform: translateY(-4px) scale(1.03);
  z-index: 6;
  border-color: rgba(125, 211, 252, 0.45);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.55),
    0 0 36px rgba(59, 130, 246, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
@media (prefers-reduced-motion: reduce) {
  .hero-float-badges .glow-pill {
    animation: none;
  }
  .hero-float-badges .glow-pill:hover {
    transform: none;
  }
}
@keyframes heroPillBob {
  0%,
  100% {
    margin-top: 0;
  }
  50% {
    margin-top: -9px;
  }
}
.glow-pill-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.glow-pill {
  position: absolute;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 11px 15px 13px;
  max-width: min(220px, 92vw);
  overflow-wrap: anywhere;
  border-radius: 14px;
  background: rgba(6, 8, 14, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #f8fafc;
  line-height: 1.25;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.glow-pill .gp-line {
  display: block;
  height: 2px;
  margin-top: 6px;
  border-radius: 2px;
  opacity: 0.9;
}
.gp-ico { font-size: 1rem; line-height: 1; }
.glow-pill.gp-sky {
  top: 8%;
  left: 4%;
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.2), 0 12px 32px rgba(0, 0, 0, 0.45);
}
.glow-pill.gp-sky .gp-line { background: linear-gradient(90deg, transparent, #60a5fa, transparent); }
.glow-pill.gp-blue {
  bottom: 18%;
  left: 2%;
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 0 24px var(--gamer-blue-glow), 0 12px 32px rgba(0, 0, 0, 0.45);
}
.glow-pill.gp-blue .gp-line { background: linear-gradient(90deg, transparent, var(--electric), transparent); }
.glow-pill.gp-ice {
  bottom: 10%;
  right: 4%;
  border-color: rgba(125, 211, 252, 0.35);
  box-shadow: 0 0 22px rgba(96, 165, 250, 0.25), 0 12px 32px rgba(0, 0, 0, 0.45);
}
.glow-pill.gp-ice .gp-line { background: linear-gradient(90deg, transparent, #93c5fd, transparent); }

/* ── supported games strip ── */
.games-strip-section {
  padding: 20px 0 36px;
  position: relative;
  z-index: 1;
}
.games-strip-inner {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  background: rgba(6, 10, 20, 0.55);
  padding: 14px 0 16px;
  overflow: hidden;
}
.games-strip-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(200, 215, 235, 0.72);
}
.games-strip-head .go-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green-glow);
  opacity: 0.85;
}
.games-strip-body {
  padding: 4px 14px 2px;
}
.games-logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  gap: 8px 10px;
  max-width: 920px;
  margin: 0 auto;
}
.games-logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 52px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(0, 0, 0, 0.22);
  cursor: default;
  -webkit-user-select: none;
  user-select: none;
  transition:
    transform 0.22s cubic-bezier(0.25, 0.85, 0.35, 1),
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}
.games-logo-slot:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.22);
  background: rgba(59, 130, 246, 0.05);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(59, 130, 246, 0.08);
}
.games-logo-slot:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.5);
  outline-offset: 2px;
}
.games-logo-slot:active {
  transform: translateY(0);
}
.games-logo-slot img {
  display: block;
  height: auto;
  width: auto;
  max-width: min(146px, 30vw);
  max-height: 34px;
  object-fit: contain;
  object-position: center;
  opacity: 0.96;
  filter: none;
  transition: opacity 0.2s ease, filter 0.2s ease;
}
/* Simple Icons SVGs default to black fill; invert so they read on dark panels. */
.games-logo-slot img:not(.wordmark) {
  filter: brightness(0) invert(1);
}
.games-logo-slot img.wordmark {
  filter: none;
  opacity: 0.96;
  max-height: 30px;
  max-width: min(150px, 32vw);
}
.games-logo-slot:hover img {
  opacity: 1;
}
.games-logo-slot:hover img:not(.wordmark) {
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(125, 211, 252, 0.35));
}
@media (max-width: 520px) {
  .games-logo-grid {
    gap: 6px 8px;
  }
  .games-logo-slot {
    min-height: 46px;
    padding: 8px 12px;
  }
  .games-logo-slot img {
    max-width: min(124px, 36vw);
    max-height: 28px;
  }
}

/* ── loader showcase (neon green / dark) ── */
.showcase-section { padding-top: 56px; padding-bottom: 64px; }
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 40px 48px;
  align-items: start;
}
.showcase-copy {
  min-width: 0;
  container-type: inline-size;
  overflow-x: clip;
}
.showcase-copy h2 {
  font-family: "Syne", "Space Grotesk", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 2.2vw + 0.55rem, 1.82rem);
  max-width: 100%;
}
@media (min-width: 641px) {
  @container (min-width: 400px) {
    #showcase .showcase-copy h2 {
      white-space: nowrap;
      font-size: clamp(1.05rem, 4.2cqw + 0.45rem, 1.82rem);
    }
  }
}
.showcase-lead { color: var(--muted); font-size: 0.98rem; line-height: 1.65; margin-bottom: 16px; }
.showcase-bullets {
  margin: 0;
  padding-left: 1.1rem;
  color: #b4c8e8;
  font-size: 0.92rem;
  line-height: 1.7;
}
.cb-showcase {
  min-width: 0;
  position: relative;
  overflow: visible;
}
.showcase-interactive-hint {
  display: none;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(170, 200, 235, 0.72);
  margin: 0 0 8px;
  text-align: right;
  font-weight: 600;
}
@media (hover: hover) and (pointer: fine) {
  .showcase-interactive-hint {
    display: block;
  }
}
.cb-showcase-stage {
  perspective: 1100px;
  perspective-origin: 50% 45%;
  max-width: 100%;
  min-height: min(480px, 70vh);
}
.cb-showcase-tilt {
  transform-style: flat;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.25, 0.85, 0.35, 1);
  will-change: transform;
  min-height: min(460px, 68vh);
}
.cb-showcase-tilt .cb-showcase-bg {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.cb-showcase-tilt .cb-window {
  flex: 1;
}
.cb-showcase-bg,
.cb-window {
  pointer-events: auto;
}
.cb-window input,
.cb-window button,
.cb-window label {
  pointer-events: auto;
  cursor: inherit;
}
.cb-window .cb-btn-primary,
.cb-window .cb-btn-green,
.cb-window .cb-nav-tab,
.cb-close {
  cursor: pointer;
}
.cb-window .cb-input {
  cursor: text;
}
.cb-showcase-stage:hover .cb-showcase-tilt,
.cb-showcase-stage.is-touching .cb-showcase-tilt {
  transition-duration: 0.1s;
}
.cb-showcase-bg {
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.45), rgba(59, 130, 246, 0.35), rgba(59, 130, 246, 0.25));
  background-size: 200% 200%;
  box-shadow:
    0 24px 60px rgba(0, 20, 40, 0.65),
    0 0 0 1px rgba(59, 130, 246, 0.12),
    0 0 48px rgba(59, 130, 246, 0.12);
  animation: cbShowcaseBorderGlow 5s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .cb-showcase-bg {
    animation: none;
  }
}
@keyframes cbShowcaseBorderGlow {
  0%, 100% {
    background-position: 0% 50%;
    box-shadow:
      0 24px 60px rgba(0, 20, 40, 0.65),
      0 0 0 1px rgba(59, 130, 246, 0.12),
      0 0 40px rgba(59, 130, 246, 0.1);
  }
  50% {
    background-position: 100% 50%;
    box-shadow:
      0 28px 64px rgba(0, 20, 40, 0.72),
      0 0 0 1px rgba(59, 130, 246, 0.22),
      0 0 64px rgba(59, 130, 246, 0.22);
  }
}
.cb-window {
  --glare-x: 50%;
  --glare-y: 35%;
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  border-radius: 19px;
  background: linear-gradient(165deg, #0c1118 0%, #06090e 48%, #0a0e14 100%);
  border: 1px solid rgba(59, 130, 246, 0.38);
  overflow: hidden;
  min-height: 432px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 48px rgba(0, 0, 0, 0.55);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.cb-window,
.cb-window button {
  font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
}
.cb-window > .cb-panel:not([hidden]) {
  flex: 1;
  min-height: 0;
}
.cb-window .cb-panel[hidden] {
  display: none !important;
}
.cb-window--signed-out .cb-chrome-spacer {
  display: none;
}
.cb-window--signed-in .cb-chrome-spacer {
  display: none;
}
.cb-chrome-hint {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0 8px;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: rgba(156, 186, 224, 0.88);
  text-align: center;
  align-self: center;
}
.cb-window--signed-in .cb-chrome-hint {
  display: none;
}
.cb-window--signed-out .cb-nav-tabs {
  display: none !important;
}
.cb-window .cb-nav-tabs[hidden] {
  display: none !important;
}
.cb-window::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}
.cb-window::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.13) 2px,
    rgba(0, 0, 0, 0.13) 4px
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  animation: cbScanDrift 10s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .cb-window::after {
    animation: none;
    opacity: 0.2;
  }
}
@keyframes cbScanDrift {
  from { transform: translateY(0); }
  to { transform: translateY(24px); }
}
.cb-window .cb-glare {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(
    ellipse 85% 65% at var(--glare-x) var(--glare-y),
    rgba(255, 255, 255, 0.09) 0%,
    transparent 55%
  );
  mix-blend-mode: overlay;
  opacity: 0.95;
  transition: opacity 0.25s ease;
}
.cb-showcase-stage:not(:hover):not(.is-touching) .cb-window .cb-glare {
  opacity: 0.35;
}
.cb-window.cb-window-pulse {
  animation: cbWindowPulse 0.55s ease;
}
@keyframes cbWindowPulse {
  0%, 100% {
    box-shadow: inset 0 0 0 0 rgba(59, 130, 246, 0);
    border-color: rgba(59, 130, 246, 0.35);
  }
  40% {
    box-shadow: inset 0 0 36px rgba(59, 130, 246, 0.22);
    border-color: rgba(147, 197, 253, 0.55);
  }
}
.cb-window > *:not(.cb-glare) {
  position: relative;
  z-index: 3;
}
.cb-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 10px 12px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.22);
  z-index: 5;
  flex-shrink: 0;
}
.cb-logo-mark {
  font-family: "Space Grotesk", "Syne", sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: -0.06em;
  line-height: 1;
  color: #fff;
  text-shadow:
    0 0 0 1px #020617,
    0 0 0 2px rgba(59, 130, 246, 0.85),
    0 0 14px rgba(59, 130, 246, 0.35);
  flex-shrink: 0;
}
.cb-nav-tabs {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px 18px;
  flex: 1;
  min-width: 0;
}
.cb-nav-tab {
  position: relative;
  background: none;
  border: none;
  padding: 6px 2px 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(120, 140, 170, 0.9);
  cursor: pointer;
  transition: color 0.15s ease;
}
.cb-nav-tab:hover {
  color: rgba(200, 215, 240, 0.85);
}
.cb-nav-tab.active {
  color: #e8f0ff;
}
.cb-nav-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.55);
}
.cb-chrome-spacer {
  display: none;
}
.cb-win-btns {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.cb-win-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.38);
  font-size: 1rem;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 8px;
  cursor: default;
}
.cb-win-btn:disabled {
  opacity: 0.55;
}
.cb-close {
  position: relative;
  top: auto;
  right: auto;
  z-index: 20;
  overflow: visible;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}
.cb-close:hover {
  color: #fff;
  background: rgba(59, 130, 246, 0.12);
}
.cb-status-bar {
  flex-shrink: 0;
  padding: 7px 14px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
  background: linear-gradient(180deg, rgba(8, 16, 32, 0.98), rgba(4, 10, 22, 0.99));
}
.cb-status-bar[hidden] {
  display: none !important;
}
.cb-panel {
  padding: 16px 16px 12px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.cb-panel-login {
  padding-top: 20px;
  padding-bottom: 20px;
  flex: 1;
  justify-content: center;
}
.cb-login-brand {
  margin: 0 0 4px;
  text-align: center;
  font-family: "Syne", "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  letter-spacing: -0.02em;
  color: #f8fafc;
  text-shadow: 0 0 28px rgba(147, 197, 253, 0.35);
  line-height: 1.15;
}
.cb-login-ver {
  color: #7dd3fc;
  font-weight: 800;
}
.cb-remember-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 14px;
  padding: 0 2px;
  font-size: 0.8rem;
  color: rgba(224, 235, 255, 0.88);
}
.cb-remember-label {
  flex-shrink: 0;
}
.cb-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
}
.cb-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.cb-switch-ui {
  position: relative;
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: rgba(60, 80, 110, 0.65);
  border: 1px solid rgba(59, 130, 246, 0.25);
  transition: background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.35);
}
.cb-switch-ui::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 3px;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  background: #f1f5f9;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}
.cb-switch input:checked + .cb-switch-ui {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-color: rgba(96, 165, 250, 0.5);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.35);
}
.cb-switch input:checked + .cb-switch-ui::after {
  transform: translateX(18px);
}
.cb-switch input:focus-visible + .cb-switch-ui {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}
.cb-switch--sm .cb-switch-ui {
  width: 34px;
  height: 18px;
}
.cb-switch--sm .cb-switch-ui::after {
  width: 14px;
  height: 14px;
  margin-top: -7px;
}
.cb-switch--sm input:checked + .cb-switch-ui::after {
  transform: translateX(16px);
}
.cb-switch--sm input:disabled + .cb-switch-ui {
  opacity: 0.72;
  cursor: default;
}
.cb-toggle-row--dim .cb-switch--sm input:disabled + .cb-switch-ui {
  opacity: 0.38;
}
.cb-field {
  display: block;
  position: relative;
  margin-bottom: 18px;
}
.cb-glow-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3b82f6, #60a5fa, #3b82f6, transparent);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.65);
  border-radius: 2px;
}
.cb-input {
  width: 100%;
  background: transparent;
  border: none;
  color: #eff6ff;
  font-size: 0.95rem;
  padding: 10px 4px 12px;
  font-family: ui-monospace, "Cascadia Code", "DM Sans", monospace;
}
.cb-input:focus { outline: none; }
.cb-input::placeholder { color: rgba(180, 200, 230, 0.35); }
.cb-btn-primary {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(180deg, #3b82f6, #1d4ed8);
  color: #eff6ff;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
  transition: transform 0.15s, filter 0.15s;
}
.cb-btn-primary:hover { transform: translateY(-1px); filter: brightness(1.05); }
.cb-ripple {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transform: translate(-50%, -50%) scale(0.2);
  animation: cbRippleExpand 0.55s ease-out forwards;
  pointer-events: none;
}
@keyframes cbRippleExpand {
  to {
    transform: translate(-50%, -50%) scale(24);
    opacity: 0;
  }
}
.cb-hint {
  text-align: center;
  color: rgba(180, 195, 220, 0.65);
  font-size: 0.78rem;
  margin: 14px 0 0;
}
.cb-panel-login .cb-field {
  margin-bottom: 10px;
}
.cb-panel-home {
  gap: 10px;
  padding-top: 12px;
  padding-bottom: 14px;
  overflow-y: auto;
}
.cb-update-card {
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(8, 14, 28, 0.55);
}
.cb-update-title {
  margin: 0 0 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #7dd3fc;
  line-height: 1.25;
}
.cb-update-body {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(180, 195, 220, 0.88);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cb-spoof-split {
  display: grid;
  grid-template-columns: 1fr minmax(132px, 41%);
  gap: 12px;
  align-items: stretch;
  flex: 1;
  min-height: 0;
}
.cb-logs-box {
  border: 1px solid rgba(59, 130, 246, 0.32);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(4, 8, 16, 0.75);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.06);
}
.cb-logs-head {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: 0.06em;
}
.cb-logs-scroll {
  flex: 1;
  overflow-y: auto;
  font-family: ui-monospace, monospace;
  font-size: 0.68rem;
  line-height: 1.45;
  color: rgba(180, 195, 215, 0.9);
  min-height: 100px;
  max-height: 200px;
}
.cb-log-line {
  margin: 0 0 4px;
}
.cb-spoof-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.cb-spoof-card {
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(6, 12, 24, 0.65);
}
.cb-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.72rem;
  color: #e2e8f0;
  margin-bottom: 8px;
}
.cb-toggle-row:last-child {
  margin-bottom: 0;
}
.cb-toggle-row--dim {
  opacity: 0.45;
}
.cb-spoof-actions {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
}
.cb-action-row {
  display: flex;
  flex-direction: row;
  gap: 8px;
}
.cb-action-row .cb-btn-green {
  flex: 1;
  min-width: 0;
  padding: 10px 8px;
  font-size: 0.65rem;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.cb-btn-green--full {
  width: 100%;
}
.cb-panel-spoofer {
  padding-bottom: 14px;
}
.cb-checker-box {
  border: 1px solid rgba(59, 130, 246, 0.38);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(4, 10, 22, 0.72);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.12);
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cb-checker-heading {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #60a5fa;
}
.cb-checker-dl {
  margin: 0;
  flex: 1;
  overflow-y: auto;
}
.cb-checker-row {
  display: grid;
  grid-template-columns: minmax(72px, 32%) 1fr;
  gap: 8px 10px;
  margin-bottom: 8px;
  font-size: 0.72rem;
  line-height: 1.25;
  align-items: baseline;
}
.cb-checker-row dt {
  margin: 0;
  font-weight: 700;
  color: #60a5fa;
}
.cb-checker-row dd {
  margin: 0;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  word-break: normal;
}
.cb-panel-checker {
  gap: 10px;
}
.cb-panel-checker .cb-btn-primary {
  flex-shrink: 0;
}
.cb-win-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 4px 12px 10px;
  margin-top: auto;
  flex-shrink: 0;
}
.cb-footer-ico {
  font-size: 0.85rem;
  opacity: 0.35;
  filter: grayscale(1);
}
@media (max-width: 520px) {
  .cb-spoof-split {
    grid-template-columns: 1fr;
  }
}
.cb-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  margin-bottom: 10px;
  line-height: 1.4;
  color: #7dd3fc;
  text-shadow: 0 0 8px rgba(59, 130, 246, 0.35);
}
.cb-ico { flex-shrink: 0; opacity: 0.85; }
.cb-k { flex: 0 0 52px; color: #93c5fd; font-weight: 700; }
.cb-v { word-break: break-all; }
.cb-checker-row dd.cb-v {
  word-break: normal;
}
.cb-v.cb-dim { color: rgba(130, 160, 190, 0.55); text-shadow: none; }
.cb-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: 14px 0 16px;
  font-size: 0.78rem;
  color: rgba(200, 215, 235, 0.75);
}
.cb-radios label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.cb-radios input { accent-color: #3b82f6; }
.cb-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cb-btn-green {
  position: relative;
  overflow: hidden;
  padding: 11px 14px;
  border: 1px solid #1d4ed8;
  border-radius: 6px;
  background: linear-gradient(180deg, #3b82f6, #1d4ed8);
  color: #eff6ff;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s;
}
.cb-btn-green:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}
.cb-btn-green:active { transform: translateY(0); }
.cb-status-line {
  margin: 0;
  font-size: 0.72rem;
  color: rgba(160, 190, 220, 0.82);
  font-family: ui-monospace, monospace;
  transition: color 0.2s ease, text-shadow 0.2s ease;
  line-height: 1.4;
}
.cb-status-line.cb-status-pop {
  animation: cbStatusPop 0.45s ease;
}
@keyframes cbStatusPop {
  0%, 100% {
    color: rgba(160, 190, 220, 0.75);
    text-shadow: none;
  }
  35% {
    color: #bae6fd;
    text-shadow: 0 0 12px rgba(59, 130, 246, 0.55);
  }
}
.cb-v.cb-v-flash {
  animation: cbValFlash 0.5s ease;
}
@keyframes cbValFlash {
  0%, 100% {
    color: inherit;
    filter: none;
  }
  40% {
    color: #eff6ff;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.85);
  }
}
.cb-field:focus-within .cb-glow-line {
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.95);
  height: 2px;
}

.center-eb { text-align: center; display: block; }
.center-h2 { text-align: center; }
.center-sub {
  text-align: center;
  color: var(--muted);
  max-width: 520px;
  margin: -4px auto 28px;
  font-size: 0.95rem;
}

.why-section { padding-top: 40px; padding-bottom: 56px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.why-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(6, 14, 34, 0.65);
  padding: 20px 18px;
  transition: border-color 0.2s, transform 0.2s;
}
.why-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
}
.why-ico { font-size: 1.6rem; margin-bottom: 8px; line-height: 1; }
.why-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.why-card p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.55; }

.why-compare {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.why-compare-title {
  font-family: "Syne", "Space Grotesk", sans-serif;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 800;
  text-align: center;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.why-compare-lead {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 560px;
  margin: 0 auto 22px;
}
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(6, 14, 34, 0.55);
}
.compare-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.84rem;
  line-height: 1.5;
}
.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.compare-table thead th {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #b8c9e8;
  background: rgba(59, 130, 246, 0.08);
}
.compare-table tbody th[scope="row"] {
  font-weight: 600;
  color: #e8f0ff;
  width: 22%;
  min-width: 7.5rem;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}
.compare-table td {
  color: var(--muted);
  width: 39%;
}
.compare-table .compare-win {
  color: #dbeafe;
  background: rgba(59, 130, 246, 0.1);
  border-left: 1px solid rgba(59, 130, 246, 0.25);
}
.why-compare-foot {
  text-align: center;
  margin: 16px auto 0;
  max-width: 520px;
  font-size: 0.8rem;
}

/* ── status page (monitoring layout) ── */
.status-page-hero {
  text-align: center;
  padding: 48px 0 8px;
}
.status-page-hero h1 {
  font-family: "Syne", "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  margin-bottom: 10px;
}
.status-badge-ok {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.45);
  color: var(--green);
  font-weight: 700;
  font-size: 0.95rem;
  margin: 16px 0 8px;
}
.status-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: 28px auto 0;
}
.status-stat {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(6, 14, 34, 0.75);
  padding: 16px 12px;
  text-align: center;
}
.status-stat .big {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #f0f6ff;
}
.status-stat .small {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.status-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 24px 0 8px;
}
.status-last {
  font-size: 0.84rem;
  color: var(--muted);
}
.status-grid-lead {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 18px;
  font-size: 0.88rem;
  line-height: 1.55;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0 8px;
}
.svc-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(4, 12, 30, 0.85);
  padding: 14px 14px 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: border-color 0.2s;
}
.svc-card:hover { border-color: rgba(59, 130, 246, 0.45); }
.svc-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(30, 60, 120, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.svc-ico-img {
  padding: 4px;
  font-size: 0;
}
.svc-ico-img img {
  max-width: 32px;
  max-height: 32px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.svc-ico-light img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.svc-body { flex: 1; min-width: 0; }
.svc-body h3 { margin: 0 0 4px; font-size: 0.95rem; }
.svc-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--muted);
}
.svc-ms { font-family: ui-monospace, monospace; color: #7dd3fc; }
.status-infra {
  margin-top: 28px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(6, 14, 34, 0.55);
}
.status-infra h3 { margin-bottom: 14px; text-align: center; }
.infra-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  text-align: center;
  font-size: 0.88rem;
}
.infra-grid strong { display: block; color: #e8f0ff; margin-bottom: 4px; }

/* ── sections ── */
.section { padding: 56px 0; position: relative; z-index: 1; }
.alt { background: rgba(6, 14, 30, 0.6); }

/* ── product cards (compact) ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.p-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-card); overflow: hidden;
  transition: transform 0.24s, border-color 0.24s, box-shadow 0.24s;
  cursor: pointer;
}
.p-card:hover { transform: translateY(-6px); border-color: var(--border-bright); box-shadow: 0 16px 40px rgba(0, 8, 30, 0.7); }

.p-card-img {
  position: relative;
  padding: 0;
  min-height: 0;
  aspect-ratio: 10 / 13;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
  background: #030b1e;
}
.badge-delivery {
  position: absolute;
  top: 10px;
  right: 10px;
  left: auto;
  z-index: 5;
  max-width: min(52%, calc(100% - 20px));
  background: rgba(8, 18, 40, 0.88);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.55);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.35) inset,
    0 0 20px rgba(59, 130, 246, 0.2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.cube-icon { font-size: 5rem; color: rgba(160, 190, 240, 0.18); line-height: 1; }
.cube-icon.big { font-size: 7rem; }

/* ── Product card HTML thumbnails (reference-style pro cards) ── */
.p-card-thumb-html {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1;
  align-self: stretch;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-bottom: none;
  background: #000;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -webkit-touch-callout: none;
}
.p-card:hover .p-card-thumb-html {
  box-shadow: none;
}
.p-card:hover .thumb-pro .thumb-pro-photo {
  transform: scale(1.05);
}

.thumb-pro-stage {
  position: relative;
  flex: 1;
  min-height: 200px;
  overflow: hidden;
}
.thumb-pro-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  transition: transform 0.5s ease;
  pointer-events: none;
  -webkit-user-drag: none;
}
.thumb-pro--perm .thumb-pro-photo {
  object-position: 78% 22%;
}
.thumb-pro--temp .thumb-pro-photo {
  object-position: 58% 42%;
}
.thumb-pro--hybrid .thumb-pro-photo {
  object-position: 52% 38%;
}
.thumb-pro--ultra .thumb-pro-photo {
  object-position: 62% 30%;
}
.thumb-pro-line1--hybrid {
  color: #e9d5ff;
  text-shadow: 0 0 18px rgba(167, 139, 250, 0.55);
}
.thumb-pro-hero--hybrid {
  color: #f5f3ff;
  text-shadow: 0 0 22px rgba(139, 92, 246, 0.45);
}
.thumb-pro-vignette--hybrid {
  background:
    linear-gradient(90deg, rgba(12, 6, 28, 0.92) 0%, rgba(20, 10, 40, 0.5) 42%, transparent 74%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, transparent 40%, rgba(76, 29, 149, 0.35) 100%),
    radial-gradient(ellipse 66% 54% at 86% 40%, rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.12) 58%, transparent 68%);
}
.thumb-pro-embers--hybrid {
  opacity: 0.65;
  background-image:
    radial-gradient(circle at 18% 86%, rgba(167, 139, 250, 0.45) 0, transparent 2.5px),
    radial-gradient(circle at 42% 92%, rgba(56, 189, 248, 0.35) 0, transparent 2px),
    radial-gradient(circle at 70% 88%, rgba(139, 92, 246, 0.38) 0, transparent 2px),
    radial-gradient(ellipse 100% 44% at 50% 100%, rgba(59, 130, 246, 0.2), transparent 72%);
}
.thumb-pro-foot--hybrid {
  border-top-color: #a78bfa;
}

.thumb-pro-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.thumb-pro-scan {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.5) 2px,
    rgba(0, 0, 0, 0.5) 3px
  );
  animation: thumbProScan 6s linear infinite;
}
@keyframes thumbProScan {
  0% { transform: translateY(0); }
  100% { transform: translateY(4px); }
}
.thumb-pro-tech {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.thumb-pro-tech-grid {
  position: absolute;
  inset: -5%;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
  background-size: 22px 22px;
  animation: thumbTechDrift 24s linear infinite;
}
@keyframes thumbTechDrift {
  to { transform: translate(22px, 22px); }
}
.thumb-pro-tech-glow {
  position: absolute;
  inset: -15%;
  background: radial-gradient(ellipse 75% 60% at 82% 38%, rgba(59, 130, 246, 0.45), transparent 58%);
  mix-blend-mode: screen;
}
.thumb-pro-code-shimmer {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background: repeating-linear-gradient(
    -12deg,
    transparent,
    transparent 40px,
    rgba(147, 197, 253, 0.15) 40px,
    rgba(147, 197, 253, 0.15) 41px
  );
  animation: thumbCodeShimmer 8s ease-in-out infinite;
}
@keyframes thumbCodeShimmer {
  0%, 100% { opacity: 0.08; }
  50% { opacity: 0.16; }
}
.thumb-pro-game-badge {
  position: absolute;
  right: 5%;
  bottom: 22%;
  width: min(42%, 130px);
  height: auto;
  z-index: 2;
  opacity: 0.5;
  pointer-events: none;
  filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.55)) brightness(1.05);
}

.thumb-pro-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 8, 22, 0.95) 0%, rgba(0, 12, 30, 0.52) 44%, transparent 74%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, transparent 42%, rgba(15, 40, 90, 0.45) 100%),
    radial-gradient(ellipse 72% 58% at 86% 42%, rgba(59, 130, 246, 0.32), transparent 56%);
}
.thumb-pro-vignette--temp {
  background:
    linear-gradient(90deg, rgba(0, 10, 24, 0.93) 0%, rgba(0, 14, 32, 0.48) 42%, transparent 74%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, transparent 38%, rgba(8, 50, 100, 0.42) 100%),
    radial-gradient(ellipse 68% 52% at 88% 36%, rgba(56, 189, 248, 0.28), rgba(37, 99, 235, 0.12) 62%, transparent 68%);
}
.thumb-pro-vignette--ultra {
  background:
    linear-gradient(90deg, rgba(0, 8, 22, 0.94) 0%, rgba(0, 12, 28, 0.5) 44%, transparent 76%),
    linear-gradient(180deg, transparent 32%, rgba(30, 58, 120, 0.5) 100%),
    radial-gradient(ellipse 70% 56% at 84% 44%, rgba(96, 165, 250, 0.38), transparent 58%);
}

.thumb-pro-embers {
  position: absolute;
  inset: 0;
  opacity: 0.72;
  background-image:
    radial-gradient(circle at 14% 88%, rgba(96, 165, 250, 0.5) 0, transparent 2.5px),
    radial-gradient(circle at 30% 94%, rgba(59, 130, 246, 0.42) 0, transparent 2px),
    radial-gradient(circle at 46% 90%, rgba(125, 211, 252, 0.38) 0, transparent 2px),
    radial-gradient(circle at 64% 96%, rgba(37, 99, 235, 0.36) 0, transparent 1.8px),
    radial-gradient(circle at 80% 91%, rgba(56, 189, 248, 0.4) 0, transparent 2.2px),
    radial-gradient(ellipse 100% 46% at 52% 100%, rgba(59, 130, 246, 0.22), transparent 72%);
}
.thumb-pro-embers--bright {
  opacity: 0.68;
  background-image:
    radial-gradient(circle at 20% 88%, rgba(147, 197, 253, 0.45) 0, transparent 2.5px),
    radial-gradient(circle at 50% 93%, rgba(59, 130, 246, 0.4) 0, transparent 2px),
    radial-gradient(ellipse 100% 42% at 50% 100%, rgba(37, 99, 235, 0.28), transparent 70%);
}

.thumb-pro-copy {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(64%, calc(100% - 120px));
  z-index: 3;
  padding: 14px 10px 12px 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  box-sizing: border-box;
}
.thumb-pro-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.thumb-pro-chip {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: #fff;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.25));
}
.thumb-pro-titles {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.thumb-pro-line1 {
  font-family: "Orbitron", "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: #fff;
  text-shadow: 0 0 18px rgba(59, 130, 246, 0.45);
}
.thumb-pro-line1--split {
  letter-spacing: 0.1em;
}
.thumb-pro-line1--split .w {
  color: #fff;
}
.thumb-pro-line1--split .r {
  color: #7dd3fc;
  margin-left: 0.12em;
  text-shadow: 0 0 14px rgba(56, 189, 248, 0.55);
}
.thumb-pro-line2 {
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.72);
}
.thumb-pro-hero {
  margin: 4px 0 0;
  font-family: "Orbitron", Syne, sans-serif;
  font-weight: 800;
  font-size: clamp(0.88rem, 2.8vw, 1.12rem);
  letter-spacing: 0.06em;
  color: #f0f9ff;
  line-height: 1.12;
  text-shadow: 0 0 22px rgba(59, 130, 246, 0.5);
}
.thumb-pro-hero--elite {
  color: #e0f2fe;
  text-shadow: 0 0 22px rgba(96, 165, 250, 0.55);
}
.thumb-pro-mini {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.82);
}
.thumb-pro-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(147, 197, 253, 0.45);
  font-size: 0.45rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
  background: rgba(15, 40, 80, 0.55);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.35);
}
.thumb-pro-foot {
  flex-shrink: 0;
  margin: 0;
  background: linear-gradient(180deg, #020617 0%, #000 100%);
  border-top: 3px solid var(--accent);
  padding: 10px 8px;
  font-family: "Orbitron", "Space Grotesk", sans-serif;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: #e8f4ff;
  text-align: center;
  line-height: 1.35;
}
.thumb-pro-foot--temp {
  border-top-color: #38bdf8;
}
.thumb-pro-foot--ultra {
  border-top-color: #818cf8;
  color: #eef4ff;
}

/* Modal: thumbnail fills the entire visual panel */
#modalProductThumbSlot {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}
.thumb-html--modal.thumb-pro {
  flex: 1 1 auto;
  min-height: 100%;
  max-height: none;
  width: 100%;
  border-radius: var(--radius-sm);
}
.thumb-html--modal .thumb-pro-stage {
  flex: 1 1 auto;
  min-height: min(52vh, 420px);
}
.thumb-html--modal .thumb-pro-hero {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
}
.thumb-html--modal .thumb-pro-line1 {
  font-size: 0.72rem;
}
.thumb-html--modal .thumb-pro-line2 {
  font-size: 0.54rem;
}
.thumb-html--modal .thumb-pro-foot {
  font-size: 0.52rem;
  padding: 12px 10px;
}
.thumb-html--modal .thumb-pro-game-badge {
  width: min(44%, 160px);
}

.muted { color: var(--muted); }
.inline-code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.88em;
  padding: 0.12em 0.4em;
  border-radius: 6px;
  background: rgba(8, 24, 55, 0.85);
  border: 1px solid var(--border);
  color: #c8d8f0;
}

/* ── TempKing featured video (AExploit-style framed preview) ── */
.tempking-demo-section {
  position: relative;
  z-index: 1;
  padding: 56px 0 64px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0, 180, 255, 0.08), transparent 55%),
    rgba(4, 12, 28, 0.75);
  border-top: 1px solid rgba(30, 80, 160, 0.35);
  border-bottom: 1px solid rgba(30, 80, 160, 0.25);
}
.tempking-demo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
@media (min-width: 900px) {
  .tempking-demo-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 40px;
  }
}
.tempking-brandline {
  margin: 0 0 10px;
  font-family: "Orbitron", "Space Grotesk", sans-serif;
  font-size: clamp(0.75rem, 1vw + 0.5rem, 0.92rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(186, 210, 255, 0.95);
}
.tempking-demo-copy h2 { margin-bottom: 12px; }
.tempking-demo-lead {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0 0 14px;
  max-width: 42ch;
}
.tempking-demo-note {
  font-size: 0.86rem;
  line-height: 1.55;
  margin: 0;
  max-width: 48ch;
}
.tempking-demo-media { width: 100%; }
.tempking-video-shell {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  padding: 3px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.45), rgba(59, 130, 246, 0.25), rgba(0, 180, 216, 0.4));
  box-shadow:
    0 0 0 1px rgba(0, 200, 255, 0.15),
    0 24px 56px rgba(0, 8, 40, 0.65),
    0 0 48px rgba(0, 180, 255, 0.12);
}
.tempking-video-frame {
  border-radius: var(--radius);
  overflow: hidden;
  background: #02060f;
  border: 1px solid rgba(20, 60, 120, 0.6);
}
.tempking-demo-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(165deg, #040a18 0%, #050d1f 55%, #06122a 100%);
}
.tempking-demo-video.tempking-demo-video--when-src:not([hidden]) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: unset;
  display: block;
  background: #02060f;
}
.tempking-demo-video {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  aspect-ratio: 16 / 9;
  background: #02060f;
}

.checkout-trust-strip {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 52ch;
  margin: -4px 0 20px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(59, 130, 246, 0.15);
  background: rgba(6, 16, 40, 0.45);
}
.tempking-video-placeholder {
  margin: 0;
  padding: 10px 14px 0;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}
.tempking-video-placeholder[hidden] { display: none; }

/* ── Checkout page ── */
.checkout-page { padding-top: 48px; padding-bottom: 72px; }
.checkout-page .eyebrow { margin-bottom: 6px; }
.checkout-page h1 {
  font-family: "Syne", "Space Grotesk", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  background: linear-gradient(120deg, #f0f6ff 0%, #93c5fd 45%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.checkout-lead { max-width: 56ch; margin-bottom: 12px; line-height: 1.65; font-size: 0.95rem; }
.checkout-empty {
  text-align: center;
  padding: 48px 24px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  margin: 24px 0;
  background: rgba(6, 14, 34, 0.4);
}
.checkout-table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 16px;
  background: rgba(6, 14, 34, 0.55);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2) inset, 0 20px 50px rgba(0, 8, 30, 0.35);
}
.checkout-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.checkout-table th,
.checkout-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.checkout-table tbody tr {
  transition: background 0.18s ease;
}
.checkout-table tbody tr:hover {
  background: rgba(59, 130, 246, 0.06);
}
.checkout-table tbody tr:last-child td { border-bottom: none; }
.checkout-line-pay-wrap { margin-top: 10px; }
.checkout-line-pay { display: inline-block; margin-top: 2px; }
.checkout-line-pay-note { display: block; margin-top: 8px; max-width: 320px; line-height: 1.45; }
.checkout-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.checkout-qty-cell .checkout-qty {
  width: 68px;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(4, 12, 30, 0.9);
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
}
.checkout-summary {
  margin-top: 32px;
  padding: 26px 24px 28px;
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.28);
  background: linear-gradient(165deg, rgba(10, 24, 52, 0.92) 0%, rgba(6, 14, 34, 0.88) 100%);
  max-width: 440px;
  box-shadow: 0 24px 60px rgba(0, 10, 40, 0.45), 0 0 40px rgba(59, 130, 246, 0.08);
}
.checkout-summary #checkoutPayBtn {
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.checkout-summary #checkoutPayBtn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.35);
}
.checkout-summary #checkoutPayBtn:active:not(:disabled) {
  transform: translateY(0);
}
.checkout-coupon-label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.88rem;
  color: var(--muted);
}
.checkout-coupon-input {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(4, 12, 30, 0.9);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}
.checkout-coupon-input:focus {
  outline: none;
  border-color: var(--accent);
}
.checkout-subtotal { font-size: 1.2rem; margin: 0 0 18px; }
.checkout-hint { margin-top: 14px; font-size: 0.88rem; line-height: 1.55; }
.checkout-note.small { font-size: 0.82rem; margin-top: 16px; line-height: 1.55; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.nav-dock-brand.active {
  border-color: rgba(96, 165, 250, 0.65);
  box-shadow: 0 0 28px rgba(59, 130, 246, 0.35);
}

.p-card-body { padding: 16px; }
.p-card-title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.p-card-title-row h3 { margin: 0; flex: 1; }

.online-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green-glow), 0 0 18px var(--green-glow);
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}
.online-dot-sm { width: 6px; height: 6px; margin-right: 4px; vertical-align: middle; }
.online-label { font-size: 0.78rem; color: var(--green); font-weight: 600; text-transform: uppercase; }

.starting { color: var(--muted); font-size: 0.82rem; margin: 4px 0 0; }
.p-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.p-price { font-family: "Space Grotesk", sans-serif; font-size: 1.3rem; font-weight: 700; }
.btn-buy { padding: 0.5rem 0.9rem; font-size: 0.85rem; }

/* ── modal ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(1, 4, 12, 0.82);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-overlay.open.closing {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-overlay.open.closing .modal {
  transform: translateY(22px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal {
  position: relative;
  width: min(960px, 94vw); max-height: 90vh; overflow-y: auto;
  border: 1px solid var(--border-bright); border-radius: 20px;
  background: var(--bg-card); padding: 24px;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none; color: var(--muted); font-size: 1.6rem; cursor: pointer;
  z-index: 2; transition: color 0.15s;
}
.modal-close:hover { color: #fff; }

.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.modal-visual {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: min(58vh, 560px);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59, 130, 246, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(37, 99, 235, 0.12), transparent 50%),
    linear-gradient(165deg, #050c1c 0%, #030b1e 45%, #020611 100%);
}
.modal-visual-art {
  flex: 1 1 auto;
  min-height: 280px;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  width: 100%;
}
.modal-visual-art .p-card-thumb-html {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
}
.modal-visual .cube-icon { flex: 1; display: flex; align-items: center; justify-content: center; }
.mini-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; flex-shrink: 0; }
.mini-badges div {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 10px; background: rgba(6, 14, 36, 0.9);
}
.mini-badges strong { display: block; font-size: 0.75rem; color: var(--muted); font-weight: 500; }
.mini-badges span { font-weight: 700; font-size: 0.9rem; }

.modal-info { position: relative; }
.modal-info h2 { margin-bottom: 4px; }
.modal-info .badges { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.modal-info .badges span {
  font-size: 0.72rem; font-weight: 600;
  padding: 3px 10px; border-radius: 999px;
  display: inline-flex; align-items: center;
}
.badge-online { background: rgba(59, 130, 246, 0.15); color: var(--green); border: 1px solid rgba(59, 130, 246, 0.4); }
.badge-instant { background: rgba(59, 130, 246, 0.14); color: #93c5fd; border: 1px solid rgba(96, 165, 250, 0.4); }

.modal-info .m-price { font-family: "Space Grotesk", sans-serif; font-size: 2.2rem; font-weight: 700; margin: 6px 0 14px; }
.modal-info .m-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin: 0 0 8px; font-weight: 600; }

.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.option {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: rgba(8, 20, 50, 0.8); color: #c8d8f0;
  padding: 10px; text-align: left; font-weight: 600; cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  font-size: 0.88rem;
}
.option:hover { border-color: var(--border-bright); }
.option.active { border-color: var(--accent); background: linear-gradient(140deg, rgba(59, 130, 246, 0.2), rgba(10, 30, 70, 0.9)); }
.option small { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 2px; }

.modal-rating { font-size: 0.88rem; color: var(--muted); margin-bottom: 4px; }
.star-accent { color: #7dd3fc; }
.review-stars { color: #93c5fd; font-size: 0.82rem; margin-top: 4px; letter-spacing: 1px; }

.modal-desc { color: var(--muted); font-size: 0.9rem; line-height: 1.65; margin-bottom: 18px; }
.modal-desc a { color: #60a5fa; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── reviews ── */
.reviews-wrap {
  margin-top: 18px; border: 1px solid var(--border); border-radius: var(--radius);
  background: rgba(4, 12, 30, 0.7); overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.reviews-track {
  display: flex; width: max-content; gap: 14px; padding: 16px 8px;
  animation: scrollTrack 48s linear infinite;
}
.reviews-wrap:hover .reviews-track { animation-play-state: paused; }

.review {
  width: 270px; flex: 0 0 270px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 14px; background: rgba(8, 22, 55, 0.8);
  opacity: 0; transform: translateY(8px);
  animation: fadeUp 0.5s ease forwards;
}
.review-top { display: flex; justify-content: space-between; align-items: baseline; }
.review-name { font-weight: 600; }
.review-time { color: var(--muted); font-size: 0.76rem; }
.review p { margin: 6px 0 0; color: #c8daff; font-size: 0.9rem; }

/* ── faq ── */
.faq-list { display: grid; gap: 8px; margin-top: 16px; }
details {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: rgba(8, 20, 50, 0.75); padding: 12px 16px;
  transition: border-color 0.2s;
}
details[open] { border-color: var(--border-bright); }
summary { cursor: pointer; font-weight: 600; font-size: 0.95rem; }
details p { color: var(--muted); margin: 8px 0 0; }

/* ── status page ── */
.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0; }
.status-card .s-status { font-weight: 700; margin: 4px 0 0; display: flex; align-items: center; gap: 6px; }
.status-card .s-status.ok { color: var(--green); }
.status-card .s-status.warn { color: #eab308; }
.status-card .s-status.down { color: #ef4444; }
.s-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; animation: pulse-dot 2s ease-in-out infinite; }
.s-dot.ok { background: var(--green); box-shadow: 0 0 8px var(--green-glow); }
.s-dot.warn { background: #eab308; box-shadow: 0 0 8px rgba(234, 179, 8, 0.5); }

.timeline { margin-top: 20px; }
.timeline p { margin: 6px 0; }

/* ── panel login ── */
.panel-login-page { padding-top: 24px; padding-bottom: 48px; }
.panel-page-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 28px;
}
.panel-page-title {
  font-family: "Syne", "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  margin-bottom: 10px;
}
.panel-page-sub { margin: 0 auto; max-width: 520px; }
.panel-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: 24px 32px;
  align-items: start;
}
.panel-ecosystem {
  padding: 22px 22px 18px;
  margin: 0;
}
.panel-eco-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 14px;
}
.panel-eco-title {
  font-family: "Syne", "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.panel-eco-lead {
  font-size: 0.84rem;
  margin: 0 0 14px;
  line-height: 1.55;
}
.panel-eco-grid {
  margin-top: 4px;
  margin-bottom: 12px;
}
.panel-eco-kind {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.panel-eco-disclaimer {
  font-size: 0.78rem;
  margin: 0;
  text-align: center;
}
.panel-login-aside {
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.login-card {
  padding: 32px;
  max-width: 460px;
  margin: 0 auto;
}
.login-card--sellhub {
  max-width: none;
  margin: 0;
}
.login-card-title {
  font-family: "Syne", "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 8px;
}
.login-card-sub {
  margin: 0 0 4px;
  font-size: 0.95rem;
  line-height: 1.55;
}
.btn-block {
  width: 100%;
  margin-top: 10px;
  justify-content: center;
}
.login-sellhub-hint {
  font-size: 0.82rem;
  margin-top: 14px;
  line-height: 1.5;
}
.login-sellhub-hint code {
  font-size: 0.78em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(20, 50, 120, 0.35);
}
.sellhub-direct-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.88rem;
}
.login-fallback-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
}
.login-form { display: grid; gap: 12px; margin-top: 16px; }
.login-form label { color: var(--muted); font-size: 0.88rem; font-weight: 500; }
.login-form input {
  border: 1px solid var(--border); background: rgba(4, 12, 30, 0.9);
  color: var(--text); border-radius: var(--radius-sm); padding: 0.72rem 0.9rem;
  font-size: 0.95rem; font-family: inherit;
  transition: border-color 0.2s;
}
.login-form input:focus { outline: none; border-color: var(--accent); }

/* ── dashboard ── */
.dash-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 24px; gap: 12px; flex-wrap: wrap;
}
.dash-tabs {
  display: flex; gap: 6px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}
.dash-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  font-size: 0.88rem; font-weight: 500; color: var(--muted);
  border: 1px solid transparent; border-bottom: none;
  background: transparent; cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.dash-tab:hover { color: #fff; background: rgba(14, 30, 68, 0.6); }
.dash-tab.active { color: #fff; background: var(--bg-card); border-color: var(--border); }

.dash-greeting h2 { margin-bottom: 4px; }
.dash-greeting p { color: var(--muted); margin: 0; }

.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 20px 0; }
.stat-card { padding: 18px; }
.stat-card h4 { font-size: 0.82rem; color: var(--muted); margin: 0 0 2px; font-weight: 500; }
.stat-card .stat-sub { font-size: 0.72rem; color: var(--muted); margin: 0; }
.stat-card .stat-val { font-family: "Space Grotesk", sans-serif; font-size: 1.6rem; font-weight: 700; margin-top: 8px; }
.stat-card .stat-val.green { color: var(--green); }

.orders-card { padding: 20px; }
.orders-card h3 { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.empty { text-align: center; padding: 32px 0; color: var(--muted); }
.empty p { margin: 6px 0; }
.empty-icon { font-size: 2rem; margin: 0; line-height: 1.2; }

.dash-content { display: none; }
.dash-content.active { display: block; }

.support-gate { text-align: center; padding: 40px 20px; }
.support-gate h3 { margin-bottom: 8px; }
.support-gate p { color: var(--muted); max-width: 460px; margin: 0 auto; }

/* ── footer ── */
.site-footer { border-top: 1px solid var(--border); position: relative; z-index: 1; }
.footer-stack { display: flex; flex-direction: column; gap: 0; width: 100%; }
.footer-stack > .footer-wrap { width: 100%; }
.footer-marquee {
  width: 100%;
  overflow: hidden;
  padding: 16px 0 10px;
  border-bottom: 1px solid rgba(30, 70, 150, 0.35);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.footer-marquee-inner {
  display: flex;
  width: max-content;
  animation: footerMarquee 50s linear infinite;
}
.footer-marquee-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(28px, 5vw, 48px);
  padding-right: clamp(28px, 5vw, 48px);
}
.footer-marquee-img {
  height: 28px;
  width: auto;
  max-width: min(170px, 36vw);
  object-fit: contain;
  opacity: 0.94;
  flex-shrink: 0;
  display: block;
}
.footer-marquee-img:hover { opacity: 1; }
.footer-marquee-favicon {
  height: 28px !important;
  width: 28px !important;
  max-width: 28px;
  object-fit: contain;
}
@keyframes footerMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-marquee-inner {
    animation: none;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
  }
  .footer-marquee-group {
    padding-right: 0;
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-marquee-group[aria-hidden="true"] {
    display: none;
  }
}
.footer-brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  padding: 18px 0 8px;
  border-bottom: 1px solid rgba(30, 70, 150, 0.35);
}
.footer-brand-img {
  height: 30px;
  width: auto;
  max-width: min(180px, 42vw);
  object-fit: contain;
  opacity: 0.95;
  display: block;
}
.footer-brand-img:hover { opacity: 1; }
.footer-brand-favicon {
  height: 32px !important;
  width: 32px !important;
  max-width: 32px;
  object-fit: contain;
  image-rendering: auto;
}
.footer-wrap { min-height: 64px; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 0.88rem; }
.footer-links { display: flex; gap: 10px 16px; align-items: center; flex-wrap: wrap; justify-content: center; }
.footer-sep { width: 1px; height: 14px; background: var(--border); }
.footer-legal { font-size: 0.8rem; opacity: 0.7; }
.footer-legal:hover { opacity: 1; }

/* ── card base ── */
.card {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-card); padding: 18px;
  transition: border-color 0.22s, box-shadow 0.22s;
}
.card:hover { border-color: var(--border-bright); }

/* ── reveal on scroll ── */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.5s, transform 0.5s; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.cb-showcase.reveal:not(.visible) {
  pointer-events: none;
}
.cb-showcase.reveal.visible {
  pointer-events: auto;
}

.muted-note { color: var(--muted); font-size: 0.84rem; margin-top: 14px; }

.legal-page {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.legal-page h1 {
  font-family: "Syne", "Space Grotesk", sans-serif;
  font-size: 1.85rem;
  margin-bottom: 12px;
}
.legal-page h2 {
  font-size: 1.1rem;
  margin: 28px 0 10px;
  color: #e8f0ff;
}
.legal-page p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 12px;
}
.legal-updated {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.legal-main {
  padding-top: 28px;
  padding-bottom: 72px;
}
.legal-page ul,
.legal-page ol {
  margin: 0 0 14px;
  padding-left: 1.35rem;
  color: var(--muted);
  line-height: 1.65;
}
.legal-page li {
  margin-bottom: 8px;
}
.legal-page li:last-child {
  margin-bottom: 0;
}
.legal-page strong {
  color: #d4e4ff;
  font-weight: 600;
}

/* ── responsive ── */
@media (max-width: 1040px) {
  .panel-page-grid {
    grid-template-columns: 1fr;
  }
  .panel-login-aside {
    position: static;
  }
}
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-fancy .hero-copy .hero-title {
    white-space: normal;
    text-wrap: balance;
    font-size: clamp(1.45rem, 4.2vw + 0.45rem, 2.2rem);
    line-height: 1.14;
    max-width: min(22rem, 100%);
    margin-left: auto;
    margin-right: auto;
  }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-fancy .hero-lead {
    margin-left: auto;
    margin-right: auto;
    white-space: normal;
    font-size: 0.98rem;
  }
  #showcase .showcase-copy h2 {
    white-space: normal;
    text-wrap: balance;
  }
  .hero-cta { justify-content: center; }
  .hero-badges { justify-content: center; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-interactive-hint { text-align: center; }
  .cb-showcase-stage { perspective: 880px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .status-stats-bar { grid-template-columns: repeat(2, 1fr); }
  .infra-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .product-grid, .status-grid { grid-template-columns: 1fr 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-visual { min-height: min(46vh, 480px); }
  .thumb-html--modal .thumb-pro-stage { min-height: min(40vh, 360px); }
  .stat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .product-grid, .status-grid, .option-grid { grid-template-columns: 1fr; }
  .nav-dock { display: none; }
  .mobile-nav { display: flex; }
  .hero { padding-top: 56px; }
  .stats-strip { grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
  .stat-num { font-size: 1.05rem; }
  .footer-wrap { flex-direction: column; gap: 6px; text-align: center; }
  .footer-brands { gap: 10px 14px; padding-top: 14px; }
  .footer-brand-img { height: 26px; max-width: min(160px, 46vw); }
  .footer-marquee-img { height: 24px; max-width: min(140px, 40vw); }
  .dash-tabs { overflow-x: auto; }
  .why-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .wheel-fab-wrap { right: max(12px, env(safe-area-inset-right)); bottom: calc(56px + 16px + 14px); }
  .wheel-fab { width: 52px; height: 52px; }
}

/* ── purchase toasts (bottom) ── */
.purchase-toasts {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 210;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}
.purchase-toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(59, 130, 246, 0.35);
  background: linear-gradient(135deg, rgba(8, 22, 48, 0.95), rgba(4, 12, 28, 0.98));
  box-shadow: 0 12px 40px rgba(0, 10, 40, 0.65), 0 0 1px rgba(255, 255, 255, 0.08) inset;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.purchase-toast-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.purchase-toast-out {
  opacity: 0;
  transform: translateY(8px);
}
.purchase-toast--cart {
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow: 0 12px 40px rgba(0, 20, 40, 0.6), 0 0 24px rgba(52, 211, 153, 0.12);
}
.purchase-toast--cart .purchase-toast-dot {
  background: #34d399;
  box-shadow: 0 0 14px rgba(52, 211, 153, 0.65);
  animation: pulse-dot-cart 1.6s ease-in-out infinite;
}
@keyframes pulse-dot-cart {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.08); }
}
.purchase-toast-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
  background: var(--green);
  box-shadow: 0 0 12px var(--green-glow);
  animation: pulse-dot 2s ease-in-out infinite;
}
.purchase-toast-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.86rem;
  line-height: 1.4;
  color: #d4e4ff;
}
.purchase-toast-body strong {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
}
.purchase-toast-body em {
  font-style: normal;
  font-weight: 600;
  color: #f0f6ff;
}
.purchase-toast-time {
  font-size: 0.78rem;
  color: var(--muted);
}
@media (max-width: 640px) {
  .purchase-toasts {
    left: 10px;
    bottom: 72px;
    max-width: calc(100vw - 20px);
  }
  .glow-pill {
    font-size: 0.62rem;
    padding: 8px 12px 10px;
    max-width: min(200px, 88vw);
  }
  .glow-pill.gp-blue { bottom: 22%; }
}
/* ── keyframes ── */
@keyframes drift { 0%, 100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(25px,-20px,0); } }
@keyframes scrollTrack { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
