/* ============================================================
   MINESITE — seed-detail.css  (Redesign 2026 · Deep Earth)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Outfit:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --bg:           #05080a;
  --bg-2:         #080d10;
  --bg-3:         #0c1318;
  --bg-card:      #0a1219;
  --bg-elevated:  #0f1d26;
  --bg-glass:     rgba(10,18,25,0.82);

  --border:       #162230;
  --border-2:     #1e3345;
  --border-3:     #274455;

  --green:        #3ddc84;
  --green-dim:    #2ec270;
  --green-muted:  #1a7d47;
  --green-glow:   rgba(61,220,132,0.2);
  --green-soft:   rgba(61,220,132,0.07);

  --gold:         #f0b429;
  --gold-soft:    rgba(240,180,41,0.1);
  --gold-dim:     #c9920f;

  --cyan:         #22d3ee;
  --cyan-soft:    rgba(34,211,238,0.08);

  --teal:         #0d9488;
  --teal-soft:    rgba(13,148,136,0.1);

  --amber:        #fb923c;
  --purple:       #a78bfa;

  --text:         #dde8f0;
  --text-2:       #8aaec4;
  --text-3:       #496679;
  --text-inv:     #05080a;

  --sans:   'Outfit', system-ui, -apple-system, sans-serif;
  --mono:   'JetBrains Mono', 'Courier New', monospace;
  --pixel:  'Press Start 2P', cursive;

  --radius:    5px;
  --radius-lg: 10px;
  --radius-xl: 16px;

  --dur-fast:  0.14s;
  --dur-base:  0.22s;
  --ease:      cubic-bezier(0.22,1,0.36,1);
  --transition: all var(--dur-base) var(--ease);

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:  0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg:  0 8px 48px rgba(0,0,0,0.6);
  --glow-green: 0 0 24px rgba(61,220,132,0.18);
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast:0ms; --dur-base:0ms; }
  *, *::before, *::after {
    animation-duration:.01ms !important;
    transition-duration:.01ms !important;
  }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle grid noise texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(61,220,132,0.06) 0%, transparent 70%),
    linear-gradient(rgba(61,220,132,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61,220,132,0.012) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
}

body > * { position: relative; z-index: 1; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: var(--radius);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.pixel { font-family: var(--pixel); letter-spacing: .05em; }
.mono  { font-family: var(--mono); }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* ── Skip link ───────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  background: var(--green);
  color: var(--bg);
  padding: 10px 20px;
  font-weight: 700;
  font-size: .85rem;
  text-decoration: none;
  z-index: 9999;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top .2s;
}
.skip-link:focus { top: 0; }


/* ════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(5,8,10,0.88);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon-svg {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  border: 1px solid var(--border-2);
  box-shadow: var(--glow-green);
  object-fit: cover;
}

.logo-text {
  font-family: var(--pixel);
  font-size: .6rem;
  color: var(--green);
  letter-spacing: .12em;
  text-shadow: 0 0 18px rgba(61,220,132,0.5);
}

.logo:hover .logo-text { color: #a7f3c9; }

.main-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}

.main-nav a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  letter-spacing: .01em;
  transition: color var(--dur-base) var(--ease);
  position: relative;
  padding-bottom: 3px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--green);
  border-radius: 1px;
  transition: width var(--dur-base) var(--ease);
}

.main-nav a:hover        { color: var(--text); }
.main-nav a:hover::after { width: 100%; }
.main-nav a.active       { color: var(--green); }
.main-nav a.active::after{ width: 100%; }

.nav-cta {
  background: var(--green-soft) !important;
  border: 1px solid var(--border-3) !important;
  border-radius: 999px !important;
  padding: .38rem 1rem !important;
  color: var(--green) !important;
  font-size: .8rem !important;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: rgba(61,220,132,0.13) !important;
  border-color: var(--green-muted) !important;
  color: #a7f3c9 !important;
}
.nav-cta::after { display: none !important; }

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid transparent;
  cursor: pointer;
  padding: .45rem;
  border-radius: var(--radius);
}

.burger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: var(--transition);
}


/* ════════════════════════════════════════════════════════
   PAGE BODY
   ════════════════════════════════════════════════════════ */
.page-body {
  flex: 1;
  padding-bottom: 5rem;
}


/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb-nav { padding-top: 1.5rem; margin-bottom: .5rem; }

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .3rem;
  list-style: none;
  font-size: .75rem;
  color: var(--text-3);
  font-weight: 500;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: .3rem;
}

.breadcrumb-list li:not(:last-child)::after {
  content: '›';
  color: var(--border-3);
  font-size: .85em;
}

.breadcrumb-list a {
  color: var(--text-3);
  text-decoration: none;
  transition: color .18s;
}
.breadcrumb-list a:hover { color: var(--green); }

.breadcrumb-list li:last-child span { color: var(--text-2); }


/* ── Back link ───────────────────────────────────────────── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--text-3);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: .02em;
  transition: var(--transition);
}

.back-link svg { transition: transform var(--dur-base) var(--ease); }
.back-link:hover { color: var(--green); }
.back-link:hover svg { transform: translateX(-3px); }


/* ════════════════════════════════════════════════════════
   SEED HERO
   ════════════════════════════════════════════════════════ */
.seed-hero {
  padding: 1rem 0 1.75rem;
  position: relative;
}

.seed-title {
  font-family: var(--pixel);
  font-size: clamp(.55rem, 1.8vw, .9rem);
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 1.25rem;
  max-width: 820px;
  /* Subtle glow on the title */
  filter: drop-shadow(0 0 20px rgba(61,220,132,0.12));
}

/* Quick-stats pills */
.seed-stats-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  padding: .3rem .8rem;
  border-radius: var(--radius);
  font-size: .75rem;
  font-weight: 600;
  border: 1px solid var(--border-2);
  background: var(--bg-card);
  color: var(--text-2);
  white-space: nowrap;
  letter-spacing: .02em;
  transition: var(--transition);
}

.stat-pill .pill-icon { font-size: .85em; }

.stat-pill--green {
  background: var(--green-soft);
  border-color: var(--green-muted);
  color: var(--green);
}

.stat-pill--cyan {
  background: var(--cyan-soft);
  border-color: var(--cyan);
  color: var(--cyan);
}

.stat-pill--gold {
  background: var(--gold-soft);
  border-color: var(--gold-dim);
  color: var(--gold);
}


/* ════════════════════════════════════════════════════════
   GALLERY
   ════════════════════════════════════════════════════════ */
.gallery {
  position: relative;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  margin-bottom: 2.5rem;
  touch-action: pan-y;
  user-select: none;
}

.gallery-overflow {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.gallery-track {
  display: flex;
  width: 100%;
  transition: transform .42s cubic-bezier(.22,1,.36,1);
  will-change: transform;
  cursor: grab;
}
.gallery-track:active { cursor: grabbing; }

.gallery-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: block;
}

.gallery-slide > img.gallery-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.gallery-slide .img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-2);
  display: block;
}

.gallery-slide .img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.gallery-slide .lqip-bg {
  filter: blur(14px);
  transform: scale(1.06);
  transition: opacity .35s ease;
  z-index: 0;
}

.gallery-slide .lazy {
  z-index: 1;
  opacity: 0;
  transition: opacity .45s ease;
}
.gallery-slide .lazy.loaded { opacity: 1; }
.gallery-slide .img-wrap:has(.lazy.loaded) .lqip-bg { opacity: 0; }

/* gallery-img (used in generated pages) */
.gallery-img.lqip-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(14px);
  transform: scale(1.06);
  transition: opacity .35s ease;
  z-index: 0;
}

.gallery-img.lazy {
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity .45s ease;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-img.lazy.loaded { opacity: 1; }
.gallery-img.lazy.loaded ~ .lqip-bg,
.img-wrap:has(.lazy.loaded) .lqip-bg { opacity: 0; }

.gallery-img.loaded:not(.lazy) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.no-image-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  color: var(--text-3);
  font-size: .85rem;
  background: var(--bg-2);
}
.no-image-placeholder::before { content: '🌱'; font-size: 2.5rem; }

/* Arrows — sleek floating pills */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(5,8,10,0.75);
  border: 1px solid var(--border-3);
  color: var(--text-2);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 5;
  backdrop-filter: blur(8px);
}

.gallery-arrow:hover {
  background: rgba(61,220,132,0.15);
  color: var(--green);
  border-color: var(--green-muted);
  box-shadow: 0 0 16px rgba(61,220,132,0.2);
}

.gallery-prev { left: .75rem; }
.gallery-next { right: .75rem; }

.gallery-counter {
  position: absolute;
  bottom: .6rem;
  right: .7rem;
  font-size: .65rem;
  font-family: var(--mono);
  background: rgba(5,8,10,0.75);
  color: var(--text-3);
  padding: .2rem .55rem;
  border-radius: 99px;
  backdrop-filter: blur(4px);
  z-index: 5;
  border: 1px solid var(--border);
}

/* Dots */
.gallery-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  padding: .6rem 0;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-top: none;
}

.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s, width .2s;
}

.gallery-dot.active {
  background: var(--green);
  transform: scale(1.3);
  width: 18px;
  border-radius: 3px;
}


/* ════════════════════════════════════════════════════════
   SEED LAYOUT  (2-col grid)
   ════════════════════════════════════════════════════════ */
.seed-layout {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 2.75rem;
  align-items: start;
}

.seed-main { min-width: 0; }


/* ── Section labels ──────────────────────────────────────── */
.seed-section { margin-bottom: 2.75rem; }

.section-label {
  display: block;
  font-family: var(--pixel);
  font-size: .45rem;
  color: var(--green);
  letter-spacing: .22em;
  text-transform: uppercase;
  padding-bottom: .75rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.section-label::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 1px;
  background: var(--green);
}


/* ── Mobile seed code card ───────────────────────────────── */
.seed-code-inline {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
}

.seed-code-box { flex: 1; min-width: 0; }

.seed-code-label {
  display: block;
  font-family: var(--pixel);
  font-size: .38rem;
  color: var(--text-3);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}

.seed-code-val {
  font-family: var(--mono);
  font-size: 1.15rem;
  color: var(--gold);
  word-break: break-all;
  line-height: 1.3;
  font-weight: 500;
}


/* ── Description ─────────────────────────────────────────── */
.description-wrap p {
  font-size: .925rem;
  color: var(--text-2);
  line-height: 1.95;
  margin-bottom: .9rem;
  font-weight: 400;
}
.description-wrap p:last-of-type { margin-bottom: 0; }

.desc-extra { margin-top: .15rem; }

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--green);
  font-size: .8rem;
  font-family: var(--sans);
  font-weight: 600;
  padding: .5rem 0 0;
  transition: color var(--dur-base) var(--ease);
  letter-spacing: .02em;
}
.read-more-btn:hover { color: #a7f3c9; }
.read-more-btn svg { transition: transform .25s var(--ease); }


/* ── Tags ────────────────────────────────────────────────── */
.tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.seed-tag {
  display: inline-block;
  font-size: .6rem;
  padding: .28rem .7rem;
  background: transparent;
  border: 1px solid var(--border-2);
  color: var(--text-3);
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-family: var(--mono);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

.seed-tag:hover {
  background: var(--green-soft);
  color: var(--green);
  border-color: var(--green-muted);
}


/* ── Locations table ─────────────────────────────────────── */
.locations-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.locations-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
  min-width: 300px;
}

.locations-table thead {
  background: var(--bg-3);
}

.locations-table th {
  text-align: left;
  font-size: .42rem;
  font-family: var(--pixel);
  color: var(--text-3);
  padding: .9rem 1.1rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.locations-table td {
  padding: .9rem 1.1rem;
  border-top: 1px solid var(--border);
  color: var(--text-2);
  vertical-align: middle;
  font-size: .875rem;
}

.locations-table tr:last-child td { border-bottom: none; }

.locations-table tbody tr {
  transition: background var(--dur-fast) var(--ease);
}

.locations-table tbody tr:hover td {
  background: rgba(61,220,132,0.025);
}

.locations-table code {
  font-family: var(--mono);
  color: var(--gold);
  font-size: .78rem;
  background: var(--gold-soft);
  padding: .18rem .5rem;
  border-radius: var(--radius);
  font-weight: 500;
}

.locs-empty {
  color: var(--text-3);
  font-size: .85rem;
  font-style: italic;
}


/* ════════════════════════════════════════════════════════
   SIDEBAR
   ════════════════════════════════════════════════════════ */
.seed-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Info card */
.seed-info-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  /* Gradient border via box-shadow + clip */
  box-shadow:
    0 0 0 1px var(--border-2),
    var(--shadow-md);
}

/* Top accent bar */
.seed-info-card::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--green-muted) 0%,
    var(--green) 40%,
    var(--teal) 100%
  );
}

.sidebar-inner { padding: 1.5rem; }

.sidebar-title {
  font-size: .42rem;
  color: var(--text-3);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* Seed code block in sidebar */
.sidebar-code-block {
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1rem;
  text-align: center;
  margin-bottom: .75rem;
}

.sidebar-code-label {
  display: block;
  font-family: var(--pixel);
  font-size: .38rem;
  color: var(--text-3);
  letter-spacing: .2em;
  margin-bottom: .5rem;
  text-transform: uppercase;
}

.sidebar-code-val {
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--gold);
  word-break: break-all;
  line-height: 1.4;
  font-weight: 500;
}

/* Copy button */
.copy-btn {
  width: 100%;
  padding: .75rem;
  background: transparent;
  border: 1px solid var(--border-2);
  color: var(--text-2);
  font-family: var(--sans);
  font-size: .85rem;
  cursor: pointer;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.copy-btn:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-soft);
  box-shadow: 0 0 16px rgba(61,220,132,0.12);
}

.copy-btn.copied {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-soft);
}

/* Meta list in sidebar */
.meta-list { list-style: none; border-top: 1px solid var(--border); }

.meta-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .7rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .85rem;
  gap: .75rem;
}
.meta-item:last-child { border-bottom: none; }

.meta-key { color: var(--text-3); flex-shrink: 0; font-size: .8rem; }

.meta-val {
  color: var(--text);
  font-weight: 600;
  text-align: right;
  font-size: .85rem;
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Edition badges */
.edition-badge {
  font-family: var(--pixel);
  font-size: .38rem;
  padding: .28rem .6rem;
  border-radius: var(--radius);
  letter-spacing: .05em;
}
.edition-java    { background: rgba(61,220,132,0.08);   border: 1px solid var(--green-muted); color: var(--green); }
.edition-bedrock { background: rgba(34,211,238,0.08);   border: 1px solid var(--cyan);        color: var(--cyan); }
.edition-both    { background: rgba(167,139,250,0.08);  border: 1px solid var(--purple);      color: var(--purple); }

.version-badge {
  font-family: var(--pixel);
  font-size: .38rem;
  background: var(--gold-soft);
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  padding: .25rem .55rem;
  border-radius: var(--radius);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: .02em;
}

.btn-block {
  display: flex;
  width: 100%;
  margin-top: .6rem;
}

.btn-primary {
  background: var(--green);
  color: var(--bg);
  border-color: var(--green);
  box-shadow: 0 0 20px rgba(61,220,132,0.22);
}
.btn-primary:hover {
  background: var(--green-dim);
  border-color: var(--green-dim);
  box-shadow: 0 0 32px rgba(61,220,132,0.36);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border-color: var(--border-2);
}
.btn-ghost:hover {
  background: var(--green-soft);
  color: var(--green);
  border-color: var(--green-muted);
}


/* ── How-to card ─────────────────────────────────────────── */
.how-to-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.how-to-card h3 {
  font-family: var(--pixel);
  font-size: .42rem;
  color: var(--text-2);
  letter-spacing: .14em;
  margin-bottom: 1.1rem;
  text-transform: uppercase;
}

.how-to-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  font-size: .85rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 1rem;
  counter-reset: steps;
}

.how-to-steps li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  counter-increment: steps;
}

.how-to-steps li::before {
  content: counter(steps);
  font-family: var(--pixel);
  font-size: .38rem;
  background: var(--green-soft);
  border: 1px solid var(--green-muted);
  color: var(--green);
  width: 22px;
  height: 22px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .18rem;
}

.how-to-steps strong { color: var(--text); font-weight: 600; }

.how-to-steps code {
  font-family: var(--mono);
  color: var(--gold);
  font-size: .76rem;
  background: var(--gold-soft);
  padding: .12rem .38rem;
  border-radius: var(--radius);
}

.how-to-note {
  font-size: .78rem;
  color: var(--text-3);
  line-height: 1.65;
  padding: .7rem .9rem;
  background: var(--bg-3);
  border-radius: var(--radius);
  border-left: 2px solid var(--border-3);
}

.how-to-note strong { color: var(--text-2); }


/* ════════════════════════════════════════════════════════
   RELATED SEEDS CTA
   ════════════════════════════════════════════════════════ */
.related-seeds-cta {
  text-align: center;
  padding: 3.5rem 2rem;
  margin-top: 4rem;
  background: linear-gradient(
    135deg,
    var(--bg-2) 0%,
    rgba(61,220,132,0.04) 100%
  );
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.related-seeds-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--green) 50%,
    transparent 100%
  );
}

.related-seeds-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 60% at 50% 0%,
    rgba(61,220,132,0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.related-seeds-cta h2 {
  font-family: var(--pixel);
  font-size: clamp(.48rem, 1.4vw, .68rem);
  color: var(--text);
  margin-bottom: .9rem;
  line-height: 1.9;
  position: relative;
  z-index: 1;
}

.related-seeds-cta p {
  color: var(--text-2);
  font-size: .9rem;
  margin: 0 auto 1.75rem;
  max-width: 520px;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.related-seeds-cta .btn { position: relative; z-index: 1; }


/* ════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.footer-inner-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 3rem;
  padding: 3.5rem 0 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.footer-logo {
  font-family: var(--pixel);
  font-size: .65rem;
  color: var(--green);
  letter-spacing: .12em;
  text-shadow: 0 0 12px rgba(61,220,132,0.35);
}

.footer-brand p {
  font-size: .85rem;
  color: var(--text-3);
  line-height: 1.75;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--pixel);
  font-size: .42rem;
  color: var(--text-2);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-col a {
  font-size: .85rem;
  color: var(--text-3);
  text-decoration: none;
  transition: color var(--dur-base) var(--ease);
}
.footer-col a:hover { color: var(--green); }

.footer-bottom-bar {
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom-inner small {
  font-size: .75rem;
  color: var(--text-3);
}


/* ════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════ */

/* ≥961px: desktop */
@media (min-width: 961px) {
  .seed-code-inline { display: none; }

  .gallery {
    border-radius: var(--radius-xl);
    overflow: visible;
  }
  .gallery-overflow {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    border: 1px solid var(--border);
    border-bottom: none;
  }
  .gallery-dots {
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    border: 1px solid var(--border);
    border-top: none;
  }
}

/* ≤960px: mobile */
@media (max-width: 960px) {
  .mobile-menu-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    background: rgba(5,8,10,0.97);
    backdrop-filter: blur(24px);
    padding: 1.5rem;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
      opacity var(--dur-base) var(--ease),
      visibility var(--dur-base) var(--ease);
    border-bottom: 1px solid var(--border);
    z-index: 199;
  }
  .main-nav.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav ul   { flex-direction: column; gap: 1.1rem; align-items: stretch; }
  .main-nav a    { display: block; text-align: center; padding: .45rem 0; }

  .seed-layout { grid-template-columns: 1fr; gap: 0; }
  .seed-layout .seed-sidebar { display: none; }

  .gallery { margin-left: -1.5rem; margin-right: -1.5rem; border-radius: 0; margin-bottom: 1.75rem; }
  .gallery-overflow { border-radius: 0; border-left: none; border-right: none; }
  .gallery-dots { border-radius: 0; border-left: none; border-right: none; }

  .footer-inner-grid   { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .footer-brand        { align-items: center; }
  .footer-brand p      { max-width: 100%; }
  .footer-col ul       { align-items: center; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ≤600px: small mobile */
@media (max-width: 600px) {
  html, body { overflow-x: hidden; max-width: 100vw; }

  .container { padding-left: 1rem; padding-right: 1rem; }

  .seed-title {
    font-size: clamp(.48rem, 3.2vw, .65rem);
    line-height: 1.95;
    margin-bottom: .9rem;
  }

  .seed-stats-strip { gap: .35rem; }
  .stat-pill { font-size: .7rem; padding: .25rem .6rem; }

  .gallery { margin-left: -1rem; margin-right: -1rem; margin-bottom: 1.25rem; }
  .gallery-slide > img.gallery-img { aspect-ratio: 16/9; }
  .gallery-slide .img-wrap { aspect-ratio: 16/9; }
  .gallery-arrow { width: 30px; height: 30px; }
  .gallery-arrow svg { width: 13px; height: 13px; }

  .seed-code-inline {
    flex-direction: column;
    gap: .6rem;
    margin-bottom: 1.5rem;
    padding: .85rem 1rem;
  }
  .seed-code-val { font-size: clamp(.8rem, 4vw, 1rem); }
  .copy-btn { margin-bottom: 0; }

  .seed-section { margin-bottom: 1.75rem; }
  .section-label { font-size: .4rem; }

  .description-wrap p { font-size: .875rem; }

  .locations-table-wrap { border-radius: var(--radius); }
  .locations-table th   { font-size: .4rem; padding: .7rem .85rem; white-space: nowrap; }
  .locations-table td   { padding: .7rem .85rem; font-size: .82rem; }
  .locations-table code { font-size: .7rem; }

  .related-seeds-cta { padding: 2rem 1.25rem; margin-top: 2.5rem; }
  .footer-inner-grid { padding: 2.5rem 0 2rem; gap: 1.5rem; }
}

body.menu-open { overflow: hidden; }
