/* RhythmPVP landing — authentic purple / black / chrome brand.
   Crafted CSS + inline SVG only. No raster AI art. Brand assets: public/img/brand/*, kit icons: public/img/kits/*. */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800 900;
  font-display: swap;
  src: url("/fonts/montserrat-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
}

:root {
  --purple: #aa00ff;        /* electric purple primary */
  --purple-lt: #c77dff;     /* lighter purple */
  --purple-dp: #7b00cc;     /* deep purple */
  --chrome: #cfc6da;        /* chrome / silver */
  --white: #f5f2fa;
  --ink: #0a0a0f;           /* deep black base */
  --ink2: #121018;          /* panel black */
  --panel: rgba(20, 16, 28, 0.72);
  --line: rgba(199, 125, 255, 0.18);
  --text: #ece7f4;
  --muted: #a99cc0;
  --glow: 0 0 24px rgba(170, 0, 255, 0.45);
  --display: "Montserrat", system-ui, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background: black base + purple vignettes + faint grid + starfield (inline SVG). */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 640px at 78% -12%, rgba(170, 0, 255, 0.22), transparent 60%),
    radial-gradient(900px 560px at 8% 6%, rgba(123, 0, 204, 0.18), transparent 58%),
    linear-gradient(180deg, #0c0a14 0%, #0a0a0f 55%, #07060b 100%);
}
.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.6;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='%23ffffff' fill-opacity='0.55'%3E%3Ccircle cx='12' cy='22' r='0.9'/%3E%3Ccircle cx='54' cy='9' r='0.7'/%3E%3Ccircle cx='96' cy='44' r='1'/%3E%3Ccircle cx='138' cy='18' r='0.7'/%3E%3Ccircle cx='28' cy='88' r='0.8'/%3E%3Ccircle cx='120' cy='104' r='0.9'/%3E%3Ccircle cx='70' cy='130' r='0.7'/%3E%3Ccircle cx='150' cy='140' r='0.8'/%3E%3Ccircle cx='8' cy='150' r='0.7'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 0H0V48' fill='none' stroke='%23c77dff' stroke-opacity='0.06' stroke-width='1'/%3E%3C/svg%3E");
  mask-image: radial-gradient(circle at 50% 28%, #000 0%, transparent 82%);
}

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(10, 10, 15, 0.9), rgba(10, 10, 15, 0.4));
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .mark { width: 34px; height: 34px; filter: drop-shadow(0 0 6px rgba(170, 0, 255, 0.6)); }
.brand .word { font-family: var(--display); font-weight: 900; font-size: 22px; letter-spacing: 0.02em; font-style: italic; color: var(--white); }
.brand .word span { color: var(--purple-lt); }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--white); }
.nav-links a:focus-visible, .btn:focus-visible { outline: 2px solid var(--purple-lt); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 800; font-size: 16px; letter-spacing: 0.03em;
  text-decoration: none; cursor: pointer; border: 0; border-radius: 10px;
  padding: 14px 26px; transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.btn-primary {
  color: var(--white);
  background: linear-gradient(180deg, var(--purple) 0%, var(--purple-dp) 100%);
  box-shadow: 0 10px 30px rgba(170, 0, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.1); box-shadow: 0 14px 38px rgba(170, 0, 255, 0.55); }
.btn-ghost {
  color: var(--text); background: rgba(199, 125, 255, 0.07);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--purple-lt); color: var(--white); }
.btn-disabled { color: var(--muted); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(199, 125, 255, 0.14); cursor: not-allowed; }
.btn-disabled:hover { transform: none; filter: none; }
.btn-lg { padding: 16px 32px; font-size: 18px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 64px 0 52px; }
.hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--purple-lt);
  border: 1px solid rgba(199, 125, 255, 0.32); border-radius: 999px; padding: 6px 16px; margin-bottom: 26px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--purple-lt); box-shadow: 0 0 10px var(--purple); }

/* Animated banner = the brand centerpiece. Pixelated so it stays sharp when scaled up. */
.banner {
  width: min(92vw, 680px);
  height: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 6px 28px rgba(170, 0, 255, 0.5));
  margin-bottom: 8px;
}
.banner-note {
  font-size: clamp(12px, 1.6vw, 13.5px); line-height: 1.55; color: var(--muted);
  max-width: 56ch; margin: 0 auto 20px; padding: 10px 16px;
  border: 1px solid rgba(170, 0, 255, 0.35); border-radius: 10px;
  background: rgba(170, 0, 255, 0.07);
}
.banner-note strong { color: var(--chrome); }
.banner-note a { color: var(--purple-lt); text-decoration: underline; }
.tagline {
  font-family: var(--display); font-weight: 800; font-style: italic;
  font-size: clamp(13px, 2.2vw, 16px); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--chrome); margin: 2px 0 18px;
}
.lede { font-size: clamp(16px, 2.2vw, 20px); color: var(--muted); max-width: 52ch; margin: 0 auto 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
.soon { font-size: 12px; color: var(--muted); width: 100%; margin-top: -4px; }
.stats { display: flex; gap: 36px; margin-top: 40px; flex-wrap: wrap; justify-content: center; }
.stat .n { font-family: var(--display); font-weight: 900; font-size: 26px; color: var(--purple-lt); text-shadow: var(--glow); }
.stat .k { font-size: 13px; color: var(--muted); }

/* ---------- sections ---------- */
section { padding: 60px 0; }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 4vw, 38px); margin: 0 0 12px; color: var(--white); }
.section-head p { color: var(--muted); margin: 0; }
.kicker { color: var(--purple-lt); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; font-size: 13px; }

/* feature cards with crafted purple SVG icons */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 26px;
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(199, 125, 255, 0.5); box-shadow: 0 16px 40px rgba(123, 0, 204, 0.22); }
.card .ico { width: 44px; height: 44px; margin-bottom: 16px; color: var(--purple-lt); filter: drop-shadow(0 0 8px rgba(170, 0, 255, 0.4)); }
.card h3 { font-family: var(--display); font-weight: 800; font-size: 19px; margin: 0 0 8px; color: var(--white); }
.card p { color: var(--muted); margin: 0; font-size: 15px; }

/* kit grid — real rendered game icons on purple-tinted tiles */
.kits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kit {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px;
  border-top: 3px solid var(--purple); text-align: center;
  transition: transform .12s ease, border-color .12s ease;
}
.kit:hover { transform: translateY(-4px); border-top-color: var(--purple-lt); }
.kit .tile {
  width: 88px; height: 88px; margin: 0 auto 14px; border-radius: 14px;
  background: radial-gradient(circle at 50% 40%, rgba(170, 0, 255, 0.28), rgba(10, 10, 15, 0.1));
  border: 1px solid rgba(199, 125, 255, 0.35);
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 20px rgba(123, 0, 204, 0.25);
}
.kit .tile img { width: 64px; height: 64px; image-rendering: pixelated; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6)); }
.kit h3 { font-family: var(--display); font-weight: 800; font-size: 19px; margin: 0 0 4px; color: var(--purple-lt); }
.kit .ktag { color: var(--chrome); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 10px; }
.kit p { color: var(--muted); font-size: 13.5px; margin: 0; line-height: 1.5; }

/* final CTA */
.final {
  text-align: center; border-radius: 20px; margin: 20px 0 0;
  padding: 56px 24px; background: linear-gradient(180deg, rgba(170, 0, 255, 0.12), rgba(123, 0, 204, 0.06));
  border: 1px solid var(--line);
}
.net-banner { display: block; width: 100%; max-width: 620px; height: auto; margin: 0 auto 28px; filter: drop-shadow(0 8px 28px rgba(170, 0, 255, 0.4)); }
.final h2 { font-family: var(--display); font-weight: 900; font-style: italic; font-size: clamp(28px, 5vw, 44px); margin: 0 0 12px; color: var(--white); }
.final p { color: var(--muted); margin: 0 0 28px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--purple-lt); }
footer .fl { display: flex; gap: 20px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
/* responsive */
@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .kits { grid-template-columns: repeat(2, 1fr); }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 460px) {
  .kits { grid-template-columns: 1fr; }
  .stats { gap: 24px; }
}
