:root {
  color-scheme: dark;
  --bg: #030812;
  --panel: rgba(7, 19, 34, 0.78);
  --panel-strong: rgba(8, 28, 48, 0.92);
  --line: rgba(151, 246, 255, 0.2);
  --text: #f7fdff;
  --muted: #bad4df;
  --cyan: #2ff7ff;
  --aqua: #5fffd6;
  --blue: #1688ff;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html {
  width: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #030812;
  color: var(--text);
  isolation: isolate;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 18% 8%, rgba(47, 247, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 86% 18%, rgba(22, 136, 255, 0.16), transparent 30rem),
    linear-gradient(180deg, rgba(3, 8, 18, 0.42), rgba(3, 8, 18, 0.76));
  pointer-events: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a { -webkit-tap-highlight-color: transparent; }

.video-bg,
.music-frame {
  position: fixed;
  pointer-events: none !important;
}

.video-bg *,
.music-frame * {
  pointer-events: none !important;
}

.video-bg {
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #020712;
}

.video-bg video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%) scale(1.12);
  object-fit: cover;
  display: block;
  opacity: 1;
  filter: saturate(1.18) contrast(1.12) brightness(0.9) hue-rotate(174deg);
}

.video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 24%, rgba(47, 247, 255, 0.08), transparent 34rem),
    linear-gradient(90deg, rgba(2, 7, 18, 0.28), rgba(2, 13, 26, 0.08), rgba(2, 7, 18, 0.38)),
    linear-gradient(180deg, rgba(2, 7, 18, 0.06), rgba(2, 7, 18, 0.5));
}

.music-frame {
  width: 1px;
  height: 1px;
  left: -9999px;
  top: -9999px;
  border: 0;
  opacity: 0;
  visibility: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 8, 18, 0.82);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.top-strip {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3.5rem);
  padding: 0.58rem 1rem;
  background: linear-gradient(90deg, rgba(47, 247, 255, 0.22), rgba(22, 136, 255, 0.22));
  color: #e6fdff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nav-shell {
  width: min(1180px, calc(100% - 2rem));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: max-content;
}

.brand img {
  width: 52px;
  height: 52px;
  min-width: 52px;
  flex: 0 0 52px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(47, 247, 255, 0.65));
}

.brand span {
  display: grid;
  line-height: 1;
}

.brand strong {
  font-family: "Permanent Marker", "Caveat", cursive;
  font-size: 1.45rem;
  font-weight: 400;
}

.brand small {
  color: var(--cyan);
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: #d8f8ff;
  font-weight: 800;
}

.nav-links a:hover,
.nav-links a:focus-visible { color: var(--aqua); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
}

main,
.site-footer {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

a,
button,
.social-grid a {
  pointer-events: auto;
}

.hero {
  width: min(1180px, calc(100% - 2rem));
  min-height: calc(100svh - 118px);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 7rem) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--aqua);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: "Permanent Marker", "Caveat", cursive;
  font-weight: 400;
  letter-spacing: 0;
  text-shadow: 0 0 26px rgba(47, 247, 255, 0.34);
}

h1 {
  max-width: 10ch;
  margin-bottom: 0;
  font-size: clamp(5rem, 14vw, 10rem);
  line-height: 0.82;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.9;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 0.95;
}

p {
  color: var(--muted);
  line-height: 1.72;
}

.ticker {
  margin: 0.6rem 0 1.2rem;
  font-family: "Caveat", cursive;
  color: var(--cyan);
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1;
}

.hero-text {
  max-width: 640px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.82rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 900;
}

.button.primary {
  background: linear-gradient(135deg, var(--cyan), var(--aqua) 48%, var(--blue));
  color: #03101a;
  box-shadow: 0 16px 38px rgba(47, 247, 255, 0.25);
}

.button.ghost { background: rgba(255, 255, 255, 0.07); }

.hero-logo {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.fire-logo {
  position: relative;
  width: min(72vw, 500px);
  max-width: 500px;
  min-width: 260px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  animation: logoFloat 5.5s ease-in-out infinite;
}

.fire-logo::before,
.fire-logo::after {
  content: "";
  position: absolute;
  inset: -10%;
  border-radius: 45% 55% 48% 52% / 58% 44% 56% 42%;
  background:
    radial-gradient(circle at 50% 68%, transparent 0 34%, rgba(7, 25, 67, 0.96) 39%, rgba(47, 247, 255, 0.72) 48%, transparent 60%),
    conic-gradient(from 0deg, transparent, rgba(4, 20, 70, 0.94), rgba(17, 84, 170, 0.9), rgba(47, 247, 255, 0.64), transparent, rgba(2, 12, 42, 0.95), transparent);
  filter: blur(15px) drop-shadow(0 0 26px rgba(9, 51, 138, 1)) drop-shadow(0 0 46px rgba(47, 247, 255, 0.72));
  mix-blend-mode: screen;
  opacity: 0.88;
  animation: blueFire 1.9s ease-in-out infinite alternate;
}

.fire-logo::after {
  inset: -16%;
  opacity: 0.48;
  filter: blur(30px) drop-shadow(0 0 70px rgba(6, 37, 119, 1)) drop-shadow(0 0 96px rgba(47, 247, 255, 0.62));
  animation: blueFireOuter 2.7s ease-in-out infinite alternate;
}

.fire-logo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  filter: brightness(1.12) saturate(1.32) drop-shadow(0 0 38px rgba(47, 247, 255, 0.56));
}

.supply-badge {
  position: absolute;
  right: 0;
  bottom: 4.5rem;
  width: min(280px, 70vw);
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.supply-badge span,
.card span,
.roadmap article span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.supply-badge strong {
  display: block;
  margin-top: 0.2rem;
  font-size: clamp(1.35rem, 4vw, 2rem);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
  background: rgba(5, 19, 34, 0.74);
  backdrop-filter: blur(12px);
}

.stats article {
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 1rem;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stats article:last-child { border-right: 0; }

.stats strong {
  font-family: "Permanent Marker", cursive;
  color: var(--cyan);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 0.9;
}

.stats span {
  color: #e4fbff;
  font-weight: 900;
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.split {
  display: grid;
  grid-template-columns: 0.74fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.center {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.cards,
.tax-grid,
.social-grid {
  display: grid;
  gap: 1rem;
}

.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card,
.tax-grid article,
.roadmap article,
.social-grid a,
.contract {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: 0 16px 55px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
}

.card {
  min-height: 220px;
  padding: 1.2rem;
}

.card.big {
  grid-column: span 2;
  min-height: 270px;
  background:
    linear-gradient(135deg, rgba(47, 247, 255, 0.19), rgba(22, 136, 255, 0.14)),
    rgba(255, 255, 255, 0.04);
}

.card strong,
.tax-grid strong {
  display: block;
  font-family: "Permanent Marker", cursive;
  font-weight: 400;
  line-height: 0.9;
}

.card strong {
  margin: 0.5rem 0 1rem;
  font-size: clamp(3rem, 8vw, 6rem);
}

.tax-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.4rem;
}

.tax-grid article {
  min-height: 310px;
  padding: 1.35rem;
}

.tax-grid strong {
  margin-bottom: 3.8rem;
  color: var(--cyan);
  font-size: clamp(3.5rem, 8vw, 6rem);
}

.roadmap {
  display: grid;
  gap: 1rem;
}

.roadmap .center { margin-bottom: 1rem; }

.roadmap article { padding: 1.25rem; }

.roadmap p { margin-bottom: 0; }

.socials { padding-top: 0; }

.social-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 2rem;
}

.social-grid a {
  min-height: 190px;
  min-width: 0;
  padding: 1rem;
  display: grid;
  align-content: space-between;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.social-grid a:hover,
.social-grid a:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(47, 247, 255, 0.72);
  background: linear-gradient(180deg, rgba(47, 247, 255, 0.16), rgba(255, 255, 255, 0.05));
}

.social-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  max-width: 48px;
  max-height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), 0 0 28px rgba(47, 247, 255, 0.18);
  overflow: hidden;
}

.social-icon svg {
  width: 25px;
  height: 25px;
  max-width: 25px;
  max-height: 25px;
  display: block;
  fill: currentColor;
}

.social-icon.telegram { color: #229ed9; }
.social-icon.x-icon { color: #000000; }
.social-icon.facebook { color: #1877f2; }
.social-icon.youtube { color: #ff0033; }
.social-icon.tiktok { color: #111111; }

.social-grid strong {
  margin-top: 2.4rem;
  font-family: "Permanent Marker", "Caveat", cursive;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 0.95;
}

.social-grid small {
  color: var(--muted);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.early-promo {
  padding-top: 0;
}

.promo-panel {
  margin: 2rem auto 0;
  max-width: 1180px;
  border: 1px solid rgba(47, 247, 255, 0.34);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(47, 247, 255, 0.16), rgba(22, 136, 255, 0.1)),
    rgba(3, 12, 28, 0.72);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.38), 0 0 54px rgba(47, 247, 255, 0.15);
  backdrop-filter: blur(12px);
}

.promo-panel img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.promo-panel figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border-top: 1px solid rgba(47, 247, 255, 0.22);
}

.promo-panel strong {
  font-family: "Permanent Marker", "Caveat", cursive;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 0 24px rgba(47, 247, 255, 0.32);
}

.promo-panel span {
  max-width: 430px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.contract {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto clamp(4.5rem, 8vw, 7.5rem);
  padding: clamp(1.4rem, 4vw, 2.2rem);
  background:
    linear-gradient(135deg, rgba(47, 247, 255, 0.2), rgba(22, 136, 255, 0.16)),
    rgba(255, 255, 255, 0.04);
}

.contract h2 { font-size: clamp(2.5rem, 7vw, 5rem); }

.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer p { margin: 0; }

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@keyframes blueFire {
  0% {
    transform: translateY(8px) rotate(-7deg) scale(0.96, 1.02);
    border-radius: 42% 58% 50% 50% / 62% 39% 61% 38%;
    opacity: 0.58;
  }
  45% {
    transform: translateY(-9px) rotate(7deg) scale(1.04, 1.14);
    border-radius: 58% 42% 54% 46% / 48% 62% 38% 52%;
    opacity: 0.92;
  }
  100% {
    transform: translateY(-18px) rotate(-3deg) scale(1.08, 1.2);
    border-radius: 48% 52% 40% 60% / 42% 68% 32% 58%;
    opacity: 0.78;
  }
}

@keyframes blueFireOuter {
  0% {
    transform: translateY(14px) rotate(8deg) scale(0.98);
    opacity: 0.28;
  }
  50% {
    transform: translateY(-13px) rotate(-8deg) scale(1.12, 1.22);
    opacity: 0.58;
  }
  100% {
    transform: translateY(-24px) rotate(4deg) scale(1.18, 1.3);
    opacity: 0.42;
  }
}

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; }

  .nav-shell.open {
    min-height: auto;
    padding: 1rem 0;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-shell.open .nav-links {
    order: 3;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.7rem;
  }

  .hero,
  .split { grid-template-columns: 1fr; }

  .hero { min-height: auto; }
  .hero-logo { min-height: 430px; }
  .tax-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .top-strip {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
  }

  h1 { font-size: clamp(4.6rem, 23vw, 7rem); }

  .hero-actions,
  .hero-actions .button { width: 100%; }

  .cards,
  .card.big,
  .social-grid,
  .stats {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .stats article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats article:last-child { border-bottom: 0; }

  .supply-badge {
    right: 50%;
    bottom: 0;
    transform: translateX(50%);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .promo-panel figcaption {
    align-items: flex-start;
    flex-direction: column;
  }
}
