/* DRYSMOKE · Smoke City — professional cyberpunk */
:root {
  --bg: #07080f;
  --bg-elev: #0e1020;
  --bg-card: #12152a;
  --bg-card-hover: #161a32;
  --line: rgba(140, 160, 255, 0.12);
  --line-strong: rgba(140, 160, 255, 0.22);
  --text: #e8ecf8;
  --muted: #9aa3c0;
  --dim: #6b7494;
  --neon: #39ff88;
  --neon-soft: rgba(57, 255, 136, 0.14);
  --neon-glow: rgba(57, 255, 136, 0.35);
  --cyan: #5ec8ff;
  --warn: #ffb84d;
  --violet: #b36bff;
  --warn-bg: rgba(255, 184, 77, 0.08);
  --danger: #ff6b7a;
  --danger-bg: rgba(255, 107, 122, 0.08);
  --ok: #39ff88;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --max: 1080px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--neon); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--neon); color: #000; padding: 0.6rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

/* subtle grid background */
.bg-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(57,255,136,0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(94,200,255,0.05), transparent 50%),
    linear-gradient(rgba(140,160,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140,160,255,0.03) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
}

.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 8, 15, 0.82);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 0.7rem;
  color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: 0.02em;
}
.brand img {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--line-strong);
}
.brand span { color: var(--neon); font-weight: 600; margin-left: 0.15rem; }
.nav-links {
  display: flex; gap: 0.35rem 1rem; flex-wrap: wrap; align-items: center;
  list-style: none; margin: 0; padding: 0; font-size: 0.92rem;
}
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--neon-soft); color: var(--neon) !important;
  border: 1px solid rgba(57,255,136,0.35);
  padding: 0.45rem 0.85rem; border-radius: 999px; font-weight: 600;
  text-decoration: none !important;
}
.nav-cta:hover { background: rgba(57,255,136,0.22); }

/* HERO */
.hero {
  padding: 3.2rem 0 2.5rem;
  display: grid; gap: 2rem;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 2rem; }
  .hero-visual { order: -1; max-width: 420px; margin-inline: auto; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--neon);
  background: var(--neon-soft); border: 1px solid rgba(57,255,136,0.25);
  padding: 0.35rem 0.7rem; border-radius: 999px; margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15; margin: 0 0 0.85rem; font-weight: 800; letter-spacing: -0.02em;
}
.hero h1 em { font-style: normal; color: var(--neon); }
.lead { color: var(--muted); font-size: 1.05rem; margin: 0 0 1.4rem; max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.25rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.75rem 1.15rem; border-radius: 999px; font-weight: 600;
  font-size: 0.95rem; text-decoration: none; border: 1px solid transparent;
  cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.btn-primary {
  background: var(--neon); color: #04140a;
  box-shadow: 0 0 24px var(--neon-glow);
}
.btn-primary:hover { background: #62ff9e; color: #04140a; }
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--neon); color: var(--neon); }
.btn-soft {
  background: var(--bg-card); color: var(--text); border-color: var(--line-strong);
}
.btn-soft:hover { background: var(--bg-card-hover); border-color: var(--cyan); }

.trust-chip {
  display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: center;
  font-size: 0.82rem; color: var(--dim);
}
.trust-chip .pill {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: var(--bg-card); border: 1px solid var(--line);
  padding: 0.3rem 0.65rem; border-radius: 999px; color: var(--muted);
}
.trust-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 8px var(--neon); }

.hero-visual {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  background: var(--bg-elev);
}
.hero-visual img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.hero-badge {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(7,8,15,0.85); backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 0.65rem 0.85rem; font-size: 0.85rem;
}
.hero-badge strong { color: var(--neon); display: block; font-size: 0.95rem; }

/* SECTIONS */
section { padding: 3.25rem 0; }
section + section { border-top: 1px solid var(--line); }
.sec-head { margin-bottom: 1.6rem; max-width: 40rem; }
.sec-head h2 {
  margin: 0 0 0.5rem; font-size: clamp(1.45rem, 3vw, 1.9rem);
  letter-spacing: -0.02em; font-weight: 750;
}
.sec-head p { margin: 0; color: var(--muted); }

.card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem 1.35rem;
}
.card-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* TRUST BLOCK — prominent */
.trust {
  background:
    linear-gradient(180deg, rgba(57,255,136,0.06), transparent 40%),
    var(--bg-elev);
  border: 1px solid rgba(57,255,136,0.28);
  border-radius: 18px;
  padding: 1.5rem 1.5rem 1.65rem;
  box-shadow: 0 0 0 1px rgba(57,255,136,0.05), var(--shadow);
}
.trust-title {
  display: flex; align-items: flex-start; gap: 0.85rem; margin-bottom: 1.15rem;
}
.trust-icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  background: var(--neon-soft); border: 1px solid rgba(57,255,136,0.35);
  display: grid; place-items: center; font-size: 1.25rem;
}
.trust-title h2 { margin: 0 0 0.25rem; font-size: 1.35rem; }
.trust-title p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.ca-box {
  background: #0a0c18; border: 1px solid rgba(57,255,136,0.3);
  border-radius: 12px; padding: 1rem 1.1rem; margin-bottom: 1rem;
}
.ca-label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--neon); font-weight: 700; margin-bottom: 0.45rem;
}
.ca-row {
  display: flex; gap: 0.65rem; align-items: stretch; flex-wrap: wrap;
}
.ca-code {
  flex: 1 1 240px; font-family: var(--mono); font-size: clamp(0.72rem, 2.2vw, 0.88rem);
  word-break: break-all; background: #05060d; border: 1px solid var(--line);
  border-radius: 10px; padding: 0.75rem 0.9rem; color: var(--text); line-height: 1.45;
}
.copy-btn {
  flex: 0 0 auto; min-width: 110px;
  background: var(--neon); color: #04140a; border: none;
  border-radius: 10px; font-weight: 700; cursor: pointer;
  padding: 0.75rem 1rem; font-family: var(--font); font-size: 0.9rem;
}
.copy-btn:hover { background: #62ff9e; }
.copy-btn.copied { background: #1a3d2a; color: var(--neon); border: 1px solid rgba(57,255,136,0.4); }

.warn-banner {
  display: flex; gap: 0.7rem; align-items: flex-start;
  background: var(--warn-bg); border: 1px solid rgba(255,184,77,0.35);
  border-radius: 10px; padding: 0.85rem 1rem; margin-bottom: 1.15rem;
  color: #ffd9a0; font-size: 0.92rem;
}
.warn-banner strong { color: var(--warn); }

.verify-links {
  display: grid; gap: 0.65rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 1.25rem;
}
.verify-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 10px; padding: 0.8rem 0.95rem;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.9rem;
}
.verify-links a:hover { border-color: var(--cyan); color: var(--cyan); }
.verify-links a span { color: var(--dim); font-weight: 500; font-size: 0.78rem; }

.commit-grid {
  display: grid; gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 1.15rem;
}
.commit {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 12px; padding: 1rem 1.1rem;
}
.commit .tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--neon); margin-bottom: 0.4rem;
}
.commit h3 { margin: 0 0 0.4rem; font-size: 1rem; }
.commit p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.commit code, .mono {
  font-family: var(--mono); font-size: 0.78rem; word-break: break-all;
  color: var(--text);
}
.placeholder {
  display: inline-block; margin-top: 0.45rem;
  background: rgba(94,200,255,0.08); border: 1px dashed rgba(94,200,255,0.4);
  color: var(--cyan); font-size: 0.8rem; padding: 0.25rem 0.55rem; border-radius: 6px;
}

.safety-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0.55rem;
}
.safety-list li {
  display: flex; gap: 0.65rem; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 10px; padding: 0.75rem 0.95rem; font-size: 0.92rem; color: var(--muted);
}
.safety-list li::before {
  content: "✓"; color: var(--neon); font-weight: 800; flex-shrink: 0;
}
.safety-list strong { color: var(--text); }

/* LORE */
.lore {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr 1fr; align-items: stretch;
}
@media (max-width: 760px) { .lore { grid-template-columns: 1fr; } }
.lore-media {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  min-height: 260px; background: var(--bg-elev);
}
.lore-media img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.lore-copy p { color: var(--muted); margin: 0 0 0.9rem; }
.lore-copy ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.lore-copy li { margin-bottom: 0.4rem; }
.quote {
  border-left: 3px solid var(--neon); padding-left: 0.9rem;
  color: var(--text); font-weight: 550; margin: 1rem 0 0;
}

/* HOW TO BUY */
.steps { counter-reset: step; display: grid; gap: 0.85rem; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 0.9rem;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 12px; padding: 1rem 1.1rem; align-items: start;
}
.step-num {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--neon-soft); color: var(--neon);
  display: grid; place-items: center; font-weight: 800; font-size: 0.9rem;
  border: 1px solid rgba(57,255,136,0.3);
}
.step h3 { margin: 0 0 0.25rem; font-size: 1rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.note {
  margin-top: 1rem; font-size: 0.9rem; color: var(--dim);
  background: var(--danger-bg); border: 1px solid rgba(255,107,122,0.25);
  border-radius: 10px; padding: 0.85rem 1rem; color: #ffc0c7;
}

/* COMMUNITY / EVENTS */
.events {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.event {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; display: flex; flex-direction: column;
}
.event img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.event-body { padding: 1.1rem 1.15rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.event-body .when {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--cyan); font-weight: 700; margin-bottom: 0.35rem;
}
.event-body h3 { margin: 0 0 0.45rem; font-size: 1.05rem; }
.event-body p { margin: 0 0 0.9rem; color: var(--muted); font-size: 0.92rem; flex: 1; }
.links-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.5rem; }

/* ROADMAP */
.roadmap { display: grid; gap: 0.7rem; }
.road-item {
  display: grid; grid-template-columns: 12px 1fr; gap: 0.9rem;
  padding: 0.85rem 0; border-bottom: 1px solid var(--line);
}
.road-item:last-child { border-bottom: 0; }
.road-dot {
  width: 12px; height: 12px; border-radius: 50%; margin-top: 0.35rem;
  background: var(--neon); box-shadow: 0 0 10px var(--neon-glow);
}
.road-item h3 { margin: 0 0 0.2rem; font-size: 1rem; }
.road-item p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* FOOTER / DISCLAIMER */
.footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem; background: #05060c;
}
.disclaimer {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 12px; padding: 1.15rem 1.25rem;
  font-size: 0.88rem; color: var(--muted); margin-bottom: 1.5rem;
}
.disclaimer strong { color: var(--text); }
.footer-meta {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem;
  justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: var(--dim);
}
.footer-meta a { color: var(--muted); text-decoration: none; }
.footer-meta a:hover { color: var(--neon); }
.footer-ca {
  font-family: var(--mono); font-size: 0.72rem; word-break: break-all; color: var(--dim);
}

/* UTIL */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ===== Interactive extras ===== */
.toast {
  position: fixed; bottom: 1.25rem; left: 50%; transform: translateX(-50%) translateY(120%);
  background: #0f1a14; color: var(--neon); border: 1px solid rgba(57,255,136,0.45);
  padding: 0.7rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: 0.9rem;
  z-index: 200; box-shadow: var(--shadow); opacity: 0; transition: transform .25s, opacity .25s;
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

.hero-parallax { will-change: transform; transition: transform .1s linear; }
.market {
  display: grid; gap: 0.65rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin: 1.1rem 0 0;
}
.market .stat {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px;
  padding: 0.75rem 0.9rem;
}
.market .stat .lbl { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim); }
.market .stat .val { font-weight: 700; font-size: 1.05rem; margin-top: 0.2rem; font-variant-numeric: tabular-nums; }
.market .stat .val.up { color: var(--neon); }
.market .stat .val.down { color: var(--danger); }
.market-note { font-size: 0.78rem; color: var(--dim); margin-top: 0.55rem; }

.video-card {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-strong); background: #000; margin-top: 1.25rem;
}
.video-card video { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }
.video-card .cap {
  position: absolute; left: 0.85rem; bottom: 0.85rem;
  background: rgba(7,8,15,0.8); border: 1px solid var(--line);
  border-radius: 10px; padding: 0.4rem 0.7rem; font-size: 0.8rem; color: var(--muted);
}

.gallery {
  display: grid; gap: 0.7rem;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery button {
  appearance: none; border: 1px solid var(--line); border-radius: 12px;
  padding: 0; overflow: hidden; cursor: pointer; background: var(--bg-elev);
  aspect-ratio: 1; position: relative;
}
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery button:hover img, .gallery button:focus-visible img { transform: scale(1.05); }
.gallery button:focus-visible { outline: 2px solid var(--neon); outline-offset: 2px; }

.lightbox {
  position: fixed; inset: 0; z-index: 150; background: rgba(0,0,0,0.88);
  display: none; align-items: center; justify-content: center; padding: 1rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(960px, 100%); max-height: 88vh; border-radius: 12px;
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
}
.lightbox .lb-close, .lightbox .lb-nav {
  position: absolute; background: rgba(18,21,42,0.9); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer;
  font-size: 1.1rem; width: 44px; height: 44px; display: grid; place-items: center;
}
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

.photo-strip {
  display: grid; gap: 0.75rem;
  grid-template-columns: repeat(3, 1fr); margin-top: 1.25rem;
}
@media (max-width: 700px) { .photo-strip { grid-template-columns: 1fr; } }
.photo-strip figure {
  margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  background: var(--bg-elev);
}
.photo-strip img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.photo-strip figcaption {
  padding: 0.65rem 0.85rem; font-size: 0.82rem; color: var(--muted);
  border-top: 1px solid var(--line);
}

.faq { display: grid; gap: 0.55rem; }
.faq details {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px;
  padding: 0;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 1rem 1.15rem; font-weight: 650;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--neon); font-weight: 800; font-size: 1.2rem; }
.faq details[open] summary::after { content: "–"; }
.faq .ans { padding: 0 1.15rem 1.05rem; color: var(--muted); font-size: 0.94rem; }

.nav a.active { color: var(--neon) !important; }


/* ===== About / Angel copy blocks ===== */
.about-intro {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1.05fr 0.95fr; align-items: center;
  margin-bottom: 1.5rem;
}
@media (max-width: 800px) { .about-intro { grid-template-columns: 1fr; } }
.about-kicker {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--neon); margin: 0 0 0.55rem;
}
.about-lines { margin: 0 0 1rem; }
.about-lines p {
  margin: 0; color: var(--text); font-size: 1.15rem; font-weight: 650;
  line-height: 1.45;
}
.about-copy p { color: var(--muted); margin: 0 0 0.85rem; }
.about-copy .punch {
  color: var(--text); font-weight: 600; margin: 0.85rem 0;
}
.about-copy .punch span { display: block; }
.smoke-tag {
  display: inline-block; margin-top: 0.5rem;
  color: var(--neon); font-weight: 800; letter-spacing: 0.04em;
}

.about-block {
  display: grid; gap: 1.15rem;
  grid-template-columns: 0.9fr 1.1fr; align-items: center;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 16px; padding: 1.1rem; margin-bottom: 1rem;
}
.about-block.reverse { grid-template-columns: 1.1fr 0.9fr; }
.about-block.reverse .about-block-media { order: 2; }
@media (max-width: 760px) {
  .about-block, .about-block.reverse { grid-template-columns: 1fr; }
  .about-block.reverse .about-block-media { order: 0; }
}
.about-block-media {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
  min-height: 200px; background: var(--bg-elev);
}
.about-block-media img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }
.about-block h3 {
  margin: 0 0 0.55rem; font-size: 1.05rem;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--cyan);
}
.about-block p { margin: 0 0 0.65rem; color: var(--muted); font-size: 0.95rem; }
.about-block .stack p {
  margin: 0; color: var(--text); font-weight: 600; font-size: 1.02rem;
}
.about-block .stack { margin: 0.75rem 0; display: grid; gap: 0.2rem; }
.about-close {
  text-align: center; padding: 1.5rem 1rem 0.5rem;
}
.about-close .big {
  font-size: 1.25rem; font-weight: 750; color: var(--text); margin: 0 0 0.35rem;
}
.about-close .token {
  font-size: 1.6rem; font-weight: 800; color: var(--neon); letter-spacing: 0.06em;
}

/* Puff button + particles */
.hero-actions { position: relative; }
.puff-wrap { position: relative; display: inline-flex; align-items: center; }
#puff-canvas {
  position: absolute; left: 50%; top: 50%;
  width: 280px; height: 220px; pointer-events: none;
  transform: translate(-50%, -70%); z-index: 2;
}
.btn-puff {
  appearance: none; cursor: pointer;
  background: linear-gradient(135deg, rgba(57,255,136,0.18), rgba(94,200,255,0.12));
  color: var(--text); border: 1px solid rgba(57,255,136,0.4);
  padding: 0.7rem 1.1rem; border-radius: 999px; font-weight: 700;
  font-size: 0.95rem; font-family: inherit;
  box-shadow: 0 0 24px rgba(57,255,136,0.15);
  transition: transform .15s, background .2s;
}
.btn-puff:hover { background: rgba(57,255,136,0.28); transform: translateY(-1px); }
.btn-puff:active { transform: scale(0.97); }

/* Flip cards — residents */
.residents {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.flip-card {
  perspective: 1000px; height: 280px; border: 0; background: transparent;
  padding: 0; cursor: pointer; font: inherit; color: inherit; text-align: left;
}
.flip-inner {
  position: relative; width: 100%; height: 100%;
  transition: transform 0.55s; transform-style: preserve-3d;
}
.flip-card.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-face {
  position: absolute; inset: 0; backface-visibility: hidden;
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  background: var(--bg-card);
}
.flip-face img { width: 100%; height: 70%; object-fit: cover; }
.flip-face .face-cap {
  padding: 0.7rem 0.85rem; font-size: 0.88rem;
}
.flip-face .face-cap strong { display: block; color: var(--text); margin-bottom: 0.15rem; }
.flip-face .face-cap span { color: var(--muted); font-size: 0.8rem; }
.flip-back {
  transform: rotateY(180deg);
  display: flex; flex-direction: column; justify-content: center;
  padding: 1.1rem 1.15rem; background: linear-gradient(160deg, #12152a, #0a1020);
}
.flip-back h3 { margin: 0 0 0.45rem; font-size: 1rem; color: var(--neon); }
.flip-back p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.flip-hint { font-size: 0.75rem; color: var(--dim); margin-top: 0.75rem !important; }

/* Gallery filters */
.gallery-tabs {
  display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1rem;
}
.gallery-tabs button {
  appearance: none; cursor: pointer; font-family: inherit; font-weight: 600;
  font-size: 0.85rem; padding: 0.45rem 0.85rem; border-radius: 999px;
  background: var(--bg-card); color: var(--muted);
  border: 1px solid var(--line);
}
.gallery-tabs button:hover { color: var(--text); border-color: var(--line-strong); }
.gallery-tabs button.active {
  color: var(--neon); background: var(--neon-soft);
  border-color: rgba(57,255,136,0.4);
}
.gallery button[hidden] { display: none !important; }

/* Community CTAs */
.comm-cta-row {
  display: grid; gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 1.25rem;
}
.comm-cta {
  display: flex; flex-direction: column; gap: 0.55rem;
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 14px; padding: 1.15rem 1.2rem;
  text-decoration: none !important; color: inherit;
  transition: border-color .2s, transform .15s;
}
.comm-cta:hover { border-color: rgba(57,255,136,0.45); transform: translateY(-2px); }
.comm-cta .lbl { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cyan); font-weight: 700; }
.comm-cta strong { font-size: 1.15rem; color: var(--text); }
.comm-cta span { color: var(--muted); font-size: 0.9rem; }
.comm-cta.primary {
  background: linear-gradient(135deg, rgba(57,255,136,0.12), rgba(94,200,255,0.08));
  border-color: rgba(57,255,136,0.35);
}

/* Coming soon — buildings / top holders */
.coming-soon {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line-strong); background: var(--bg-card);
}
.coming-soon-body { padding: 1.35rem 1.4rem 1.5rem; }
.coming-soon-body .badge {
  display: inline-block; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--warn); background: var(--warn-bg);
  border: 1px solid rgba(255,184,77,0.35);
  padding: 0.3rem 0.65rem; border-radius: 999px; margin-bottom: 0.75rem;
}
.coming-soon-body h2 { margin: 0 0 0.55rem; font-size: 1.35rem; }
.coming-soon-body p { margin: 0 0 0.75rem; color: var(--muted); }
.coming-soon-body ul {
  margin: 0 0 0.85rem; padding-left: 1.15rem; color: var(--muted); font-size: 0.92rem;
}
.coming-soon-body li { margin-bottom: 0.35rem; }
.coming-soon-body .fine {
  font-size: 0.82rem; color: var(--dim); margin: 0;
}

/* ===== Map of Smoke City (data-driven plots) ===== */
.scmap {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line-strong);
  background: #090b16; box-shadow: var(--shadow); margin-bottom: 1.25rem;
}
.scmap-frame { position: relative; width: 100%; aspect-ratio: 1200 / 900; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.scmap-frame.zoomed { touch-action: none; cursor: grab; }
.scmap-frame.dragging { cursor: grabbing; }
#scmap-svg { display: block; width: 100%; height: 100%; }
#scmap-svg text { font-family: var(--font); }
.scm-roads rect { fill: #10132a; }
.scm-lanes line { stroke: rgba(255,184,77,0.18); stroke-width: 0.8; stroke-dasharray: 8 8; }
.scm-river { opacity: 0.95; }
.scm-river-flow { fill: none; stroke: rgba(179,107,255,0.55); stroke-width: 2; stroke-dasharray: 4 14; animation: scmFlow 6s linear infinite; }
@keyframes scmFlow { to { stroke-dashoffset: -180; } }
.scm-bridge rect { fill: #1a1e3a; stroke: rgba(94,200,255,0.45); stroke-width: 1.5; }
.scm-smoke ellipse { fill: rgba(200,210,230,0.10); animation: scmDrift 16s ease-in-out infinite alternate; }
.scm-smoke ellipse:nth-child(2) { animation-duration: 21s; }
@keyframes scmDrift { from { transform: translateX(-30px); } to { transform: translateX(40px); } }
.scm-street-names text { fill: rgba(232,236,248,0.36); font-size: 8.5px; font-weight: 600; letter-spacing: 0.22em; }
.scm-street-names .river-name { fill: rgba(205,170,255,0.7); font-size: 10px; font-weight: 600; letter-spacing: 0.5em; font-style: italic; }
.scm-compass circle { fill: rgba(14,16,32,0.9); stroke: var(--line-strong); }
.scm-compass path { fill: #3a3f63; }
.scm-compass path.n { fill: var(--neon); }
.scm-compass text { fill: var(--muted); font-size: 7px; font-weight: 800; }

.scm-district .dname { font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.scm-district .dname:hover, .scm-district .dname:focus { text-decoration: underline; outline: none; }
.scm-district .dcount { font-family: var(--mono); font-size: 9.5px; fill: rgba(154,163,192,0.7); letter-spacing: 0.08em; }

.scm-plot { cursor: pointer; outline: none; }
.scm-plot .lot { fill: rgba(232,236,248,0.025); stroke: rgba(154,163,192,0.42); stroke-width: 1; transition: fill .15s, stroke .15s; vector-effect: non-scaling-stroke; }
.scm-plot .pid { fill: #c9d0e6; font-size: 11px; font-family: var(--mono); font-weight: 600; letter-spacing: 0.04em; }
.scm-plot .pst { fill: rgba(57,255,136,0.75); font-size: 8px; font-weight: 700; letter-spacing: 0.14em; font-family: var(--font); }
.scm-plot .pdot { fill: var(--neon); opacity: 0.8; }
.scm-plot:hover .lot, .scm-plot:focus-visible .lot { fill: rgba(57,255,136,0.08); stroke: var(--neon); }
.scm-plot.sel .lot { fill: rgba(57,255,136,0.14); stroke: var(--neon); stroke-width: 2; }
.scm-plot.claimed .lot { fill: rgba(94,200,255,0.08); stroke: rgba(94,200,255,0.75); }
.scm-plot.landmark .lot { fill: rgba(179,107,255,0.08); stroke: rgba(179,107,255,0.75); }
.scm-plot.landmark .pid { fill: #d9c2ff; }
.scm-plot .bname { fill: var(--text); font-size: 9.5px; font-weight: 600; letter-spacing: 0.04em; }
.scm-plot .ico { fill: none; stroke: rgba(201,208,230,0.75); stroke-width: 1.2; }
.scm-plot.landmark .ico { stroke: rgba(205,170,255,0.9); }
.scm-plot.claimed .ico { stroke: rgba(94,200,255,0.9); }
.scm-plot .ico-floor { stroke: rgba(201,208,230,0.28); stroke-width: 1; }
.scm-plot .ico-chart { fill: none; stroke: var(--neon); stroke-width: 1.6; stroke-linejoin: round; }
.scm-plot .ico-light { fill: var(--warn); }
.scm-plot .ico-smoke { fill: none; stroke: rgba(220,226,240,0.45); stroke-width: 1.2; }
.scm-scale path { fill: none; stroke: rgba(201,208,230,0.55); stroke-width: 1; }
.scm-scale text { fill: rgba(201,208,230,0.6); font-size: 8.5px; font-family: var(--mono); }

.scmap-tools { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; width: 100%; }
.scmap-ctrl { display: flex; gap: 6px; }
.scmap-ctrl button {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: rgba(14,16,32,0.92); color: var(--text); font-size: 1.15rem; font-weight: 700;
  cursor: pointer; display: grid; place-items: center; font-family: inherit;
}
.scmap-ctrl button:hover { border-color: var(--neon); color: var(--neon); }
.scmap-hint { margin: 0; font-size: 0.78rem; color: var(--dim); }
.scmap-pop {
  position: absolute; left: 12px; top: 12px; z-index: 4; width: min(320px, calc(100% - 70px));
  background: rgba(12,14,28,0.97); border: 1px solid var(--line-strong); border-radius: 14px;
  padding: 0.9rem 1rem 1rem; box-shadow: var(--shadow); max-height: calc(100% - 24px); overflow: auto;
}
.scmap-pop[hidden] { display: none; }
.scmap-pop-close {
  position: absolute; top: 6px; right: 8px; background: none; border: 0; color: var(--muted);
  font-size: 1.3rem; cursor: pointer; line-height: 1; padding: 0.2rem 0.35rem;
}
.scmap-pop .pk { font-family: var(--mono); font-size: 0.75rem; color: var(--dim); letter-spacing: 0.06em; }
.scmap-pop h3 { margin: 0.15rem 0 0.4rem; font-size: 1.05rem; padding-right: 1.4rem; }
.scmap-pop p { margin: 0 0 0.5rem; color: var(--muted); font-size: 0.88rem; }
.scmap-pop img { width: 100%; border-radius: 10px; margin: 0.25rem 0 0.6rem; border: 1px solid var(--line); aspect-ratio: 16/10; object-fit: cover; }
.scmap-pop dl { margin: 0 0 0.5rem; display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 0.75rem; font-size: 0.85rem; }
.scmap-pop dt { color: var(--dim); }
.scmap-pop dd { margin: 0; color: var(--text); }
.st { display: inline-block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.15rem 0.5rem; border-radius: 999px; border: 1px solid; }
.st-available_soon { color: var(--warn); border-color: rgba(255,184,77,0.4); background: var(--warn-bg); }
.st-claimed { color: var(--cyan); border-color: rgba(94,200,255,0.4); background: rgba(94,200,255,0.08); }
.st-landmark { color: var(--violet); border-color: rgba(179,107,255,0.45); background: rgba(179,107,255,0.1); }

.scmap-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1.25rem;
  padding: 0.85rem 1.1rem; border-top: 1px solid var(--line); background: rgba(12,14,28,0.95);
}
.scmap-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; font-size: 0.84rem; color: var(--muted); }
.scmap-legend li { display: flex; align-items: center; gap: 0.45rem; }
.scmap-legend svg { width: 28px; height: 18px; flex: none; }
.lg-avail { fill: rgba(232,236,248,0.04); stroke: rgba(154,163,192,0.75); stroke-width: 1.2; }
.lg-avail-dot { fill: var(--neon); }
.lg-claimed { fill: rgba(94,200,255,0.12); stroke: var(--cyan); stroke-width: 1.3; }
.lg-claimed-b { fill: var(--cyan); opacity: 0.8; }
.lg-landmark { fill: rgba(179,107,255,0.14); stroke: var(--violet); stroke-width: 1.3; }
.lg-landmark-b { fill: var(--violet); }
.scmap-stats { margin: 0; font-size: 0.8rem; color: var(--dim); font-family: var(--mono); }
@media (max-width: 640px) {
  .scmap-frame { aspect-ratio: 1200 / 980; }
  .scmap-hint { font-size: 0.66rem; }
  .scmap-pop { left: 8px; right: 8px; top: auto; bottom: 8px; width: auto; max-height: 70%; }
}

/* mobile overflow fix: long CA / links wrap instead of widening the page */
.step > div { min-width: 0; }
.step p, .step a, .mono, .ca-code, .footer-ca, .faq .ans { overflow-wrap: anywhere; word-break: break-word; }
.scm-deco .pier { fill: #1a1e3a; stroke: rgba(94,200,255,0.35); }
.scm-deco .boat { fill: #141833; stroke: rgba(94,200,255,0.5); stroke-width: 1; }
.scm-deco .tree circle { fill: rgba(179,107,255,0.35); stroke: rgba(179,107,255,0.7); stroke-width: 1; }
.scm-deco .lamps circle { fill: rgba(255,184,77,0.85); }
.scm-plot .curb-hood { fill: #12141f; stroke: var(--neon); stroke-width: 1.4; }
.scm-plot .curb-face { fill: #3fae5a; }

/* Map intro, district postcards, coming-soon visual, community banner */
.map-aerial, .comm-banner {
  position: relative; margin: 0 0 1rem; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line-strong); background: var(--bg-elev);
}
.map-aerial img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.comm-banner img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.map-aerial figcaption, .comm-banner figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.1rem 0.8rem;
  background: linear-gradient(180deg, transparent, rgba(7,8,15,0.88)); color: var(--muted); font-size: 0.88rem;
}
.map-aerial figcaption span { display: block; color: var(--neon); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.75rem; }
.comm-banner { margin-bottom: 1.25rem; }
.district-cards {
  display: grid; gap: 0.75rem; grid-template-columns: repeat(5, 1fr); margin: 0 0 1.25rem;
}
@media (max-width: 900px) { .district-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .district-cards { grid-template-columns: repeat(2, 1fr); } }
.district-card {
  position: relative; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: var(--bg-card); cursor: pointer; color: var(--text); font: inherit; text-align: left;
  transition: border-color .2s, transform .2s;
}
.district-card:hover, .district-card:focus-visible { border-color: var(--neon); transform: translateY(-2px); }
.district-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.district-card .dc-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 0.65rem 0.5rem;
  background: linear-gradient(180deg, transparent, rgba(7,8,15,0.92));
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.coming-soon-visual { position: relative; margin: 0; }
.coming-soon-visual img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.coming-soon-tag {
  position: absolute; top: 12px; left: 12px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--warn); background: rgba(7,8,15,0.8);
  border: 1px solid rgba(255,184,77,0.4); padding: 0.3rem 0.65rem; border-radius: 999px;
}
@media (max-width: 640px) {
  .map-aerial img, .comm-banner img, .coming-soon-visual img { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) { .scmap-pop img { aspect-ratio: 16 / 7; } .pop-photo { aspect-ratio: 16 / 7; } }

/* Buildings: CTA, safety, milestone */
.badge-live { color: var(--neon) !important; background: var(--neon-soft) !important; border-color: rgba(57,255,136,0.4) !important; }
.coming-soon-body .links-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.3rem 0 0.9rem; }
.safety-note {
  font-size: 0.86rem; color: var(--muted); background: var(--warn-bg); border: 1px solid rgba(255,184,77,0.3);
  border-radius: 10px; padding: 0.6rem 0.8rem; margin: 0 0 1.1rem !important;
}
.safety-note strong { color: var(--warn); }
.milestone {
  border: 1px solid rgba(179,107,255,0.4); background: linear-gradient(135deg, rgba(179,107,255,0.10), rgba(57,255,136,0.05));
  border-radius: 14px; padding: 1rem 1.1rem; margin: 0 0 1.2rem;
}
.milestone .badge { color: var(--violet) !important; background: rgba(179,107,255,0.1) !important; border-color: rgba(179,107,255,0.45) !important; }
.milestone h3 { margin: 0 0 0.4rem; font-size: 1.1rem; }
.milestone p { margin: 0 0 0.5rem; }
.milestone .fine { margin: 0; }
.perk-h { margin: 0 0 0.4rem; font-size: 1.05rem; }
.coming-soon-tag { color: var(--neon) !important; border-color: rgba(57,255,136,0.45) !important; }
.hero-milestone {
  margin: 0.9rem 0 0; font-size: 0.9rem; color: var(--muted); max-width: 560px;
  border-left: 2px solid var(--violet); padding: 0.15rem 0 0.15rem 0.75rem;
}
.hero-milestone span { display: block; color: var(--violet); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.scmap-cta { display: inline-flex; margin: 0.2rem 0 0.6rem; font-size: 0.85rem; padding: 0.55rem 0.9rem; }
.scmap-pop .pop-safe { font-size: 0.78rem; color: var(--dim); margin: 0; }

/* ===== Plot tiers (VIP / PRIME / STANDARD) ===== */
:root { --gold: #ffcf5a; }
.scm-district .tbadge-t { font-size: 8.5px; font-weight: 800; letter-spacing: 0.12em; font-family: var(--font); }
.scm-plot.tier-vip .lot { stroke: rgba(255,207,90,0.6); fill: rgba(255,207,90,0.035); }
.scm-plot.tier-prime .lot { stroke: rgba(179,107,255,0.6); fill: rgba(179,107,255,0.035); }
.scm-plot.tier-standard .lot { stroke: rgba(57,255,136,0.45); fill: rgba(57,255,136,0.02); }
.scm-plot.tier-vip .pst { fill: rgba(255,207,90,0.85); } .scm-plot.tier-vip .pdot { fill: var(--gold); }
.scm-plot.tier-prime .pst { fill: rgba(205,170,255,0.9); } .scm-plot.tier-prime .pdot { fill: var(--violet); }
.scm-plot.tier-vip:hover .lot, .scm-plot.tier-vip:focus-visible .lot, .scm-plot.tier-vip.sel .lot { stroke: var(--gold); fill: rgba(255,207,90,0.12); }
.scm-plot.tier-prime:hover .lot, .scm-plot.tier-prime:focus-visible .lot, .scm-plot.tier-prime.sel .lot { stroke: var(--violet); fill: rgba(179,107,255,0.12); }
.scm-plot.tier-standard:hover .lot, .scm-plot.tier-standard:focus-visible .lot, .scm-plot.tier-standard.sel .lot { stroke: var(--neon); fill: rgba(57,255,136,0.10); }
.scm-plot.sel .lot { stroke-width: 2; }
/* claimed (cyan) and landmark (silver) override tier tint */
.scm-plot.claimed .lot { fill: rgba(94,200,255,0.10); stroke: rgba(94,200,255,0.85); }
.scm-plot.landmark .lot { fill: rgba(223,230,255,0.06); stroke: rgba(223,230,255,0.7); }
.scm-plot.landmark .pid { fill: #e6ebff; }
.scm-plot.landmark .ico { stroke: rgba(223,230,255,0.85); }
.lg-landmark { fill: rgba(223,230,255,0.08) !important; stroke: rgba(223,230,255,0.75) !important; }
.lg-landmark-b { fill: #dfe6ff !important; }
.lg-vip { fill: rgba(255,207,90,0.08); stroke: var(--gold); stroke-width: 1.4; }
.lg-prime { fill: rgba(179,107,255,0.08); stroke: var(--violet); stroke-width: 1.4; }
.lg-standard { fill: rgba(57,255,136,0.06); stroke: var(--neon); stroke-width: 1.4; }
.lg-avail { stroke: rgba(201,208,230,0.75) !important; }
.lg-avail-dot { fill: #c9d0e6 !important; }
.scmap-legends { display: grid; gap: 0.55rem; }
.tier {
  display: inline-block; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.12em; line-height: 1;
  padding: 0.22rem 0.5rem; border-radius: 999px; border: 1px solid; vertical-align: middle;
}
.tier-vip { color: var(--gold); border-color: rgba(255,207,90,0.55); background: rgba(255,207,90,0.12); }
.tier-dev { color: var(--gold); border-color: rgba(255,207,90,0.75); background: rgba(255,207,90,0.18); box-shadow: 0 0 10px rgba(255,207,90,0.25); }
.tier-prime { color: #cdaaff; border-color: rgba(179,107,255,0.55); background: rgba(179,107,255,0.12); }
.tier-standard { color: var(--neon); border-color: rgba(57,255,136,0.5); background: rgba(57,255,136,0.10); }
.pop-badges { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: center; }
.pop-flavour { color: var(--text) !important; font-style: italic; }
.pop-quote { margin: 0 0 0.6rem; padding: 0.5rem 0.7rem; border-left: 2px solid var(--cyan); background: rgba(94,200,255,0.06); border-radius: 0 8px 8px 0; }
.pop-quote p { margin: 0 0 0.2rem !important; color: var(--text) !important; font-style: italic; }
.pop-quote cite { font-size: 0.78rem; color: var(--dim); font-style: normal; }
.district-card .dc-cap { display: grid; gap: 0.2rem; text-transform: none; letter-spacing: normal; font-weight: 400; padding: 1.6rem 0.65rem 0.6rem; }
.district-card .dc-cap .tier { justify-self: start; }
.district-card .dc-cap strong { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.district-card .dc-cap em { font-size: 0.74rem; color: var(--muted); line-height: 1.35; }

/* ===== Building Catalog ===== */
.cat-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-bottom: 1.1rem; }
.cat-tiers { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.cat-tiers button {
  font: inherit; font-size: 0.85rem; font-weight: 600; color: var(--muted); background: var(--bg-card);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.4rem 0.9rem; cursor: pointer;
}
.cat-tiers button.active { color: #04140a; background: var(--neon); border-color: var(--neon); }
.cat-tiers button[data-tier="vip"].active { background: var(--gold); border-color: var(--gold); }
.cat-tiers button[data-tier="prime"].active { background: var(--violet); border-color: var(--violet); color: #12061f; }
.cat-district { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--muted); }
.cat-district select {
  font: inherit; font-size: 0.85rem; color: var(--text); background: var(--bg-card); border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 0.4rem 0.6rem;
}
.cat-count { margin: 0 0 0 auto; font-family: var(--mono); font-size: 0.8rem; color: var(--dim); }
.cat-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.bcard {
  display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden; transition: border-color .2s, transform .2s;
}
.bcard[hidden] { display: none; }
.bcard.tier-vip { border-color: rgba(255,207,90,0.35); }
.bcard.tier-prime { border-color: rgba(179,107,255,0.35); }
.bcard.tier-standard { border-color: rgba(57,255,136,0.25); }
.bcard:hover { transform: translateY(-2px); }
.bcard.flash { animation: bflash 1.6s ease; }
@keyframes bflash { 0%, 60% { box-shadow: 0 0 0 3px var(--neon); } 100% { box-shadow: none; } }
.bcard-media { position: relative; aspect-ratio: 4 / 3; background: #0b0d1b; overflow: hidden; }
.bcard-media img, .bcard-media .silo { width: 100%; height: 100%; object-fit: cover; display: block; }
.bcard-soon {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); white-space: nowrap;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  background: rgba(7,8,15,0.8); border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem 0.6rem;
}
.bcard-id {
  position: absolute; top: 8px; left: 8px; font-family: var(--mono); font-size: 0.75rem; font-weight: 600;
  color: var(--text); background: rgba(7,8,15,0.82); border: 1px solid var(--line-strong); border-radius: 6px; padding: 0.12rem 0.45rem;
}
.bcard-tier { position: absolute; top: 8px; right: 8px; }
.bcard-body { padding: 0.8rem 0.9rem 0.95rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.bcard-kicker { font-size: 0.72rem; color: var(--dim); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; }
.bcard h3 { margin: 0; font-size: 0.98rem; line-height: 1.3; }
.bcard-tag { margin: 0; font-size: 0.84rem; color: var(--muted); }
.bcard-status { margin: 0.1rem 0 0; font-size: 0.82rem; color: var(--muted); }
.bcard-hint { margin: 0; font-size: 0.76rem; color: var(--dim); }
.bcard-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: auto; padding-top: 0.4rem; }
.bcard-actions .btn { font-size: 0.8rem; padding: 0.5rem 0.75rem; margin: 0; }
.cat-note { margin-top: 1.1rem !important; }
.pop-silo { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); margin: 0.25rem 0 0.6rem; aspect-ratio: 16/10; }
.pop-silo .silo { width: 100%; height: 100%; display: block; }
.pop-silo .pop-silo-l { z-index: 4;  position: absolute; left: 8px; bottom: 6px; font-size: 0.7rem; color: var(--muted); background: rgba(7,8,15,0.8); padding: 0.1rem 0.45rem; border-radius: 999px; }
@media (max-width: 560px) { .cat-count { margin-left: 0; width: 100%; } .cat-grid { grid-template-columns: 1fr; gap: 0.75rem; } .bcard-actions .btn { width: 100%; justify-content: center; } }
.cat-more-row { display: flex; justify-content: center; margin-top: 1rem; }
.cat-more-row .btn[hidden] { display: none; }
.bcard .bcard-actions .btn { font-size: 0.78rem; padding: 0.45rem 0.7rem; line-height: 1.25; box-shadow: none; }
.scmap-pop .scmap-cta { font-size: 0.82rem; padding: 0.5rem 0.8rem; line-height: 1.25; box-shadow: none; }

/* ===== Animated building photos (popup + catalog), CSS only ===== */
.pop-photo { position: relative; overflow: hidden; border-radius: 10px; margin: 0.25rem 0 0.6rem; border: 1px solid var(--line); aspect-ratio: 16/10; background: #0b0d1b; }
.scmap-pop .pop-photo img { width: 100%; height: 100%; margin: 0; border: 0; border-radius: 0; aspect-ratio: auto; object-fit: cover; display: block; }
.alive { --glow: var(--green); isolation: isolate; }
.alive img { transform-origin: 50% 60%; will-change: transform; }
.alive::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2; border-radius: inherit;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--glow) 55%, transparent), inset 0 0 26px color-mix(in srgb, var(--glow) 38%, transparent);
  background: radial-gradient(120% 70% at 50% 110%, color-mix(in srgb, var(--glow) 22%, transparent), transparent 60%); mix-blend-mode: screen; opacity: 0.75; }
.alive-sweep { position: absolute; inset: -20% -60%; z-index: 3; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,0.16) 49%, color-mix(in srgb, var(--glow) 30%, transparent) 51%, transparent 58%); mix-blend-mode: screen; }
.alive-fx { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.alive-fx i { position: absolute; bottom: -8px; width: 4px; height: 4px; border-radius: 50%; background: color-mix(in srgb, var(--glow) 70%, white); box-shadow: 0 0 8px 2px color-mix(in srgb, var(--glow) 60%, transparent); opacity: 0; }
.alive-fx i:nth-child(1) { left: 12%; animation-delay: 0s; }
.alive-fx i:nth-child(2) { left: 27%; animation-delay: 2.1s; width: 3px; height: 3px; }
.alive-fx i:nth-child(3) { left: 44%; animation-delay: 4.3s; }
.alive-fx i:nth-child(4) { left: 58%; animation-delay: 1.2s; width: 3px; height: 3px; }
.alive-fx i:nth-child(5) { left: 71%; animation-delay: 3.4s; }
.alive-fx i:nth-child(6) { left: 85%; animation-delay: 5.2s; width: 3px; height: 3px; }
.alive-fx i:nth-child(7) { left: 36%; animation-delay: 6.1s; width: 6px; height: 6px; filter: blur(2px); }
.alive-fx::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: -20%; height: 55%; background: radial-gradient(60% 60% at 50% 100%, rgba(200,205,230,0.14), transparent 70%); filter: blur(6px); }
.alive.on img { animation: kb 18s ease-in-out infinite alternate; }
.alive.on::after { animation: neonflick 6s steps(1, end) infinite; }
.alive.on .alive-sweep { animation: sweep 7s ease-in-out infinite; }
.alive.on .alive-fx i { animation-name: floatp; animation-duration: 7s; animation-timing-function: linear; animation-iteration-count: infinite; }
.alive.on .alive-fx::before { animation: haze 9s ease-in-out infinite alternate; }
.bcard-media.alive .bcard-id, .bcard-media.alive .bcard-tier { z-index: 4; }
@keyframes kb { 0% { transform: scale(1.02) translate(0, 0); } 100% { transform: scale(1.12) translate(-2.5%, -2%); } }
@keyframes neonflick { 0%, 100% { opacity: 0.75; } 41% { opacity: 0.45; } 42% { opacity: 0.85; } 44% { opacity: 0.5; } 45% { opacity: 0.8; } 78% { opacity: 0.95; } 80% { opacity: 0.7; } }
@keyframes sweep { 0%, 55% { transform: translateX(-60%); opacity: 0; } 62% { opacity: 1; } 85%, 100% { transform: translateX(60%); opacity: 0; } }
@keyframes floatp { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: 0.9; } 70% { opacity: 0.6; } 100% { transform: translate(14px, -120px); opacity: 0; } }
@keyframes haze { 0% { transform: translateX(-4%); opacity: 0.6; } 100% { transform: translateX(4%); opacity: 1; } }
@media (max-width: 640px) {
  .alive-fx i:nth-child(n+5) { display: none; }
  .alive-fx::before { filter: none; }
  .alive.on img { animation-duration: 24s; }
}
@media (prefers-reduced-motion: reduce) {
  .alive img, .alive::after, .alive-sweep, .alive-fx i, .alive-fx::before { animation: none !important; }
  .alive-fx i, .alive-sweep { display: none; }
}
.unnamed { display: inline-block; font-size: 0.72rem; font-weight: 600; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: 999px; padding: 0.18rem 0.6rem; }
.bcard-un { margin: 0; }

/* ===== L3 · The Dev Tower (featured centre landmark) ===== */
.scm-plot.featured .halo { fill: none; stroke: #ffcf5a; stroke-width: 2; stroke-opacity: 0.55; filter: url(#scm-glow); }
.scm-plot.featured .lot { fill: rgba(255,207,90,0.08); stroke: #ffcf5a; stroke-width: 2; }
.scm-plot.featured .pid { fill: #ffcf5a; font-size: 13px; }
.scm-plot.featured .bname { fill: #ffe39a; font-weight: 700; }
.scm-plot.featured .ico.dev { stroke: #ffcf5a; }
.scm-plot.featured .ico-floor.dev { stroke: rgba(255,207,90,0.55); }
.scm-plot.featured:hover .lot, .scm-plot.featured.sel .lot { fill: rgba(255,207,90,0.16); }
.scm-plot.featured .halo { animation: devpulse 3.2s ease-in-out infinite; }
@keyframes devpulse { 0%, 100% { stroke-opacity: 0.35; } 50% { stroke-opacity: 0.9; } }
@media (prefers-reduced-motion: reduce) { .scm-plot.featured .halo { animation: none; } }
.pop-silo.alive .silo { position: relative; z-index: 1; }

.devband { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 0; margin: 1.5rem 0; border: 1px solid rgba(255,207,90,0.45); border-radius: 18px; overflow: hidden; background: linear-gradient(120deg, rgba(255,207,90,0.07), rgba(57,255,136,0.04)); box-shadow: 0 0 32px rgba(255,207,90,0.12); }
.devband-media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #07080f; }
.devband-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.devband-copy { padding: 1.4rem 1.5rem; display: flex; flex-direction: column; justify-content: center; gap: 0.6rem; min-width: 0; }
.devband-copy h3 { margin: 0; font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: #ffe39a; }
.devband-copy p { margin: 0; color: var(--muted); }
.devband-kicker { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.tbadge-dev { font-weight: 700; color: #ffcf5a; border: 1px solid rgba(255,207,90,0.6); background: rgba(255,207,90,0.12); border-radius: 999px; padding: 0.1rem 0.55rem; }
.devband-copy .btn { align-self: flex-start; }
@media (max-width: 760px) { .devband { grid-template-columns: 1fr; } .devband-copy { padding: 1rem 1.1rem 1.2rem; } }
.lg-dev { fill: rgba(255,207,90,0.14); stroke: #ffcf5a; stroke-width: 1.6; }
.lg-dev-b { fill: #ffcf5a; }
