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

:root {
  --black: #000000;
  --white: #ffffff;
  --gold: #f5c842;
  --gold-light: #ffe082;
  --gold-dark: #c9a020;
  --gray: #888888;
  --gray-dark: #1a1a1a;
  --font-display: "Archivo Black", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

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

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

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.glow--top {
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 50vh;
  background: radial-gradient(ellipse, rgba(245, 200, 66, 0.12) 0%, transparent 70%);
  animation: glowPulse 6s ease-in-out infinite;
}

.glow--bottom {
  bottom: -10%;
  right: -10%;
  width: 60vw;
  height: 40vh;
  background: radial-gradient(ellipse, rgba(245, 200, 66, 0.08) 0%, transparent 70%);
  animation: glowPulse 8s ease-in-out infinite reverse;
}

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

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 6px var(--gold);
}

.particle:nth-child(1) { left: 10%; animation: floatUp 12s 0s infinite; }
.particle:nth-child(2) { left: 25%; animation: floatUp 15s 2s infinite; width: 2px; height: 2px; }
.particle:nth-child(3) { left: 45%; animation: floatUp 10s 4s infinite; }
.particle:nth-child(4) { left: 65%; animation: floatUp 14s 1s infinite; width: 4px; height: 4px; }
.particle:nth-child(5) { left: 80%; animation: floatUp 11s 3s infinite; }
.particle:nth-child(6) { left: 92%; animation: floatUp 13s 5s infinite; width: 2px; height: 2px; }

/* Keyframes */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes kenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@keyframes orbitSpin1 {
  from { transform: rotate(-8deg); }
  to { transform: rotate(352deg); }
}

@keyframes orbitSpin2 {
  from { transform: rotate(6deg); }
  to { transform: rotate(366deg); }
}

@keyframes sparkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes floatUp {
  0% { bottom: -5%; opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { bottom: 105%; opacity: 0; }
}

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

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.animate-in.visible-badge {
  animation: borderPulse 3s ease-in-out infinite;
}

@keyframes borderPulse {
  0%, 100% { border-color: rgba(245, 200, 66, 0.4); box-shadow: none; }
  50% { border-color: rgba(245, 200, 66, 0.8); box-shadow: 0 0 16px rgba(245, 200, 66, 0.2); }
}

@keyframes iconSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Load-in animations */
.animate-nav {
  animation: fadeDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-in {
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s) forwards;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}

.reveal--left {
  transform: translateX(-40px);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0);
}

.reveal--left.visible {
  transform: translateX(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .animate-in {
    opacity: 1;
    animation: none;
  }
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 4vw;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.92);
  padding: 0.5rem 4vw;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav__brand {
  display: flex;
  align-items: center;
}

.nav__logo {
  height: 48px;
  width: auto;
  transition: transform 0.3s;
}

.nav__brand:hover .nav__logo {
  transform: scale(1.05) rotate(-2deg);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__links a {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.nav__social {
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}

.nav__social:hover {
  border-color: var(--gold);
  color: var(--gold) !important;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: 80px;
}

.hero__banner-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  will-change: transform;
}

.hero__banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: kenBurns 20s ease-in-out infinite alternate;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.95) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 4rem 0 5rem;
  text-align: center;
}

.hero__badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(245, 200, 66, 0.4);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero__title {
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  text-transform: lowercase;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 1rem;
  text-shadow: 0 0 60px rgba(245, 200, 66, 0.3);
}

.orbit {
  position: absolute;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  pointer-events: none;
}

.orbit--1 {
  width: 110%;
  height: 45%;
  top: 10%;
  left: -5%;
  animation: orbitSpin1 20s linear infinite;
}

.orbit--2 {
  width: 95%;
  height: 38%;
  bottom: 5%;
  left: 2%;
  animation: orbitSpin2 25s linear infinite reverse;
}

.sparkle {
  position: absolute;
  color: var(--white);
  font-size: 0.6em;
  opacity: 0.8;
  animation: sparkle 2.5s ease-in-out infinite;
}

.sparkle--1 {
  top: -5%;
  right: 5%;
  animation-delay: 0s;
}

.sparkle--2 {
  bottom: 0;
  left: 0;
  animation-delay: 1.2s;
}

.hero__tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--black);
  box-shadow: 0 4px 24px rgba(245, 200, 66, 0.35);
  position: relative;
  overflow: hidden;
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
  pointer-events: none;
}

.btn--primary:hover {
  box-shadow: 0 6px 32px rgba(245, 200, 66, 0.5);
  color: var(--black);
}

.btn--primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--large {
  padding: 1rem 3rem;
  font-size: 0.9rem;
  margin-top: 2rem;
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
}

.section__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 2.5rem;
}

/* Mindset */
.section--mindset {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mindset__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.mindset__card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.mindset__card:hover {
  border-color: rgba(245, 200, 66, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(245, 200, 66, 0.08);
}

.mindset__icon {
  display: block;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
  transition: transform 0.4s;
}

.mindset__card:hover .mindset__icon {
  transform: scale(1.2);
}

.mindset__card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Phenomenon */
.section--phenomenon {
  background: linear-gradient(180deg, transparent 0%, rgba(245, 200, 66, 0.04) 50%, transparent 100%);
}

.phenomenon {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.phenomenon__logo {
  width: min(280px, 60vw);
  filter: drop-shadow(0 0 40px rgba(245, 200, 66, 0.2));
  animation: logoFloat 4s ease-in-out infinite;
}

.phenomenon__logo.visible {
  animation: logoFloat 4s ease-in-out infinite;
}

.phenomenon__desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  max-width: 520px;
  margin-top: 1rem;
}

/* Contract */
.section--contract {
  text-align: center;
}

.contract-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 200, 66, 0.25);
  border-radius: 16px;
  max-width: 800px;
  margin: 0 auto 1rem;
  transition: box-shadow 0.4s, border-color 0.4s;
}

.contract-box--pulse.visible {
  animation: contractGlow 3s ease-in-out infinite;
}

@keyframes contractGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 200, 66, 0); border-color: rgba(245, 200, 66, 0.25); }
  50% { box-shadow: 0 0 30px rgba(245, 200, 66, 0.12); border-color: rgba(245, 200, 66, 0.5); }
}

.contract-box__address {
  font-family: "Courier New", monospace;
  font-size: clamp(0.75rem, 2vw, 1rem);
  color: var(--gold-light);
  word-break: break-all;
  text-align: left;
}

.contract-box__copy {
  flex-shrink: 0;
  padding: 0.65rem 1.5rem;
}

.contract-box__note {
  font-size: 0.8rem;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
}

/* Buy */
.buy__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.buy__step {
  position: relative;
  padding: 2rem;
  border-left: 2px solid rgba(245, 200, 66, 0.4);
  transition: border-color 0.3s, transform 0.3s;
}

.buy__step:hover {
  border-left-color: var(--gold);
  transform: translateX(6px);
}

.buy__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: rgba(245, 200, 66, 0.2);
  line-height: 1;
  display: block;
  margin-bottom: 0.75rem;
}

.buy__step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.buy__step p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

/* Community */
.section--community {
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(245, 200, 66, 0.06) 100%);
  padding-bottom: 8rem;
}

.community__desc {
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  margin: -1rem auto 2.5rem;
  font-size: 1.05rem;
}

.community__links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: var(--white);
  font-weight: 600;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}

.social-card svg {
  width: 24px;
  height: 24px;
}

.social-card:hover {
  border-color: var(--gold);
  background: rgba(245, 200, 66, 0.08);
  color: var(--gold);
  transform: translateY(-3px);
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 0;
}

.footer__inner {
  text-align: center;
}

.footer__logo {
  height: 64px;
  width: auto;
  margin: 0 auto 1rem;
  opacity: 0.9;
  transition: transform 0.4s, filter 0.4s;
}

.footer__logo.visible:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 20px rgba(245, 200, 66, 0.4));
}

.footer__tagline {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.footer__disclaimer {
  font-size: 0.75rem;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

.footer__copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    padding: 1.5rem;
    gap: 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero__banner {
    object-position: center 20%;
    animation: none;
  }

  .glow--top {
    animation: none;
  }

  .phenomenon {
    flex-direction: column;
    text-align: center;
  }

  .contract-box {
    flex-direction: column;
    text-align: center;
  }

  .contract-box__address {
    text-align: center;
  }
}
