/* Prove Me Wrong site: dark warm cave, cream text, candle orange, brass. Mobile first. */
:root {
  --bg: #1b1410;
  --bg-deep: #120d0a;
  --card: #2a1f18;
  --line: #4a3626;
  --text: #f3e6c8;
  --muted: #cdbb98;
  --candle: #f08a24;
  --candle-hi: #ffa64a;
  --brass: #c9a24a;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  background: radial-gradient(ellipse at 50% 0%, #3a2416 0%, var(--bg) 55%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
}

.wrap {
  max-width: 460px;
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.brand {
  text-align: center;
  padding-top: 8px;
}

.brand a, .brand span {
  color: var(--brass);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  font-size: 15px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45), 0 0 60px rgba(240, 138, 36, 0.08);
}

.card:empty { display: none; }

.card p, .card h1 { margin: 0; }

.featured {
  color: var(--candle);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.picture {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.tier {
  color: var(--brass);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dare {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 800;
}

.title {
  font-size: 34px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.note {
  color: var(--muted);
  font-size: 15px;
}

.tagline {
  color: var(--candle);
  font-weight: 800;
  font-size: 20px;
  font-style: italic;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 12px 18px;
  border-radius: 14px;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  -webkit-tap-highlight-color: transparent;
}

.btn-main {
  background: var(--candle);
  color: #1b1007;
  box-shadow: 0 4px 0 #a85a12;
}

.btn-main:active { background: var(--candle-hi); transform: translateY(2px); box-shadow: 0 2px 0 #a85a12; }

.btn-second, .btn-quiet {
  background: transparent;
  color: var(--text);
  border-color: var(--brass);
}

.btn-quiet { border-color: var(--line); color: var(--muted); }

.btn:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }

.code-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: var(--bg-deep);
  border: 1px dashed var(--brass);
}

.code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Roboto Mono", "Liberation Mono", monospace;
  font-size: clamp(16px, 5.4vw, 22px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  overflow-wrap: anywhere;
  user-select: all;
  -webkit-user-select: all;
}

.btn-copy {
  background: var(--brass);
  color: #1b1007;
  min-height: 48px;
}

.copy-status { min-height: 1.2em; color: var(--muted); font-size: 14px; }

.copy-status:empty { display: none; }

.qr-box { display: flex; justify-content: center; }

.qr {
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: 10px;
}

.foot {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.foot a { color: var(--muted); }

noscript p { margin: 0 0 12px; }

@media (min-width: 700px) {
  .wrap { padding-top: 48px; }
  .dare { font-size: 30px; }
  .card { padding: 32px 28px; }
}
