:root {
  --bg-0: #070e08;
  --bg-1: #0c1a10;
  --bg-2: #122418;
  --moss: #1f3d28;
  --leaf: #3d7a4a;
  --lime: #7dff8a;
  --robin: #00c805;
  --gold: #d4b06a;
  --gold-bright: #f0d89a;
  --bronze: #a67c3d;
  --cream: #f3ecd8;
  --muted: #a8b9ab;
  --line: rgba(212, 176, 106, 0.28);
  --glass: rgba(10, 24, 14, 0.72);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --font-display: "Cinzel Decorative", serif;
  --font-serif: "Cormorant Garamond", serif;
  --font-sans: "Outfit", sans-serif;
  --nav-h: 78px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  font-family: var(--font-sans);
  background:
    radial-gradient(1200px 700px at 15% -10%, rgba(61, 122, 74, 0.28), transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(212, 176, 106, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 40%, #08110b 100%);
  overflow-x: hidden;
}

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

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

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

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

/* Atmosphere */
.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

#motes,
#leaves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mist {
  position: absolute;
  inset: auto -10% -10%;
  height: 45%;
  background: radial-gradient(ellipse at center, rgba(160, 190, 160, 0.08), transparent 70%);
  filter: blur(40px);
  animation: mistDrift 28s ease-in-out infinite alternate;
}

.mist-a { bottom: 5%; opacity: 0.7; animation-duration: 32s; }
.mist-b { bottom: 18%; opacity: 0.45; animation-duration: 40s; animation-delay: -8s; }
.mist-c { bottom: 30%; height: 30%; opacity: 0.3; animation-duration: 48s; animation-delay: -16s; }

.canopy-glow {
  position: absolute;
  top: -20%;
  left: 20%;
  width: 60%;
  height: 50%;
  background: radial-gradient(circle, rgba(125, 255, 138, 0.08), transparent 65%);
  animation: canopyPulse 10s ease-in-out infinite;
}

.vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.5));
}

.cursor-glow {
  position: fixed;
  width: 280px;
  height: 280px;
  margin: -140px 0 0 -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 176, 106, 0.14), transparent 65%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
  mix-blend-mode: screen;
}

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

@keyframes mistDrift {
  from { transform: translateX(-4%) scale(1); }
  to { transform: translateX(6%) scale(1.08); }
}

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

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

.nav.scrolled {
  background: rgba(7, 14, 8, 0.78);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.nav-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand-ring {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  padding: 2px;
  display: grid;
  place-items: center;
}

.brand-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 180deg, var(--gold), var(--robin), var(--gold));
  animation: spinSlow 10s linear infinite;
  z-index: 0;
}

.brand-mark {
  position: relative;
  z-index: 1;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg-0);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-menu a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  transition: color 0.25s ease;
}

.nav-menu a:not(.nav-buy)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-menu a:hover {
  color: var(--cream);
}

.nav-menu a:hover::after {
  transform: scaleX(1);
}

.nav-buy {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 200, 5, 0.2), rgba(212, 176, 106, 0.18));
  border: 1px solid rgba(125, 255, 138, 0.35);
  color: var(--cream) !important;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  gap: 5px;
  flex-direction: column;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  transition: 0.3s ease;
}

.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

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

.section {
  padding: 7rem 0 5rem;
  position: relative;
}

.section-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.section-head {
  max-width: 680px;
  margin-bottom: 3rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
}

.eyebrow-line {
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(120deg, #fff6de, var(--gold), #8dff9a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(212, 176, 106, 0.15);
}

.section-sub {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-serif);
  font-size: 1.28rem;
  line-height: 1.55;
}

.icon-sm {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-ico {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.btn-primary {
  color: #071109;
  background: linear-gradient(135deg, #f3dfad, var(--gold) 40%, #8dff9a);
  box-shadow: 0 10px 30px rgba(212, 176, 106, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 200, 5, 0.25), 0 10px 30px rgba(212, 176, 106, 0.3);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--cream);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 255, 138, 0.45);
  background: rgba(125, 255, 138, 0.08);
}

.btn-lg {
  min-height: 54px;
  padding: 0.85rem 1.5rem;
}

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

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

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.22s; }
.delay-3 { transition-delay: 0.32s; }

/* Hero */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 2rem) 0 5rem;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 8% 4% auto auto;
  width: min(42vw, 560px);
  aspect-ratio: 16 / 10;
  border-radius: 28px;
  overflow: hidden;
  opacity: 0.35;
  transform: rotate(3deg);
  z-index: 0;
  mask-image: linear-gradient(135deg, black 40%, transparent 95%);
}

.hero-reel {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
  animation: reelDrift 18s ease-in-out infinite alternate;
}

.hero-media-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 14, 8, 0.1), rgba(7, 14, 8, 0.75));
}

.hero-media-frame {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(212, 176, 106, 0.25);
  border-radius: inherit;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.35);
}

.hero-grid {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.display {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.display-glow {
  background: linear-gradient(115deg, #fff8e7 10%, var(--gold) 45%, #9dffaa 80%, #fff1c4);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: titleShimmer 7s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(212, 176, 106, 0.25));
}

.ticker-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 200, 5, 0.35);
  background: rgba(0, 200, 5, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
}

.ticker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--robin);
  box-shadow: 0 0 0 0 rgba(0, 200, 5, 0.55);
  animation: pulseDot 2s ease-out infinite;
}

.ticker-pill strong {
  color: var(--lime);
  letter-spacing: 0.08em;
}

.lede {
  max-width: 34rem;
  margin: 0 0 1.75rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.55;
  color: #d7e4d9;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.addr-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.ca-row {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(8, 18, 11, 0.75);
  backdrop-filter: blur(10px);
}

.ca-label {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

.ca-value {
  font-size: 0.82rem;
  color: var(--cream);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(42vw, 320px);
}

.ca-copy {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--gold);
  transition: 0.25s ease;
}

.ca-copy:hover {
  background: rgba(212, 176, 106, 0.12);
}

.hero-portrait {
  position: relative;
  display: grid;
  place-items: center;
  justify-self: end;
}

.portrait-orbit,
.orbit-2 {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(212, 176, 106, 0.35);
  animation: spinSlow 24s linear infinite;
}

.portrait-orbit {
  width: 118%;
  height: 118%;
}

.orbit-2 {
  width: 135%;
  height: 135%;
  border-style: dotted;
  animation-direction: reverse;
  animation-duration: 36s;
  opacity: 0.55;
}

.portrait-card {
  position: relative;
  width: min(360px, 74vw);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(212, 176, 106, 0.45);
  box-shadow:
    0 0 0 10px rgba(18, 40, 24, 0.55),
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(0, 200, 5, 0.12);
  animation: floatY 6s ease-in-out infinite;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.04);
}

.portrait-shine {
  position: absolute;
  inset: -20%;
  background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.22), transparent 62%);
  transform: translateX(-60%);
  animation: shineSweep 5.5s ease-in-out infinite;
}

.portrait-caption {
  position: absolute;
  bottom: -0.5rem;
  right: 8%;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 1rem;
  border-radius: 16px;
  background: rgba(8, 16, 10, 0.82);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.portrait-caption span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portrait-caption strong {
  color: var(--lime);
  font-size: 1rem;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-cue i {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--gold), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lime);
  animation: scrollDrop 1.8s ease-in-out infinite;
}

@keyframes titleShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(0, 200, 5, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(0, 200, 5, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 200, 5, 0); }
}

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

@keyframes shineSweep {
  0%, 40% { transform: translateX(-70%) rotate(18deg); opacity: 0; }
  50% { opacity: 1; }
  70%, 100% { transform: translateX(70%) rotate(18deg); opacity: 0; }
}

@keyframes scrollDrop {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

@keyframes reelDrift {
  from { transform: scale(1.05) translateY(0); }
  to { transform: scale(1.12) translateY(-3%); }
}

/* About */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.story-panel,
.tweet-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(18, 36, 24, 0.85), rgba(8, 14, 10, 0.9));
  box-shadow: var(--shadow);
}

.story-panel {
  padding: 1.75rem;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
}

.story-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--robin), transparent);
}

.story-panel h3 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold-bright);
}

.story-panel p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.trait-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.trait-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 176, 106, 0.14);
  font-weight: 600;
}

.trait-list span {
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.tweet-wrap {
  padding: 1.25rem;
}

.tweet-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.about-gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: 220px 180px 220px;
  gap: 1rem;
}

.gallery-tile {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(212, 176, 106, 0.2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.8s ease;
  filter: saturate(1.05);
}

.gallery-tile:hover img {
  transform: scale(1.08);
  filter: saturate(1.2) contrast(1.05);
}

.gallery-tile figcaption {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(7, 14, 8, 0.72);
  border: 1px solid rgba(212, 176, 106, 0.25);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.tile-a { grid-row: 1 / 3; }
.tile-b { grid-row: 1 / 2; }
.tile-c { grid-row: 2 / 4; }
.tile-d { grid-row: 3 / 4; }

/* How to buy */
.howto {
  background:
    radial-gradient(700px 400px at 10% 20%, rgba(0, 200, 5, 0.07), transparent 60%),
    radial-gradient(700px 400px at 90% 80%, rgba(212, 176, 106, 0.08), transparent 60%);
}

.quest-path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
  position: relative;
}

.quest-path::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(0, 200, 5, 0.5), transparent);
  opacity: 0.45;
}

.quest-step {
  display: grid;
  grid-template-columns: 70px 1fr 160px;
  gap: 1.25rem;
  align-items: center;
  padding: 1.2rem 1.2rem 1.2rem 0.6rem;
  border-radius: 22px;
  border: 1px solid rgba(212, 176, 106, 0.16);
  background: rgba(10, 20, 13, 0.65);
  backdrop-filter: blur(10px);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.quest-step:hover {
  transform: translateX(6px);
  border-color: rgba(125, 255, 138, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.quest-num {
  width: 56px;
  height: 56px;
  margin-left: 8px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--bg-0);
  background: linear-gradient(135deg, var(--gold-bright), var(--robin));
  box-shadow: 0 0 0 6px rgba(18, 40, 24, 0.8), 0 0 24px rgba(0, 200, 5, 0.2);
  position: relative;
  z-index: 1;
}

.quest-body h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--cream);
}

.quest-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  color: var(--lime);
  font-weight: 600;
}

.text-link:hover {
  text-decoration: underline;
}

.quest-visual {
  height: 110px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(212, 176, 106, 0.2);
}

.quest-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quest-icon {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.03);
}

.quest-icon img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.howto-links {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(25, 48, 32, 0.75), rgba(8, 14, 10, 0.9));
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.link-card img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.link-card strong {
  display: block;
  margin-bottom: 0.2rem;
}

.link-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(125, 255, 138, 0.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

/* Chart */
.chart-frame {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b1210;
  box-shadow: var(--shadow);
  min-height: 620px;
  position: relative;
}

.chart-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(212, 176, 106, 0.12);
  z-index: 1;
}

.chart-frame iframe {
  width: 100%;
  height: 620px;
  border: 0;
  display: block;
}

.chart-actions {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
}

/* Join Us — banner only here */
.join {
  padding-top: 0;
  overflow: hidden;
}

.join-banner {
  position: relative;
  height: clamp(280px, 42vw, 460px);
  overflow: hidden;
}

.join-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: bannerKen 28s ease-in-out infinite alternate;
  filter: saturate(1.05) contrast(1.05);
}

.join-banner-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 14, 8, 0.15), rgba(7, 14, 8, 0.55) 45%, var(--bg-0)),
    radial-gradient(ellipse at 70% 40%, rgba(212, 176, 106, 0.18), transparent 55%);
}

@keyframes bannerKen {
  from { transform: scale(1.02); }
  to { transform: scale(1.1) translateY(-2%); }
}

.join-inner {
  margin-top: -5rem;
  position: relative;
  z-index: 2;
}

.join-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 28px;
  border: 1px solid rgba(212, 176, 106, 0.3);
  background:
    linear-gradient(145deg, rgba(18, 36, 24, 0.92), rgba(8, 14, 10, 0.94));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
}

.join-mascot {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(212, 176, 106, 0.25);
  min-height: 280px;
}

.join-mascot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.join-copy h3 {
  margin: 0.2rem 0 0.8rem;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold-bright);
}

.join-copy > p {
  margin: 0 0 1.4rem;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.join-socials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 0.75rem;
  border-radius: 16px;
  border: 1px solid rgba(212, 176, 106, 0.18);
  background: rgba(255, 255, 255, 0.03);
  transition: 0.3s ease;
}

.social img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.social span {
  font-size: 0.82rem;
  color: var(--muted);
}

.social:hover {
  transform: translateY(-3px);
  border-color: rgba(125, 255, 138, 0.4);
  background: rgba(0, 200, 5, 0.08);
}

.join-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Footer */
.footer {
  position: relative;
  z-index: 2;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(212, 176, 106, 0.14);
  background: rgba(4, 8, 5, 0.75);
}

.footer-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

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

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  color: var(--gold-bright);
}

.footer-brand span,
.footer-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-note {
  max-width: 420px;
  margin: 0;
  text-align: right;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translate(-50%, 20px);
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: rgba(8, 18, 11, 0.92);
  border: 1px solid rgba(125, 255, 138, 0.4);
  color: var(--lime);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  z-index: 80;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .about-layout,
  .join-panel {
    grid-template-columns: 1fr;
  }

  .hero-media {
    width: 70vw;
    opacity: 0.22;
    inset: auto 0 18% auto;
  }

  .hero-portrait {
    justify-self: center;
    order: -1;
  }

  .about-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px;
  }

  .tile-a,
  .tile-b,
  .tile-c,
  .tile-d {
    grid-row: auto;
  }

  .quest-step {
    grid-template-columns: 70px 1fr;
  }

  .quest-visual {
    display: none;
  }

  .howto-links,
  .join-socials {
    grid-template-columns: 1fr;
  }

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

  .footer-note {
    text-align: center;
  }
}

@media (max-width: 820px) {
  .menu-btn {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 1rem;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(7, 14, 8, 0.94);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 0.85rem 0.9rem;
    border-radius: 12px;
  }

  .nav-menu a:hover {
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-buy {
    justify-content: center;
    margin-top: 0.35rem;
  }

  .display {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .chart-frame,
  .chart-frame iframe {
    min-height: 480px;
    height: 480px;
  }

  .ca-value {
    max-width: 46vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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