* {
  box-sizing: border-box;
}

:root {
  --bg: #0b0f0d;
  --panel: #131a16;
  --panel-2: #18211b;
  --text: #f5f7f5;
  --muted: #a7b0aa;
  --border: rgba(255,255,255,.08);
  --accent: #58d26b;
  --accent-hover: #6ee67e;
  --shadow: 0 18px 50px rgba(0,0,0,.32);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(88,210,107,.08), transparent 30%),
    var(--bg);
  color: var(--text);
}

button,
a {
  font: inherit;
}

.hero {
  border-bottom: 1px solid var(--border);
  background: rgba(9,13,11,.75);
  backdrop-filter: blur(14px);
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 42px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1;
  letter-spacing: -.04em;
}

.subtitle {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 64px;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.map-card {
  overflow: hidden;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}

.map-card:hover {
  transform: translateY(-4px);
  border-color: rgba(88,210,107,.3);
}

.map-image-wrap {
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  background: #0f1511;
}

.map-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.map-card:hover .map-image {
  transform: scale(1.025);
}

.map-content {
  padding: 20px;
}

.map-name {
  margin: 0 0 13px;
  font-size: 24px;
  line-height: 1.15;
}

.info-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  border-top: 1px solid var(--border);
}

.info-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.info-value {
  min-width: 0;
  color: var(--text);
  font-size: 14px;
}

.seed-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.seed-value {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(255,255,255,.035);
  white-space: nowrap;
  user-select: text;
  cursor: text;
}

.copy-btn {
  flex: 0 0 auto;
  width: 37px;
  height: 37px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(255,255,255,.05);
  color: var(--text);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.copy-btn:hover {
  background: rgba(88,210,107,.12);
  border-color: rgba(88,210,107,.4);
}

.download-btn {
  margin-top: 18px;
  width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #071009;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.download-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  z-index: 100;
  padding: 11px 16px;
  border: 1px solid rgba(88,210,107,.28);
  border-radius: 12px;
  background: #142018;
  color: #eaffed;
  box-shadow: 0 14px 35px rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

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

@media (max-width: 520px) {
  .hero-inner {
    padding-top: 38px;
  }

  .container {
    padding-top: 26px;
  }

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