/* Overworld web (go.tandevs.com). Neon Drift palette, same as the app's default theme. */
@font-face {
  font-family: "Orbitron";
  src: url("/fonts/Orbitron.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}
:root {
  --bg: #0b0820;
  --panel: #151033;
  --line: #2a2160;
  --text: #e8e6ff;
  --muted: #a49fd0;
  --accent: #27e6ff;
  --accent-2: #ff3df2;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: radial-gradient(1200px 600px at 20% -10%, #24135c 0%, var(--bg) 60%) fixed, var(--bg);
  color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
}
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.wrap { max-width: 960px; margin: 0 auto; padding: 24px 20px; }
.brand {
  font-family: "Orbitron", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  text-shadow: 0 0 12px rgba(39, 230, 255, 0.6);
}
header.top { display: flex; align-items: center; justify-content: space-between; }
h1, h2 { font-family: "Orbitron", system-ui, sans-serif; letter-spacing: 0.03em; line-height: 1.2; }
.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid var(--accent);
  background: rgba(39, 230, 255, 0.12);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 18px rgba(39, 230, 255, 0.25);
}
.btn.primary { background: var(--accent); color: #05131a; }
.btn.ghost { border-color: var(--line); background: transparent; box-shadow: none; }
.muted { color: var(--muted); }
footer.site { border-top: 1px solid var(--line); margin-top: 48px; padding: 20px 0; font-size: 14px; color: var(--muted); }
footer.site a { color: var(--muted); }
footer.site nav a + a { margin-left: 16px; }

/* Landing */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding: 32px 0; }
.hero h1 { font-size: clamp(32px, 6vw, 56px); margin: 0 0 12px; }
.hero h1 span { color: var(--accent); text-shadow: 0 0 18px rgba(39, 230, 255, 0.7); }
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0 0 24px; }
.shots { display: flex; gap: 14px; justify-content: center; }
.shots img {
  width: 46%; max-width: 220px; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: 18px; border: 1px solid var(--line); background: var(--panel);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.shots img:nth-child(2) { transform: translateY(24px); }
@media (max-width: 720px) { .hero { grid-template-columns: 1fr; } }

/* Place page */
body.place { display: flex; flex-direction: column; height: 100vh; height: 100dvh; min-height: 0; }
body.place header.top { padding: 12px 16px; }
#map { flex: 1; min-height: 240px; background: var(--panel); }
.card {
  background: var(--panel); border-top: 1px solid var(--line);
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
}
.card h1 { font-size: 22px; margin: 0 0 4px; overflow-wrap: anywhere; }
.card .coords { font-size: 14px; margin: 0 0 14px; }
.card .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.card .error { color: #ff8a8a; }
.pin {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--pin, var(--accent)); border: 3px solid #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.15), 0 0 24px var(--pin, var(--accent));
}

/* Text pages */
article.doc { max-width: 760px; }
article.doc h1 { font-size: 32px; }
article.doc h2 { font-size: 20px; margin-top: 32px; }
article.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
article.doc th, article.doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.tag { display: inline-block; font-size: 12px; padding: 1px 8px; border-radius: 99px; border: 1px solid var(--accent-2); color: var(--accent-2); vertical-align: middle; }

/* P6: meet-up banner and gift page */
.meet { display: inline-block; margin: 0 0 8px; padding: 6px 12px; border-radius: 999px; background: rgba(39, 230, 255, 0.14); color: #27e6ff; font-weight: 700; }
.gift-card { text-align: center; padding-top: 24px; }
.gift-preview { display: block; margin: 0 auto 18px; width: 220px; height: auto; border-radius: 18px; border: 3px solid #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.small { font-size: 0.85rem; }
