/* ===========================================================
   THE BEAN PLANTER — Design tokens
   Palette: soil-black base, living-leaf green, resin-gold accent
=========================================================== */
:root {
  --bg: #0a0f0b;
  --bg-alt: #0d1610;
  --surface: #12211a;
  --surface-2: #16291f;
  --border: #1f3a2a;
  --border-bright: #2e5c3f;

  --green: #4ade80;
  --green-bright: #7fffa0;
  --green-dim: #2e8b57;
  --gold: #d4a857;
  --gold-bright: #e8c478;

  --text: #e8f0e9;
  --text-muted: #8fae9a;
  --text-faint: #5c7868;

  --red: #ef4444;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  line-height: 1.5;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(74,222,128,0.06) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
code { font-family: var(--font-mono); }

.section-inner, .nav-inner, .footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

/* ===========================================================
   GROWTH STEM — scroll signature element
=========================================================== */
.stem-track {
  position: absolute;
  top: 640px;
  left: 50%;
  width: 4px;
  height: calc(100% - 640px);
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
}
.stem-track::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px;
  height: var(--stem-progress, 0%);
  background: linear-gradient(180deg, var(--green-bright), var(--green));
  box-shadow: 0 0 12px var(--green-bright);
  transition: height 0.1s linear;
}
.stem-track {
  background: linear-gradient(180deg, var(--border-bright) 0%, var(--border) 100%);
  border-radius: 2px;
}

.leaf-node {
  position: absolute;
  left: 50%;
  top: 64px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--green-dim);
  z-index: 2;
}
.leaf-node::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.4;
}

@media (max-width: 860px) {
  .stem-track { display: none; }
  .leaf-node { display: none; }
}

/* ===========================================================
   NAV
=========================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 15, 11, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 15px;
  flex-shrink: 0;
}
.brand-mark { font-size: 20px; }
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--text-muted);
  flex: 1;
  justify-content: center;
}
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--green-bright); }

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 28px;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .btn-ghost { display: none; }
}

/* ===========================================================
   BUTTONS
=========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--green-bright), var(--green-dim));
  color: #06140b;
  box-shadow: 0 0 0 0 rgba(127,255,160,0);
}
.btn-primary:hover {
  box-shadow: 0 0 24px rgba(127,255,160,0.45);
  transform: translateY(-1px);
}
.btn-outline {
  border: 1px solid var(--border-bright);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--green-bright); color: var(--green-bright); }
.btn-ghost { color: var(--text-muted); }
.btn-ghost:hover { color: var(--text); }
.btn-lg { padding: 14px 28px; font-size: 15px; }

/* ===========================================================
   HERO
=========================================================== */
.hero {
  position: relative;
  padding: 96px 28px 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}
.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(74,222,128,0.18), transparent 65%);
  pointer-events: none;
  z-index: -1;
}
.hero-inner { max-width: 760px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--green-bright);
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 8px var(--green-bright);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.text-gradient {
  background: linear-gradient(135deg, var(--green-bright), var(--gold-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-address {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  position: relative;
}
.hero-address-label { color: var(--text-faint); }
.copy-btn { color: var(--green-bright); font-size: 14px; }
.copy-confirm {
  position: absolute;
  top: -32px;
  right: 0;
  background: var(--green);
  color: #06140b;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
}
.copy-confirm.show { opacity: 1; transform: translateY(0); }

/* Ticker pod */
.ticker-pod {
  margin-top: 48px;
  width: 100%;
  max-width: 920px;
  background: linear-gradient(180deg, var(--surface), var(--bg-alt));
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  padding: 24px;
}
.ticker-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.ticker-stat { display: flex; flex-direction: column; gap: 6px; }
.ticker-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}
.ticker-value {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
}
.ticker-value.up { color: var(--green-bright); }
.ticker-value.down { color: var(--red); }
.ticker-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-faint);
  text-align: left;
}
@media (max-width: 760px) {
  .ticker-row { grid-template-columns: repeat(2, 1fr); }
}

/* ===========================================================
   SECTIONS
=========================================================== */
.section {
  position: relative;
  padding: 96px 0;
  z-index: 2;
}
.section-alt { background: var(--bg-alt); }
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  max-width: 680px;
}
.section-lead {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 48px;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
}
.feature-icon { font-size: 26px; margin-bottom: 16px; }
.feature-card h3 { font-size: 16px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* Token panel */
.token-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
}
.token-panel-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.token-panel-row:last-child { border-bottom: none; }
.token-panel-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}
.token-panel-value {
  font-weight: 600;
  text-align: right;
}
.mono-wrap {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--green-bright);
  word-break: break-all;
  text-align: right;
}
.token-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.disclaimer-inline {
  font-size: 13px;
  color: var(--text-faint);
  max-width: 620px;
  line-height: 1.6;
}

/* Lore track */
.lore-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lore-stage {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  position: relative;
}
.lore-stage-marker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-bright);
  border: 1px solid var(--border-bright);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.lore-stage h3 { font-size: 20px; margin-bottom: 12px; }
.lore-stage p { font-size: 14.5px; color: var(--text-muted); line-height: 1.65; }

@media (max-width: 900px) { .lore-track { grid-template-columns: 1fr; } }

/* NFT grid */
.nft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.nft-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.nft-card:hover { transform: translateY(-4px); border-color: var(--border-bright); }
.nft-card-art {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.nft-card-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
  background-size: 16px 16px;
}
.nft-art-boy { background: linear-gradient(160deg, #1c3a26, #0d1f15); }
.nft-art-young { background: linear-gradient(160deg, #1f4a2c, #0d1f15); }
.nft-art-elder { background: linear-gradient(160deg, #2c4a1f, #1a2e12); }
.nft-card-body { padding: 22px; }
.nft-card-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nft-card-body h3 { font-size: 16px; margin: 10px 0; }
.nft-card-body p { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }

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

/* CTA */
.cta-section { text-align: center; }
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-title { font-size: clamp(30px, 5vw, 44px); font-weight: 700; margin-bottom: 8px; }
.cta-sub { color: var(--text-muted); font-size: 17px; margin-bottom: 32px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.social-row { display: flex; gap: 16px; justify-content: center; }
.social-row a {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.2s;
}
.social-row a:hover { border-color: var(--green-bright); color: var(--green-bright); }

/* Newsletter */
.newsletter-section { padding: 64px 0; }
.newsletter-inner { text-align: center; max-width: 480px; margin: 0 auto; }
.newsletter-inner h3 { font-size: 22px; margin-bottom: 8px; }
.newsletter-inner p { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 18px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 14px;
}
.newsletter-form input:focus { outline: 2px solid var(--green-bright); outline-offset: 2px; border-color: var(--green-bright); }
.newsletter-status { margin-top: 14px; font-size: 13px; color: var(--green-bright); min-height: 18px; }

/* ===========================================================
   FOOTER
=========================================================== */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  position: relative;
  z-index: 2;
}
.footer-inner { padding: 56px 28px 32px; }
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; margin-bottom: 40px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--green-bright); }
.footer-legal {
  font-size: 12px;
  color: var(--text-faint);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
@media (max-width: 700px) { .footer-cols { grid-template-columns: 1fr 1fr; } }

/* ===========================================================
   WALLET MODAL
=========================================================== */
.wallet-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.wallet-modal.open { opacity: 1; pointer-events: auto; }
.wallet-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,8,6,0.75);
  backdrop-filter: blur(4px);
}
.wallet-modal-panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  padding: 32px;
  width: 90%;
  max-width: 380px;
  transform: translateY(12px);
  transition: transform 0.2s;
}
.wallet-modal.open .wallet-modal-panel { transform: translateY(0); }
.wallet-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  color: var(--text-muted);
  font-size: 16px;
}
.wallet-modal-panel h3 { font-size: 19px; margin-bottom: 6px; }
.wallet-modal-panel > p { color: var(--text-muted); font-size: 13.5px; margin-bottom: 24px; }
.wallet-options { display: flex; flex-direction: column; gap: 10px; }
.wallet-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}
.wallet-option:hover { border-color: var(--green-bright); background: rgba(74,222,128,0.06); }
.wallet-option-icon { font-size: 18px; }
.wallet-modal-note { margin-top: 18px; font-size: 12.5px; color: var(--text-faint); text-align: center; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 2px;
}

/* ===========================================================
   JUPITER PLUGIN — CSS theme overrides
   Maps our design tokens to Jupiter's CSS variables
=========================================================== */
:root {
  /* Jupiter expects RGB triplets, not hex */
  --jupiter-plugin-primary: 127, 255, 160;        /* --green-bright */
  --jupiter-plugin-background: 18, 33, 26;        /* --surface */
  --jupiter-plugin-primaryText: 232, 240, 233;    /* --text */
  --jupiter-plugin-warning: 212, 168, 87;         /* --gold */
  --jupiter-plugin-interactive: 22, 41, 31;       /* --surface-2 */
  --jupiter-plugin-module: 10, 15, 11;            /* --bg */
}

/* Nav Buy $BEAN highlight */
.nav-buy {
  color: var(--green-bright) !important;
  font-weight: 600;
}
.nav-buy:hover { color: var(--green-bright) !important; opacity: 0.8; }

/* ===========================================================
   BUY SECTION
=========================================================== */
.buy-section { background: var(--bg); }

.buy-layout {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 40px;
  align-items: start;
}

.buy-widget-wrap {
  position: sticky;
  top: 96px;
}

#jupiter-plugin-container {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 380px;
  border: 1px solid var(--border-bright);
  background: var(--surface);
}

/* Jupiter renders its own iframe — we just frame it */
#jupiter-plugin-container > * { border-radius: var(--radius); }

.buy-disclaimer {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-faint);
  line-height: 1.65;
  text-align: center;
}

/* Buy info sidebar */
.buy-info { display: flex; flex-direction: column; gap: 20px; }

.buy-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.buy-info-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

.buy-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
}

.buy-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(74,222,128,0.12);
  border: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--green-bright);
}

.buy-steps strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.buy-steps p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

.buy-steps a { color: var(--green-bright); }
.buy-steps a:hover { text-decoration: underline; }

.buy-contract-card { }

.buy-contract-addr {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green-bright);
  word-break: break-all;
  line-height: 1.7;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
}

.buy-contract-links { display: flex; gap: 10px; flex-wrap: wrap; }

.btn-sm {
  padding: 7px 14px;
  font-size: 12px;
}

/* Loading state for Jupiter widget */
#jupiter-plugin-container:empty::after {
  content: 'Loading Jupiter swap…';
  display: flex;
  align-items: center;
  justify-content: center;
  height: 380px;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-faint);
}

@media (max-width: 1080px) {
  .buy-layout {
    grid-template-columns: 1fr;
  }
  .buy-widget-wrap {
    position: static;
  }
}

/* ===========================================================
   GECKOTERMINAL CHART EMBED
=========================================================== */
.chart-wrap {
  width: 100%;
  margin-bottom: 36px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-bright);
  background: var(--surface);
  position: relative;
}

.chart-wrap iframe {
  width: 100%;
  height: 520px;
  display: block;
  border: none;
}

.chart-source {
  padding: 10px 16px;
  font-size: 11px;
  color: var(--text-faint);
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  text-align: right;
}

.chart-source a {
  color: var(--green-bright);
}
.chart-source a:hover {
  text-decoration: underline;
}

/* Loading state before iframe renders */
.chart-wrap::before {
  content: 'Loading live chart…';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-faint);
  pointer-events: none;
  z-index: 0;
}

.chart-wrap iframe {
  position: relative;
  z-index: 1;
}

@media (max-width: 700px) {
  .chart-wrap iframe {
    height: 360px;
  }
}

/* ===========================================================
   LOGO & BRAND IMAGE
=========================================================== */
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-bright);
  flex-shrink: 0;
}
.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-bright);
}

/* ===========================================================
   HERO — logo centerpiece + floating buds
=========================================================== */
.hero-logo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border-bright);
  box-shadow: 0 0 40px rgba(74,222,128,0.3), 0 0 80px rgba(74,222,128,0.1);
  margin-bottom: 24px;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hero-bud {
  position: absolute;
  top: 50%;
  transform: translateY(-40%);
  width: 220px;
  opacity: 0.18;
  pointer-events: none;
  filter: drop-shadow(0 0 20px rgba(74,222,128,0.3));
}
.hero-bud-left  { left: -40px; }
.hero-bud-right { right: -40px; transform: translateY(-40%) scaleX(-1); }

@media (max-width: 1100px) { .hero-bud { display: none; } }

/* ===========================================================
   CANNABIS STRAINS SECTION
=========================================================== */
.strains-section { background: var(--bg); }

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

.strain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.strain-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
}
.strain-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top;
  display: block;
  background: var(--surface-2);
}
.strain-card-body {
  padding: 16px;
}
.strain-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}
.strain-card-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Stats row */
.strains-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  padding: 32px 24px;
}
.strain-stat { text-align: center; }
.strain-stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  color: var(--green-bright);
  margin-bottom: 6px;
}
.strain-stat-label {
  font-size: 13px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

@media (max-width: 900px) {
  .strains-grid { grid-template-columns: repeat(2, 1fr); }
  .strains-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .strains-grid { grid-template-columns: 1fr 1fr; }
}

/* ===========================================================
   NFT CARD — real images
=========================================================== */
.nft-card-art {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.nft-card-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  padding: 12px 12px 0;
  transition: transform 0.3s ease;
}
.nft-card:hover .nft-card-art img {
  transform: scale(1.05);
}

/* NFT page character art — real images */
.character-art {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #12211a, #0a0f0b);
  border: 1px solid var(--border-bright);
  display: flex;
  align-items: center;
  justify-content: center;
}
.character-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 16px;
  transition: transform 0.4s ease;
}
.character-art:hover img { transform: scale(1.04); }

/* ===========================================================
   GECKO TERMINAL CHART — bigger on desktop
=========================================================== */
.chart-wrap iframe {
  height: 640px !important;
}
@media (max-width: 900px) {
  .chart-wrap iframe { height: 420px !important; }
}
@media (max-width: 560px) {
  .chart-wrap iframe { height: 320px !important; }
}

/* ===========================================================
   V5 UPDATES — new logo, johnny hero bg, neon text
=========================================================== */

/* Nav brand logo — sized correctly, NOT sticky itself */
.brand-logo {
  width: auto !important;
  height: 52px !important;
  border-radius: 0 !important;
  border: none !important;
  object-fit: contain !important;
  flex-shrink: 0;
  /* Logo scrolls with the nav — nav itself is sticky, logo is not independently sticky */
  position: static !important;
}

/* Footer logo */
.footer-logo {
  width: auto !important;
  height: 56px !important;
  border-radius: 0 !important;
  border: none !important;
  object-fit: contain !important;
}

/* Hero logo (larger version above headline) */
.hero-logo {
  width: auto !important;
  height: auto !important;
  max-width: 280px !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  object-fit: contain !important;
  filter: drop-shadow(0 0 18px rgba(74,222,128,0.5))
          drop-shadow(0 0 40px rgba(74,222,128,0.2));
  animation: float 6s ease-in-out infinite;
  margin-bottom: 20px;
}

/* ===========================================================
   JOHNNY HERO BACKGROUND CHARACTER
=========================================================== */
.hero-johnny {
  position: absolute;
  right: -20px;
  bottom: 0;
  width: 520px;
  height: 520px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.22;
  mix-blend-mode: screen;
}
.hero-johnny img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom right;
  filter: 
    drop-shadow(0 0 30px rgba(74,222,128,0.6))
    drop-shadow(0 0 60px rgba(74,222,128,0.3))
    saturate(1.4) brightness(1.1);
}

/* On smaller screens tuck it behind */
@media (max-width: 900px) {
  .hero-johnny {
    width: 320px;
    height: 320px;
    opacity: 0.12;
    right: -60px;
  }
}
@media (max-width: 600px) {
  .hero-johnny { display: none; }
}

/* ===========================================================
   NEON TEXT OUTLINES — hero title & brand text
=========================================================== */

/* Hero title — white text with neon green shadow outline */
.hero-title {
  text-shadow:
    0 0 10px rgba(74,222,128,0.4),
    0 0 30px rgba(74,222,128,0.15);
}

/* The gradient span — extra neon pop */
.text-gradient {
  filter: drop-shadow(0 0 12px rgba(127,255,160,0.7));
}

/* Brand text in nav — subtle neon outline */
.brand-text {
  text-shadow:
    0 0 8px rgba(74,222,128,0.5),
    0 0 20px rgba(74,222,128,0.2);
  letter-spacing: 0.04em;
}

/* Section titles — lighter neon treatment */
.section-title {
  text-shadow:
    0 0 20px rgba(74,222,128,0.12);
}

/* CTA title */
.cta-title {
  text-shadow:
    0 0 16px rgba(74,222,128,0.3),
    0 0 40px rgba(74,222,128,0.1);
}

/* Ticker values — neon glow on live data numbers */
.ticker-value {
  text-shadow: 0 0 10px rgba(232,240,233,0.3);
}
.ticker-value.up {
  text-shadow: 0 0 12px rgba(127,255,160,0.6);
}
.ticker-value.down {
  text-shadow: 0 0 12px rgba(239,68,68,0.5);
}

/* NFT card stage tags — neon */
.nft-card-tag {
  text-shadow: 0 0 8px rgba(212,168,87,0.6);
}

/* Eyebrow badge text */
.eyebrow {
  text-shadow: 0 0 10px rgba(127,255,160,0.5);
}

/* ===========================================================
   V6 — Hero Johnny as pure CSS background blend
=========================================================== */
.hero {
  background-image: url('../images/johnny-hero.jpg');
  background-repeat: no-repeat;
  background-position: right 5% center;
  background-size: 480px 480px;
}
/* Blend the jpg into the dark background seamlessly */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* Fade left so text stays readable */
    linear-gradient(to right, var(--bg) 45%, transparent 75%),
    /* Fade top and bottom */
    linear-gradient(to bottom, var(--bg) 0%, transparent 15%, transparent 85%, var(--bg) 100%);
  pointer-events: none;
  z-index: 1;
}
/* Keep hero children above the fade overlay */
.hero-inner,
.ticker-pod,
.hero-glow {
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .hero {
    background-position: center bottom;
    background-size: 300px 300px;
  }
  .hero::after {
    background:
      linear-gradient(to bottom, var(--bg) 0%, transparent 20%, transparent 70%, var(--bg) 100%);
  }
}
@media (max-width: 600px) {
  .hero {
    background-image: none;
  }
}

/* ===========================================================
   V6 — STRAINS HORIZONTAL SLIDER
=========================================================== */
.strains-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.strains-slider {
  display: flex;
  gap: 20px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  flex: 1;
  padding: 8px 4px 16px;
  /* Hide scrollbar but keep functionality */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.strains-slider::-webkit-scrollbar { display: none; }

.strain-slide {
  flex: 0 0 280px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}
.strain-slide:hover {
  transform: translateY(-5px);
  border-color: var(--border-bright);
  box-shadow: 0 8px 32px rgba(74,222,128,0.12);
}
.strain-slide img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: var(--surface-2);
}

.strain-slide-body {
  padding: 16px 18px 20px;
}
.strain-slide-body .strain-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}
.strain-slide-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* "See All" card at end of slider */
.strain-slide-more {
  flex: 0 0 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border-style: dashed;
  min-height: 400px;
}
.strain-more-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
}
.strain-more-num {
  font-family: var(--font-mono);
  font-size: 52px;
  font-weight: 700;
  color: var(--green-bright);
  text-shadow: 0 0 20px rgba(127,255,160,0.5);
  line-height: 1;
}
.strain-more-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Slider arrow buttons */
.slider-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-bright);
  color: var(--text);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  z-index: 2;
  line-height: 1;
}
.slider-btn:hover {
  background: var(--surface-2);
  border-color: var(--green-bright);
  color: var(--green-bright);
  box-shadow: 0 0 12px rgba(74,222,128,0.3);
}
.slider-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Slider dots */
.slider-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-bright);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
}
.slider-dot.active {
  background: var(--green-bright);
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(127,255,160,0.6);
}

@media (max-width: 600px) {
  .strain-slide { flex: 0 0 240px; }
  .strain-slide img { height: 260px; }
  .slider-btn { width: 36px; height: 36px; font-size: 20px; }
}

/* Override old strains-grid CSS — no longer used */
.strains-grid { display: none; }

/* ===========================================================
   FOOTER LOGO FIX — use logo-nav, no box/border
=========================================================== */
.footer-logo {
  width: auto !important;
  height: 52px !important;
  border-radius: 0 !important;
  border: none !important;
  object-fit: contain !important;
  background: transparent !important;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ===========================================================
   JOHNNY BACKGROUND — Token Data section (right side blend)
=========================================================== */
.section-johnny-bg {
  position: relative;
  overflow: hidden;
}
.section-johnny-bg::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  width: 540px;
  height: 540px;
  background-image: url('../images/johnny-hero.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center right;
  opacity: 0.13;
  mix-blend-mode: screen;
  filter: saturate(1.3) brightness(1.1)
          drop-shadow(0 0 40px rgba(74,222,128,0.4));
  pointer-events: none;
  z-index: 0;
}
/* Fade left edge so it blends into section bg */
.section-johnny-bg::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 540px;
  height: 100%;
  background: linear-gradient(
    to right,
    var(--bg-alt) 0%,
    transparent 35%,
    transparent 70%,
    var(--bg-alt) 100%
  );
  pointer-events: none;
  z-index: 1;
}
/* Keep section content above both overlays */
.section-johnny-bg .section-inner {
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .section-johnny-bg::before {
    width: 320px;
    height: 320px;
    opacity: 0.08;
    right: -60px;
  }
}
@media (max-width: 600px) {
  .section-johnny-bg::before,
  .section-johnny-bg::after {
    display: none;
  }
}

/* ===========================================================
   JOHNNY TOKEN SECTION — real <img> tag approach (reliable)
=========================================================== */

/* Remove broken pseudo-element approach */
.section-johnny-bg::before,
.section-johnny-bg::after {
  display: none !important;
}

.section-johnny-bg {
  position: relative;
  overflow: hidden;
}

.section-johnny-img {
  position: absolute;
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  object-fit: contain;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
  /* Fade left edge into section background */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 25%, black 60%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 25%, black 60%);
  filter: saturate(1.4) brightness(1.15)
          drop-shadow(0 0 30px rgba(74,222,128,0.5))
          drop-shadow(0 0 60px rgba(74,222,128,0.2));
}

/* Keep all section content above the image */
.section-johnny-bg .section-inner {
  position: relative;
  z-index: 2;
}
.section-johnny-bg .leaf-node {
  position: relative;
  z-index: 2;
}

@media (max-width: 1100px) {
  .section-johnny-img {
    width: 380px;
    height: 380px;
    opacity: 0.12;
    right: -80px;
  }
}
@media (max-width: 700px) {
  .section-johnny-img { display: none; }
}

/* ===========================================================
   V6 UPDATE — new transparent PNG Johnny
   Hero background now uses PNG too
=========================================================== */
.hero {
  background-image: url('../images/johnny-hero.png') !important;
  background-repeat: no-repeat !important;
  background-position: right 5% center !important;
  background-size: 480px 480px !important;
}

/* Token section img — transparent PNG needs different treatment */
/* Increase opacity since no dark bg fighting us, add green tint */
.section-johnny-img {
  opacity: 0.28 !important;
  filter: 
    drop-shadow(0 0 24px rgba(74,222,128,0.6))
    drop-shadow(0 0 60px rgba(74,222,128,0.25))
    saturate(0.9) brightness(0.95) !important;
  /* Mask still fades left edge cleanly */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,0.3) 20%,
    black 55%
  ) !important;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,0.3) 20%,
    black 55%
  ) !important;
}

/* ===========================================================
   LORE SECTION — Johnny image + updated layout
=========================================================== */
.lore-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  align-items: center;
}

.lore-johnny-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lore-johnny-img {
  width: 100%;
  max-width: 340px;
  height: auto;
  filter:
    drop-shadow(0 0 20px rgba(74,222,128,0.5))
    drop-shadow(0 0 50px rgba(74,222,128,0.2));
  animation: float 6s ease-in-out infinite;
}

/* Stack on mobile */
@media (max-width: 860px) {
  .lore-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .lore-johnny-img {
    max-width: 260px;
    margin: 0 auto;
    display: block;
  }
  .lore-track {
    grid-template-columns: 1fr !important;
  }
}

/* lore-track inside lore-layout stacks vertically */
.lore-layout .lore-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===========================================================
   JOHNNY HERO — show on mobile too
=========================================================== */
/* Hero background PNG — show on all screen sizes */
.hero {
  background-size: 420px 420px !important;
}
@media (max-width: 900px) {
  .hero {
    background-position: center bottom !important;
    background-size: 280px 280px !important;
    padding-bottom: 320px !important;
  }
  .hero::after {
    background: linear-gradient(
      to bottom,
      var(--bg) 0%,
      transparent 18%,
      transparent 55%,
      var(--bg) 100%
    ) !important;
  }
}
@media (max-width: 600px) {
  /* Keep it on mobile but smaller and bottom-anchored */
  .hero {
    background-image: url('../images/johnny-hero.png') !important;
    background-position: center bottom !important;
    background-size: 240px 240px !important;
    padding-bottom: 260px !important;
  }
  .hero::after {
    background: linear-gradient(
      to bottom,
      var(--bg) 0%,
      transparent 15%,
      transparent 60%,
      var(--bg) 100%
    ) !important;
  }
}

/* Token section Johnny — show on mobile */
.section-johnny-img {
  display: block !important;
}
@media (max-width: 900px) {
  .section-johnny-img {
    width: 280px !important;
    height: 280px !important;
    opacity: 0.15 !important;
    right: -40px !important;
  }
}
@media (max-width: 600px) {
  .section-johnny-img {
    width: 200px !important;
    height: 200px !important;
    opacity: 0.10 !important;
    right: -20px !important;
    top: 30% !important;
  }
}

/* ===========================================================
   STRAINS SLIDER — fix desktop horizontal layout
=========================================================== */

/* Force slider to scroll horizontally on ALL screen sizes */
.strains-slider-wrap {
  overflow: hidden;
}

.strains-slider {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  gap: 20px !important;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.strain-slide {
  flex: 0 0 280px !important;
  scroll-snap-align: start;
  min-width: 280px;
}

/* Make sure the wrapper doesn't collapse on desktop */
@media (min-width: 900px) {
  .strain-slide {
    flex: 0 0 300px !important;
    min-width: 300px;
  }
  .strain-slide img {
    height: 340px !important;
  }
}

/* ===========================================================
   STRAINS SLIDER — definitive desktop + mobile fix
=========================================================== */

/* The outer wrap must NOT clip the slider arrows */
.strains-slider-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  overflow: visible !important;
  position: relative;
}

/* The actual scrollable track */
.strains-slider {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: scroll !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth !important;
  gap: 20px !important;
  flex: 1 !important;
  padding-bottom: 12px !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch !important;
  /* Show scrollbar on desktop so users know it's scrollable */
  scrollbar-width: thin !important;
  scrollbar-color: var(--border-bright) transparent !important;
}
.strains-slider::-webkit-scrollbar {
  height: 4px !important;
  display: block !important;
}
.strains-slider::-webkit-scrollbar-track {
  background: transparent !important;
}
.strains-slider::-webkit-scrollbar-thumb {
  background: var(--border-bright) !important;
  border-radius: 4px !important;
}

/* Each slide — fixed width on all breakpoints */
.strain-slide {
  flex: 0 0 280px !important;
  min-width: 280px !important;
  width: 280px !important;
  scroll-snap-align: start !important;
}

@media (min-width: 900px) {
  .strain-slide {
    flex: 0 0 300px !important;
    min-width: 300px !important;
    width: 300px !important;
  }
}

/* Remove the old display:none override that was hiding the grid */
.strains-grid { display: none !important; }

/* Token section — remove johnny bg class styles since we removed it from HTML */
.section-johnny-bg::before,
.section-johnny-bg::after,
.section-johnny-img {
  display: none !important;
}

/* ===========================================================
   GROWTH STEM — removed (was interfering with slider layout)
=========================================================== */
.stem-track,
.leaf-node {
  display: none !important;
}
/* HERO PLANTS */
.hero { position: relative; overflow: hidden; }
.hero-plant-left,
.hero-plant-right {
  position: absolute;
  bottom: 0;
  width: 260px;
  height: auto;
  z-index: 1;
  pointer-events: none;
  opacity: 0.75;
  filter: drop-shadow(0 0 16px rgba(74,222,128,0.5)) saturate(1.2);
}
.hero-plant-left  { left: 0; transform-origin: bottom left;  animation: swayl 7s ease-in-out infinite; }
.hero-plant-right { right: 0; transform-origin: bottom right; animation: swayr 7s ease-in-out infinite; animation-delay:-3.5s; }
@keyframes swayl { 0%,100%{transform:rotate(0deg)} 40%{transform:rotate(1.5deg)} 70%{transform:rotate(-1deg)} }
@keyframes swayr { 0%,100%{transform:rotate(0deg)} 40%{transform:rotate(-1.5deg)} 70%{transform:rotate(1deg)} }
@media(max-width:1100px){.hero-plant-left,.hero-plant-right{width:180px}}
@media(max-width:768px){.hero-plant-left,.hero-plant-right{width:110px;opacity:0.55}}
@media(max-width:480px){.hero-plant-left,.hero-plant-right{display:none}}

/* Hero top plant — centered, no background */
.hero-top-plant {
  display: block;
  margin: 0 auto 16px;
  width: 220px;
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 18px rgba(74,222,128,0.6)) drop-shadow(0 0 40px rgba(74,222,128,0.2));
  animation: float 6s ease-in-out infinite;
}
@media (max-width: 600px) {
  .hero-top-plant { width: 160px; }
}

/* ===========================================================
   CANNABIS GALLERY SLIDER — clean rewrite
=========================================================== */
.gallery-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin-bottom: 20px;
}

.gallery-track {
  position: relative;
  flex: 1;
  height: 480px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-bright);
}

.gallery-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.gallery-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-slide img {
  max-height: 90%;
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5));
}

.gallery-caption {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  background: rgba(10,15,11,0.75);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 20px;
  white-space: nowrap;
}
.gallery-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green-bright);
  letter-spacing: 0.1em;
  margin-right: 10px;
}
.gallery-caption p {
  display: inline;
  font-size: 13px;
  color: var(--text-muted);
}

/* Arrow buttons */
.gallery-btn {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border-bright);
  color: var(--green-bright);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1;
}
.gallery-btn:hover {
  background: var(--surface-2);
  border-color: var(--green-bright);
  box-shadow: 0 0 16px rgba(74,222,128,0.4);
}

/* Dots */
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
}
.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-bright);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.gallery-dot.active {
  background: var(--green-bright);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(127,255,160,0.6);
}

@media (max-width: 700px) {
  .gallery-track { height: 340px; }
  .gallery-btn { width: 40px; height: 40px; font-size: 22px; }
}
@media (max-width: 420px) {
  .gallery-track { height: 280px; }
  .gallery-wrap { gap: 8px; }
}
