/* Balloon Pop Quest — shared site styles.
   Palette matches the app's sunset/candy theme (src/theme/palette.ts). */

:root {
  --sky-top: #ff8a6b;
  --sky-mid: #ffc48c;
  --sky-bottom: #b79ce8;
  --accent: #ff3d6e;
  --accent-deep: #c42b53;
  --ink: #2a1b3d;
  --ink-muted: #6b5b7e;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-border: rgba(42, 27, 61, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 50%, var(--sky-bottom) 100%);
  background-attachment: fixed;
  line-height: 1.6;
}

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

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  color: #fff6f0;
}

.brand .balloon {
  font-size: 1.1em;
}

.brand h1 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.4px;
  margin: 0;
  color: #fff6f0;
  text-shadow: 0 2px 6px rgba(42, 27, 61, 0.25);
}

nav.crumbs a {
  color: #fff6f0;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.4px;
  text-decoration: none;
  opacity: 0.9;
}

nav.crumbs a:hover {
  text-decoration: underline;
}

main.card {
  background: var(--surface);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 12px 32px rgba(42, 27, 61, 0.18);
}

main.card h1 {
  font-size: 28px;
  font-weight: 900;
  margin: 0 0 4px;
  color: var(--ink);
}

.tagline {
  color: var(--ink-muted);
  font-weight: 600;
  margin: 0 0 24px;
}

.meta {
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 24px;
}

h2 {
  font-size: 18px;
  font-weight: 800;
  margin: 28px 0 10px;
  color: var(--ink);
}

h2:first-of-type {
  margin-top: 8px;
}

p, li {
  font-size: 15.5px;
  color: var(--ink);
}

ul {
  padding-left: 22px;
}

a {
  color: var(--accent-deep);
}

a:hover {
  color: var(--accent);
}

.pill-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 4px;
}

.pill {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(196, 43, 83, 0.35);
}

.pill:hover {
  background: var(--accent-deep);
  color: #fff;
}

.pill.secondary {
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
  box-shadow: none;
  border: 1px solid var(--surface-border);
}

.pill.secondary:hover {
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
}

details {
  border-bottom: 1px solid var(--surface-border);
  padding: 14px 0;
}

details:last-of-type {
  border-bottom: none;
}

summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-deep);
  transition: transform 0.15s ease;
  flex-shrink: 0;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  margin: 10px 0 4px;
  color: var(--ink-muted);
}

.contact-box {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255, 61, 110, 0.08);
  border: 1px solid rgba(255, 61, 110, 0.18);
}

.contact-box p {
  margin: 0;
}

footer.site {
  text-align: center;
  margin-top: 28px;
  color: #fff6f0;
  opacity: 0.85;
  font-size: 13px;
}

footer.site a {
  color: #fff6f0;
  text-decoration: underline;
}
