/* ============================================================
   Beyond The Sky — $SKY
   Premium cinematic token website
   ============================================================ */

:root {
  /* Backgrounds */
  --bg-deep: #03191c;
  --bg-mid: #061f22;
  --bg-surface: #09292b;
  --bg-elevated: #0c3336;

  /* Aqua palette */
  --aqua-bright: #8fffe7;
  --aqua: #66f5dc;
  --aqua-mid: #42e7d0;
  --aqua-dim: rgba(66, 231, 208, 0.35);

  /* Text */
  --text: #d8fff8;
  --text-bright: #ffffff;
  --muted: rgba(220, 255, 248, 0.65);
  --muted-dim: rgba(220, 255, 248, 0.4);

  /* Borders & effects */
  --border: rgba(102, 245, 220, 0.18);
  --border-bright: rgba(143, 255, 231, 0.35);
  --glow: rgba(66, 231, 208, 0.45);
  --glow-strong: rgba(143, 255, 231, 0.6);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Typography */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Layout */
  --nav-height: 72px;
  --max-width: 1200px;
  --radius: 6px;
  --radius-lg: 12px;

  /* Animation */
  --reveal-duration: 900ms;

  /* Cursor */
  --mouse-x: 50%;
  --mouse-y: 50%;
}

/* Reset & base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
}

/* Grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.035;
  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)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* Cursor glow — desktop only */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  background: radial-gradient(circle, rgba(66, 231, 208, 0.07) 0%, transparent 70%);
  transform: translate(calc(var(--mouse-x) - 50%), calc(var(--mouse-y) - 50%));
  transition: opacity 0.4s ease;
  opacity: 0;
}

body.cursor-active .cursor-glow {
  opacity: 1;
}

@media (hover: none), (pointer: coarse) {
  .cursor-glow { display: none; }
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.35s ease, border-color 0.35s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.72rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 0.85rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--aqua-bright) 0%, var(--aqua-mid) 100%);
  color: var(--bg-deep);
  box-shadow: 0 0 30px rgba(66, 231, 208, 0.35), 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 50px rgba(143, 255, 231, 0.5), 0 8px 30px rgba(0, 0, 0, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--aqua);
  border: 1px solid var(--border-bright);
  box-shadow: inset 0 0 20px rgba(66, 231, 208, 0.05);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--aqua-bright);
  color: var(--aqua-bright);
  box-shadow: 0 0 30px rgba(66, 231, 208, 0.15), inset 0 0 20px rgba(66, 231, 208, 0.08);
}

.btn-copy {
  padding: 0.5rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: rgba(66, 231, 208, 0.1);
  color: var(--aqua);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease-out);
}

.btn-copy:hover {
  background: rgba(66, 231, 208, 0.2);
  border-color: var(--aqua);
}

.btn-copy.copied {
  color: var(--aqua-bright);
  border-color: var(--aqua-bright);
}

/* ============================================================
   Navigation
   ============================================================ */

.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.nav-header.scrolled {
  background: rgba(3, 25, 28, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border), 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 1002;
}

.nav-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(66, 231, 208, 0.4));
}

.nav-name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--aqua-bright);
  text-shadow: 0 0 20px rgba(143, 255, 231, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1002;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--aqua);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--space-md);
}

.nav-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--aqua);
  box-shadow: 0 0 8px var(--glow);
  transition: width 0.35s var(--ease-out);
}

.nav-link:hover {
  color: var(--aqua-bright);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  gap: 0.75rem;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    background: rgba(3, 25, 28, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }

  .nav-link {
    font-size: 1rem;
  }

  .nav-actions {
    flex-direction: column;
    width: min(280px, 80vw);
  }

  .nav-actions .btn {
    width: 100%;
  }
}

/* ============================================================
   Reveal animations
   ============================================================ */

.reveal,
.reveal-up,
.reveal-scale,
.reveal-blur {
  opacity: 0;
  transition:
    opacity var(--reveal-duration) var(--ease-out),
    transform var(--reveal-duration) var(--ease-out),
    filter var(--reveal-duration) var(--ease-out);
}

.reveal {
  transform: translateY(24px);
}

.reveal-up {
  transform: translateY(40px);
}

.reveal-scale {
  transform: scale(0.92);
}

.reveal-blur {
  transform: translateY(20px);
  filter: blur(8px);
}

.reveal.visible,
.reveal-up.visible,
.reveal-scale.visible,
.reveal-blur.visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ============================================================
   Sections — shared
   ============================================================ */

.section {
  position: relative;
  padding: var(--space-3xl) var(--space-md);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: var(--space-xl);
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  min-height: 110vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-height) + var(--space-lg)) var(--space-md) var(--space-2xl);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  top: 20%;
  left: -20%;
  width: 140%;
  height: 30%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(66, 231, 208, 0.04) 25%,
    rgba(143, 255, 231, 0.08) 50%,
    rgba(66, 231, 208, 0.04) 75%,
    transparent 100%
  );
  filter: blur(30px);
  animation: aurora-drift 12s ease-in-out infinite;
  pointer-events: none;
}

@keyframes aurora-drift {
  0%, 100% { transform: translateX(0) skewY(-2deg); opacity: 0.5; }
  50% { transform: translateX(5%) skewY(2deg); opacity: 0.8; }
}

.hero-banner-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-banner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%);
  width: 140%;
  max-width: none;
  height: auto;
  opacity: 0.55;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, black 20%, transparent 75%);
  object-fit: cover;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--bg-deep) 0%, transparent 25%, transparent 60%, var(--bg-deep) 100%),
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(66, 231, 208, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(3, 25, 28, 0.9) 0%, transparent 60%);
}

.hero-beam {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 70%;
  background: linear-gradient(to top, transparent, var(--aqua-bright), transparent);
  opacity: 0.35;
  filter: blur(1px);
  box-shadow: 0 0 40px 10px rgba(143, 255, 231, 0.25), 0 0 80px 20px rgba(66, 231, 208, 0.1);
  animation: beam-pulse 4s ease-in-out infinite;
}

@keyframes beam-pulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.5; }
}

.hero-cloud {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.25;
  animation: cloud-drift 20s ease-in-out infinite;
}

.hero-cloud--1 {
  width: 500px;
  height: 200px;
  bottom: 15%;
  left: -10%;
  background: radial-gradient(ellipse, rgba(102, 245, 220, 0.3) 0%, transparent 70%);
  animation-duration: 25s;
}

.hero-cloud--2 {
  width: 400px;
  height: 180px;
  bottom: 25%;
  right: -5%;
  background: radial-gradient(ellipse, rgba(66, 231, 208, 0.25) 0%, transparent 70%);
  animation-duration: 30s;
  animation-delay: -5s;
}

.hero-cloud--3 {
  width: 600px;
  height: 150px;
  bottom: 5%;
  left: 30%;
  background: radial-gradient(ellipse, rgba(143, 255, 231, 0.15) 0%, transparent 70%);
  animation-duration: 35s;
  animation-delay: -10s;
}

@keyframes cloud-drift {
  0%, 100% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(30px) translateY(-15px); }
}

.hero-mountain {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background:
    linear-gradient(to top, var(--bg-deep) 0%, transparent 100%),
    radial-gradient(ellipse 40% 100% at 50% 100%, rgba(9, 41, 43, 0.8) 0%, transparent 70%);
  pointer-events: none;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(66, 231, 208, 0.12);
  left: 50%;
  transform: translateX(-50%);
  animation: ring-expand 8s ease-in-out infinite;
}

.hero-ring--1 {
  width: 300px;
  height: 300px;
  top: 25%;
  opacity: 0.4;
}

.hero-ring--2 {
  width: 500px;
  height: 500px;
  top: 15%;
  opacity: 0.2;
  animation-delay: -4s;
}

@keyframes ring-expand {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.3; }
  50% { transform: translateX(-50%) scale(1.05); opacity: 0.5; }
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--aqua-bright);
  pointer-events: none;
  animation: particle-float linear infinite;
}

@keyframes particle-float {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) translateX(20px); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
}

.hero-eyebrow {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  letter-spacing: 0.4em;
  color: var(--muted);
  margin-bottom: var(--space-md);
  writing-mode: horizontal-tb;
}

.hero-logo-wrap {
  margin: 0 auto var(--space-md);
  width: clamp(120px, 22vw, 200px);
  transition: transform 0.15s ease-out;
}

.hero-logo {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(66, 231, 208, 0.45));
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--space-md);
}

.hero-title-line {
  display: block;
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 0.95;
  color: var(--text-bright);
  text-shadow: 0 0 60px rgba(143, 255, 231, 0.3);
  transition: transform 0.15s ease-out;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--aqua);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.hero-quote {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--muted);
  font-style: italic;
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  animation: scroll-bounce 2.5s ease-in-out infinite;
  transition: color 0.3s ease;
}

.scroll-indicator:hover {
  color: var(--aqua);
}

.scroll-indicator-arrow {
  font-size: 1.2rem;
  color: var(--aqua-dim);
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 600px) {
  .hero { min-height: 100svh; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 320px; margin: 0 auto; }
  .hero-actions .btn { width: 100%; }
}

/* ============================================================
   Origin
   ============================================================ */

.section-origin {
  background: linear-gradient(to bottom, var(--bg-deep), var(--bg-mid));
  overflow: hidden;
}

.section-origin::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(66, 231, 208, 0.03));
  pointer-events: none;
}

.origin-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(3rem, 15vw, 10rem);
  color: rgba(66, 231, 208, 0.04);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
  text-orientation: upright;
  z-index: 0;
}

.origin-chinese {
  font-size: clamp(2rem, 6vw, 3.5rem);
  letter-spacing: 0.15em;
  color: var(--text-bright);
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.origin-translation {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--aqua);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.origin-body {
  max-width: 640px;
}

.origin-body p {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--muted);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.origin-emphasis {
  font-size: clamp(1.1rem, 2vw, 1.3rem) !important;
  color: var(--text) !important;
  font-style: italic;
  margin-top: var(--space-lg) !important;
  padding-left: var(--space-md);
  border-left: 2px solid var(--aqua-dim);
}

/* ============================================================
   Meme / Philosophy
   ============================================================ */

.section-meme {
  background: var(--bg-mid);
  text-align: center;
  overflow: hidden;
}

.meme-cloud-layer {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(66, 231, 208, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 30% at 20% 80%, rgba(102, 245, 220, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.meme-ask {
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  letter-spacing: 0.3em;
  color: var(--muted-dim);
  margin-bottom: var(--space-sm);
}

.meme-question {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--muted);
  margin-bottom: var(--space-xl);
  letter-spacing: 0.05em;
}

.meme-reveal {
  font-size: clamp(3.5rem, 12vw, 8rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--aqua-bright);
  text-shadow: 0 0 80px rgba(143, 255, 231, 0.4);
  margin-bottom: var(--space-xl);
  transform: scale(0.8);
  opacity: 0;
  transition: transform 1s var(--ease-out), opacity 1s var(--ease-out);
}

.meme-reveal.visible {
  transform: scale(1);
  opacity: 1;
}

.meme-copy {
  max-width: 600px;
  margin: 0 auto;
}

.meme-copy p {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--muted);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.stacked-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: var(--space-lg) 0;
}

.stacked-line {
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.15em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(102, 245, 220, 0.4);
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), color 0.5s ease;
}

.stacked-line.visible {
  opacity: 1;
  transform: translateX(0);
  color: rgba(102, 245, 220, 0.25);
  -webkit-text-stroke: 0;
}

.stacked-line.visible:nth-child(4) {
  color: var(--aqua);
}

.meme-answer {
  font-size: clamp(1.3rem, 3vw, 2rem) !important;
  font-weight: 700;
  color: var(--aqua-bright) !important;
  letter-spacing: 0.05em;
}

/* ============================================================
   Infinite Skies
   ============================================================ */

.section-skies {
  padding: 0;
  min-height: 300vh;
  background: linear-gradient(to bottom,
    var(--bg-mid) 0%,
    var(--bg-surface) 25%,
    #0a2e32 50%,
    #051a1d 75%,
    var(--bg-deep) 100%
  );
}

.skies-scene {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sky-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  pointer-events: none;
}

.sky-layer.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.sky-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 40% at 50% 50%, rgba(66, 231, 208, 0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.8s ease;
}

.sky-layer.active::before {
  opacity: 1;
}

.sky-label {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--aqua-bright);
  text-shadow: 0 0 60px rgba(143, 255, 231, 0.35);
  margin-bottom: var(--space-sm);
}

.sky-desc {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
}

.sky-layer--1 .sky-label { color: rgba(102, 245, 220, 0.7); }
.sky-layer--2 .sky-label { color: rgba(143, 255, 231, 0.85); }
.sky-layer--3 .sky-label { color: var(--aqua-bright); }
.sky-layer--inf .sky-label { font-size: clamp(2.5rem, 7vw, 5rem); }

.sky-infinity {
  position: absolute;
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 100;
  color: var(--aqua-bright);
  opacity: 0;
  text-shadow: 0 0 100px rgba(143, 255, 231, 0.5);
  transition: opacity 1.2s var(--ease-out);
  animation: infinity-pulse 3s ease-in-out infinite;
  animation-play-state: paused;
}

.sky-infinity.visible {
  opacity: 1;
  animation-play-state: running;
}

@keyframes infinity-pulse {
  0%, 100% {
    text-shadow: 0 0 60px rgba(143, 255, 231, 0.3);
    transform: scale(1);
  }
  50% {
    text-shadow: 0 0 120px rgba(143, 255, 231, 0.6);
    transform: scale(1.03);
  }
}

/* ============================================================
   Manifesto
   ============================================================ */

.section-manifesto {
  background: var(--bg-deep);
  padding: var(--space-3xl) var(--space-md);
}

.manifesto-lines {
  max-width: 900px;
}

.manifesto-line {
  font-size: clamp(1.5rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.manifesto-line--quote {
  color: var(--aqua);
  font-style: italic;
  padding-left: var(--space-md);
  border-left: 3px solid var(--aqua-dim);
}

.manifesto-line--chinese {
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--muted);
  letter-spacing: 0.2em;
  margin-top: var(--space-lg);
}

.manifesto-line--brand {
  color: var(--aqua-bright);
  text-shadow: 0 0 40px rgba(143, 255, 231, 0.3);
}

.manifesto-line--ticker {
  font-size: clamp(2rem, 6vw, 5rem);
  color: var(--aqua-bright);
  letter-spacing: 0.15em;
  margin-top: var(--space-md);
}

/* ============================================================
   Token
   ============================================================ */

.section-token {
  background: linear-gradient(to bottom, var(--bg-deep), var(--bg-mid));
}

.token-card {
  background: rgba(9, 41, 43, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(143, 255, 231, 0.08);
  max-width: 560px;
}

.token-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border);
  gap: var(--space-sm);
}

.token-row:last-of-type {
  border-bottom: none;
}

.token-row--contract {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
  padding-top: var(--space-md);
}

.token-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--muted-dim);
  flex-shrink: 0;
}

.token-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: right;
}

.token-value--ticker {
  color: var(--aqua-bright);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}

.token-contract-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
  flex-wrap: wrap;
}

.token-contract {
  font-family: "SF Mono", "Cascadia Code", "Consolas", monospace;
  font-size: 0.95rem;
  color: var(--aqua);
  background: rgba(3, 25, 28, 0.5);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  flex: 1;
  min-width: 0;
  word-break: break-all;
}

.token-actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.token-actions .btn {
  flex: 1;
  min-width: 140px;
}

/* ============================================================
   Community
   ============================================================ */

.section-community {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(to bottom, var(--bg-mid), #020f11);
  overflow: hidden;
}

.community-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(66, 231, 208, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(3, 25, 28, 0.8) 0%, transparent 60%),
    linear-gradient(to top, transparent 30%, rgba(143, 255, 231, 0.03) 100%);
  pointer-events: none;
}

.community-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.community-inner {
  position: relative;
  z-index: 2;
}

.community-headline {
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--text-bright);
  margin-bottom: var(--space-md);
  text-shadow: 0 0 60px rgba(143, 255, 231, 0.2);
}

.community-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--aqua);
  margin-bottom: var(--space-xl);
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

@media (max-width: 600px) {
  .community-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  .community-actions .btn { width: 100%; }
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  background: #020f11;
  border-top: 1px solid var(--border);
  padding: var(--space-xl) var(--space-md);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(66, 231, 208, 0.3));
}

.footer-name {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--aqua-bright);
}

.footer-tag {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

.footer-idiom {
  font-size: 1rem;
  color: var(--muted-dim);
  letter-spacing: 0.15em;
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-links a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--aqua-bright);
}

.footer-closing {
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.6;
}

.footer-ticker {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--aqua);
}

/* ============================================================
   Reduced motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal, .reveal-up, .reveal-scale, .reveal-blur,
  .meme-reveal, .stacked-line, .sky-layer, .sky-infinity {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .cursor-glow { display: none; }

  [data-speed] {
    transform: none !important;
  }
}
