:root {
  --ink: #140f0c;
  --night: #1a1210;
  --dusk: #2a1f1a;
  --warm: #3d2c24;
  --panel: rgba(28, 20, 18, 0.72);
  --panel-border: rgba(255, 199, 58, 0.22);
  --mustard: #ffc73a;
  --mustard-hot: #ff9f1c;
  --gold: #ffe08a;
  --cream: #fff8f0;
  --blush: #f5e6d8;
  --red: #e63946;
  --red-deep: #b91c2c;
  --white: #ffffff;
  --shadow: rgba(10, 6, 4, 0.45);
  --glow: rgba(255, 159, 28, 0.35);
  --font-display: "Bangers", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --radius: 1rem;
  --nav-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--blush);
  background-color: var(--ink);
  overflow-x: hidden;
}

/* Vector stadium background */
.scene-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.scene-bg__svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  animation: bg-drift 30s ease-in-out infinite alternate;
}

.scene-bg__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 15% 0%, rgba(255, 199, 58, 0.18), transparent 55%),
    radial-gradient(ellipse 55% 38% at 88% 5%, rgba(255, 159, 28, 0.14), transparent 52%),
    linear-gradient(180deg, rgba(20, 15, 12, 0.15) 0%, rgba(20, 15, 12, 0.55) 100%);
}

.fx-sweep {
  position: absolute;
  inset: -50% -50%;
  background: linear-gradient(
    105deg,
    transparent 42%,
    rgba(255, 232, 138, 0.06) 48%,
    rgba(255, 199, 58, 0.12) 50%,
    rgba(255, 232, 138, 0.06) 52%,
    transparent 58%
  );
  animation: light-sweep 9s ease-in-out infinite;
}

.fx-grain {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.fx-scanlines {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.4) 2px,
    rgba(0, 0, 0, 0.4) 4px
  );
}

.fx-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 85% 75% at 50% 45%, transparent 40%, rgba(10, 6, 4, 0.65) 100%);
}

/* Floating emojis */
.float-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.float-emoji {
  position: absolute;
  left: var(--x);
  top: var(--y);
  font-size: var(--s, 1.8rem);
  opacity: 0.22;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
  animation: emoji-float var(--dur, 20s) ease-in-out infinite;
  animation-delay: var(--d, 0s);
  will-change: transform;
}

.float-emoji:nth-child(odd) {
  animation-name: emoji-float-alt;
}

@keyframes bg-drift {
  0% {
    transform: scale(1.02) translateY(0);
  }
  100% {
    transform: scale(1.06) translateY(-1.5%);
  }
}

@keyframes light-sweep {
  0%,
  100% {
    transform: translateX(-30%) rotate(0deg);
    opacity: 0.4;
  }
  50% {
    transform: translateX(30%) rotate(0deg);
    opacity: 1;
  }
}

@keyframes emoji-float {
  0%,
  100% {
    transform: translate(0, 0) rotate(-8deg) scale(1);
    opacity: 0.15;
  }
  25% {
    transform: translate(12px, -28px) rotate(6deg) scale(1.08);
    opacity: 0.28;
  }
  50% {
    transform: translate(-8px, -48px) rotate(-4deg) scale(0.95);
    opacity: 0.22;
  }
  75% {
    transform: translate(18px, -20px) rotate(10deg) scale(1.05);
    opacity: 0.3;
  }
}

@keyframes emoji-float-alt {
  0%,
  100% {
    transform: translate(0, 0) rotate(6deg) scale(1);
    opacity: 0.18;
  }
  33% {
    transform: translate(-16px, -36px) rotate(-10deg) scale(1.1);
    opacity: 0.32;
  }
  66% {
    transform: translate(10px, -52px) rotate(5deg) scale(0.92);
    opacity: 0.2;
  }
}

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

a {
  color: var(--mustard);
  text-decoration: none;
}

a:hover {
  color: var(--gold);
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Nav */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(20, 15, 12, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 2px solid rgba(255, 199, 58, 0.45);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.site-nav .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.brand img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 2px solid var(--mustard);
  box-shadow: 0 0 0 2px rgba(255, 199, 58, 0.2), 0 4px 16px var(--shadow);
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--blush);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-toggle {
  display: none;
  background: rgba(255, 199, 58, 0.08);
  border: 2px solid var(--mustard);
  color: var(--mustard);
  font-size: 1.25rem;
  padding: 0.35rem 0.6rem;
  border-radius: 0.5rem;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-primary {
  background: linear-gradient(180deg, #ffe566 0%, var(--mustard-hot) 55%, #e88b00 100%);
  color: var(--ink);
  box-shadow:
    0 4px 0 #b86a00,
    0 10px 28px rgba(255, 159, 28, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
  color: var(--ink);
}

.btn-outline {
  background: rgba(255, 248, 240, 0.04);
  color: var(--cream);
  border: 2px solid rgba(255, 232, 138, 0.55);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: rgba(255, 199, 58, 0.12);
  color: var(--cream);
  border-color: var(--gold);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

/* Sections */
main {
  position: relative;
  z-index: 2;
}

section {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
}

.hero-content,
.hero-media {
  position: relative;
  z-index: 2;
}

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--mustard-hot);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  color: var(--cream);
  text-shadow: 3px 3px 0 var(--red-deep);
}

/* Glass panels */
section.about,
section.howtobuy,
section.chart,
section.joinus {
  padding: 0;
  margin: 0 auto 2rem;
  width: min(1120px, 92vw);
}

.about .container,
.howtobuy .container,
.chart .container,
.joinus .container {
  position: relative;
  padding: 4rem clamp(1.25rem, 4vw, 3rem);
  border-radius: calc(var(--radius) * 1.25);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(12px);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.about .container::before,
.howtobuy .container::before,
.chart .container::before,
.joinus .container::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 199, 58, 0.06), transparent);
  animation: panel-shine 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes panel-shine {
  0% {
    left: -100%;
  }
  40%,
  100% {
    left: 150%;
  }
}

/* Hero */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 10% auto auto 5%;
  width: min(420px, 60vw);
  height: min(420px, 60vw);
  background: radial-gradient(circle, rgba(255, 199, 58, 0.12), transparent 68%);
  pointer-events: none;
  animation: hero-pulse 4s ease-in-out infinite;
}

@keyframes hero-pulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: var(--white);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 20px rgba(230, 57, 70, 0.35);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 0.95;
  margin: 0 0 0.75rem;
  color: var(--cream);
  text-shadow: 4px 4px 0 var(--red-deep);
}

.hero h1 span {
  color: var(--mustard);
  display: block;
  text-shadow: 4px 4px 0 #7a4a00;
  animation: title-shimmer 3s ease-in-out infinite;
}

@keyframes title-shimmer {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.15);
  }
}

.hero-tagline {
  font-size: 1.2rem;
  max-width: 34ch;
  margin-bottom: 1.75rem;
  color: var(--blush);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.hero-ca {
  margin-bottom: 1.5rem;
  max-width: 100%;
  text-align: left;
  animation: ca-glow 2.5s ease-in-out infinite;
}

.hero-ca .contract-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mustard-hot);
  margin-bottom: 0.5rem;
}

.hero-ca code {
  flex: 1 1 100%;
  text-align: left;
}

@keyframes ca-glow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(255, 199, 58, 0);
    border-color: rgba(255, 199, 58, 0.45);
  }
  50% {
    box-shadow: 0 0 28px rgba(255, 159, 28, 0.2);
    border-color: rgba(255, 199, 58, 0.75);
  }
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.stat {
  text-align: left;
  padding: 0.75rem 1rem;
  background: rgba(255, 199, 58, 0.08);
  border: 1px solid rgba(255, 199, 58, 0.2);
  border-radius: 0.75rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--mustard);
  letter-spacing: 0.05em;
}

.stat span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.75;
}

.hero-media {
  position: relative;
}

.hero-video-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--mustard);
  box-shadow:
    0 0 0 3px rgba(255, 159, 28, 0.25),
    0 0 60px rgba(255, 159, 28, 0.2),
    0 24px 56px var(--shadow);
  aspect-ratio: 1;
  background: var(--dusk);
  animation: video-float 5s ease-in-out infinite;
}

@keyframes video-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-logo-float {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  border: 3px solid var(--cream);
  box-shadow: 0 8px 28px var(--shadow), 0 0 24px var(--glow);
  object-fit: cover;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
}

.about-logo {
  width: 10rem;
  border-radius: var(--radius);
  border: 3px solid var(--mustard);
  box-shadow: 0 12px 36px var(--shadow), 0 0 30px rgba(255, 199, 58, 0.15);
}

.about-lead {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: 0;
}

.about-quote {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--cream);
  margin: 1.5rem 0 0;
  letter-spacing: 0.03em;
}

/* How to buy */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.step-card {
  background: rgba(255, 248, 240, 0.04);
  border: 1px solid rgba(255, 199, 58, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.step-card:hover {
  border-color: var(--mustard);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(255, 159, 28, 0.12);
}

.step-num {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--gold), var(--mustard-hot));
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  border-radius: 50%;
  box-shadow: 0 3px 0 #b86a00;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  color: var(--cream);
  letter-spacing: 0.04em;
}

.step-card p {
  margin: 0;
  font-size: 0.92rem;
  opacity: 0.88;
}

.howtobuy-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.contract-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.45);
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 199, 58, 0.45);
  backdrop-filter: blur(8px);
}

.contract-box code {
  font-size: 0.78rem;
  word-break: break-all;
  color: var(--gold);
  font-family: ui-monospace, "Cascadia Code", monospace;
}

/* Chart */
.chart-frame-wrap {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(255, 199, 58, 0.45);
  box-shadow: 0 16px 48px var(--shadow);
  min-height: 520px;
  background: #0c0a09;
}

.chart-frame-wrap iframe {
  width: 100%;
  height: 520px;
  border: 0;
}

.chart-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

/* Join us */
.joinus {
  text-align: center;
}

.joinus-banner {
  width: min(900px, 100%);
  margin: 0 auto 2rem;
  border-radius: var(--radius);
  border: 3px solid var(--mustard);
  box-shadow:
    0 20px 52px var(--shadow),
    0 0 40px rgba(255, 159, 28, 0.15);
}

.joinus-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 248, 240, 0.05);
  border: 1px solid rgba(255, 199, 58, 0.28);
  border-radius: var(--radius);
  color: var(--cream);
  font-weight: 700;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.social-card:hover {
  background: rgba(255, 199, 58, 0.14);
  border-color: var(--mustard);
  color: var(--cream);
  transform: translateY(-2px);
}

.social-card svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 3rem;
  text-align: center;
  border-top: 1px solid rgba(255, 199, 58, 0.15);
  font-size: 0.9rem;
  color: rgba(245, 230, 216, 0.7);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
}

.site-footer .brand {
  justify-content: center;
  margin-bottom: 0.75rem;
}

.disclaimer {
  max-width: 52ch;
  margin: 1rem auto 0;
  font-size: 0.8rem;
  opacity: 0.65;
}

/* Mobile */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    text-align: center;
  }

  .about-logo {
    margin-inline: auto;
  }

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

  .about .container,
  .howtobuy .container,
  .chart .container,
  .joinus .container {
    padding: 3rem 1.25rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(20, 15, 12, 0.96);
    padding: 1.25rem;
    border-bottom: 2px solid rgba(255, 199, 58, 0.45);
    backdrop-filter: blur(16px);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .nav-buy-desktop {
    display: none;
  }

  .nav-buy-mobile {
    width: 100%;
    text-align: center;
    padding-top: 0.5rem;
  }

  .nav-buy-mobile .btn {
    width: 100%;
  }
}

@media (min-width: 901px) {
  .nav-buy-mobile {
    display: none;
  }
}

@media (max-width: 520px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-logo-float {
    width: 4rem;
    height: 4rem;
  }

  .hero-ca {
    text-align: center;
  }

  .hero-ca code {
    text-align: center;
  }

  .float-emoji {
    opacity: 0.14;
  }

  section.about,
  section.howtobuy,
  section.chart,
  section.joinus {
    width: 94vw;
  }
}

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

  .scene-bg__svg {
    animation: none;
    transform: none;
  }
}
