:root {
  --bg: #050508;
  --text: #f5f3ff;
  --muted: rgba(245, 243, 255, 0.58);
  --violet: #9b30ff;
  --violet-2: #8a2be2;
  --violet-soft: #d8b4fe;
  --cyan: #00e5ff;
  --pink: #e879f9;
  --accent: #ff4d6a;
  --accent-2: #ff7a45;
  --line: rgba(155, 48, 255, 0.18);
  --radius: 12px;
  --font-display: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glow {
  pointer-events: none;
  position: fixed;
  z-index: 0;
  filter: blur(90px);
  animation: glow-breathe 9s ease-in-out infinite alternate;
}

.glow-a {
  width: 50vw;
  height: 40vh;
  left: -12vw;
  bottom: -12vh;
  background: radial-gradient(circle, rgba(155, 48, 255, 0.55), transparent 70%);
  opacity: 0.6;
}

.glow-b {
  width: 45vw;
  height: 38vh;
  right: -10vw;
  bottom: -14vh;
  background: radial-gradient(circle, rgba(232, 121, 249, 0.4), transparent 70%);
  opacity: 0.5;
  animation-delay: -3s;
}

.glow-c {
  width: 30vw;
  height: 28vh;
  left: 35%;
  bottom: -8vh;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.22), transparent 70%);
  opacity: 0.45;
  animation-delay: -5s;
}

@keyframes glow-breathe {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-14px) scale(1.07); }
}

.nav,
.hero,
.section,
.footer,
.fab,
.toast,
.nav-mobile { position: relative; z-index: 1; }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 0.85rem 1.4rem;
  background: rgba(5, 5, 8, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
}

.nav-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 1.3rem;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding-bottom: 0.12rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
}

.nav-links a.is-active { border-bottom-color: var(--violet-soft); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.55rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.18s, filter 0.18s;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  color: #fff;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
}

.btn-primary:hover { filter: brightness(1.06); }

.btn-ghost {
  background: #121218;
  border: 1px solid var(--line);
}

.btn-light {
  background: #fff;
  color: #111;
}

.btn-lg {
  min-height: 3.1rem;
  padding: 0.75rem 1.45rem;
  font-size: 1rem;
}

.play {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #111;
}

.nav-burger {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-burger span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--text);
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem 1.25rem 1.25rem;
  background: rgba(5, 5, 8, 0.96);
  border-bottom: 1px solid var(--line);
}

.nav-mobile a { color: var(--muted); font-weight: 500; }

.hero {
  min-height: calc(100vh - 4.2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3.5rem 1.25rem 4.5rem;
  animation: hero-in 0.85s ease both;
}

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

.hero-eyebrow {
  margin: 0 0 1rem;
  color: var(--violet-soft);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: hero-in 0.85s ease 0.05s both;
}

.hero-brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 12vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.hero-brand span { display: block; }

.hero-brand-accent {
  background: linear-gradient(100deg, var(--cyan), #fff 40%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 34rem;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.55;
  animation: hero-in 0.85s ease 0.12s both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
  animation: hero-in 0.85s ease 0.2s both;
}

.hero-ip {
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  animation: hero-in 0.85s ease 0.28s both;
}

.ip-chip {
  display: inline-flex;
  margin-left: 0.25rem;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.28);
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ip-chip:hover { background: rgba(0, 229, 255, 0.16); }

.section {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.25rem 5.5rem;
  text-align: center;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
}

.section-lead {
  margin: 0.65rem 0 1.75rem;
  color: var(--muted);
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--violet-soft);
}

.rank-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  border-top: 1px solid var(--line);
  text-align: left;
}

.rank-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0.1rem;
  border-bottom: 1px solid var(--line);
}

.rank-name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--c, var(--violet-soft));
}

.rank-price {
  color: var(--muted);
  font-weight: 600;
}

.link-grid {
  display: grid;
  gap: 0.75rem;
  text-align: left;
}

.link-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(18, 18, 24, 0.85);
  border: 1px solid var(--line);
  transition: border-color 0.2s, transform 0.2s;
}

.link-item:hover {
  border-color: rgba(155, 48, 255, 0.45);
  transform: translateY(-2px);
}

.link-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.link-value {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--violet-soft);
}

.fab {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: #5865f2;
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  animation: fab-in 0.55s ease 0.5s both;
}

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

.fab-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #7dffb3;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 5.5rem;
  z-index: 40;
  transform: translateX(-50%);
  padding: 0.85rem 1.2rem;
  border-radius: 12px;
  background: #16161e;
  border: 1px solid rgba(0, 229, 255, 0.35);
  font-weight: 600;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.toast[hidden] { display: none !important; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem 5rem;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--line);
}

.footer-ip {
  color: var(--cyan);
  font-weight: 700;
}

@media (max-width: 920px) {
  .nav-links,
  .nav-actions { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .nav-burger { display: inline-flex; }
  .fab {
    left: 1rem;
    right: 1rem;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .hero-cta { width: 100%; }
  .hero-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
