/* ==========================================================================
   YIELD FIELDS - OFFICIAL STYLESHEET
   Onchain Farming Universe
   Design Architecture inspired by Onchain Heroes (Playful Web3 Gaming)
   Color Scope: Harvest Gold & Game Purple (Site-Wide) | Emerald (Robinhood Section Only)
   Fonts: Outfit (Body & UI), Cinzel (Display), JetBrains Mono (Technical)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Core Palette */
  --night: #0B0813;
  --night-surface: #120D1F;
  --night-card: #181228;
  --night-card-hover: #211936;
  --night-elevated: #281D42;

  /* Yield Fields Game Theme (Site-Wide Primary) */
  --gold-wheat: #F59E0B;
  --gold-bright: #FBBF24;
  --gold-glow: rgba(245, 158, 11, 0.35);
  --gold-dim: rgba(245, 158, 11, 0.12);
  --gold-border: rgba(245, 158, 11, 0.28);

  --purple-brand: #4A1744;
  --purple-light: #7E22CE;
  --purple-lilac: #C084FC;
  --purple-glow: rgba(126, 34, 206, 0.28);
  --purple-dim: rgba(126, 34, 206, 0.12);
  --purple-border: rgba(126, 34, 206, 0.28);

  /* Robinhood Section Accent (ISOLATED TO ROBINHOOD SECTION ONLY) */
  --rh-green: #00C805;
  --rh-green-bright: #22C55E;
  --rh-green-glow: rgba(0, 200, 5, 0.35);
  --rh-green-dim: rgba(0, 200, 5, 0.12);
  --rh-green-border: rgba(0, 200, 5, 0.28);

  /* Telegram Blue */
  --tg-blue: #2AABEE;
  --tg-glow: rgba(42, 171, 238, 0.35);

  /* Text & Surfaces */
  --text-white: #FFFFFF;
  --text-primary: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --glass-bg: rgba(11, 8, 19, 0.82);

  /* Typography */
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', sans-serif;
  --font-cinzel: 'Cinzel', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;

  /* Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.18s var(--ease-spring);
  --transition-normal: 0.32s var(--ease-spring);
  --transition-slow: 0.5s var(--ease-spring);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
  background-color: var(--night);
  color: var(--text-primary);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--night);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

::selection {
  background-color: var(--gold-wheat);
  color: #000000;
}

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

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

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

/* --------------------------------------------------------------------------
   3. AMBIENT PARTICLES (GOLD & LILAC SPINDRIFT)
   -------------------------------------------------------------------------- */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.4;
  animation: floatParticle 14s infinite linear;
}

.particle-1 {
  width: 4px;
  height: 4px;
  background: var(--gold-wheat);
  box-shadow: 0 0 10px var(--gold-glow);
  left: 15%;
  top: 90%;
  animation-duration: 18s;
  animation-delay: 0s;
}

.particle-2 {
  width: 3px;
  height: 3px;
  background: var(--gold-bright);
  box-shadow: 0 0 8px var(--gold-glow);
  left: 35%;
  top: 95%;
  animation-duration: 22s;
  animation-delay: 3s;
}

.particle-3 {
  width: 5px;
  height: 5px;
  background: var(--purple-lilac);
  box-shadow: 0 0 12px var(--purple-glow);
  left: 65%;
  top: 92%;
  animation-duration: 16s;
  animation-delay: 5s;
}

.particle-4 {
  width: 3px;
  height: 3px;
  background: #E9D5FF;
  box-shadow: 0 0 8px var(--purple-glow);
  left: 80%;
  top: 90%;
  animation-duration: 20s;
  animation-delay: 2s;
}

.particle-5 {
  width: 4px;
  height: 4px;
  background: var(--gold-wheat);
  left: 50%;
  top: 94%;
  animation-duration: 24s;
  animation-delay: 8s;
}

.particle-6 {
  width: 3px;
  height: 3px;
  background: var(--purple-lilac);
  left: 90%;
  top: 98%;
  animation-duration: 19s;
  animation-delay: 6s;
}
/* --------------------------------------------------------------------------
   4. NAVIGATION (ICON ONLY, GAME THEME ACCENTS)
   -------------------------------------------------------------------------- */
.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 16px 24px;
  transition: padding var(--transition-normal);
}

.nav-wrapper.scrolled {
  padding: 10px 24px;
}

.nav {
  width: 100%;
  max-width: var(--max-width);
  height: var(--nav-height);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 0 16px 0 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  transition: all var(--transition-normal);
}

.nav-wrapper.scrolled .nav {
  background: rgba(11, 8, 19, 0.94);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Nav Brand: Icon ONLY */
.nav-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: auto;
  padding: 2px;
  transition: transform var(--transition-fast);
}

.nav-brand:hover {
  transform: scale(1.08);
}

.nav-brand-img {
  height: 44px;
  width: auto;
  max-height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}
/* Nav Links - Underline in Game Theme Gold */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color var(--transition-fast), transform var(--transition-fast);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover {
  color: var(--text-white);
  transform: translateY(-1px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-wheat);
  border-radius: 2px;
  transition: width var(--transition-fast);
}

.nav-link.nav-link-rh::after {
  background: var(--rh-green);
}

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

.nav-link.active {
  color: var(--text-white);
}

/* Nav Actions (X, Telegram, Play Button) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.nav-social-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--text-white);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.nav-social-btn.tg:hover {
  color: var(--tg-blue);
  border-color: var(--tg-blue);
  box-shadow: 0 0 14px var(--tg-glow);
}

.nav-social-btn.pons:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.25);
}

.nav-pons-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 50%;
}

/* Play Now Button (Game Theme Gold / Amber) */
.play-btn-wrapper {
  position: relative;
  display: inline-block;
}

.btn-nav-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #000000;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 4px 18px var(--gold-glow);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-nav-play:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.55);
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
}

.btn-nav-play:active {
  transform: translateY(0) scale(0.98);
}

.btn-play-icon {
  width: 14px;
  height: 14px;
}

/* Play Tooltip (Clean Coming Soon) */
.play-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--night-elevated);
  border: 1px solid var(--gold-border);
  color: var(--text-white);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 9999px;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
  z-index: 10;
}

.play-tooltip::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--night-elevated);
  border-left: 1px solid var(--gold-border);
  border-top: 1px solid var(--gold-border);
}

.play-btn-wrapper:hover .play-tooltip,
.play-btn-wrapper.active .play-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Nav Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}

.nav-toggle .bar {
  width: 18px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all var(--transition-fast);
  margin: 2px 0;
}

.nav-toggle.open .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

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

.nav-toggle.open .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 40px) 24px 60px;
  overflow: hidden;
  text-align: center;
}

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

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: brightness(0.65) saturate(1.15);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(11, 8, 19, 0.4) 0%, rgba(11, 8, 19, 0.88) 75%, rgba(11, 8, 19, 0.98) 100%),
              linear-gradient(to bottom, rgba(11, 8, 19, 0.6) 0%, transparent 35%, rgba(11, 8, 19, 0.9) 85%, var(--night) 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
}

/* Liberated Logo */
.hero-logo-wrap {
  width: 100%;
  max-width: 620px;
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  filter: drop-shadow(0 14px 38px rgba(0, 0, 0, 0.75));
  animation: heroLogoFloat 6s ease-in-out infinite;
}

.hero-logo-img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

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

.hero-subtext {
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
  max-width: 580px;
  margin-bottom: 36px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* General Buttons (Game Theme Gold / Amber) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #000000;
  box-shadow: 0 6px 24px var(--gold-glow);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 32px rgba(245, 158, 11, 0.6);
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-white);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
}

.btn-telegram {
  background: rgba(42, 171, 238, 0.12);
  border: 1px solid rgba(42, 171, 238, 0.3);
  color: var(--text-white);
}

.btn-telegram:hover {
  background: rgba(42, 171, 238, 0.24);
  border-color: var(--tg-blue);
  box-shadow: 0 8px 24px var(--tg-glow);
  transform: translateY(-3px);
}

.btn-pons-action {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-white);
}

.btn-pons-action:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
  transform: translateY(-3px);
}

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

/* --------------------------------------------------------------------------
   TOKEN CONTRACT COMPONENT
   -------------------------------------------------------------------------- */
.contract-bar {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 6px 10px 6px 14px;
  background: rgba(18, 13, 31, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  transition: all var(--transition-normal);
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}
.contract-bar:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(24, 18, 40, 0.85);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
}

.contract-bar-community {
  margin-top: 32px;
}

.contract-info {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contract-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-bright);
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.contract-address {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.03em;
  user-select: all;
}

/* Copy CA Button */
.btn-copy-ca {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-copy-ca:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--text-white);
  border-color: var(--border-hover);
  transform: scale(1.05);
}

.btn-copy-ca .check-icon {
  display: none;
  color: var(--gold-bright);
}

.btn-copy-ca.copied {
  background: var(--gold-dim);
  border-color: var(--gold-border);
  color: var(--gold-bright);
}

.btn-copy-ca.copied .copy-icon {
  display: none;
}

.btn-copy-ca.copied .check-icon {
  display: block;
}

.copy-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--night-elevated);
  border: 1px solid var(--border-hover);
  color: var(--text-white);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
  z-index: 10;
}

.btn-copy-ca:hover .copy-tooltip,
.btn-copy-ca.copied .copy-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Buy on Pons Button */
.btn-pons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-pons:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.pons-icon-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  border-radius: 50%;
}

.external-icon {
  color: rgba(255, 255, 255, 0.6);
  transition: transform var(--transition-fast);
}

.btn-pons:hover .external-icon {
  transform: translateX(2px) translateY(-1px);
  color: #FFFFFF;
}

/* Animation Delay 3 for Hero Contract Bar */
.hero-anim-delay-3 {
  animation-delay: 0.45s;
}
/* Scroll Cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  animation: scrollBounce 2.5s infinite ease-in-out;
}

.hero-scroll-cue:hover {
  color: var(--gold-wheat);
}

.scroll-arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(8px);
  }
  60% {
    transform: translateX(-50%) translateY(4px);
  }
}

/* --------------------------------------------------------------------------
   6. SECTIONS COMMON
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 10vw, 120px) 24px;
}

.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-title {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: 14px;
  line-height: 1.15;
}

.section-lead {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   7. GAMEPLAY CARDS (GAME THEME GOLD / PURPLE)
   -------------------------------------------------------------------------- */
.gameplay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.game-card {
  background: var(--night-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 24px var(--gold-glow);
  background: var(--night-card-hover);
}

.game-card-media {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--night-surface);
}

.game-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.game-card:hover .game-card-img {
  transform: scale(1.06);
}

.game-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11, 8, 19, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--gold-border);
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 9999px;
}

.game-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.game-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
}

.game-card-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.game-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   8. THE WORLD (OCH WHAT IS SECTION PLAYBOOK)
   -------------------------------------------------------------------------- */
.world-banner {
  margin-bottom: 56px;
}

.banner-frame {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}

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

.banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(to top, rgba(11, 8, 19, 0.95) 0%, rgba(11, 8, 19, 0.6) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.banner-badge {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold-bright);
  text-transform: uppercase;
}

.banner-caption {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  max-width: 600px;
}

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

.pillar-item {
  background: var(--night-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px 28px;
  transition: all var(--transition-normal);
}

.pillar-item:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border);
  background: var(--night-card-hover);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  margin-bottom: 20px;
  transition: all var(--transition-fast);
}

.pillar-item:hover .pillar-icon {
  background: rgba(245, 158, 11, 0.2);
  border-color: var(--gold-bright);
  box-shadow: 0 0 16px var(--gold-glow);
}

.pillar-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
}

.pillar-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. BUILT ON ROBINHOOD CHAIN (ISOLATED ROBINHOOD EMERALD THEME)
   -------------------------------------------------------------------------- */
.robinhood-banner {
  background: linear-gradient(135deg, rgba(0, 200, 5, 0.09) 0%, rgba(24, 18, 40, 0.85) 50%, rgba(18, 13, 31, 0.95) 100%);
  border: 1px solid var(--rh-green-border);
  border-radius: 28px;
  padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 48px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 200, 5, 0.08);
  text-align: center;
}

.robinhood-inline-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.rh-title-text {
  display: inline-block;
  line-height: 1;
}

.robinhood-inline-img {
  height: clamp(34px, 4.2vw, 48px);
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 2px 14px rgba(0, 200, 5, 0.35));
}
.robinhood-subtitle {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.robinhood-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.rh-feature-card {
  background: rgba(11, 8, 19, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 24px;
  transition: all var(--transition-normal);
}

.rh-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--rh-green-border);
  background: rgba(11, 8, 19, 0.85);
  box-shadow: 0 8px 24px rgba(0, 200, 5, 0.15);
}

.rh-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--rh-green-dim);
  border: 1px solid var(--rh-green-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rh-green);
  margin-bottom: 16px;
}

.rh-feature-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}

.rh-feature-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   10. JOIN THE COMMUNITY
   -------------------------------------------------------------------------- */
.community-card {
  background: radial-gradient(circle at center, rgba(126, 34, 206, 0.2) 0%, rgba(24, 18, 40, 0.85) 70%), var(--night-card);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: clamp(48px, 8vw, 72px) 24px;
  text-align: center;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.community-content {
  max-width: 620px;
  margin: 0 auto;
}

.community-title {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.community-desc {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.community-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   11. MINIMALIST FOOTER (OCH PLAYBOOK)
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-subtle);
  background: var(--night);
  padding: 48px 24px 36px;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: auto;
  padding: 2px;
  transition: transform var(--transition-fast);
}

.footer-brand:hover {
  transform: scale(1.08);
}

.footer-logo-img {
  height: 40px;
  width: auto;
  max-height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--gold-wheat);
}

.footer-link.rh:hover {
  color: var(--rh-green);
}

.footer-link.tg:hover {
  color: var(--tg-blue);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 13.5px;
  color: var(--text-dim);
}

.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.footer-back-to-top:hover {
  color: var(--gold-wheat);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   12. SCROLL REVEAL & ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-spring), transform 0.7s var(--ease-spring);
}

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

.reveal-delay-1 {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.24s;
}

.reveal-delay-3 {
  transition-delay: 0.36s;
}

.hero-anim {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 0.8s var(--ease-spring) forwards;
}

.hero-anim-delay-1 {
  animation-delay: 0.15s;
}

.hero-anim-delay-2 {
  animation-delay: 0.3s;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   13. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .gameplay-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gameplay-grid .game-card:last-child {
    grid-column: span 2;
  }

  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .nav-wrapper {
    padding: 12px 16px;
  }

  .nav {
    height: 60px;
    padding: 0 12px;
  }

  .nav-links {
    position: fixed;
    top: calc(var(--nav-height) + 12px);
    left: 16px;
    right: 16px;
    background: var(--night-surface);
    border: 1px solid var(--border-hover);
    border-radius: 20px;
    padding: 24px;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.8);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: all var(--transition-normal);
  }

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

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: calc(var(--nav-height) + 20px) 16px 48px;
  }

  .hero-logo-wrap {
    max-width: 440px;
  }

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

  .gameplay-grid .game-card:last-child {
    grid-column: span 1;
  }

  .banner-frame {
    height: 240px;
  }

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

  .robinhood-features-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* --------------------------------------------------------------------------
   14. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-logo-wrap {
    animation: none !important;
  }

  .hero-scroll-cue {
    animation: none !important;
  }

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

  .hero-anim {
    opacity: 1 !important;
    transform: none !important;
  }
}