/* ==========================================================================
   bloqbox — marketing site styles
   ========================================================================== */

:root {
  --pink: #ff1e7d;
  --pink-2: #fc4592;
  --pink-soft: #ff6ba8;
  --violet: #7c5cff;
  --cyan: #2dd4bf;
  --ink: #111112;
  --ink-2: #17171a;
  --ink-3: #1e1e22;
  --paper: #ffffff;
  --paper-2: #f6f6f8;
  --muted: #6b6b72;
  --muted-2: #9a9aa2;
  --line: rgba(17, 17, 18, 0.08);
  --line-dark: rgba(255, 255, 255, 0.12);

  --grad: linear-gradient(120deg, var(--pink) 0%, var(--pink-2) 45%, var(--violet) 100%);
  --grad-soft: linear-gradient(120deg, rgba(255, 30, 125, 0.14), rgba(124, 92, 255, 0.14));

  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 20px 60px -20px rgba(17, 17, 18, 0.25);
  --shadow-pink: 0 20px 50px -18px rgba(255, 30, 125, 0.45);
  --nav-h: 72px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--pink); color: #fff; }

/* ---------- Ambient background ---------- */
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--paper);
  pointer-events: none;
}
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}
.aurora-1 {
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(255, 30, 125, 0.35), transparent 70%);
  top: -20vw; left: -10vw;
  animation: drift1 26s var(--ease) infinite alternate;
}
.aurora-2 {
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.3), transparent 70%);
  top: 10vw; right: -15vw;
  animation: drift2 32s var(--ease) infinite alternate;
}
.aurora-3 {
  width: 40vw; height: 40vw;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.22), transparent 70%);
  bottom: -10vw; left: 30vw;
  animation: drift3 38s var(--ease) infinite alternate;
}
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 17, 18, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 18, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
@keyframes drift1 { to { transform: translate(12vw, 8vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-10vw, 12vh) scale(1.1); } }
@keyframes drift3 { to { transform: translate(8vw, -10vh) scale(1.2); } }

/* ---------- Falling blocks canvas ---------- */
#blocks-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-pink);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 60px -16px rgba(255, 30, 125, 0.6);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  border-color: var(--line);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(17, 17, 18, 0.2);
  background: #fff;
}
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -18px rgba(17, 17, 18, 0.25);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  background: var(--ink);
  box-shadow: 0 2px 10px -3px rgba(17, 17, 18, 0.45);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.brand:hover .brand-mark {
  transform: scale(1.06) rotate(-4deg);
  box-shadow: 0 6px 18px -4px rgba(255, 30, 125, 0.5);
}
.brand-word {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.72;
  transition: opacity 0.2s, color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-burger span {
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 24px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a {
  padding: 12px 4px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-menu.is-open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
}
.hero-inner {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 0 rgba(255, 30, 125, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 30, 125, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(255, 30, 125, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 30, 125, 0); }
}
.hero-logo {
  width: min(560px, 78vw);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(17, 17, 18, 0.12));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-tagline {
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 500;
  color: var(--muted);
  max-width: 620px;
}
.hero-tagline em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.hero-platforms { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--font-display);
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.platform-chip svg { width: 16px; height: 16px; }
.platform-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 30, 125, 0.4);
  box-shadow: 0 12px 30px -12px rgba(255, 30, 125, 0.4);
}

.hero-stats {
  display: flex;
  gap: clamp(24px, 5vw, 60px);
  margin-top: 8px;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 13px; color: var(--muted); font-weight: 500; }

.scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
}
.mouse {
  width: 26px; height: 42px;
  border: 2px solid var(--muted-2);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.wheel {
  width: 4px; height: 8px;
  background: var(--pink);
  border-radius: 2px;
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  padding: 16px 0;
  transform: rotate(-1.2deg) scale(1.02);
  margin: 0 -10px;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: #fff;
}
.marquee-track i {
  color: var(--pink);
  font-style: normal;
  font-size: 12px;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Sections (shared) ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 110px 24px;
}
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink);
}
.section-head h2 {
  font-size: clamp(30px, 4.6vw, 48px);
  font-weight: 700;
}
.section-head p { color: var(--muted); font-size: 17px; }

/* ---------- Platforms ---------- */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.platform-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
}
.platform-card:hover {
  box-shadow: 0 30px 80px -24px rgba(17, 17, 18, 0.35);
}
.platform-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.platform-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.platform-card:hover .platform-card-media img { transform: scale(1.06); }
.platform-card-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(17, 17, 18, 0.35));
}
.platform-card-body { padding: 24px 26px 28px; }
.platform-card-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #fff;
}
.platform-card-icon svg { width: 24px; height: 24px; }
.vision-icon { background: linear-gradient(135deg, #ff1e7d, #7c5cff); }
.iphone-icon { background: linear-gradient(135deg, #2dd4bf, #0ea5e9); }
.tv-icon { background: linear-gradient(135deg, #f59e0b, #ff1e7d); }
.platform-card-body h3 { font-size: 22px; margin-bottom: 8px; }
.platform-card-body p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.platform-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink);
  background: rgba(255, 30, 125, 0.08);
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- Modes ---------- */
.modes { background: transparent; }
.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mode-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
}
.mode-card:hover {
  box-shadow: 0 30px 80px -24px rgba(17, 17, 18, 0.35);
}
.mode-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.mode-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.mode-card:hover .mode-media img { transform: scale(1.06); }
.mode-body { padding: 24px 26px 28px; }
.mode-num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: 0.1em;
}
.mode-body h3 { font-size: 22px; margin: 6px 0 8px; }
.mode-body p { color: var(--muted); font-size: 15px; }

.mode-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  border: none;
  color: #fff;
  text-align: center;
}
.mode-cta-inner {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.mode-cta-inner h3 { font-size: 24px; }
.mode-cta-inner p { color: var(--muted-2); font-size: 15px; }

/* ---------- Gallery ---------- */
.gallery-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.gallery-tab {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  transition: all 0.25s var(--ease);
}
.gallery-tab:hover { border-color: rgba(255, 30, 125, 0.4); }
.gallery-tab.is-active {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-pink);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  display: block;
  padding: 0;
  margin: 0;
  font: inherit;
  text-align: left;
  color: inherit;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 30px -18px rgba(17, 17, 18, 0.3);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  animation: fadeUp 0.5s var(--ease) both;
}
.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -20px rgba(17, 17, 18, 0.4);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.portrait img { aspect-ratio: 9 / 19.5; object-fit: cover; }
.gallery-item .gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 16px 12px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-display);
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(17, 17, 18, 0.7));
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox-figure {
  margin: 0;
  max-width: min(92vw, 1200px);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 14px;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.7);
}
.lightbox-figure figcaption {
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  opacity: 0.85;
}
.lightbox-close {
  position: absolute;
  top: 22px; right: 26px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 18px;
  transition: background 0.2s, transform 0.2s;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.2); transform: rotate(90deg); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  transition: background 0.2s, transform 0.2s;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.2); }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 30, 125, 0.3);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: var(--grad-soft);
  margin-bottom: 18px;
}
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ---------- Leaderboard ---------- */
.leaderboard-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
}
.leaderboard-panel {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: #fff;
  box-shadow: var(--shadow);
}
.leaderboard-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.leaderboard-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.2s;
}
.leaderboard-list li:hover { background: rgba(255, 255, 255, 0.08); }
.lb-rank {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  width: 30px;
  text-align: center;
  color: var(--muted-2);
}
.leaderboard-list li:nth-child(1) .lb-rank { color: #ffd166; }
.leaderboard-list li:nth-child(2) .lb-rank { color: #c0c0c0; }
.leaderboard-list li:nth-child(3) .lb-rank { color: #cd7f32; }
.lb-name { flex: 1; font-weight: 600; font-size: 15px; }
.lb-platform {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 9px;
  border-radius: 999px;
}
.lb-score {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.leaderboard-empty { color: var(--muted-2); justify-content: center; }

.score-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.score-form h3 { font-size: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 30, 125, 0.12);
}
.form-msg { font-size: 14px; min-height: 20px; }
.form-msg.ok { color: #16a34a; }
.form-msg.err { color: #dc2626; }

/* ---------- Join ---------- */
.join-card {
  background: var(--ink);
  border-radius: 32px;
  padding: clamp(40px, 6vw, 72px);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(17, 17, 18, 0.6);
}
.join-card::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 30, 125, 0.4), transparent 70%);
  top: -160px; right: -120px;
  filter: blur(40px);
}
.join-card::after {
  content: "";
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.35), transparent 70%);
  bottom: -140px; left: -100px;
  filter: blur(40px);
}
.join-copy { position: relative; z-index: 1; }
.join-copy h2 { font-size: clamp(28px, 4vw, 40px); margin: 10px 0 14px; }
.join-copy p { color: var(--muted-2); font-size: 16px; }
.join-form { position: relative; z-index: 1; }
.join-inputs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.join-inputs input {
  flex: 1 1 200px;
  font-family: inherit;
  font-size: 15px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.join-inputs input::placeholder { color: var(--muted-2); }
.join-inputs input:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 30, 125, 0.2);
}
.join-inputs select {
  font-family: inherit;
  font-size: 14px;
  padding: 14px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.join-inputs select option { color: var(--ink); }
.join-note { font-size: 13px; color: var(--muted-2); margin-top: 12px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #fff;
  padding: 70px 24px 30px;
  margin-top: 40px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-logo { height: 30px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--muted-2); max-width: 360px; font-size: 15px; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 6px;
}
.footer-col a { color: #fff; opacity: 0.75; font-size: 15px; transition: opacity 0.2s, color 0.2s; }
.footer-col a:hover { opacity: 1; color: var(--pink-soft); }
.footer-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted-2);
}
.footer-fine { opacity: 0.6; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .platform-grid, .modes-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .leaderboard-wrap { grid-template-columns: 1fr; }
  .join-card { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-actions .btn { display: none; }
}
@media (max-width: 600px) {
  .platform-grid, .modes-grid, .features-grid, .gallery-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 20px; }
  .hero-stats { gap: 24px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .lightbox-nav { width: 42px; height: 42px; font-size: 24px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* ---------- Share / QR ---------- */
.share-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: var(--grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-pink);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.share-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 26px 60px -16px rgba(255, 30, 125, 0.6);
}
.share-fab:active { transform: scale(0.95); }

.share-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 10, 12, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.share-modal.is-open { opacity: 1; pointer-events: auto; }
.share-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px 28px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.5);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.35s var(--ease);
}
.share-modal.is-open .share-card { transform: translateY(0) scale(1); }
.share-card h3 { font-size: 24px; margin-bottom: 6px; }
.share-card > p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.share-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  font-size: 15px;
  transition: background 0.2s, transform 0.2s;
}
.share-close:hover { background: #eee; transform: rotate(90deg); }
.share-qr {
  display: inline-block;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  margin-bottom: 20px;
}
.share-qr img {
  width: 220px;
  height: 220px;
  display: block;
  border-radius: 6px;
}
.share-url {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}
.share-url code {
  flex: 1;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.share-note { font-size: 13px; min-height: 18px; color: #16a34a; }

@media (max-width: 600px) {
  .share-fab { right: 16px; bottom: 16px; width: 50px; height: 50px; }
  .share-qr img { width: 180px; height: 180px; }
}

/* ---------- Pricing (art-styled, animated) ---------- */
.pricing {
  position: relative;
  margin: 0;
  padding: 120px 24px;
  background: linear-gradient(125deg, #ff1e7d 0%, #fc4592 38%, #c236ff 70%, #7c5cff 100%);
  overflow: hidden;
}
.pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 95% 85% at 50% 35%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 95% 85% at 50% 35%, #000 25%, transparent 78%);
  pointer-events: none;
}
.pricing-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
}

/* Floating block decorations */
.pricing-decor {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.pfloat {
  position: absolute;
  will-change: transform;
}
.p-1 { top: 12%; left: 6%; }
.p-2 { top: 22%; right: 8%; }
.p-3 { bottom: 18%; left: 10%; }
.p-4 { bottom: 12%; right: 14%; }
.p-5 { top: 60%; left: 4%; }
.p-6 { top: 8%; left: 46%; }
.p-7 { top: 16%; right: 18%; }
.p-8 { bottom: 14%; left: 20%; }

.bloq {
  position: relative;
  display: block;
  border-radius: 22%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  animation: bloqFloat 9s ease-in-out infinite;
}
.bloq-1 { width: 70px; height: 70px; animation-delay: 0s; }
.bloq-2 { width: 44px; height: 44px; animation-delay: -2s; }
.bloq-3 { width: 58px; height: 58px; animation-delay: -4s; }
.bloq-4 { width: 38px; height: 38px; animation-delay: -6s; }
.bloq-5 { width: 26px; height: 26px; animation-delay: -3s; }
.bloq-6 { width: 32px; height: 32px; animation-delay: -5s; }

/* 3D spinning blocks */
.cube {
  position: relative;
  display: block;
  width: 54px;
  height: 54px;
  transform-style: preserve-3d;
  animation: cubeSpinFloat 14s ease-in-out infinite;
}
.cube-1 { animation-delay: -1s; }
.cube-2 { width: 40px; height: 40px; animation-delay: -7s; }
.cube i {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 30, 125, 0.45);
  border-radius: 8px;
  box-shadow: inset 0 0 14px rgba(255, 30, 125, 0.12);
}
.cube-2 i { background: rgba(255, 255, 255, 0.75); }
.cube i:nth-child(1) { transform: rotateY(0deg) translateZ(27px); }
.cube i:nth-child(2) { transform: rotateY(90deg) translateZ(27px); }
.cube i:nth-child(3) { transform: rotateY(180deg) translateZ(27px); }
.cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(27px); }
.cube i:nth-child(5) { transform: rotateX(90deg) translateZ(27px); }
.cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(27px); }
.cube-2 i:nth-child(1) { transform: rotateY(0deg) translateZ(20px); }
.cube-2 i:nth-child(2) { transform: rotateY(90deg) translateZ(20px); }
.cube-2 i:nth-child(3) { transform: rotateY(180deg) translateZ(20px); }
.cube-2 i:nth-child(4) { transform: rotateY(-90deg) translateZ(20px); }
.cube-2 i:nth-child(5) { transform: rotateX(90deg) translateZ(20px); }
.cube-2 i:nth-child(6) { transform: rotateX(-90deg) translateZ(20px); }

@keyframes bloqFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-24px) rotate(7deg); }
  66% { transform: translateY(12px) rotate(-5deg); }
}
@keyframes cubeSpinFloat {
  0% { transform: rotateX(0deg) rotateY(0deg) translateY(0); }
  50% { transform: rotateX(180deg) rotateY(180deg) translateY(-20px); }
  100% { transform: rotateX(360deg) rotateY(360deg) translateY(0); }
}

/* Header */
.pricing-head h2 { color: #fff; text-shadow: 0 4px 30px rgba(90, 0, 60, 0.35); }
.pricing-eyebrow { color: rgba(255, 255, 255, 0.9); }
.pricing-promise {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.promise-pill {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 8px 18px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  transition: transform 0.25s var(--ease), background 0.25s;
}
.promise-pill:hover {
  transform: translateY(-3px) scale(1.05);
  background: rgba(255, 255, 255, 0.3);
}
.promise-dot { color: #fff; font-weight: 700; }

/* Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 30px 60px -22px rgba(70, 0, 50, 0.55);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.price-card::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -70%;
  width: 60%;
  height: 220%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: rotate(20deg);
  transition: left 0.7s var(--ease);
}
.price-card:hover::after { left: 130%; }
.price-card:hover {
  box-shadow: 0 36px 70px -20px rgba(70, 0, 50, 0.65);
}
.price-top { border-bottom: 1px dashed rgba(17, 17, 18, 0.14); padding-bottom: 16px; margin-bottom: 16px; }
.price-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin: 8px 0 4px;
}
.price-currency {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--pink);
}
.price-amount {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradShift 4s ease infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.price-sub {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.price-features {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.price-features li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.45;
}
.price-features li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 12px;
  color: var(--pink);
  animation: tick 3s ease-in-out infinite;
}
@keyframes tick {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.25); }
}
.price-card .btn { margin-top: auto; }

/* Featured card */
.price-card-featured {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 34px 80px -24px rgba(255, 30, 125, 0.7);
}
.price-card-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 3px;
  background: linear-gradient(135deg, #ffd166, #ff1e7d, #7c5cff, #2dd4bf);
  background-size: 300% 300%;
  animation: gradShift 6s ease infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.price-card-featured::after { display: none; }
.price-card-featured .price-name { color: #fff; }
.price-card-featured .price-top { border-bottom-color: var(--line-dark); }
.price-card-featured .price-sub { color: var(--muted-2); }
.price-card-featured .price-features li { color: rgba(255, 255, 255, 0.9); }
.price-badge {
  position: absolute;
  top: -13px;
  right: 20px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(120deg, #ffd166, #ff1e7d);
  padding: 7px 15px;
  border-radius: 999px;
  box-shadow: 0 10px 24px -8px rgba(255, 30, 125, 0.7);
  animation: badgePulse 2.2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(-3deg); }
}

/* Notes */
.pricing-notes {
  margin-top: 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #fff;
}
.pricing-notes p { font-size: 15px; max-width: 680px; margin: 0 auto; color: rgba(255, 255, 255, 0.92); }
.pricing-notes p strong { color: #fff; }
.pricing-notes-list {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.pricing-notes-list span {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  padding: 8px 16px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  transition: transform 0.25s var(--ease), background 0.25s;
}
.pricing-notes-list span:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.28);
}

@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pricing { padding: 90px 20px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .p-7, .p-8 { display: none; }
}
