/* ==========================================================================
   Pipe Doge — $PIPEDOGE
   Premium cinematic Solana meme coin stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --bg-deep: #05060a;
  --bg: #07090f;
  --bg-elevated: #0d111c;
  --bg-panel: rgba(14, 18, 32, 0.72);

  /* Solana accents */
  --sol-cyan: #00ffa3;
  --sol-teal: #03e1ff;
  --sol-purple: #dc1fff;
  --sol-magenta: #9945ff;

  /* Detective / pipe accents */
  --gold: #d4a84b;
  --gold-soft: #e8c57a;
  --brass: #b8893a;
  --smoke: rgba(220, 200, 255, 0.35);
  --smoke-warm: rgba(255, 200, 140, 0.22);

  /* Text */
  --text: #f3efe6;
  --text-muted: #a8a29a;
  --text-dim: #6f6a63;

  /* Borders & effects */
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 255, 163, 0.28);
  --glass: rgba(255, 255, 255, 0.04);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.55);
  --glow-cyan: 0 0 40px rgba(0, 255, 163, 0.25);
  --glow-purple: 0 0 50px rgba(220, 31, 255, 0.22);
  --glow-gold: 0 0 36px rgba(212, 168, 75, 0.28);

  /* Typography */
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;

  /* Layout */
  --container: 1120px;
  --nav-h: 76px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img.img-fallback {
  object-fit: cover;
  background: linear-gradient(135deg, #1a1420, #0d1520);
}

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

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

ul,
ol {
  list-style: none;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10001;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--sol-cyan);
  color: #061018;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(4.5rem, 10vw, 8rem) 0;
  z-index: 1;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  max-width: 16ch;
}

/* --------------------------------------------------------------------------
   Ambient Background
   -------------------------------------------------------------------------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(153, 69, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(0, 255, 163, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(212, 168, 75, 0.06), transparent 55%),
    var(--bg);
}

.ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: orbFloat 18s ease-in-out infinite;
}

.ambient__orb--1 {
  width: 420px;
  height: 420px;
  background: rgba(153, 69, 255, 0.35);
  top: 10%;
  left: -8%;
}

.ambient__orb--2 {
  width: 360px;
  height: 360px;
  background: rgba(0, 255, 163, 0.18);
  top: 55%;
  right: -10%;
  animation-delay: -6s;
}

.ambient__orb--3 {
  width: 280px;
  height: 280px;
  background: rgba(212, 168, 75, 0.16);
  bottom: 5%;
  left: 35%;
  animation-delay: -12s;
}

.ambient__grain {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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;
  mix-blend-mode: overlay;
}

@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(30px, -40px, 0) scale(1.08); }
}

/* Mouse glow */
.mouse-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(circle, rgba(0, 255, 163, 0.12), transparent 65%);
  transform: translate3d(-50%, -50%, 0);
  opacity: 0;
  transition: opacity 0.4s ease;
  mix-blend-mode: screen;
}

.mouse-glow.is-active {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Preloader
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--bg-deep);
  transition: opacity 0.55s var(--ease), visibility 0.55s;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.preloader__glow {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 31, 255, 0.35), rgba(0, 255, 163, 0.12), transparent 70%);
  filter: blur(20px);
  animation: pulseGlow 1.2s ease-in-out infinite;
}

.preloader__logo {
  position: relative;
  width: 88px;
  height: 88px;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 75, 0.35);
  box-shadow: var(--glow-gold), 0 0 0 6px rgba(255, 255, 255, 0.03);
  z-index: 1;
}

.preloader__text {
  position: relative;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.28em;
  font-size: 0.85rem;
  color: var(--text);
  z-index: 1;
}

.preloader__bar {
  position: relative;
  width: 140px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
  z-index: 1;
}

.preloader__bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--sol-cyan), var(--sol-purple), var(--gold));
  animation: loadBar 1.2s var(--ease) forwards;
}

.preloader__smoke {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 60px;
  height: 80px;
  transform: translateX(-50%);
  pointer-events: none;
}

.preloader__smoke span {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 18px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--smoke), transparent 70%);
  filter: blur(6px);
  animation: smokeRise 1.4s ease-out infinite;
  opacity: 0;
}

.preloader__smoke span:nth-child(2) { animation-delay: 0.25s; left: 40%; }
.preloader__smoke span:nth-child(3) { animation-delay: 0.5s; left: 60%; }

@keyframes loadBar {
  to { width: 100%; }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes smokeRise {
  0% { transform: translate(-50%, 10px) scale(0.6); opacity: 0; }
  30% { opacity: 0.7; }
  100% { transform: translate(-50%, -70px) scale(1.4); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
  isolation: isolate;
  white-space: nowrap;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.28) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
  z-index: -1;
}

.btn:hover::after {
  transform: translateX(120%);
}

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

.btn:active {
  transform: translateY(0);
}

.btn--sm {
  min-height: 42px;
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.btn--lg {
  min-height: 56px;
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
}

.btn--primary {
  color: #061018;
  background: linear-gradient(135deg, var(--sol-cyan), var(--sol-teal) 45%, #7cf5ff);
  box-shadow: var(--glow-cyan), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn--primary:hover {
  box-shadow: 0 0 48px rgba(0, 255, 163, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.btn--ghost:hover {
  border-color: rgba(0, 255, 163, 0.45);
  box-shadow: 0 0 28px rgba(0, 255, 163, 0.12);
}

.btn--gold {
  color: #1a1206;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold), var(--brass));
  box-shadow: var(--glow-gold);
}

.btn--outline {
  color: var(--text);
  border-color: rgba(220, 31, 255, 0.4);
  background: rgba(220, 31, 255, 0.08);
}

.btn--outline:hover {
  border-color: var(--sol-purple);
  box-shadow: var(--glow-purple);
}

.btn--copy {
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

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

.btn--icon {
  width: 40px;
  padding: 0;
}

.magnetic {
  will-change: transform;
}

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  z-index: 10000;
  transform: translateX(-50%) translateY(120%);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(12, 16, 28, 0.92);
  border: 1px solid rgba(0, 255, 163, 0.35);
  box-shadow: var(--shadow-lg), var(--glow-cyan);
  backdrop-filter: blur(16px);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
  max-width: min(90vw, 360px);
  text-align: center;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(7, 9, 15, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.nav__inner {
  width: min(100% - 2rem, 1240px);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
}

.nav__logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 75, 0.35);
  box-shadow: 0 0 20px rgba(212, 168, 75, 0.15);
}

.nav__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}

.nav__ticker {
  font-size: 0.7rem;
  color: var(--sol-cyan);
  letter-spacing: 0.08em;
  font-weight: 600;
}

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

.nav__link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.35rem 0;
  transition: color 0.25s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--sol-cyan), var(--sol-purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--text);
}

.nav__link.is-active::after,
.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 1001;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.nav__toggle-bar {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s ease, top 0.35s var(--ease);
}

.nav__toggle-bar:nth-child(1) { top: 14px; }
.nav__toggle-bar:nth-child(2) { top: 21px; }
.nav__toggle-bar:nth-child(3) { top: 28px; }

.nav.is-open .nav__toggle-bar:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.nav.is-open .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav.is-open .nav__toggle-bar:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--nav-h) + 1.5rem) 0 3.5rem;
  overflow: hidden;
  z-index: 1;
}

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

.hero__banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  transform: scale(1.05);
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 10, 0.92) 0%, rgba(5, 6, 10, 0.72) 42%, rgba(5, 6, 10, 0.28) 70%, rgba(5, 6, 10, 0.45) 100%),
    linear-gradient(180deg, rgba(5, 6, 10, 0.55) 0%, transparent 28%, rgba(5, 6, 10, 0.35) 70%, rgba(5, 6, 10, 0.92) 100%);
}

.hero__smoke,
.hero__shapes,
.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.smoke {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.35;
  animation: floatSmoke 14s ease-in-out infinite;
}

.smoke--1 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(220, 180, 255, 0.55), transparent 70%);
  bottom: 15%;
  right: 22%;
}

.smoke--2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 255, 163, 0.25), transparent 70%);
  bottom: 30%;
  right: 35%;
  animation-delay: -4s;
}

.smoke--3 {
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(212, 168, 75, 0.3), transparent 70%);
  top: 35%;
  right: 18%;
  animation-delay: -8s;
}

@keyframes floatSmoke {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.25; }
  50% { transform: translate3d(-30px, -50px, 0) scale(1.15); opacity: 0.45; }
}

.shape {
  position: absolute;
  border: 1px solid rgba(0, 255, 163, 0.25);
  opacity: 0.5;
  animation: shapeDrift 20s linear infinite;
}

.shape--1 {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  top: 22%;
  right: 12%;
  background: linear-gradient(135deg, rgba(0, 255, 163, 0.08), rgba(220, 31, 255, 0.08));
  transform: rotate(18deg);
}

.shape--2 {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  top: 48%;
  right: 28%;
  border-color: rgba(220, 31, 255, 0.35);
  animation-duration: 26s;
  animation-direction: reverse;
}

.shape--3 {
  width: 36px;
  height: 14px;
  border-radius: 4px;
  top: 62%;
  right: 8%;
  border-color: rgba(212, 168, 75, 0.4);
  animation-duration: 22s;
}

@keyframes shapeDrift {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(-20px, -40px, 0) rotate(12deg); }
  100% { transform: translate3d(0, 0, 0) rotate(0deg); }
}

.hero__particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--sol-cyan);
  opacity: 0.5;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { transform: translate3d(0, 20px, 0); opacity: 0; }
  20% { opacity: 0.6; }
  100% { transform: translate3d(12px, -120px, 0); opacity: 0; }
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  max-width: 640px;
  margin-right: auto;
  margin-left: max(1.25rem, calc((100% - var(--container)) / 2));
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 255, 163, 0.25);
  background: rgba(0, 255, 163, 0.06);
  color: var(--sol-cyan);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  margin-bottom: 1.35rem;
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sol-cyan);
  box-shadow: 0 0 12px var(--sol-cyan);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.hero__title-line {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 8.5vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.28em;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.45));
}

.hero__word {
  background: linear-gradient(135deg, #fff 20%, var(--gold-soft) 55%, var(--sol-purple) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__ticker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.5vw, 1.6rem);
  letter-spacing: 0.18em;
  color: var(--sol-cyan);
}

.hero__tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.65rem;
}

.hero__sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 32ch;
  margin-bottom: 1.75rem;
}

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

.hero__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.social-btn:hover {
  color: var(--text);
  border-color: rgba(220, 31, 255, 0.45);
  background: rgba(220, 31, 255, 0.08);
  transform: translateY(-1px);
}

/* Contract address box */
.ca-box {
  display: inline-flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  max-width: 100%;
}

.ca-box__label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}

.ca-box__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.ca-box__address {
  font-size: 0.92rem;
  color: var(--gold-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(52vw, 280px);
}

.ca-box--footer {
  width: 100%;
  max-width: 360px;
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */
.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(220, 31, 255, 0.08), rgba(0, 255, 163, 0.05), rgba(212, 168, 75, 0.08));
  padding: 1rem 0;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 36s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-right: 1.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.marquee__dot {
  color: var(--gold);
  font-size: 0.65rem;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Story
   -------------------------------------------------------------------------- */
.story {
  overflow: hidden;
}

.story__inner {
  position: relative;
  max-width: 820px;
  padding: 3rem 0;
}

.story__glow {
  position: absolute;
  top: 20%;
  left: 50%;
  width: 520px;
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(212, 168, 75, 0.12), rgba(153, 69, 255, 0.08), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}

.story__smoke-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.story__smoke-lines span {
  position: absolute;
  width: 1px;
  height: 140px;
  background: linear-gradient(180deg, transparent, rgba(220, 200, 255, 0.45), transparent);
  filter: blur(0.5px);
  animation: smokeLine 8s ease-in-out infinite;
  opacity: 0.5;
}

.story__smoke-lines span:nth-child(1) { left: 12%; top: 10%; animation-delay: 0s; }
.story__smoke-lines span:nth-child(2) { left: 78%; top: 25%; animation-delay: -2.5s; height: 180px; }
.story__smoke-lines span:nth-child(3) { left: 55%; top: 55%; animation-delay: -5s; height: 120px; }

@keyframes smokeLine {
  0%, 100% { transform: translateY(0) scaleY(1); opacity: 0.25; }
  50% { transform: translateY(-30px) scaleY(1.15); opacity: 0.65; }
}

.story__quote {
  position: relative;
  z-index: 1;
  border: none;
}

.story__line {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 4.2vw, 2.75rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 0.55rem;
}

.story__line--accent {
  color: var(--gold-soft);
  font-style: italic;
}

.story__mark {
  position: absolute;
  top: -0.4rem;
  left: -0.35rem;
  font-family: var(--font-serif);
  font-size: clamp(7rem, 18vw, 12rem);
  line-height: 0.8;
  color: rgba(212, 168, 75, 0.12);
  pointer-events: none;
  z-index: 0;
}

/* --------------------------------------------------------------------------
   Philosophy
   -------------------------------------------------------------------------- */
.philosophy__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
  margin-top: 1rem;
}

.phil {
  position: relative;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: calc(var(--radius) + 4px);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.4s var(--ease), border-color 0.4s ease, box-shadow 0.4s ease;
}

.phil:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16);
}

.phil--calm {
  grid-row: span 2;
  min-height: 420px;
  background:
    linear-gradient(160deg, rgba(0, 255, 163, 0.08), transparent 45%),
    var(--bg-panel);
}

.phil--calm:hover {
  box-shadow: var(--glow-cyan);
}

.phil--unbothered {
  background:
    linear-gradient(160deg, rgba(212, 168, 75, 0.1), transparent 50%),
    var(--bg-panel);
}

.phil--unbothered:hover {
  box-shadow: var(--glow-gold);
}

.phil--solana {
  background:
    linear-gradient(160deg, rgba(220, 31, 255, 0.12), transparent 50%),
    var(--bg-panel);
}

.phil--solana:hover {
  box-shadow: var(--glow-purple);
}

.phil__index {
  position: absolute;
  top: 1.4rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.05);
}

.phil__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
}

.phil--calm .phil__title { color: var(--sol-cyan); }
.phil--unbothered .phil__title { color: var(--gold-soft); }
.phil--solana .phil__title { color: #e2a8ff; }

.phil__text {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 28ch;
}

.phil__accent {
  position: absolute;
  inset: auto -20% -40% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.35;
  pointer-events: none;
}

.phil--calm .phil__accent { background: var(--sol-cyan); }
.phil--unbothered .phil__accent { background: var(--gold); }
.phil--solana .phil__accent { background: var(--sol-purple); }

/* --------------------------------------------------------------------------
   Token
   -------------------------------------------------------------------------- */
.token__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.token__visual {
  position: relative;
}

.token__frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(212, 168, 75, 0.25);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(153, 69, 255, 0.12);
  background: #0a0c14;
  aspect-ratio: 1;
}

.token__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.token__ring {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 163, 0.15);
  box-shadow: inset 0 0 40px rgba(220, 31, 255, 0.08);
  pointer-events: none;
  animation: ringPulse 5s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.04); opacity: 0.9; }
}

.token__list {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.5rem;
}

.token__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.token__row dt {
  color: var(--text-dim);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.token__row dd {
  font-weight: 600;
  font-size: 1.05rem;
}

.token__ca {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.token__ca code {
  color: var(--gold-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   How to Buy
   -------------------------------------------------------------------------- */
.howto__steps {
  position: relative;
  display: grid;
  gap: 0;
  margin: 2.5rem 0 2.5rem;
  max-width: 720px;
}

.howto__steps::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--sol-cyan), var(--sol-purple), var(--gold));
  opacity: 0.45;
  border-radius: 2px;
  animation: lineGlow 4s ease-in-out infinite;
}

@keyframes lineGlow {
  0%, 100% { opacity: 0.3; filter: brightness(1); }
  50% { opacity: 0.7; filter: brightness(1.3); }
}

.howto__step {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.15rem 0;
}

.howto__num {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: #061018;
  background: linear-gradient(135deg, var(--sol-cyan), var(--sol-purple));
  box-shadow: 0 0 24px rgba(0, 255, 163, 0.25);
}

.howto__body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.howto__body p {
  color: var(--text-muted);
  max-width: 42ch;
}

.howto__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.howto__safety {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--gold-soft);
  font-size: 0.92rem;
  max-width: 42ch;
}

.howto__safety svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   Manifesto
   -------------------------------------------------------------------------- */
.manifesto {
  padding-block: clamp(5rem, 14vw, 10rem);
  overflow: hidden;
}

.manifesto__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(153, 69, 255, 0.14), transparent 65%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(212, 168, 75, 0.08), transparent 60%);
  pointer-events: none;
}

.manifesto__inner {
  position: relative;
  text-align: center;
}

.manifesto__lines {
  display: flex;
  flex-direction: column;
  gap: clamp(0.4rem, 1.5vw, 1rem);
}

.manifesto__line {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 9vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: rgba(243, 239, 230, 0.18);
  transition: color 0.6s var(--ease), text-shadow 0.6s var(--ease), transform 0.6s var(--ease);
}

.manifesto__line.is-lit {
  color: var(--text);
  text-shadow: 0 0 40px rgba(0, 255, 163, 0.15);
}

.manifesto__line--glow.is-lit {
  background: linear-gradient(135deg, var(--gold-soft), var(--sol-cyan), var(--sol-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 30px rgba(220, 31, 255, 0.25));
}

/* --------------------------------------------------------------------------
   Community
   -------------------------------------------------------------------------- */
.community__inner {
  text-align: center;
  max-width: 820px;
}

.community .section-title {
  max-width: none;
  margin-inline: auto;
}

.community__sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: -1rem auto 2rem;
  max-width: 36ch;
}

.community__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */
.final {
  overflow: hidden;
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

.final__smoke {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.final__smoke span {
  position: absolute;
  bottom: -10%;
  width: 180px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 180, 255, 0.35), transparent 70%);
  filter: blur(35px);
  animation: finalSmoke 12s ease-in-out infinite;
  opacity: 0.4;
}

.final__smoke span:nth-child(1) { left: 10%; animation-delay: 0s; }
.final__smoke span:nth-child(2) { left: 35%; width: 220px; animation-delay: -3s; background: radial-gradient(circle, rgba(0, 255, 163, 0.2), transparent 70%); }
.final__smoke span:nth-child(3) { left: 58%; animation-delay: -6s; background: radial-gradient(circle, rgba(212, 168, 75, 0.22), transparent 70%); }
.final__smoke span:nth-child(4) { left: 78%; animation-delay: -9s; }

@keyframes finalSmoke {
  0%, 100% { transform: translate3d(0, 40px, 0) scale(1); opacity: 0.2; }
  50% { transform: translate3d(10px, -80px, 0) scale(1.2); opacity: 0.5; }
}

.final__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.final__visual {
  position: relative;
}

.final__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 65% center;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg), 0 0 80px rgba(153, 69, 255, 0.15);
}

.final__img-glow {
  position: absolute;
  inset: 10% -5% -10%;
  background: radial-gradient(ellipse at center, rgba(220, 31, 255, 0.25), transparent 65%);
  filter: blur(30px);
  z-index: -1;
  pointer-events: none;
}

.final__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
}

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

.final__socials {
  display: flex;
  gap: 0.65rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2.5rem;
  background: rgba(5, 6, 10, 0.65);
}

.footer__inner {
  display: grid;
  gap: 1.75rem;
  justify-items: start;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer__logo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 75, 0.3);
}

.footer__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.footer__ticker {
  color: var(--sol-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
}

.footer__nav a,
.footer__socials a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.25s ease;
}

.footer__nav a:hover,
.footer__socials a:hover {
  color: var(--text);
}

.footer__socials {
  display: flex;
  gap: 1.25rem;
}

.footer__disclaimer {
  color: var(--text-dim);
  font-size: 0.85rem;
  max-width: 56ch;
  line-height: 1.55;
}

.footer__copy {
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   Scroll Reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.split-word {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 0.55em, 0);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible .split-word {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .philosophy__grid {
    grid-template-columns: 1fr 1fr;
  }

  .phil--calm {
    grid-row: auto;
    min-height: 240px;
    grid-column: 1 / -1;
  }

  .token__inner,
  .final__inner {
    grid-template-columns: 1fr;
  }

  .token__visual {
    max-width: 420px;
    margin-inline: auto;
  }

  .hero__banner {
    object-position: 78% center;
  }
}

@media (max-width: 860px) {
  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: fixed;
    inset: 0;
    padding: calc(var(--nav-h) + 1.5rem) 1.5rem 2rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    background: rgba(5, 6, 10, 0.96);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.45s var(--ease), opacity 0.45s var(--ease), visibility 0.45s;
  }

  .nav.is-open .nav__links {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__link {
    font-size: 1.35rem;
    font-family: var(--font-display);
    font-weight: 700;
    padding: 0.85rem 0;
    color: var(--text);
  }

  .nav__link::after {
    display: none;
  }

  .nav__cta {
    margin-top: 1rem;
    width: 100%;
  }

  .hero__content {
    margin-left: auto;
    margin-right: auto;
    width: min(100% - 2rem, var(--container));
  }

  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(5, 6, 10, 0.55) 0%, rgba(5, 6, 10, 0.55) 35%, rgba(5, 6, 10, 0.88) 70%, rgba(5, 6, 10, 0.96) 100%),
      linear-gradient(90deg, rgba(5, 6, 10, 0.55), rgba(5, 6, 10, 0.25));
  }

  .hero__banner {
    object-position: 82% center;
  }
}

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

  .phil--calm {
    grid-column: auto;
  }

  .token__row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .hero__actions,
  .final__actions,
  .community__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn,
  .final__actions .btn,
  .community__actions .btn {
    width: 100%;
  }

  .ca-box {
    width: 100%;
  }

  .ca-box__address {
    max-width: calc(100vw - 10rem);
  }

  .story__mark {
    left: 0;
  }
}

@media (max-width: 480px) {
  .nav__brand-text {
    display: none;
  }
}

@media (max-width: 390px) {
  .container,
  .hero__content {
    width: min(100% - 1.5rem, var(--container));
  }

  .hero__title-line {
    font-size: clamp(2.4rem, 13vw, 3rem);
  }

  .btn--lg {
    min-height: 52px;
    padding: 0.8rem 1.25rem;
  }

  .manifesto__line {
    font-size: clamp(1.85rem, 10vw, 2.8rem);
  }
}

@media (max-width: 320px) {
  .hero {
    padding-bottom: 2.5rem;
  }

  .hero__title-line {
    font-size: 2.35rem;
  }

  .social-btn span {
    display: none;
  }

  .ca-box__address {
    max-width: calc(100vw - 8.5rem);
  }
}

/* --------------------------------------------------------------------------
   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;
  }

  .marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    row-gap: 0.5rem;
  }

  .marquee__group:last-child {
    display: none;
  }

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

  .mouse-glow,
  .hero__particles,
  .ambient__orb {
    display: none;
  }

  .preloader__bar-fill {
    width: 100%;
  }
}

/* Touch devices: simplify hover-dependent motion */
@media (hover: none) {
  .btn:hover {
    transform: none;
  }

  .btn::after {
    display: none;
  }

  .mouse-glow {
    display: none;
  }
}
