/* ========== GLOBAL RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #020013;
  color: #ffffff;
  line-height: 1.5;
}

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

/* ========== HERO SECTION ========== */

#hero {
  min-height: 100vh;
  padding: 80px 16px 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background:
    url("space-clouds.png") top center / cover no-repeat,
    url("retro-road.png") bottom center / cover no-repeat,
    radial-gradient(circle at top, #ff3fa8 0%, #2c0046 45%, #000814 100%);
  animation: spaceDrift 55s linear infinite;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.55) 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
  transition: transform 0.4s ease-out;
}

/* ROUND AURA LOGO HOLDER */
.aura-coin-wrap {
  width: 260px;
  height: 260px;
  margin: 0 auto 10px;
  border-radius: 50%;
  padding: 18px;
  background:
    radial-gradient(circle at 30% 20%, #ffffff55 0, transparent 40%),
    radial-gradient(circle at 70% 80%, #00eaff55 0, transparent 45%),
    radial-gradient(circle at center, #ff3fa8, #3a0064);
  box-shadow:
    0 0 40px rgba(255, 63, 168, 0.8),
    0 0 80px rgba(0, 234, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.aura-coin {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: float 4s ease-in-out infinite;
}

/* HERO TEXT */

h1 {
  font-size: 3.6rem;
  letter-spacing: 0.25em;
  text-indent: 0.25em;
  margin-top: 18px;
  text-transform: uppercase;
}

.tagline {
  font-size: 1.3rem;
  margin: 10px 0 25px;
  color: #9ed8ff;
}

/* HERO BUTTONS */

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.btn {
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(45deg, #ff3fa8, #00eaff);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  box-shadow: 0 0 18px rgba(0, 234, 255, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 30px rgba(0, 234, 255, 0.75);
  opacity: 0.95;
}

.btn.ghost {
  background: transparent;
  border: 2px solid #00eaff;
  box-shadow: 0 0 16px rgba(0, 234, 255, 0.35);
}

.btn.meta {
  background: #ff3fa8;
}

/* ========== PANELS / SECTIONS (GLASSY + COSMIC TRANSITION) ========== */

.panel {
  padding: 90px 20px;
  text-align: center;

  background: rgba(5, 5, 15, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  backdrop-filter: blur(12px);

  margin: 60px auto;
  width: min(92%, 900px);

  box-shadow:
    0 0 30px rgba(0, 234, 255, 0.18),
    inset 0 0 25px rgba(255, 63, 168, 0.15);

  opacity: 0;
  transform: translateY(40px) scale(0.98);
  filter: blur(6px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease,
    filter 0.9s ease;
}

.panel.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.panel h2 {
  font-size: 2rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.panel p,
.panel ul,
.panel ol {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1rem;
  color: #e7f0ff;
}

.panel ul,
.panel ol {
  text-align: left;
  padding-left: 1.2rem;
  margin-top: 12px;
}

.panel li {
  margin-bottom: 8px;
}

/* WHITEPAPER PANEL */

.panel-whitepaper .whitepaper-note {
  margin-bottom: 20px;
}

.whitepaper-frame-wrapper {
  position: relative;
  max-width: 780px;
  height: 480px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 0 28px rgba(255, 63, 168, 0.35),
    0 0 40px rgba(0, 234, 255, 0.25);
  background: radial-gradient(circle at top, #311047, #020012);
}

.whitepaper-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.whitepaper-overlay-msg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, rgba(2,0,20,0.88), rgba(9,18,48,0.92));
  color: #f5d8ff;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* FOOTER */

footer {
  padding: 40px 20px 30px;
  text-align: center;
  color: #89a3b8;
  font-size: 0.85rem;
}

/* ========== ANIMATIONS ========== */

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

@keyframes spaceDrift {
  0% {
    background-position:
      center top,
      center bottom,
      center center;
  }
  50% {
    background-position:
      center 10%,
      center 95%,
      center center;
  }
  100% {
    background-position:
      center top,
      center bottom,
      center center;
  }
}

/* ========== RESPONSIVE / MOBILE ========== */

@media (max-width: 768px) {
  #hero {
    padding-top: 70px;
    padding-bottom: 32px;
    background:
      url("space-clouds.png") top center / cover no-repeat,
      url("retro-road.png") bottom center / cover no-repeat,
      radial-gradient(circle at top, #ff3fa8 0%, #2c0046 45%, #000814 100%);
  }

  .aura-coin-wrap {
    width: 190px;
    height: 190px;
    padding: 14px;
  }

  h1 {
    font-size: 2.4rem;
    letter-spacing: 0.18em;
  }

  .tagline {
    font-size: 1rem;
    margin-bottom: 18px;
    padding: 0 8px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 260px;
    font-size: 0.85rem;
  }

  .panel {
    padding: 64px 18px;
    margin: 40px auto;
    width: min(94%, 900px);
  }

  .panel h2 {
    font-size: 1.5rem;
  }

  .panel p,
  .panel ul,
  .panel ol {
    font-size: 0.95rem;
  }

  .whitepaper-frame-wrapper {
    height: 360px;
  }
}

@media (max-width: 420px) {
  #hero {
    padding-top: 58px;
  }

  .aura-coin-wrap {
    width: 165px;
    height: 165px;
  }

  h1 {
    font-size: 2.1rem;
    letter-spacing: 0.12em;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.8rem;
  }

  .whitepaper-frame-wrapper {
    height: 300px;
  }
}
