/* ============ AlavistaLive — Design System v2 ============ */
/* Foundations: Blinker + Gloria Hallelujah · Fucsia #FF00FD · Dark premium */

:root {
  /* Brand */
  --fucsia: #FF00FD;
  --fucsia-soft: #FF00FD66;
  --negro: #1B1912;
  --gris: #E5E5E5;

  /* App surfaces */
  --bg: #08080F;
  --surface-1: #12121A;
  --surface-2: #1A1A24;
  --surface-3: #22222E;
  --border: #2A2A36;
  --border-strong: #3A3A48;

  /* Text */
  --text: #FFFFFF;
  --text-2: #B8B8C7;
  --text-3: #7A7A8C;

  /* Accents (TikTok aligned) */
  --cyan: #25F4EE;
  --red: #FE2C55;
  --green: #10E0A1;
  --gold: #F7C948;

  /* Glows */
  --glow-fucsia: 0 0 16px #FF00FD, 0 0 32px #FF00FD66;
  --glow-cyan: 0 0 16px #25F4EE, 0 0 32px #25F4EE66;

  /* Elevation */
  --el-1: 0px 2px 8px rgba(0,0,0,0.30);
  --el-2: 0px 8px 24px rgba(0,0,0,0.40);
  --el-3: 0px 16px 48px rgba(0,0,0,0.50);

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 24px;
  --r-pill: 999px;

  /* Spacing (8pt) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 40px; --s-8: 48px;

  /* Type */
  --font-ui: "Blinker", "Inter", system-ui, sans-serif;
  --font-hand: "Gloria Hallelujah", "Caveat", cursive;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Gradients */
  --grad-fucsia: linear-gradient(135deg, #FF00FD 0%, #B100FF 100%);
  --grad-cyan: linear-gradient(135deg, #25F4EE 0%, #00B7FF 100%);
  --grad-signature: linear-gradient(135deg, #25F4EE 0%, #FF00FD 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--fucsia); outline-offset: 3px; border-radius: 4px; }

/* ============ Layout ============ */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 48px; } }
@media (min-width: 1100px) { .container { padding: 0 72px; } }

.section { padding: 80px 0; position: relative; }
@media (min-width: 900px) { .section { padding: 120px 0; } }

/* ============ Typography ============ */
h1, h2, h3, h4 {
  font-family: var(--font-ui);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.05;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 6.5vw, 72px); font-weight: 800; }
h2 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; }
h3 { font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; }

.eyebrow {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fucsia);
  display: inline-block;
  margin-bottom: 20px;
}
.eyebrow.cyan { color: var(--cyan); }
.eyebrow.muted { color: var(--text-3); }

.subhead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--text-2); max-width: 640px; }
.caption { font-size: 13px; color: var(--text-3); }

.fucsia-text { color: var(--fucsia); }
.grad-text {
  background: var(--grad-signature);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Handwriting accent (Gloria Hallelujah) */
.hand {
  font-family: var(--font-hand);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--fucsia);
  line-height: 1.1;
}
.hand-note {
  font-family: var(--font-hand);
  color: var(--fucsia);
  font-size: 22px;
  line-height: 1.1;
  display: inline-block;
  transform: rotate(-4deg);
}

/* Underlined word — handwriting underline SVG */
.hand-underline {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.hand-underline::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -10px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 14' preserveAspectRatio='none'><path d='M3 9 C 60 4, 120 12, 180 7 S 280 3, 317 8' fill='none' stroke='%23FF00FD' stroke-width='3' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
@media (max-width: 600px) {
  .hand-underline { white-space: normal; }
}

/* Handwriting circle highlight */
.hand-circle {
  position: relative;
  display: inline-block;
  padding: 4px 10px;
}
.hand-circle::before {
  content: "";
  position: absolute;
  inset: -6px -10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60' preserveAspectRatio='none'><path d='M30 8 C 5 14, 0 38, 25 50 S 130 58, 175 50 S 200 14, 160 8 S 60 0, 30 8 Z' fill='none' stroke='%23FF00FD' stroke-width='2.4' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--r-md);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--fucsia);
  color: white;
  box-shadow: var(--glow-fucsia);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
}
.btn-secondary:hover { background: rgba(37, 244, 238, 0.08); }
.btn-tertiary {
  background: transparent;
  color: var(--fucsia);
  border-color: transparent;
}
.btn-tertiary:hover { color: white; }
.btn-ghost {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--surface-1);
}
.btn-ghost:hover { border-color: var(--text-3); }
.btn-outline {
  color: var(--text);
  border-color: var(--border-strong);
  background: transparent;
}
.btn-outline:hover { border-color: var(--fucsia); color: var(--fucsia); }
.btn:disabled, .btn.disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

/* ============ Pills, badges, chips ============ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 0, 253, 0.12);
  color: var(--fucsia);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.pill.cyan { background: rgba(37, 244, 238, 0.12); color: var(--cyan); }
.pill.gold { background: rgba(247, 201, 72, 0.12); color: var(--gold); }
.pill.green { background: rgba(16, 224, 161, 0.12); color: var(--green); }
.pill.red { background: rgba(254, 44, 85, 0.12); color: var(--red); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-live { background: var(--fucsia); color: white; }
.badge-new { background: transparent; border: 1.5px solid var(--fucsia); color: var(--fucsia); }
.badge-verified { background: transparent; border: 1.5px solid var(--cyan); color: var(--cyan); }
.badge-featured { background: rgba(247, 201, 72, 0.15); color: var(--gold); border: 1px solid rgba(247, 201, 72, 0.4); }

/* ============ Cards ============ */
.card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--el-1);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  position: relative;
}
@media (min-width: 768px) { .card { padding: 28px; } }
.card.hoverable:hover {
  transform: translateY(-3px);
  border-color: var(--fucsia);
  box-shadow: var(--el-2), 0 0 0 1px var(--fucsia), 0 0 24px rgba(255, 0, 253, 0.18);
}
.card.elevated { background: var(--surface-2); box-shadow: var(--el-2); }

/* ============ Reveal animations ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition: none !important; }
}

/* ============ Backgrounds ============ */
.dotgrid {
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

/* ============ Logo ============ */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: white;
}
.logo-mark {
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-word { display: inline-flex; align-items: baseline; }
.logo-word b { font-weight: 800; color: white; }
.logo-word i { font-style: normal; font-weight: 800; color: var(--fucsia); }

/* ============ Navbar ============ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 72px;
  background: rgba(8, 8, 15, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: height .25s ease, background .25s ease;
}
.nav.scrolled { height: 60px; background: rgba(8, 8, 15, 0.94); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-anchors { display: none; gap: 28px; }
.nav-anchors a { font-size: 14px; color: var(--text-2); transition: color .2s; font-weight: 500; }
.nav-anchors a:hover { color: var(--fucsia); }
@media (min-width: 900px) { .nav-anchors { display: flex; } }
.nav-burger { display: inline-flex; padding: 10px; border-radius: 10px; border: 1px solid var(--border); }
@media (min-width: 900px) { .nav-burger { display: none; } }
.nav-cta-desktop { display: none; }
@media (min-width: 900px) { .nav-cta-desktop { display: inline-flex; } }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 15, 0.98);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-overlay a { font-size: 28px; font-family: var(--font-ui); font-weight: 700; }

/* ============ Hero ============ */
.hero {
  min-height: 720px;
  padding-top: 120px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .hero { min-height: 100vh; display: flex; align-items: center; padding-top: 100px; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; } }

.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust-bar {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 36px;
  align-items: center;
}
.trust-bar .partner {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-3);
  text-transform: uppercase;
  transition: color .25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust-bar .partner::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}
.trust-bar .partner:hover { color: var(--fucsia); }

/* ============ Phone Mockup ============ */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone {
  width: min(320px, 80vw);
  aspect-ratio: 320 / 660;
  background: #000;
  border: 2px solid #2A2A36;
  border-radius: 44px;
  padding: 12px;
  position: relative;
  box-shadow:
    0 50px 120px rgba(255, 0, 253, 0.30),
    0 30px 60px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1.5px rgba(255,255,255,0.05);
  animation: float 4s ease-in-out infinite;
}
.phone.tilt { transform: rotateY(-8deg) rotateX(4deg); }
.phone.large { width: min(360px, 86vw); }
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
.phone .phone-screen { position: absolute; inset: 12px; border-radius: 32px; overflow: hidden; background: #000; }
.phone-screen-img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; border-radius: inherit; image-rendering: -webkit-optimize-contrast; }
.phone-carousel { display: flex; flex-direction: column; align-items: center; gap: 14px; position: relative; padding: 20px 56px; }
.phone-carousel .phone-mini { width: 280px; aspect-ratio: 320/660; }
.phone-carousel .phone-mini .phone-screen { position: absolute; inset: 12px; border-radius: 32px; overflow: hidden; background: #000; }
.pc-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .55s ease; }
.pc-slide.active { opacity: 1; }
.pc-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface-1); border: 1px solid var(--border);
  color: var(--text); font-size: 24px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, color .2s;
}
.pc-btn:hover { background: var(--fucsia); border-color: var(--fucsia); color: #08080F; }
.pc-prev { left: 0; }
.pc-next { right: 0; }
.pc-dots { display: flex; gap: 8px; margin-top: 4px; }
.pc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); border: 0; cursor: pointer; padding: 0; transition: background .2s, width .2s; }
.pc-dot.active { background: var(--fucsia); width: 22px; border-radius: 4px; }
@media (max-width: 700px) { .phone-carousel { padding: 16px 48px; } .phone-carousel .phone-mini { width: 220px; } }
.phone-screen-old {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #12121A 0%, #08080F 100%);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone-notch {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 24px;
  background: #000;
  border-radius: 999px;
  z-index: 10;
}

/* ============ Phone UI ============ */
.ph { padding: 44px 16px 16px; flex: 1; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.ph-head { display: flex; align-items: center; gap: 10px; }
.ph-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--grad-signature);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; color: white;
  border: 2px solid var(--surface-1);
  box-shadow: 0 0 0 2px var(--fucsia);
}
.ph-name { font-weight: 700; font-size: 13px; }
.ph-tier { font-size: 10px; color: var(--cyan); }
.ph-bell { margin-left: auto; width: 28px; height: 28px; border-radius: 8px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--text-2); position: relative; }
.ph-bell::after {
  content: "";
  position: absolute; top: 6px; right: 6px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--fucsia);
  box-shadow: 0 0 6px var(--fucsia);
}
.ph-card {
  background: linear-gradient(135deg, rgba(255, 0, 253, 0.18), rgba(37, 244, 238, 0.06));
  border: 1px solid rgba(255, 0, 253, 0.3);
  border-radius: var(--r-md);
  padding: 12px;
}
.ph-coins-label { font-size: 9px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.1em; }
.ph-coins {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--fucsia);
  margin-top: 2px;
}
.ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph-mini {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
}
.ph-mini-v { font-family: var(--font-mono); font-size: 16px; font-weight: 700; color: var(--cyan); }
.ph-mini-l { font-size: 9px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }
.ph-banner {
  background: var(--fucsia);
  color: white;
  border-radius: var(--r-md);
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  display: flex; align-items: center; gap: 6px;
  box-shadow: var(--glow-fucsia);
}
.ph-chart { height: 50px; width: 100%; }
.ph-tabs {
  display: flex;
  gap: 2px;
  padding: 6px;
  background: var(--surface-2);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  margin-top: auto;
}
.ph-tab { flex: 1; padding: 8px 4px; text-align: center; font-size: 9px; color: var(--text-3); border-radius: 8px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.ph-tab.active { background: rgba(255, 0, 253, 0.12); color: var(--fucsia); }
.ph-tab.active.live { color: white; }
.ph-tab.active.live .live-btn {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--fucsia);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--glow-fucsia);
  color: white;
  margin-bottom: 2px;
}

/* ============ Stat row ============ */
.stat-row { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 48px; }
@media (min-width: 700px) { .stat-row { grid-template-columns: repeat(3, 1fr); } }
.stat .num { font-family: var(--font-ui); font-size: clamp(40px, 5vw, 64px); font-weight: 800; color: var(--fucsia); line-height: 1; letter-spacing: -0.03em; }
.stat .lbl { color: var(--text-2); font-size: 14px; margin-top: 8px; }
.stat .hand-note { display: block; margin-top: 12px; font-size: 18px; }

/* ============ Awards grid ============ */
.awards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
@media (min-width: 1024px) { .awards-grid { grid-template-columns: repeat(4, 1fr); } }
.award-icon {
  margin-bottom: 16px;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: rgba(255, 0, 253, 0.10);
  color: var(--fucsia);
  border: 1px solid rgba(255, 0, 253, 0.25);
}
.award h3 { font-size: 18px; margin-bottom: 8px; line-height: 1.25; font-weight: 700; }
.award p { font-size: 13px; color: var(--text-2); margin: 0; }

/* ============ Brand wall ============ */
.brand-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
@media (min-width: 700px) { .brand-wall { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .brand-wall { grid-template-columns: repeat(6, 1fr); } }
.brand {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--text-3);
  transition: color .25s, background .25s;
  text-align: center;
  padding: 8px;
}
.brand:hover { color: var(--fucsia); background: rgba(255, 0, 253, 0.04); }

/* ============ Features ============ */
.features-layout {
  display: grid;
  gap: 48px;
  margin-top: 64px;
  align-items: center;
}
@media (min-width: 1024px) {
  .features-layout { grid-template-columns: 1fr auto 1fr; gap: 56px; }
}
.feature-col { display: flex; flex-direction: column; gap: 32px; }
.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.feature-icon {
  width: 56px; height: 56px; border-radius: var(--r-md);
  background: rgba(255, 0, 253, 0.10);
  border: 1px solid rgba(255, 0, 253, 0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--fucsia);
  margin: 0 auto 4px;
  transition: transform .5s ease, box-shadow .3s ease;
}
.feature:hover .feature-icon {
  transform: rotate(-6deg) scale(1.05);
  box-shadow: var(--glow-fucsia);
}
.feature h3 { font-size: 18px; font-weight: 700; text-align: center; }
.feature p { font-size: 14px; color: var(--text-2); margin: 0; line-height: 1.55; text-align: center; max-width: 280px; }

/* ============ Coins flow ============ */
.flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 56px;
}
@media (min-width: 900px) { .flow { grid-template-columns: 1fr 1fr 1fr; gap: 24px; } }
.flow-step {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.flow-step::before {
  content: "";
  position: absolute; top: 0; left: 0; height: 3px; width: 40%;
  background: var(--fucsia);
}
.flow-step .num {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 16px;
}
.flow-step h3 { font-size: 20px; margin-bottom: 8px; font-weight: 700; }
.flow-step p { font-size: 14px; color: var(--text-2); margin: 0; }
.flow-step .hand-note { position: absolute; top: 18px; right: 22px; font-size: 18px; }

/* ============ Prizes table ============ */
.table-wrap {
  margin-top: 48px;
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
@media (min-width: 768px) {
  .table-wrap { -webkit-mask-image: none; mask-image: none; }
}
table.prizes { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--surface-1); }
table.prizes th, table.prizes td {
  padding: 18px 20px;
  text-align: center;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-ui);
}
table.prizes th {
  background: var(--surface-2);
  color: var(--text-2);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
table.prizes td.coin { font-family: var(--font-mono); color: var(--fucsia); font-weight: 700; }
table.prizes tr.top td { background: rgba(255, 0, 253, 0.06); font-weight: 700; }
table.prizes tr.top td.coin { font-size: 18px; }
table.prizes tr:last-child td { border-bottom: 0; }
table.prizes tr:hover td { background: rgba(255, 0, 253, 0.04); }

/* ============ Store carousel ============ */
.store-row {
  margin-top: 48px;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
.store-row::-webkit-scrollbar { height: 6px; }
.store-row::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 999px; }
.product {
  flex: 0 0 260px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  position: relative;
}
.product:hover {
  transform: translateY(-4px);
  border-color: var(--fucsia);
  box-shadow: 0 0 24px rgba(255, 0, 253, 0.15);
}
.product.featured {
  border-color: var(--fucsia);
  box-shadow: var(--glow-fucsia);
}
.product-img {
  height: 200px;
  border-radius: var(--r-md);
  background:
    radial-gradient(120% 90% at 50% 30%, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0.25) 100%),
    var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.product-img img {
  max-width: 86%;
  max-height: 86%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.55));
  transition: transform .5s ease;
}
.product:hover .product-img img { transform: scale(1.06) translateY(-2px); }
.product.featured .product-img {
  background:
    radial-gradient(120% 90% at 50% 30%, rgba(255, 0, 253, 0.18) 0%, rgba(255, 0, 253, 0) 60%),
    linear-gradient(180deg, rgba(255, 0, 253, 0.06) 0%, rgba(0, 0, 0, 0.3) 100%),
    var(--surface-2);
}
.product-name { font-size: 15px; font-weight: 600; line-height: 1.3; }
.product-price { font-family: var(--font-mono); font-weight: 700; color: var(--fucsia); font-size: 18px; }
.product-tag { display: inline-flex; align-self: flex-start; }
.product-badge {
  position: absolute;
  top: -10px; right: 14px;
  background: var(--fucsia);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  box-shadow: var(--glow-fucsia);
}

/* ============ Team grid ============ */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 48px; }
@media (min-width: 700px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card { padding: 28px; }
.team-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: rgba(37, 244, 238, 0.08);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(37, 244, 238, 0.25);
}
.team-card h3 { font-size: 18px; margin-bottom: 8px; font-weight: 700; }
.team-card p { font-size: 14px; color: var(--text-2); margin: 0; line-height: 1.55; }

.bonus-row {
  margin-top: 32px;
  padding: 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface-1);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
}
@media (min-width: 700px) { .bonus-row { grid-template-columns: repeat(3, 1fr); } }
.bonus { display: flex; gap: 14px; align-items: flex-start; }
.bonus .ic { flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px; background: var(--surface-2); display: inline-flex; align-items: center; justify-content: center; }
.bonus h4 { font-family: var(--font-ui); font-weight: 700; font-size: 15px; margin: 0 0 4px; }
.bonus p { font-size: 13px; color: var(--text-2); margin: 0; }

/* ============ Join steps ============ */
.steps { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 56px; }
@media (min-width: 900px) { .steps { grid-template-columns: 1fr 1fr 1fr; gap: 24px; } }
.step {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.step .step-num {
  font-family: var(--font-ui);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: var(--fucsia);
  letter-spacing: -0.04em;
}
.step h3 { font-size: 20px; line-height: 1.2; font-weight: 700; }
.step p { font-size: 14px; color: var(--text-2); margin: 0; flex: 1; }
.step-visual {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============ Final CTA ============ */
.final-banner {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--fucsia), var(--cyan));
}
.final-card {
  background: var(--bg);
  border-radius: 22px;
  padding: 48px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(255, 0, 253, 0.15), transparent 60%);
  pointer-events: none;
}
@media (min-width: 768px) { .final-card { padding: 80px 64px; } }
.final-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; position: relative; z-index: 2; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: black;
  padding: 12px 22px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 14px;
  position: relative;
  font-family: var(--font-ui);
}
.store-btn.disabled { cursor: not-allowed; opacity: 0.85; }
.store-btn .small { font-size: 10px; opacity: 0.65; display: block; line-height: 1; }
.store-btn .big { font-size: 15px; line-height: 1.1; font-weight: 700; }
.store-btn .ic { width: 22px; height: 22px; flex-shrink: 0; }

.divider-text {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px auto;
  max-width: 320px;
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.05em;
  position: relative;
  z-index: 2;
}
.divider-text::before, .divider-text::after {
  content: ""; flex: 1; height: 1px; background: var(--border);
}

.qr {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  background: white;
  border-radius: var(--r-lg);
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(13, 1fr);
  grid-template-rows: repeat(13, 1fr);
  gap: 1px;
  position: relative;
  z-index: 2;
}
.qr i { background: black; }
.qr i.off { background: white; }

/* ============ Footer ============ */
footer { padding: 80px 0 40px; border-top: 1px solid var(--border); }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-col h4 { font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { font-size: 14px; color: var(--text-2); transition: color .2s; }
.foot-col a:hover { color: var(--fucsia); }
.foot-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.socials { display: flex; gap: 8px; }
.socials a {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-3);
  transition: color .2s, border-color .2s, background .2s;
}
.socials a:hover { color: white; border-color: var(--fucsia); background: rgba(255, 0, 253, 0.08); }

.section.pivot {
  background: linear-gradient(180deg, var(--bg) 0%, #050509 50%, var(--bg) 100%);
}

/* ============ Tiko Coin (real PNG) ============ */
@keyframes coin-spin {
  0%   { transform: rotateY(0deg)   translateY(0); }
  50%  { transform: rotateY(180deg) translateY(-6px); }
  100% { transform: rotateY(360deg) translateY(0); }
}
@keyframes coin-float {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50%      { transform: translateY(-14px) rotate(6deg); }
}

/* Decorative coins flanking the Tiko Coins section */
.coin-decor {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
  filter: drop-shadow(0 18px 40px rgba(255, 196, 31, 0.3));
}
.coin-decor-1 {
  top: -20px;
  right: 4%;
  animation: coin-float 7s ease-in-out infinite;
}
.coin-decor-2 {
  bottom: 40px;
  left: 6%;
  animation: coin-float 9s ease-in-out infinite reverse;
}
@media (max-width: 900px) {
  .coin-decor-1 { right: -10px; top: -10px; }
  .coin-decor-1 img { width: 72px !important; height: 72px !important; }
  .coin-decor-2 { display: none; }
}

/* Inline coin cell — coin + amount aligned on baseline */
.coin-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  color: var(--gold, #FFC41F);
  font-weight: 700;
}
table.prizes td.coin { color: var(--gold, #FFC41F); }
table.prizes tr.top td.coin .coin-cell { font-size: 19px; }

/* Make the price element use gold color when paired with the coin image */
.product-price { color: var(--gold, #FFC41F) !important; }
