/* QuestDay site — deep purple + electric yellow, mobile-first. */
:root {
  --bg: #140a26;
  --bg-deep: #0d0519;
  --panel: #1f1038;
  --line: #3a2566;
  --purple: #7c3aed;
  --violet: #a78bfa;
  --yellow: #facc15;
  --yellow-hi: #fde047;
  --text: #f3eeff;
  --dim: #b5a6d9;
  --faint: #7e6ba8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding: 0 20px;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 48px 0 64px; }

/* Wordmark / hero */
.pixel { font-family: "Press Start 2P", "Courier New", monospace; }

.hero { text-align: center; padding: 40px 0 24px; }
.hero .logo {
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: clamp(22px, 7vw, 40px);
  color: var(--yellow);
  letter-spacing: 2px;
  display: inline-block;
  animation: logoPulse 3.4s ease-in-out infinite;
  will-change: text-shadow, transform;
}

/* Gentle breathing glow — a faint mist that swells around the wordmark. */
@keyframes logoPulse {
  0%, 100% {
    text-shadow: 0 0 10px rgba(250, 204, 21, 0.32), 0 0 24px rgba(250, 204, 21, 0.10);
    transform: scale(1);
  }
  50% {
    text-shadow: 0 0 18px rgba(250, 204, 21, 0.55), 0 0 38px rgba(250, 204, 21, 0.22);
    transform: scale(1.015);
  }
}

/* Respect users who prefer less motion. */
@media (prefers-reduced-motion: reduce) {
  .hero .logo { animation: none; text-shadow: 0 0 14px rgba(250, 204, 21, 0.5); }
}
.hero .tag { color: var(--dim); margin-top: 14px; font-weight: 600; letter-spacing: 1px; }

/* Sections */
section { margin-top: 40px; }
h1 { font-size: clamp(22px, 5vw, 30px); color: var(--yellow); margin-bottom: 8px; }
h2 {
  font-family: "Press Start 2P", "Courier New", monospace;
  font-size: 13px;
  color: var(--yellow);
  letter-spacing: 1px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
h3 { font-size: 17px; color: var(--violet); margin: 22px 0 6px; }
p, li { color: var(--dim); margin-bottom: 12px; }
strong { color: var(--text); }
a { color: var(--yellow-hi); }
ul { padding-left: 22px; margin-bottom: 12px; }

.lead { font-size: 18px; color: var(--text); text-align: center; }
.zones { white-space: nowrap; }
.zones .pix {
  width: 1.25em;
  height: 1.25em;
  vertical-align: -0.22em;
  margin: 0 1px;
  shape-rendering: crispEdges; /* keep the pixels hard-edged, not blurred */
  opacity: 0.92;               /* a touch muted so they sit in the palette */
}

/* Icons on their own centred line under the lead */
.zones-row { text-align: center; margin-top: 22px; }
.zones-row .pix { width: 36px; height: 36px; vertical-align: middle; margin: 0 5px; }
.muted { color: var(--faint); font-size: 14px; }
.updated { color: var(--faint); font-size: 14px; margin-bottom: 28px; }

/* Cards / panels */
.card {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
}

/* Centered sections (download + feedback) */
.centered { text-align: center; }
.centered .btns { justify-content: center; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 16px 22px;
  border-radius: 14px;
  background: var(--yellow);
  color: var(--bg-deep);
  box-shadow: 0 0 14px rgba(250, 204, 21, 0.3);
}
.btn.violet { background: var(--purple); color: #fff; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--text); border: 2px solid var(--line); box-shadow: none; }
.btn:active { transform: translateY(2px); }

.note { color: var(--faint); font-size: 13px; margin-top: 12px; }

/* Footer */
footer { margin-top: 56px; padding-top: 24px; border-top: 2px solid var(--line); text-align: center; }
footer nav { margin-bottom: 10px; }
footer a { margin: 0 8px; }
footer .copy { color: var(--faint); font-size: 13px; }

/* Back link on subpages */
.back { display: inline-block; margin-bottom: 24px; color: var(--violet); text-decoration: none; font-weight: 700; }
