/* landing/style.css — shared by the default page and all per-event pages.
   Mobile-first, self-contained (no framework, no CDN). Dark-studio DNA. */

:root {
  --bg: #111;
  --surface: #1a1a1a;
  --fg: #fff;
  --muted: #9a9a9a;
  --accent: #37e0ff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

/* centered mobile column */
#landing, .state {
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 16px;
}

#landing h1 {
  font-size: 1.8rem;
  margin: 0 0 4px;
}

.tagline {
  color: var(--muted);
  margin: 0 0 20px;
}

/* hide the empty photo frame while the image is still loading
   (main.js clears img.hidden on onload to reveal it) */
#photo[hidden] { display: none; }

/* full-width photo with a subtle frame */
#photo {
  display: block;
  width: 100%;
  height: auto;
  border: 4px solid var(--surface);
  outline: 1px solid #333;
  border-radius: 8px;
  background: var(--surface);
}

/* centered muted status text (loading / bad-ref / expired) */
.state {
  text-align: center;
  color: var(--muted);
  padding-top: 64px;
}

/* stacked full-width actions */
.actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.actions a, .actions button {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.actions a:active, .actions button:active {
  background: var(--accent);
  color: var(--bg);
}

/* promo card */
.promo {
  margin-top: 28px;
  padding: 16px;
  border: 1px solid #333;
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  background: var(--surface);
}

.promo h2 {
  font-size: 1.1rem;
  margin: 0 0 4px;
}

.promo p {
  margin: 0;
  color: var(--muted);
}
