/* ===== VLAD HOOD — Robin Hood Movie Theme ===== */
:root {
  --forest-deep: #0d1a12;
  --forest-dark: #1a3d2e;
  --forest-mid: #2d5a3d;
  --forest-light: #4a7c59;
  --moss: #6b9e6b;
  --lime-fletch: #7cfc00;
  --gold: #c9a227;
  --gold-bright: #e8c547;
  --gold-dim: #8b6914;
  --gold-glow: rgba(201, 162, 39, 0.45);
  --gold-soft: rgba(201, 162, 39, 0.12);
  --cream: #f5f0e1;
  --gray: #9aab96;
  --gray-dim: #5a6b58;
  --font-display: 'Cinzel', serif;
  --font-body: 'Crimson Pro', Georgia, serif;
  --radius: 12px;
  --radius-lg: 20px;
  --nav-h: 76px;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--forest-deep);
  color: var(--cream);
  overflow-x: hidden;
  line-height: 1.65;
  font-size: 1.1rem;
}

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

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BACKGROUND EFFECTS ===== */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(ellipse 120% 80% at 50% 0%, #1a3d2e 0%, var(--forest-deep) 60%);
}

#leafCanvas,
#emberCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#emberCanvas {
  mix-blend-mode: screen;
  opacity: 0.7;
}

.fog {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: fogDrift 20s ease-in-out infinite;
}

.fog-1 {
  width: 600px;
  height: 400px;
  background: rgba(45, 90, 61, 0.25);
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.fog-2 {
  width: 500px;
  height: 350px;
  background: rgba(201, 162, 39, 0.08);
  bottom: 20%;
  right: -5%;
  animation-delay: -7s;
  animation-duration: 25s;
}

.fog-3 {
  width: 700px;
  height: 300px;
  background: rgba(26, 61, 46, 0.3);
  top: 50%;
  left: 30%;
  animation-delay: -14s;
  animation-duration: 30s;
}

@keyframes fogDrift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  33% { transform: translate(40px, -20px) scale(1.08); opacity: 0.7; }
  66% { transform: translate(-30px, 15px) scale(0.95); opacity: 0.4; }
}

.sun-rays {
  position: absolute;
  top: -20%;
  right: 10%;
  width: 80%;
  height: 80%;
  background: conic-gradient(
    from 200deg at 70% 20%,
    transparent 0deg,
    rgba(201, 162, 39, 0.04) 10deg,
    transparent 20deg,
    rgba(201, 162, 39, 0.03) 35deg,
    transparent 50deg,
    rgba(232, 197, 71, 0.05) 65deg,
    transparent 80deg,
    rgba(201, 162, 39, 0.03) 95deg,
    transparent 110deg
  );
  animation: raysPulse 8s ease-in-out infinite;
  mask-image: radial-gradient(ellipse 60% 50% at 70% 20%, black 10%, transparent 70%);
}

@keyframes raysPulse {
  0%, 100% { opacity: 0.6; transform: rotate(0deg); }
  50% { opacity: 1; transform: rotate(2deg); }
}

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 40%, rgba(5, 10, 8, 0.7) 100%);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.navbar.scrolled {
  background: rgba(13, 26, 18, 0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(201, 162, 39, 0.15);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
}

.nav-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 6px;
  transition: color 0.3s, background 0.3s;
}

.nav-links a:hover {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
  background: var(--gold-soft) !important;
  color: var(--gold-bright) !important;
  border: 1px solid rgba(201, 162, 39, 0.35) !important;
}

.nav-cta:hover {
  background: rgba(201, 162, 39, 0.22) !important;
  box-shadow: 0 0 24px var(--gold-glow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.05);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(13, 26, 18, 0.45) 0%, rgba(13, 26, 18, 0.2) 45%, rgba(13, 26, 18, 0.82) 100%),
    linear-gradient(to right, rgba(13, 26, 18, 0.88) 0%, rgba(13, 26, 18, 0.55) 42%, rgba(13, 26, 18, 0.15) 68%, transparent 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.hero-text {
  text-align: left;
}

.hero-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow-ring {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 2px solid rgba(201, 162, 39, 0.18);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: heroRingPulse 4s ease-in-out infinite;
  pointer-events: none;
}

.hero-glow-ring.ring-2 {
  width: 380px;
  height: 380px;
  border-color: rgba(74, 124, 89, 0.14);
  animation-delay: -2s;
  animation-duration: 5s;
}

@keyframes heroRingPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.06); opacity: 1; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(13, 26, 18, 0.6);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-bright);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.badge-feather {
  color: var(--lime-fletch);
  animation: featherPulse 2s ease-in-out infinite;
}

@keyframes featherPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 1;
  text-shadow:
    0 0 40px rgba(201, 162, 39, 0.4),
    0 4px 20px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.hero-ticker {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.3em;
  text-shadow: 0 0 30px var(--gold-glow);
  margin-bottom: 24px;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--gray);
  max-width: 520px;
  margin: 0 0 36px;
  font-style: italic;
}

.hero-tagline em {
  color: var(--moss);
  font-style: italic;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.contract-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(13, 26, 18, 0.75);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 12px;
  max-width: 100%;
  backdrop-filter: blur(8px);
}

.contract-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

.contract-addr {
  font-size: 0.78rem;
  color: var(--moss);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.copy-btn {
  background: var(--gold-soft);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  color: var(--gold-bright);
  flex-shrink: 0;
  transition: background 0.3s, box-shadow 0.3s;
}

.copy-btn:hover {
  background: rgba(201, 162, 39, 0.22);
  box-shadow: 0 0 15px var(--gold-glow);
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-dim);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

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

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--forest-deep);
  box-shadow: 0 4px 24px var(--gold-glow);
}

.btn-gold:hover {
  box-shadow: 0 8px 40px var(--gold-glow);
  background: linear-gradient(135deg, #f0d060, var(--gold-bright));
}

.btn-outline {
  background: rgba(13, 26, 18, 0.6);
  color: var(--cream);
  border: 1px solid rgba(201, 162, 39, 0.4);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--gold);
  box-shadow: 0 0 24px var(--gold-soft);
  color: var(--gold-bright);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 0.9rem;
}

.btn-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.btn-icon-on-primary {
  filter: brightness(0);
}

/* ===== SECTIONS ===== */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
}

.section-title .accent {
  color: var(--gold-bright);
  text-shadow: 0 0 30px var(--gold-glow);
}

/* ===== LEGEND ===== */
.legend-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.legend-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.frame-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  z-index: 2;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.7;
}

.frame-tl { top: 12px; left: 12px; border-width: 2px 0 0 2px; }
.frame-tr { top: 12px; right: 12px; border-width: 2px 2px 0 0; }
.frame-bl { bottom: 12px; left: 12px; border-width: 0 0 2px 2px; }
.frame-br { bottom: 12px; right: 12px; border-width: 0 2px 2px 0; }

.legend-logo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 162, 39, 0.2);
  transition: transform 0.6s;
}

.legend-frame:hover .legend-logo {
  transform: scale(1.03);
}

.legend-lead {
  font-size: 1.25rem;
  color: var(--cream);
  margin-bottom: 20px;
  line-height: 1.7;
}

.legend-text p {
  color: var(--gray);
  margin-bottom: 16px;
}

.legend-text strong {
  color: var(--gold-bright);
}

.legend-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.stat-pill {
  padding: 12px 20px;
  background: rgba(26, 61, 46, 0.5);
  border: 1px solid rgba(201, 162, 39, 0.15);
  border-radius: 8px;
}

.stat-pill span {
  display: block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  color: var(--gray-dim);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.stat-pill strong {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--gold);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: rgba(26, 61, 46, 0.35);
  border: 1px solid rgba(201, 162, 39, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
  backdrop-filter: blur(4px);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 39, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== HOW TO BUY ===== */
.howtobuy {
  background: linear-gradient(180deg, transparent, rgba(26, 61, 46, 0.2), transparent);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.step-card {
  position: relative;
  background: rgba(13, 26, 18, 0.6);
  border: 1px solid rgba(201, 162, 39, 0.1);
  border-radius: var(--radius);
  padding: 28px 22px;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s;
  backdrop-filter: blur(4px);
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--moss));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.step-card:hover {
  border-color: rgba(201, 162, 39, 0.3);
  transform: translateY(-4px);
}

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

.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(201, 162, 39, 0.2);
  line-height: 1;
  margin-bottom: 12px;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--cream);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

.buy-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.buy-link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: rgba(13, 26, 18, 0.7);
  border: 1px solid rgba(201, 162, 39, 0.15);
  border-radius: var(--radius);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.buy-link-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(201, 162, 39, 0.12);
}

.buy-link-primary {
  border-color: rgba(201, 162, 39, 0.35);
  background: rgba(201, 162, 39, 0.08);
}

.buy-link-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.buy-link-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: var(--cream);
}

.buy-link-card span {
  font-size: 0.85rem;
  color: var(--gray);
}

/* ===== CHART ===== */
.chart-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.2);
  min-height: 520px;
}

.chart-glow {
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--gold-glow), transparent, rgba(74, 124, 89, 0.2));
  border-radius: var(--radius-lg);
  z-index: -1;
  filter: blur(20px);
  opacity: 0.5;
}

.chart-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 520px;
  background: rgba(13, 26, 18, 0.8);
  padding: 40px;
  text-align: center;
}

.chart-placeholder .btn {
  margin-top: 4px;
}

.chart-placeholder-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0.6;
}

.chart-placeholder p {
  color: var(--gray);
  font-style: italic;
}

.chart-frame {
  width: 100%;
  height: 520px;
  border: none;
  display: block;
  background: var(--forest-deep);
}

.chart-frame.hidden,
.chart-placeholder.hidden {
  display: none;
}

/* ===== JOIN US ===== */
.joinus {
  padding-bottom: 80px;
}

.joinus-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.joinus-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.banner-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, var(--gold-glow), transparent 70%);
  filter: blur(40px);
  z-index: 0;
  animation: bannerGlow 4s ease-in-out infinite;
}

@keyframes bannerGlow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}

.banner-img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 162, 39, 0.2);
  transition: transform 0.5s;
}

.joinus-banner:hover .banner-img {
  transform: scale(1.02);
}

.joinus-content .section-tag,
.joinus-content .section-title {
  text-align: left;
}

.joinus-desc {
  color: var(--gray);
  font-size: 1.05rem;
  margin: 16px 0 32px;
  line-height: 1.7;
}

.joinus-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 1;
  padding: 48px 0;
  border-top: 1px solid rgba(201, 162, 39, 0.1);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gold);
}

.footer-brand span {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.footer-disclaimer {
  font-size: 0.85rem;
  color: var(--gray-dim);
  max-width: 500px;
  margin: 0 auto 12px;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--gray-dim);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--gold);
  color: var(--forest-deep);
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 9999;
  opacity: 0;
  transition: transform 0.4s, opacity 0.4s;
  box-shadow: 0 0 30px var(--gold-glow);
}

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

/* ===== REVEAL ===== */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--delay, 0s);
}

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

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero-text {
    text-align: center;
  }

  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }

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

  .contract-box {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .legend-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .buy-links {
    grid-template-columns: 1fr;
  }

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

  .joinus-content .section-tag,
  .joinus-content .section-title {
    text-align: center;
  }

  .joinus-desc {
    text-align: center;
  }

  .joinus-actions {
    justify-content: center;
  }
}

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

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(13, 26, 18, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.4s, opacity 0.4s;
    border-bottom: 1px solid rgba(201, 162, 39, 0.15);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 14px;
  }

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

  .chart-wrap,
  .chart-placeholder,
  .chart-frame {
    min-height: 400px;
    height: 400px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }

  .hero-video-overlay {
    background:
      radial-gradient(ellipse 80% 60% at 50% 40%, rgba(26, 61, 46, 0.5), rgba(13, 26, 18, 0.95));
  }
}

@media (max-width: 480px) {
  .hero-name {
    font-size: 3rem;
  }

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

  .contract-addr {
    font-size: 0.65rem;
  }
}
