/* MarsCoin — deep-space Mars aesthetic */
:root {
  --void: #050308;
  --void-2: #0c0706;
  --crust: #1a0c08;
  --rust: #c1440e;
  --ember: #e85d04;
  --flare: #ff7a3d;
  --ochre: #f2c14e;
  --dust: #d4a574;
  --sand: #f4e4d4;
  --fog: rgba(244, 228, 212, 0.72);
  --line: rgba(232, 93, 4, 0.28);
  --glass: rgba(20, 10, 8, 0.55);
  --glow: 0 0 40px rgba(232, 93, 4, 0.35);
  --font-display: "Oxanium", sans-serif;
  --font-body: "Sora", sans-serif;
  --radius: 18px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

/* Layers */
#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.dust-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(232, 93, 4, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(193, 68, 14, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 35% at 10% 60%, rgba(242, 193, 78, 0.06), transparent 45%);
  animation: dustDrift 18s ease-in-out infinite alternate;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 120%, rgba(193, 68, 14, 0.15), transparent 45%);
  mix-blend-mode: screen;
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.04;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.45) 3px,
    rgba(0, 0, 0, 0.45) 4px
  );
}

@keyframes dustDrift {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-18px) scale(1.03); }
}

/* Ticker */
.ticker {
  position: relative;
  z-index: 40;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(193, 68, 14, 0.2), rgba(5, 3, 8, 0.9), rgba(232, 93, 4, 0.15));
  height: 34px;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  white-space: nowrap;
  animation: ticker 32s linear infinite;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dust);
}

.ticker .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 10px var(--ember);
  flex-shrink: 0;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  background: rgba(5, 3, 8, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  background: rgba(5, 3, 8, 0.88);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(232, 93, 4, 0.45);
  animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 16px rgba(232, 93, 4, 0.35); }
  50% { box-shadow: 0 0 28px rgba(255, 122, 61, 0.65); }
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--fog);
  position: relative;
  transition: color 0.25s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--ember), var(--ochre));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--sand);
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--glass);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.icon-btn img {
  width: 16px;
  height: 16px;
}

.icon-btn:hover {
  transform: translateY(-2px);
  border-color: var(--ember);
  box-shadow: var(--glow);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--sand);
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.btn-icon {
  width: 18px;
  height: 18px;
}

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

.btn-lg {
  padding: 0.95rem 1.55rem;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--rust), var(--ember) 45%, var(--flare));
  color: #140804;
  box-shadow: 0 8px 28px rgba(232, 93, 4, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 36px rgba(255, 122, 61, 0.45);
}

.btn-primary:hover::before {
  transform: translateX(120%);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(20, 10, 8, 0.4);
  color: var(--sand);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: var(--flare);
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

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

.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) clamp(1rem, 4vw, 2.5rem);
  position: relative;
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  background: linear-gradient(180deg, var(--sand), var(--dust));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-sub {
  margin-top: 0.9rem;
  color: var(--fog);
  font-weight: 300;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* HERO */
.hero {
  min-height: calc(100vh - var(--header-h) - 34px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 2.5rem) 5rem;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-grid {
  position: absolute;
  inset: 10% 5%;
  background-image:
    linear-gradient(rgba(232, 93, 4, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 93, 4, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  pointer-events: none;
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.7; }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb-a {
  width: 280px;
  height: 280px;
  background: rgba(232, 93, 4, 0.28);
  top: 8%;
  right: 8%;
}

.hero-orb-b {
  width: 200px;
  height: 200px;
  background: rgba(242, 193, 78, 0.12);
  bottom: 12%;
  left: 5%;
  animation-delay: -4s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -24px) scale(1.08); }
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.planet-logo {
  width: min(420px, 78vw);
  height: auto;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  animation: planetFloat 9s ease-in-out infinite, planetSpin 80s linear infinite;
  filter: drop-shadow(0 0 40px rgba(232, 93, 4, 0.45));
}

.planet-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 61, 0.45), transparent 70%);
  z-index: 1;
  animation: glowBreath 5s ease-in-out infinite;
}

.planet-ring {
  position: absolute;
  width: 92%;
  height: 92%;
  border-radius: 50%;
  border: 1px solid rgba(242, 193, 78, 0.35);
  box-shadow:
    0 0 30px rgba(232, 93, 4, 0.2),
    inset 0 0 30px rgba(232, 93, 4, 0.1);
  animation: ringSpin 20s linear infinite;
  z-index: 0;
}

.planet-ring::before,
.planet-ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(212, 165, 116, 0.25);
  inset: -18px;
  animation: ringSpin 35s linear infinite reverse;
}

.planet-ring::after {
  inset: -36px;
  animation-duration: 50s;
  border-style: solid;
  border-color: rgba(232, 93, 4, 0.15);
}

.planet-flare {
  position: absolute;
  top: 12%;
  right: 18%;
  width: 70px;
  height: 70px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.7), transparent 65%);
  border-radius: 50%;
  z-index: 3;
  animation: flareTwinkle 3.5s ease-in-out infinite;
  pointer-events: none;
}

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

@keyframes planetSpin {
  from { filter: drop-shadow(0 0 40px rgba(232, 93, 4, 0.45)) hue-rotate(0deg); }
  to { filter: drop-shadow(0 0 40px rgba(232, 93, 4, 0.45)) hue-rotate(8deg); }
}

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

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

@keyframes flareTwinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 0.9; transform: scale(1.15); }
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 5.6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin: 0.2rem 0 0.8rem;
}

.title-glow {
  background: linear-gradient(120deg, var(--sand) 10%, var(--flare) 45%, var(--ochre) 70%, var(--sand));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleShimmer 6s linear infinite;
  text-shadow: 0 0 60px rgba(232, 93, 4, 0.25);
}

@keyframes titleShimmer {
  to { background-position: 200% center; }
}

.symbol-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 0.95rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(193, 68, 14, 0.15);
  color: var(--ochre);
  margin-bottom: 1.1rem;
}

.symbol-chip span {
  color: var(--flare);
}

.ca-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.1rem;
  padding: 0.45rem 0.7rem 0.45rem 0.45rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(12, 7, 6, 0.65);
  color: var(--dust);
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s, color 0.25s;
}

.ca-chip:hover {
  border-color: var(--flare);
  color: var(--sand);
  box-shadow: var(--glow);
  transform: translateY(-1px);
}

.ca-label {
  display: inline-grid;
  place-items: center;
  min-width: 2rem;
  height: 1.55rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rust), var(--ember));
  color: #140804;
  font-weight: 800;
  font-size: 0.72rem;
}

.ca-value {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  letter-spacing: 0.02em;
}

.ca-action {
  color: var(--ochre);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.ca-chip.copied .ca-action {
  color: var(--flare);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
  font-weight: 600;
  color: var(--sand);
  margin-bottom: 0.75rem;
  min-height: 1.6em;
}

.hero-tagline .cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--ember);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 0.8s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-sub {
  color: var(--fog);
  max-width: 34rem;
  margin-bottom: 1.6rem;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(232, 93, 4, 0.18);
  background: rgba(12, 7, 6, 0.5);
  font-size: 0.82rem;
  color: var(--dust);
  transition: 0.25s;
}

.social-link img {
  width: 14px;
  height: 14px;
}

.social-link:hover {
  color: var(--sand);
  border-color: var(--ember);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

.scroll-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
}

.scroll-line {
  width: 3px;
  height: 10px;
  border-radius: 999px;
  background: var(--ember);
  animation: scrollDrop 1.6s ease-in-out infinite;
}

@keyframes scrollDrop {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ABOUT */
.about {
  background: linear-gradient(180deg, transparent, rgba(26, 12, 8, 0.55), transparent);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-lead {
  font-size: 1.15rem;
  color: var(--sand);
  margin-bottom: 1rem;
  font-weight: 500;
}

.about-copy > p {
  color: var(--fog);
  margin-bottom: 1.5rem;
}

.about-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.about-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(232, 93, 4, 0.15);
  background: linear-gradient(135deg, rgba(20, 10, 8, 0.7), rgba(193, 68, 14, 0.08));
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.about-points li:hover {
  transform: translateX(6px);
  border-color: rgba(255, 122, 61, 0.4);
  box-shadow: var(--glow);
}

.point-mark {
  width: 12px;
  height: 12px;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--ochre), var(--rust));
  box-shadow: 0 0 12px var(--ember);
  animation: pointPulse 2.4s ease-in-out infinite;
}

@keyframes pointPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

.about-points strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.25rem;
  color: var(--sand);
}

.about-points p {
  font-size: 0.9rem;
  color: var(--fog);
}

.tweet-panel {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.tweet-frame {
  border-radius: 22px;
  padding: 1rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(232, 93, 4, 0.12), rgba(5, 3, 8, 0.85)),
    var(--void-2);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.45),
    inset 0 0 40px rgba(232, 93, 4, 0.05);
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.tweet-frame::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -20%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 122, 61, 0.25), transparent 70%);
  animation: orbFloat 10s ease-in-out infinite;
}

.tweet-frame .twitter-tweet {
  margin: 0 auto !important;
}

.tweet-caption {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--dust);
}

/* HOW TO BUY */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.step {
  position: relative;
  padding: 1.6rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(232, 93, 4, 0.18);
  background:
    linear-gradient(165deg, rgba(193, 68, 14, 0.12), rgba(5, 3, 8, 0.75));
  overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
  animation-delay: calc(var(--i) * 80ms);
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ember), var(--ochre), transparent);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.step:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 122, 61, 0.45);
  box-shadow: 0 16px 40px rgba(193, 68, 14, 0.25);
}

.step:hover::before {
  transform: scaleX(1);
}

.step-index {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: transparent;
  background: linear-gradient(180deg, var(--flare), rgba(193, 68, 14, 0.2));
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 0.6rem;
  line-height: 1;
}

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

.step p {
  font-size: 0.9rem;
  color: var(--fog);
}

.step-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ochre);
  transition: color 0.25s, gap 0.25s;
}

.step-link img {
  width: 16px;
  height: 16px;
}

.step-link:hover {
  color: var(--flare);
  gap: 0.65rem;
}

/* CHART */
.chart-shell {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(8, 4, 4, 0.75);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), var(--glow);
}

.chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(193, 68, 14, 0.18), transparent);
}

.chart-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.chart-title img {
  width: 18px;
  height: 18px;
}

.chart-embed {
  position: relative;
  width: 100%;
  height: min(72vh, 680px);
  background: #0a0605;
}

.chart-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* JOIN US — banner only here */
.joinus-banner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.banner-img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  animation: bannerDrift 20s ease-in-out infinite alternate;
}

@keyframes bannerDrift {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.banner-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(5, 3, 8, 0.88) 0%, rgba(5, 3, 8, 0.45) 48%, rgba(5, 3, 8, 0.7) 100%),
    radial-gradient(ellipse at 70% 50%, transparent 20%, rgba(5, 3, 8, 0.55) 80%);
}

.banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  max-width: 560px;
}

.banner-kicker {
  font-family: var(--font-display);
  color: var(--ochre);
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.banner-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 1.4rem;
}

.joinus-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.joinus-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1.15rem 0.55rem 0.55rem;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.joinus-btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.3s, box-shadow 0.3s;
}

.joinus-btn-icon img {
  width: 18px;
  height: 18px;
}

.joinus-btn-label {
  padding-right: 0.35rem;
}

.joinus-btn-primary {
  background: linear-gradient(135deg, #c1440e 0%, #e85d04 50%, #ff8a4c 100%);
  color: #140804;
  border: 1px solid rgba(255, 200, 140, 0.35);
  box-shadow:
    0 10px 28px rgba(193, 68, 14, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.joinus-btn-primary .joinus-btn-icon {
  background: rgba(20, 8, 4, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.joinus-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 16px 36px rgba(255, 122, 61, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.joinus-btn-glass {
  background: rgba(8, 4, 4, 0.55);
  color: var(--sand);
  border: 1px solid rgba(242, 193, 78, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 244, 220, 0.08);
}

.joinus-btn-glass .joinus-btn-icon {
  background: rgba(232, 93, 4, 0.18);
  box-shadow: inset 0 0 0 1px rgba(242, 193, 78, 0.22);
}

.joinus-btn-glass:hover {
  transform: translateY(-3px);
  background: rgba(20, 10, 8, 0.72);
  border-color: rgba(255, 122, 61, 0.55);
  box-shadow:
    0 14px 32px rgba(193, 68, 14, 0.3),
    0 0 24px rgba(232, 93, 4, 0.2),
    inset 0 1px 0 rgba(255, 244, 220, 0.12);
}

.joinus-btn-glass:hover .joinus-btn-icon {
  background: rgba(232, 93, 4, 0.32);
  box-shadow: 0 0 16px rgba(232, 93, 4, 0.35);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 2;
  padding: 3rem clamp(1rem, 4vw, 2.5rem) 2.5rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(26, 12, 8, 0.65));
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-tag {
  color: var(--dust);
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 0.85rem;
}

.footer-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: 0.25s;
}

.footer-links a img {
  width: 16px;
  height: 16px;
}

.footer-links a:hover {
  border-color: var(--ember);
  box-shadow: var(--glow);
  transform: translateY(-3px);
}

.disclaimer {
  max-width: 520px;
  font-size: 0.75rem;
  color: rgba(212, 165, 116, 0.55);
}

/* Mobile */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 1.5rem;
  }

  .hero-visual {
    order: -1;
  }

  .planet-logo {
    width: min(280px, 70vw);
  }

  .hero-sub,
  .hero-ctas,
  .social-row {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .about-layout,
  .steps {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .tweet-panel {
    position: static;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(5, 3, 8, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.95rem 1.25rem;
  }

  .menu-toggle {
    display: flex;
  }

  .header-actions .btn-sm {
    display: none;
  }
}

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

  .icon-btn:nth-child(2) {
    display: none;
  }

  .banner-content {
    max-width: none;
  }

  .joinus-banner,
  .banner-img {
    min-height: 520px;
  }
}

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