/* ============================================================
   FLOWAGENCYY — TikTok LIVE Agency
   Design system: dark, neon, TikTok-native (cyan #25f4ee / pink #fe2c55)
   ============================================================ */

:root {
  --bg: #060610;
  --bg-2: #0a0a18;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.07);
  --stroke: rgba(255, 255, 255, 0.09);
  --stroke-bright: rgba(255, 255, 255, 0.18);
  --ink: #f4f6ff;
  --muted: #9aa0b8;
  --faint: #8a90ad;
  --cyan: #25f4ee;
  --pink: #fe2c55;
  --violet: #8a5cff;
  --gold: #ffd166;
  --green: #3ddc84;
  --grad-brand: linear-gradient(100deg, #25f4ee 0%, #7ae0ff 28%, #fe2c55 72%, #ff7a9c 100%);
  --grad-fire: linear-gradient(100deg, #fe2c55, #ff8a5c);
  --grad-ice: linear-gradient(100deg, #25f4ee, #6a8bff);
  --grad-gold: linear-gradient(100deg, #ffd166, #ff9f43);
  --shadow-pop: 0 18px 60px rgba(0, 0, 0, 0.55);
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --nav-h: 76px;
  --font-display: "Sora", "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body { min-height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(254, 44, 85, 0.55); color: #fff; }

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

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1em; }

button { font-family: inherit; }

/* ---------- backdrop: aurora + grid + floating gifts ---------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(1200px 800px at 85% -10%, rgba(254, 44, 85, 0.16), transparent 60%),
    radial-gradient(1000px 700px at -10% 20%, rgba(37, 244, 238, 0.13), transparent 60%),
    radial-gradient(900px 900px at 50% 120%, rgba(138, 92, 255, 0.14), transparent 60%),
    var(--bg);
}

.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
}

.blob {
  position: absolute;
  width: 46vw;
  height: 46vw;
  min-width: 420px;
  min-height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: blob-drift 26s ease-in-out infinite alternate;
}

.blob-a { background: rgba(254, 44, 85, 0.20); top: -18%; right: -12%; }
.blob-b { background: rgba(37, 244, 238, 0.16); top: 30%; left: -18%; animation-delay: -8s; animation-duration: 32s; }
.blob-c { background: rgba(138, 92, 255, 0.18); bottom: -25%; right: 15%; animation-delay: -16s; animation-duration: 38s; }

@keyframes blob-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(6vw, 5vh, 0) scale(1.15); }
}

#gift-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* twinkling starfield (spawned by JS into .backdrop) */
.star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  animation: star-twinkle var(--tw, 4s) ease-in-out infinite;
  animation-delay: var(--td, 0s);
}

.star.big { width: 3px; height: 3px; box-shadow: 0 0 8px rgba(255, 255, 255, 0.8); }
.star.cyan { background: var(--cyan); box-shadow: 0 0 8px rgba(37, 244, 238, 0.8); }
.star.pink { background: #ff7d97; box-shadow: 0 0 8px rgba(254, 44, 85, 0.7); }

@keyframes star-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.6); }
  50% { opacity: var(--to, 0.8); transform: scale(1.25); }
}

/* scroll progress bar (spawned by JS) */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  z-index: 90;
  background: var(--grad-brand);
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
  box-shadow: 0 0 12px rgba(254, 44, 85, 0.5);
}

/* back-to-top diamond (spawned by JS) */
#back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--stroke-bright);
  background: rgba(12, 12, 24, 0.85);
  backdrop-filter: blur(10px);
  color: var(--ink);
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s, transform 0.35s, box-shadow 0.3s;
  pointer-events: none;
}

#back-top.show { opacity: 1; transform: none; pointer-events: auto; }
#back-top:hover { box-shadow: 0 0 24px rgba(37, 244, 238, 0.4); }

.float-gift {
  position: absolute;
  bottom: -60px;
  font-size: 22px;
  opacity: 0;
  animation: gift-rise linear forwards;
  will-change: transform, opacity;
  filter: drop-shadow(0 0 12px rgba(37, 244, 238, 0.35));
}

@keyframes gift-rise {
  0%   { transform: translateY(0) rotate(0deg) scale(0.7); opacity: 0; }
  12%  { opacity: 0.85; }
  85%  { opacity: 0.5; }
  100% { transform: translateY(-110vh) rotate(30deg) scale(1.15); opacity: 0; }
}

/* ---------- top nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 clamp(16px, 4vw, 44px);
  background: rgba(6, 6, 16, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--stroke);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}
.brand:hover { text-decoration: none; }

.brand-mark {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, #0e0e1e, #16162c);
  border: 1px solid var(--stroke-bright);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2.6px solid var(--cyan);
  left: 6px;
  top: 9px;
  animation: ring-pulse 2.6s ease-in-out infinite;
}
.brand-mark::after {
  border-color: var(--pink);
  left: 13px;
  animation-delay: -1.3s;
}

@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.14); opacity: 0.65; }
}

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

.nav-tabs {
  display: flex;
  gap: 4px;
  margin-left: auto;
  padding: 5px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 100%;
}
.nav-tabs::-webkit-scrollbar { display: none; }

.nav-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 15px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s, background 0.25s, transform 0.15s;
}

.nav-tab:hover { color: var(--ink); }
.nav-tab:active { transform: scale(0.96); }

.nav-tab.active {
  color: #fff;
  background: linear-gradient(100deg, rgba(37, 244, 238, 0.22), rgba(254, 44, 85, 0.28));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 4px 18px rgba(254, 44, 85, 0.22);
}

.nav-cta { margin-left: 6px; flex-shrink: 0; }

.lang-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--stroke-bright);
  border-radius: 999px;
  padding: 9px 15px;
  transition: background 0.25s, border-color 0.25s, transform 0.15s;
}

.lang-toggle:hover {
  text-decoration: none;
  background: rgba(37, 244, 238, 0.12);
  border-color: rgba(37, 244, 238, 0.5);
}

.lang-toggle:active { transform: scale(0.95); }

/* ---------- buttons ---------- */

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  padding: 14px 26px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.25s ease, filter 0.2s;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(100deg, #d1103c, #e0264b);
  box-shadow: 0 10px 32px rgba(209, 16, 60, 0.42);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: btn-sheen 3.4s ease-in-out infinite;
}
@keyframes btn-sheen {
  0%, 60% { transform: translateX(-120%); }
  85%, 100% { transform: translateX(120%); }
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--stroke-bright);
  color: var(--ink);
}

.btn-cyan {
  background: linear-gradient(100deg, #17c8c2, #25f4ee);
  color: #04252d;
  box-shadow: 0 10px 32px rgba(37, 244, 238, 0.3);
}

.btn:active { transform: translateY(0) scale(0.98); }

.btn-sm { padding: 10px 18px; font-size: 13.5px; }

/* ---------- layout / shared ---------- */

.tab-panel { display: none; }
.tab-panel.visible { display: block; animation: panel-in 0.55s cubic-bezier(0.2, 0.7, 0.2, 1); }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(52px, 8vw, 96px) clamp(18px, 4vw, 40px);
}

.section-tight { padding-top: 20px; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(37, 244, 238, 0.08);
  border: 1px solid rgba(37, 244, 238, 0.25);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.kicker.pink { color: #ff8aa4; background: rgba(254, 44, 85, 0.1); border-color: rgba(254, 44, 85, 0.35); }
.kicker.gold { color: var(--gold); background: rgba(255, 209, 102, 0.08); border-color: rgba(255, 209, 102, 0.3); }

.h-xl { font-size: clamp(38px, 6vw, 68px); font-weight: 800; }
.h-lg { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; }
.h-md { font-size: clamp(21px, 2.6vw, 27px); font-weight: 700; }

.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 220% 100%;
  animation: grad-slide 7s ease-in-out infinite alternate;
}

@keyframes grad-slide {
  from { background-position: 0% 0; }
  to   { background-position: 100% 0; }
}

.lede { font-size: clamp(16.5px, 1.6vw, 19px); color: var(--muted); max-width: 640px; }

.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ---------- cards ---------- */

.card {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.card-glow::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(37, 244, 238, 0.5), transparent 35%, transparent 65%, rgba(254, 44, 85, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
}
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.icon-chip {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 25px;
  margin-bottom: 18px;
  background: linear-gradient(140deg, rgba(37, 244, 238, 0.14), rgba(254, 44, 85, 0.14));
  border: 1px solid var(--stroke-bright);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.4), box-shadow 0.35s;
}

.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.8px; margin-bottom: 0; }
.card ul { color: var(--muted); font-size: 14.8px; margin: 10px 0 0; padding-left: 20px; }
.card ul li { margin-bottom: 7px; }
.card ul li::marker { color: var(--pink); }

/* pill / tag */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 13px;
  border-radius: 999px;
}

/* ---------- scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.65, 0.25, 1), transform 0.7s cubic-bezier(0.2, 0.65, 0.25, 1);
  transition-delay: var(--rd, 0s);
}

.reveal.in { opacity: 1; transform: none; }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  min-height: calc(96svh - var(--nav-h));
  padding-top: clamp(30px, 5vw, 60px);
  padding-bottom: 40px;
  position: relative;
}

/* cursor spotlight (JS drives --mx / --my on pointer devices) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(560px circle at var(--mx, 30%) var(--my, 30%), rgba(37, 244, 238, 0.06), transparent 65%);
}

/* staggered hero entrance every time the home tab shows */
.tab-panel.visible .hero > div:first-child > * {
  animation: hero-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.tab-panel.visible .hero > div:first-child > *:nth-child(1) { animation-delay: 0.05s; }
.tab-panel.visible .hero > div:first-child > *:nth-child(2) { animation-delay: 0.15s; }
.tab-panel.visible .hero > div:first-child > *:nth-child(3) { animation-delay: 0.28s; }
.tab-panel.visible .hero > div:first-child > *:nth-child(4) { animation-delay: 0.4s; }
.tab-panel.visible .hero > div:first-child > *:nth-child(5) { animation-delay: 0.52s; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}

.hero-stats {
  display: flex;
  gap: clamp(20px, 3.5vw, 46px);
  margin-top: 38px;
  flex-wrap: wrap;
}

.stat .num {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat .lbl { font-size: 13px; color: var(--faint); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }

.hero-ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* ---------- phone mockup ---------- */

.phone-wrap { display: grid; place-items: center; perspective: 1400px; position: relative; }

/* rotating conic halo behind the phone */
.phone-wrap::before {
  content: "";
  position: absolute;
  width: min(430px, 96vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(37, 244, 238, 0.35), rgba(138, 92, 255, 0.22), rgba(254, 44, 85, 0.35), rgba(255, 209, 102, 0.2), rgba(37, 244, 238, 0.35));
  filter: blur(42px);
  opacity: 0.55;
  animation: halo-spin 14s linear infinite;
  pointer-events: none;
}

@keyframes halo-spin {
  to { transform: rotate(360deg); }
}

.phone {
  width: min(340px, 86vw);
  aspect-ratio: 9 / 19;
  border-radius: 44px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 0 0 10px #0d0d16,
    0 0 0 11px rgba(255, 255, 255, 0.09),
    0 40px 110px rgba(0, 0, 0, 0.7),
    0 0 90px rgba(254, 44, 85, 0.18);
  overflow: hidden;
  position: relative;
  transform: rotateY(-7deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform 0.4s ease;
  animation: phone-hover 7s ease-in-out infinite alternate;
}

@keyframes phone-hover {
  from { transform: rotateY(-8deg) rotateX(3.5deg) translateY(0); }
  to   { transform: rotateY(-3deg) rotateX(1deg) translateY(-14px); }
}

.phone.static-tilt { animation: none; transform: none; }

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 22px;
  border-radius: 12px;
  background: #000;
  z-index: 30;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.phone-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, #1a1030, #0c0c1c 55%, #200a14);
}

/* live top bar */
.live-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 44px 14px 8px;
  z-index: 5;
}

.live-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: #10101c;
  font-family: var(--font-display);
}

.live-name { font-size: 12px; font-weight: 700; }
.live-viewers { font-size: 10.5px; color: rgba(255, 255, 255, 0.65); }

.live-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--pink);
  padding: 4px 9px;
  border-radius: 6px;
  animation: live-blink 1.6s ease-in-out infinite;
}

@keyframes live-blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 14px rgba(254, 44, 85, 0.8); }
  50% { opacity: 0.72; box-shadow: 0 0 4px rgba(254, 44, 85, 0.4); }
}

/* battle scorebar */
.battle-bar {
  display: flex;
  height: 20px;
  margin: 8px 12px 0;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 800;
  position: relative;
  z-index: 5;
}

.battle-bar .side-a,
.battle-bar .side-b {
  display: flex;
  align-items: center;
  padding: 0 9px;
  transition: flex-grow 0.9s cubic-bezier(0.3, 0.8, 0.3, 1);
  white-space: nowrap;
  overflow: hidden;
}

.battle-bar .side-a { background: linear-gradient(90deg, #ff2d55, #ff6b81); flex-grow: 58; }
.battle-bar .side-b { background: linear-gradient(90deg, #37c9ff, #25f4ee); color: #06333c; justify-content: flex-end; flex-grow: 42; }

.battle-timer {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #0c0c18;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 9.5px;
  padding: 2px 8px;
  border-radius: 999px;
  z-index: 6;
}

/* split video area */
.battle-split {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  margin: 10px 12px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.battle-side {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.side-red { background: radial-gradient(140% 100% at 30% 20%, #4a1224, #200a14 70%); }
.side-blue { background: radial-gradient(140% 100% at 70% 20%, #0d3742, #0a1420 70%); border-left: 1px solid rgba(255,255,255,0.14); }

.creator-bubble {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 27px;
  background: rgba(255, 255, 255, 0.09);
  border: 2px solid rgba(255, 255, 255, 0.35);
  animation: bubble-bounce 2.2s ease-in-out infinite;
}

.side-blue .creator-bubble { animation-delay: -1.1s; }

@keyframes bubble-bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-7px) scale(1.05); }
}

.mult-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  background: var(--grad-gold);
  color: #3d2400;
  padding: 3px 8px;
  border-radius: 8px;
  opacity: 0;
  transform: scale(0.4) rotate(-14deg);
}

.mult-badge.show { animation: mult-pop 2.8s ease forwards; }

@keyframes mult-pop {
  0% { opacity: 0; transform: scale(0.4) rotate(-14deg); }
  12% { opacity: 1; transform: scale(1.25) rotate(4deg); }
  22% { transform: scale(1) rotate(0); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: scale(0.8); }
}

/* floating hearts + gifts inside phone */
.fx-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 8; }

.fx-heart {
  position: absolute;
  bottom: -30px;
  font-size: 16px;
  animation: heart-up 3.4s ease-in forwards;
  will-change: transform, opacity;
}

@keyframes heart-up {
  0% { transform: translate(0, 0) scale(0.5); opacity: 0; }
  10% { opacity: 0.95; }
  100% { transform: translate(var(--sway, 14px), -300px) scale(1.15); opacity: 0; }
}

.fx-gift {
  position: absolute;
  font-size: 26px;
  animation: gift-pop 2.3s cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
  will-change: transform, opacity;
  filter: drop-shadow(0 4px 14px rgba(255, 209, 102, 0.5));
}

@keyframes gift-pop {
  0% { transform: translateY(24px) scale(0.3) rotate(-18deg); opacity: 0; }
  16% { transform: translateY(0) scale(1.35) rotate(6deg); opacity: 1; }
  30% { transform: scale(1) rotate(0); }
  75% { opacity: 1; }
  100% { transform: translateY(-46px) scale(0.85); opacity: 0; }
}

/* chat stream */
.live-chat {
  height: 118px;
  padding: 6px 12px 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  overflow: hidden;
  z-index: 5;
  mask-image: linear-gradient(transparent, #000 32%);
}

.chat-msg {
  font-size: 11px;
  line-height: 1.35;
  background: rgba(0, 0, 0, 0.42);
  border-radius: 12px;
  padding: 5px 10px;
  width: fit-content;
  max-width: 88%;
  animation: chat-in 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

.chat-msg b { color: var(--cyan); font-weight: 700; margin-right: 4px; }
.chat-msg.gift-msg b { color: var(--gold); }
.chat-msg.gift-msg { background: rgba(255, 160, 40, 0.18); border: 1px solid rgba(255, 209, 102, 0.35); }

@keyframes chat-in {
  from { opacity: 0; transform: translateY(14px) scale(0.9); }
  to { opacity: 1; transform: none; }
}

/* bottom action row */
.live-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0 12px 16px;
  z-index: 5;
}

.live-input {
  flex: 1;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  padding: 8px 13px;
  white-space: nowrap;
  overflow: hidden;
}

.action-dot {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  font-size: 16px;
}

.action-dot.hot {
  background: var(--grad-fire);
  box-shadow: 0 0 18px rgba(254, 44, 85, 0.55);
  animation: dot-pulse 1.9s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

/* combo counter */
.combo {
  position: absolute;
  top: 34%;
  left: 8%;
  z-index: 9;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--gold);
  text-shadow: 0 2px 16px rgba(255, 160, 40, 0.65);
  opacity: 0;
  pointer-events: none;
}

.combo.show { animation: combo-pop 1.6s cubic-bezier(0.2, 0.9, 0.3, 1.3) forwards; }

@keyframes combo-pop {
  0% { opacity: 0; transform: scale(0.3) rotate(-10deg); }
  18% { opacity: 1; transform: scale(1.35) rotate(3deg); }
  32% { transform: scale(1); }
  78% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-22px) scale(0.85); }
}

/* winner overlay */
.win-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: rgba(5, 5, 12, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.win-overlay.show { opacity: 1; }

.win-card {
  text-align: center;
  font-family: var(--font-display);
  animation: win-zoom 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.3);
}

.win-card .trophy { font-size: 54px; display: block; animation: trophy-swing 1.6s ease-in-out infinite; }
.win-card .who { font-size: 21px; font-weight: 800; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.win-card .sub { font-size: 11.5px; color: var(--muted); }

@keyframes win-zoom { from { transform: scale(0.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes trophy-swing { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }

/* confetti bits */
.confetti {
  position: absolute;
  width: 8px;
  height: 13px;
  top: -16px;
  z-index: 22;
  animation: confetti-fall linear forwards;
  will-change: transform;
}

@keyframes confetti-fall {
  to { transform: translateY(620px) rotate(720deg); opacity: 0.2; }
}

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.02);
  padding: 16px 0;
  user-select: none;
}

.marquee-track {
  display: flex;
  gap: 44px;
  /* one extra gap so translateX(-50%) lands exactly one pattern-period over (seamless loop) */
  padding-right: 44px;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--faint);
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.marquee-track span em { font-style: normal; font-size: 19px; }

@keyframes marquee-scroll {
  to { transform: translateX(-50%); }
}

/* ---------- steps / timeline ---------- */

.steps { display: grid; gap: 18px; counter-reset: step; }

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  padding: 22px 24px;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}

.step-num {
  counter-increment: step;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(140deg, rgba(37, 244, 238, 0.16), rgba(254, 44, 85, 0.2));
  border: 1px solid var(--stroke-bright);
}

.step-num::before { content: counter(step); background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

.step h4 { font-size: 17px; margin-bottom: 5px; }
.step p { color: var(--muted); font-size: 14.5px; margin: 0; }
.step .ui-path { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

.ui-chip {
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--stroke-bright);
  border-radius: 8px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ui-chip.hl { background: rgba(254, 44, 85, 0.16); border-color: rgba(254, 44, 85, 0.5); color: #ffb3c2; }

.arrow-sep { color: var(--faint); font-size: 12px; align-self: center; }

/* ---------- mini phone (step illustrations) ---------- */

.mini-phone {
  width: 148px;
  aspect-ratio: 9/18;
  border-radius: 22px;
  background: linear-gradient(170deg, #14141f, #0c0c16);
  border: 1px solid var(--stroke-bright);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.mini-row {
  height: 22px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  font-size: 8.5px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
}

.mini-row.target {
  background: rgba(254, 44, 85, 0.16);
  border: 1px solid rgba(254, 44, 85, 0.55);
  color: #ffc2cf;
  position: relative;
}

.tap-ring {
  position: absolute;
  right: 7px;
  top: 50%;
  width: 15px;
  height: 15px;
  margin-top: -7.5px;
  border-radius: 50%;
  border: 2px solid var(--pink);
  animation: tap-ping 1.7s ease-out infinite;
}

@keyframes tap-ping {
  0% { transform: scale(0.5); opacity: 1; }
  75%, 100% { transform: scale(1.7); opacity: 0; }
}

.invite-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }

.invite-step { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }

.invite-step .cap { font-size: 13px; color: var(--muted); line-height: 1.45; }
.invite-step .cap b { color: var(--ink); }
.invite-step .cap b.t { display: block; font-family: var(--font-display); font-size: 13.5px; margin-bottom: 3px; }

/* screenshot frame */
.shot-frame {
  border: 1px solid var(--stroke-bright);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-pop);
}

/* ---------- chat demo (banter) ---------- */

.banter-demo {
  background: linear-gradient(165deg, #12121f, #0b0b16);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 320px;
}

.banter-msg {
  max-width: 78%;
  padding: 11px 16px;
  border-radius: 18px;
  font-size: 14.2px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s, transform 0.5s;
}

.banter-msg.in { opacity: 1; transform: none; }

.banter-msg .tag { display: block; font-size: 11px; font-weight: 700; margin-bottom: 3px; opacity: 0.85; font-family: var(--font-display); }

.banter-you { align-self: flex-start; background: rgba(254, 44, 85, 0.16); border: 1px solid rgba(254, 44, 85, 0.4); border-bottom-left-radius: 6px; }
.banter-you .tag { color: #ff8aa4; }
.banter-them { align-self: flex-end; background: rgba(37, 244, 238, 0.1); border: 1px solid rgba(37, 244, 238, 0.35); border-bottom-right-radius: 6px; }
.banter-them .tag { color: var(--cyan); }
.banter-event {
  align-self: center;
  background: rgba(255, 209, 102, 0.12);
  border: 1px solid rgba(255, 209, 102, 0.4);
  color: var(--gold);
  font-weight: 600;
  font-size: 12.5px;
  border-radius: 999px;
  padding: 7px 16px;
}

/* ---------- league ladder ---------- */

.ladder {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: end;
}

.league-col {
  border-radius: var(--r-md);
  border: 1px solid var(--stroke);
  padding: 18px 14px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}

.league-col .tier {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  display: block;
}

.league-col .lvls { font-size: 12px; color: var(--muted); margin-top: 4px; }
.league-col .desc { font-size: 12.5px; color: var(--muted); margin-top: 10px; line-height: 1.5; }

.league-d { background: linear-gradient(170deg, rgba(176, 141, 87, 0.14), rgba(255,255,255,0.02)); min-height: 170px; }
.league-d .tier { color: #d8a35d; }
.league-c { background: linear-gradient(170deg, rgba(200, 210, 225, 0.13), rgba(255,255,255,0.02)); min-height: 205px; }
.league-c .tier { color: #ccd6e6; }
.league-b { background: linear-gradient(170deg, rgba(255, 209, 102, 0.14), rgba(255,255,255,0.02)); min-height: 240px; }
.league-b .tier { color: var(--gold); }
.league-a {
  background: linear-gradient(170deg, rgba(37, 244, 238, 0.15), rgba(254, 44, 85, 0.1));
  min-height: 275px;
  border-color: rgba(37, 244, 238, 0.4);
}
.league-a .tier { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

.league-a::after {
  content: "👑";
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 20px;
  animation: bubble-bounce 2.4s ease-in-out infinite;
}

.climber {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 22px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.6));
}

/* frag meter */
.frag-meter { display: flex; gap: 10px; margin-top: 14px; }

.frag {
  width: 40px;
  height: 40px;
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--stroke);
  display: grid;
  place-items: center;
}

.frag.lit {
  background: var(--grad-gold);
  box-shadow: 0 0 22px rgba(255, 209, 102, 0.55);
  animation: frag-glow 2.4s ease-in-out infinite;
}

@keyframes frag-glow {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.35); }
}

/* ---------- gift gallery grid ---------- */

.gift-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.gg-item {
  aspect-ratio: 1;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: clamp(24px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--stroke);
  position: relative;
  filter: grayscale(1) brightness(0.55);
  transition: filter 0.6s, border-color 0.6s, box-shadow 0.6s, transform 0.3s;
}

.gg-item.lit {
  filter: none;
  border-color: rgba(255, 209, 102, 0.55);
  box-shadow: 0 0 26px rgba(255, 209, 102, 0.28), inset 0 0 18px rgba(255, 209, 102, 0.1);
}

.gg-item.lit::after {
  content: "✓";
  position: absolute;
  top: 5px;
  right: 7px;
  font-size: 11px;
  font-weight: 800;
  color: var(--gold);
}

/* ---------- calculator ---------- */

.calc {
  background: linear-gradient(160deg, rgba(255, 209, 102, 0.07), rgba(254, 44, 85, 0.06));
  border: 1px solid rgba(255, 209, 102, 0.25);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 44px);
}

.calc-readout {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.05;
}

.calc-sub { color: var(--muted); font-size: 14px; }

input[type="range"] {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  outline: none;
  margin: 26px 0 8px;
  cursor: pointer;
}

input[type="range"]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--pink);
  box-shadow: 0 4px 18px rgba(254, 44, 85, 0.5);
}

input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--pink);
  box-shadow: 0 4px 18px rgba(254, 44, 85, 0.5);
}

.calc-row { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--faint); font-weight: 600; }

.calc-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center; }

.calc-breakdown { display: grid; gap: 12px; }

.calc-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 14px;
}

.calc-line b { font-family: var(--font-display); font-size: 16px; }
.calc-line .gold { color: var(--gold); }

/* ---------- faq ---------- */

.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }

.faq details {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  padding: 0;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq details[open] { border-color: rgba(37, 244, 238, 0.35); }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 19px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--pink);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq .faq-body { padding: 0 24px 20px; color: var(--muted); font-size: 14.6px; }

/* ---------- tiktok link card ---------- */

.tt-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: linear-gradient(120deg, rgba(37, 244, 238, 0.09), rgba(254, 44, 85, 0.1));
  border: 1px solid var(--stroke-bright);
  border-radius: var(--r-lg);
  padding: 26px 30px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.tt-note {
  width: 62px;
  height: 62px;
  flex-shrink: 0;
  border-radius: 18px;
  background: #000;
  border: 1px solid var(--stroke-bright);
  display: grid;
  place-items: center;
  font-size: 30px;
  animation: bubble-bounce 3s ease-in-out infinite;
}

.tt-card .tt-txt b { display: block; font-family: var(--font-display); font-size: 17px; color: var(--ink); margin-bottom: 3px; }
.tt-card .tt-txt span { color: var(--muted); font-size: 13.5px; }
.tt-card .go { margin-left: auto; font-size: 22px; color: var(--pink); }

/* ---------- do / don't ---------- */

.dd { border-radius: var(--r-md); padding: 24px; border: 1px solid; }
.dd h4 { font-size: 16px; display: flex; align-items: center; gap: 9px; }
.dd ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); font-size: 14.4px; }
.dd ul li { margin-bottom: 8px; }
.dd-do { background: rgba(61, 220, 132, 0.06); border-color: rgba(61, 220, 132, 0.3); }
.dd-do h4 { color: var(--green); }
.dd-do ul li::marker { color: var(--green); }
.dd-dont { background: rgba(254, 44, 85, 0.06); border-color: rgba(254, 44, 85, 0.32); }
.dd-dont h4 { color: #ff7d97; }
.dd-dont ul li::marker { color: var(--pink); }

/* ---------- community chat mock ---------- */

.gc-mock {
  background: linear-gradient(165deg, #131322, #0b0b16);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.gc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
}

.gc-ava {
  width: 40px; height: 40px; border-radius: 13px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  font-weight: 800; font-family: var(--font-display); color: #10101c;
}

.gc-head b { font-family: var(--font-display); font-size: 15px; display: block; }
.gc-head span { font-size: 12px; color: var(--green); }

.gc-body { padding: 20px; display: flex; flex-direction: column; gap: 11px; min-height: 280px; }

.gc-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s, transform 0.5s;
}

.gc-msg.in { opacity: 1; transform: none; }

.gc-msg .dot {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--stroke-bright);
}

.gc-msg .bub {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--stroke);
  border-radius: 4px 14px 14px 14px;
  padding: 9px 13px;
  font-size: 13.2px;
}

.gc-msg .bub b { font-size: 11.5px; display: block; margin-bottom: 2px; font-family: var(--font-display); }
.gc-msg.me { flex-direction: row-reverse; }
.gc-msg.me .bub { border-radius: 14px 4px 14px 14px; background: rgba(254, 44, 85, 0.13); border-color: rgba(254, 44, 85, 0.35); }

.typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.typing i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--muted);
  animation: typing-blink 1.2s ease-in-out infinite;
}
.typing i:nth-child(2) { animation-delay: 0.18s; }
.typing i:nth-child(3) { animation-delay: 0.36s; }

@keyframes typing-blink {
  0%, 100% { opacity: 0.25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

/* ---------- diamond flow diagram ---------- */

.flow-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.flow-node {
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  padding: 22px 12px;
  transition: border-color 0.3s, transform 0.3s;
}

.flow-node .fi { font-size: 34px; display: block; margin-bottom: 8px; }
.flow-node b { font-family: var(--font-display); font-size: 14px; display: block; }
.flow-node span { font-size: 12px; color: var(--muted); }

.flow-arrow {
  font-size: 20px;
  color: var(--gold);
  animation: arrow-nudge 1.6s ease-in-out infinite;
}

@keyframes arrow-nudge {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50% { transform: translateX(6px); opacity: 1; }
}

/* diamond sparkle */
.spark {
  display: inline-block;
  animation: spark-spin 3.2s linear infinite;
}

@keyframes spark-spin {
  0%, 100% { transform: rotate(-10deg) scale(1); filter: drop-shadow(0 0 6px rgba(37, 244, 238, 0.7)); }
  50% { transform: rotate(10deg) scale(1.18); filter: drop-shadow(0 0 16px rgba(37, 244, 238, 1)); }
}

/* ---------- protect / boost split ---------- */

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

.boost-col { border-radius: var(--r-lg); padding: 30px; border: 1px solid; position: relative; overflow: hidden; }
.boost-organic { background: linear-gradient(165deg, rgba(37, 244, 238, 0.08), rgba(255,255,255,0.02)); border-color: rgba(37, 244, 238, 0.3); }
.boost-paid { background: linear-gradient(165deg, rgba(254, 44, 85, 0.09), rgba(255,255,255,0.02)); border-color: rgba(254, 44, 85, 0.32); }

.boost-col h3 { display: flex; align-items: center; gap: 11px; font-size: 20px; }
.boost-col ul { padding-left: 0; list-style: none; margin: 18px 0 0; display: grid; gap: 13px; }
.boost-col li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 14.6px; }
.boost-col li .tick { flex-shrink: 0; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 12px; margin-top: 1px; }
.boost-organic li .tick { background: rgba(37, 244, 238, 0.15); color: var(--cyan); }
.boost-paid li .tick { background: rgba(254, 44, 85, 0.16); color: #ff8aa4; }
.boost-col li b { color: var(--ink); }

/* shield animation */
.shield-wrap { position: relative; width: 120px; height: 120px; margin: 0 auto 8px; display: grid; place-items: center; }
.shield-core { font-size: 56px; z-index: 2; animation: bubble-bounce 3s ease-in-out infinite; }
.shield-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 244, 238, 0.5);
  animation: shield-ping 2.6s ease-out infinite;
}
.shield-ring:nth-child(2) { animation-delay: -1.3s; border-color: rgba(254, 44, 85, 0.5); }

@keyframes shield-ping {
  0% { transform: scale(0.55); opacity: 1; }
  85%, 100% { transform: scale(1.25); opacity: 0; }
}

/* ---------- testimonial ---------- */

.quote-card { padding: 28px; }
.quote-card .stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 12px; font-size: 14px; }
.quote-card blockquote { margin: 0 0 16px; color: var(--ink); font-size: 15.2px; line-height: 1.55; font-style: italic; }
.quote-who { display: flex; align-items: center; gap: 12px; }
.quote-who .qa {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-size: 18px;
  background: linear-gradient(140deg, rgba(37,244,238,0.25), rgba(254,44,85,0.25));
  border: 1px solid var(--stroke-bright);
}
.quote-who b { display: block; font-size: 13.5px; font-family: var(--font-display); }
.quote-who span { font-size: 12px; color: var(--faint); }

/* ---------- big cta ---------- */

.mega-cta {
  text-align: center;
  border-radius: 32px;
  border: 1px solid var(--stroke-bright);
  background:
    radial-gradient(90% 140% at 50% 0%, rgba(254, 44, 85, 0.18), transparent 60%),
    radial-gradient(70% 120% at 20% 100%, rgba(37, 244, 238, 0.13), transparent 55%),
    rgba(255, 255, 255, 0.02);
  padding: clamp(48px, 7vw, 84px) clamp(22px, 5vw, 60px);
  position: relative;
  overflow: hidden;
}

/* animated running-light border */
.mega-cta::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--spin, 0deg), transparent 0 65%, rgba(37, 244, 238, 0.9) 75%, rgba(254, 44, 85, 0.9) 85%, transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: border-run 5s linear infinite;
}

@property --spin {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes border-run {
  to { --spin: 360deg; }
}

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--stroke);
  margin-top: 40px;
  padding: 44px clamp(18px, 4vw, 40px) 56px;
  background: rgba(0, 0, 0, 0.3);
}

.foot-inner { max-width: 1180px; margin: 0 auto; display: grid; gap: 28px; }
.foot-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.foot-links a:hover { color: var(--ink); text-decoration: none; }
.foot-fine { color: var(--faint); font-size: 12px; line-height: 1.7; max-width: 860px; }

/* ---------- utility ---------- */

.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; }
.mw-720 { max-width: 720px; }
.mx-auto { margin-inline: auto; }

.note {
  font-size: 13px;
  color: var(--faint);
  border-left: 3px solid rgba(255, 209, 102, 0.5);
  background: rgba(255, 209, 102, 0.05);
  padding: 12px 16px;
  border-radius: 0 10px 10px 0;
}

/* ---------- hover (pointer devices only, so taps don't stick) ---------- */

@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
  .card:hover .icon-chip { transform: translateY(-4px) rotate(-4deg); box-shadow: 0 10px 26px rgba(37, 244, 238, 0.22); }
  .card:hover {
    transform: translateY(-5px);
    border-color: var(--stroke-bright);
    background: var(--panel-2);
  }
  .card-glow:hover::before { opacity: 1; }
  .step:hover { border-color: rgba(37, 244, 238, 0.4); transform: translateX(6px); background: var(--panel-2); }
  .league-col:hover { transform: translateY(-6px); }
  .gg-item:hover { transform: scale(1.07); }
  .flow-node:hover { border-color: rgba(255, 209, 102, 0.45); transform: translateY(-4px); }
  .tt-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); text-decoration: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1240px) {
  /* 7 tabs don't fit one row below ~1240px — wrap them instead of hiding overflow */
  .nav { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; gap: 10px; }
  .nav-tabs { order: 3; width: 100%; margin-left: 0; flex-wrap: wrap; justify-content: center; border-radius: 22px; }
}

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; min-height: unset; }
  .hero .phone-wrap { order: -1; margin-top: 10px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .invite-steps { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .flow-diagram { grid-template-columns: 1fr auto 1fr; row-gap: 18px; }
  .flow-diagram > .flow-arrow:nth-child(4) { display: none; } /* middle arrow of the 2x2 node layout */
  .calc-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  /* single scrollable pill row on phones (active tab auto-scrolls into view via JS) */
  .nav-tabs { flex-wrap: nowrap; justify-content: flex-start; border-radius: 999px; }
  .nav-cta { display: none; }
  .lang-toggle { margin-left: auto; padding: 8px 12px; }
  .grid-2, .grid-3, .grid-4, .split-2 { grid-template-columns: 1fr; }
  .invite-steps { grid-template-columns: repeat(2, 1fr); }
  .ladder { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gift-gallery { grid-template-columns: repeat(4, 1fr); }
  .step { grid-template-columns: 1fr; gap: 12px; }
  .flow-diagram { grid-template-columns: 1fr; }
  .flow-diagram > .flow-arrow:nth-child(4) { display: block; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; animation: none; opacity: 0.85; }
  .tt-card { flex-direction: column; text-align: center; }
  .tt-card .go { margin-left: 0; }
}

@media (max-width: 380px) {
  .invite-steps { grid-template-columns: 1fr; }
  .invite-step { max-width: 260px; margin-inline: auto; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
