/* AV LNCH — public components
   Shared CSS extracted from JSX <style> blocks across 3 ZIPs.
   Layered on tokens.css — see avlnch/static/css/public/tokens.css */

/* ──────────────  Particle cascade  ────────────── */
.particle-cascade {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.particle-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.snowball-track {
  position: absolute; right: 4%; bottom: 8%;
  width: 220px; height: 60px;
  pointer-events: none;
}
.snowball {
  position: absolute; left: 0; top: 50%;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #fff, #cfe9f7 60%, #7dd3fc);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.4),
    0 0 24px rgba(125, 211, 252, 0.45),
    0 8px 18px rgba(0, 0, 0, 0.4);
  transform: translateY(-50%);
  animation: snowball-roll 14s linear infinite;
}
.snowball::after {
  content: "";
  position: absolute;
  left: -6px; right: -6px; bottom: -10px;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(125, 211, 252, 0.45), transparent 70%);
  filter: blur(2px);
}
@keyframes snowball-roll {
  0%   { transform: translate(0,    -50%) rotate(0deg);    width: 14px; height: 14px; opacity: 0.6; }
  50%  { transform: translate(110px, -50%) rotate(720deg);  width: 22px; height: 22px; opacity: 1;   }
  100% { transform: translate(220px, -50%) rotate(1440deg); width: 30px; height: 30px; opacity: 0;   }
}

/* ──────────────  Buttons  ────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all 180ms var(--e-out);
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.btn-flame {
  background: var(--flame);
  color: #1a0d04;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(251, 146, 60, 0.25);
}
.btn-flame:hover {
  background: var(--flame-hi);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(251, 146, 60, 0.35);
}
.btn-flame:active { transform: translateY(0); }
@keyframes flame-idle-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(251, 146, 60, 0.25); }
  50%      { box-shadow: 0 12px 32px rgba(251, 146, 60, 0.40); }
}
.btn-flame.btn-lg {
  animation: flame-idle-pulse 3.6s var(--e-out) infinite;
}
.btn-flame.btn-lg:hover {
  animation: none;
}
.btn-ghost {
  background: transparent;
  border-color: rgba(125, 211, 252, 0.4);
  color: var(--ice);
}
.btn-ghost:hover {
  background: rgba(125, 211, 252, 0.08);
  border-color: var(--ice);
  transform: translateY(-1px);
}
.btn-text {
  background: transparent;
  color: var(--text-1);
  padding: 14px 8px;
}
.btn-text:hover { color: var(--ice); }
.btn-block { width: 100%; }
.btn-lg { height: 56px; padding: 0 24px; font-size: 16px; }
.btn-md { height: 44px; padding: 0 20px; font-size: 14px; }
.btn svg { transition: transform 180ms var(--e-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:disabled { opacity: 0.7; cursor: default; transform: none; }

/* ──────────────  Top nav  ────────────── */
.nav {
  position: sticky; top: 0;
  z-index: 50;
  width: 100%;
  transition: background 220ms var(--e-out),
              border-color 220ms var(--e-out),
              backdrop-filter 220ms var(--e-out);
  border-bottom: 1px solid transparent;
}
.nav-scrolled {
  background: rgba(10, 11, 13, 0.7);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav-wordmark {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  position: relative;
  font-size: 14px;
  color: var(--text-1);
  letter-spacing: -0.005em;
  transition: color 150ms var(--e-out);
}
.nav-links a:hover { color: var(--ice); }
.nav-links a.is-active {
  color: var(--ice);
}
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--ice);
  border-radius: 2px;
  box-shadow: 0 0 12px var(--ice);
}
@media (max-width: 640px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 13px; }
  .nav-wordmark { display: none; }
}

/* ──────────────  Hero pill (used in hero + form hero-lite)  ────────────── */
.hero-pill {
  display: inline-flex; align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(125, 211, 252, 0.4);
  border-radius: 999px;
  color: var(--ice);
  font-size: 12px;
  background: rgba(125, 211, 252, 0.04);
}
.hero-pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ice);
  box-shadow: 0 0 12px var(--ice);
  animation: pulse-dot 2.4s var(--e-out) infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50%      { opacity: 1;   transform: scale(1.1); }
}

/* ──────────────  Section utilities  ────────────── */
.sec { padding: 100px 0; }
@media (max-width: 720px) { .sec { padding: 64px 0; } }
.sec-fullbleed {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(125, 211, 252, 0.06), transparent 60%),
    var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.fineprint {
  margin-top: 28px;
  font-size: 12.5px;
  color: var(--text-3);
  text-align: center;
  letter-spacing: 0.02em;
}
.sec-head { margin-bottom: 48px; }
@media (max-width: 640px) { .sec-head { margin-bottom: 32px; } }

/* ──────────────  Pricing card (Spotify + TikTok)  ────────────── */
.pcard {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  min-height: 100%;
  transition: transform 200ms var(--e-out),
              border-color 200ms var(--e-out),
              box-shadow 200ms var(--e-out);
}
.pcard:not(.pcard-featured):hover {
  transform: translateY(-4px);
  border-color: rgba(125, 211, 252, 0.32);
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.18),
    0 16px 48px rgba(125, 211, 252, 0.08),
    var(--sh-card);
}
.pcard-featured {
  border: 2px solid var(--flame);
  box-shadow: 0 0 0 1px rgba(251, 146, 60, 0.2),
              0 16px 48px rgba(251, 146, 60, 0.18);
  padding: 23px;
}
.pcard-featured:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(251, 146, 60, 0.4),
    0 24px 60px rgba(251, 146, 60, 0.28);
}
.pcard-pill {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  display: inline-flex; align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--flame);
  color: #1a0d04;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(251, 146, 60, 0.4);
  white-space: nowrap;
}
.pcard-pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #1a0d04;
}
.pcard-art {
  height: 64px;
  margin: -8px -8px 16px -8px;
  padding: 0 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(125, 211, 252, 0.06), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.pcard-art-tiktok {
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.07), rgba(125, 211, 252, 0.04));
  align-items: center;
}
.art-bars {
  display: flex; align-items: flex-end;
  gap: 3px;
  width: 100%; height: 100%;
  padding: 8px 0;
}
.art-bars span {
  flex: 1;
  min-height: 4px;
  background: linear-gradient(to top, var(--ice), rgba(125, 211, 252, 0.2));
  border-radius: 2px;
  opacity: 0.55;
  animation: art-bar-pulse 2.4s var(--e-out) infinite;
  animation-delay: calc(var(--i) * 80ms);
}
@keyframes art-bar-pulse {
  0%, 100% { transform: scaleY(0.7); opacity: 0.4; }
  50%      { transform: scaleY(1);   opacity: 0.75; }
}
.art-play {
  color: var(--flame);
  opacity: 0.7;
  filter: drop-shadow(0 0 12px rgba(251, 146, 60, 0.4));
}
.pcard-head { margin-bottom: 18px; }
.pcard-name {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.pcard-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--text);
}
.pcard-price-val {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.pcard-price-suf {
  font-size: 18px;
  color: var(--text-2);
  font-weight: 500;
}
.pcard-price-sub {
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.pcard-feats {
  list-style: none;
  padding: 0; margin: 0 0 22px;
  display: flex; flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pcard-feats li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-1);
  line-height: 1.45;
}
.pcard-feats svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--ice);
}
.pcard-featured .pcard-feats svg { color: var(--flame); }
.pcard-cta {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all 180ms var(--e-out);
}
.pcard-cta:hover {
  border-color: var(--ice);
  color: var(--ice);
  background: rgba(125, 211, 252, 0.06);
}
.pcard-cta-flame {
  background: var(--flame);
  border-color: var(--flame);
  color: #1a0d04;
  font-weight: 600;
}
.pcard-cta-flame:hover {
  background: var(--flame-hi);
  border-color: var(--flame-hi);
  color: #1a0d04;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(251, 146, 60, 0.3);
}

/* ──────────────  Pricing tier list grid  ────────────── */
.tier-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr));
}
.tier-cols-5 { --cols: 5; }
.tier-cols-4 { --cols: 4; }
.tier-cols-3 { --cols: 3; }
@media (max-width: 1100px) {
  .tier-cols-5, .tier-cols-4 { --cols: 2; }
}
@media (max-width: 640px) {
  .tier-list { --cols: 1; gap: 28px; }
}

/* ──────────────  Chips (generic)  ────────────── */
.chip {
  display: inline-flex; align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-1);
  transition: all 160ms var(--e-out);
}
.chip-ice { color: var(--ice); border-color: rgba(125, 211, 252, 0.35); }
.chip-flame { color: var(--flame); border-color: rgba(251, 146, 60, 0.35); }

/* ──────────────  Footer (storefront + coming-soon)  ────────────── */
.ftr {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 0 56px;
  margin-top: 0;
}
.ftr-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}
.ftr-l { display: flex; flex-direction: column; gap: 12px; }
.ftr-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  letter-spacing: -0.005em;
}
.ftr-meta, .ftr-links {
  display: flex; flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-3);
}
.ftr-meta a, .ftr-links a {
  color: var(--text-2);
  transition: color 150ms var(--e-out);
}
.ftr-meta a:hover, .ftr-links a:hover { color: var(--ice); }
.ftr-sep { color: var(--text-3); }
.ftr-r {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  font-size: 12px;
  color: var(--text-3);
  text-align: right;
}
@media (max-width: 720px) {
  .ftr-inner { flex-direction: column; align-items: flex-start; }
  .ftr-r { align-items: flex-start; text-align: left; }
}

/* ──────────────  Focus-visible (a11y)  ────────────── */
.btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.5), 0 12px 32px rgba(125, 211, 252, 0.15);
}
.btn-flame:focus-visible {
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.45), 0 12px 32px rgba(251, 146, 60, 0.4);
}
.pcard-cta:focus-visible,
.nav-links a:focus-visible,
.ftr a:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.5);
  border-radius: 6px;
}

/* ──────────────  Language flag (static PL — no switcher for now)  ────────────── */
/* Sits inline in .nav-links where the PL/EN/DE/PT switcher used to be. Display-only. */
.nav-flag {
  display: inline-flex;
  align-items: center;
  padding-left: 14px;
  margin-left: 2px;
  border-left: 1px solid var(--line-2);
}
.nav-flag img {
  display: block;
  width: 20px;
  height: 13px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}
@media (max-width: 640px) {
  .nav-flag { padding-left: 10px; }
}
