:root {
  --accent: #c2410c;
  --ink: #1d1d1f;
  --muted: #5b5f66;
  --bg: #f6f5f2;
  --card: #ffffff;
  --line: #e4e1da;
  --cta: #ffd43b;
  --hl: #ffd43b;
}
.angle-giveaways { --accent: #5b21b6; }
.angle-rewards { --accent: #0e7490; }
.angle-cash-prizes { --accent: #2f7d32; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Angle pages: shared ---------- */
.adbar {
  background: rgba(0, 0, 0, .35);
  color: #f1f1f1;
  font-size: 12px;
  text-align: center;
  padding: 6px 16px;
  letter-spacing: .02em;
}
.lp main {
  max-width: 480px;
  min-height: calc(100vh - 29px);
  min-height: calc(100svh - 29px);
  margin: 0 auto;
  padding: 24px 16px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.art { display: block; width: clamp(96px, 34vw, 150px); height: clamp(96px, 34vw, 150px); color: #fff; }
.art svg { display: block; width: 100%; height: 100%; }
.art .hl { fill: var(--hl); }
.art .hl-stroke { stroke: var(--hl); }
.nw { white-space: nowrap; }
.prize {
  margin: 8px 0 0;
  font-size: clamp(38px, 13vw, 52px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.02em;
  white-space: nowrap;
  color: var(--cta);
}
.lp h1 { font-size: clamp(24px, 7.6vw, 30px); line-height: 1.15; margin: 12px 0 8px; }
.sub { font-size: clamp(16px, 4.6vw, 18px); margin: 0 0 22px; opacity: .92; }

.cta {
  display: block;
  width: 100%;
  background: var(--cta);
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: clamp(17px, 5.3vw, 21px);
  white-space: nowrap;
  padding: clamp(14px, 4.4vw, 18px) 16px;
  border-radius: 14px;
  box-shadow: 0 6px 0 rgba(0, 0, 0, .25);
  animation: pulse 1.8s ease-in-out infinite;
}
.cta:active { transform: translateY(3px); box-shadow: 0 3px 0 rgba(0, 0, 0, .25); }
.cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }

.fine { font-size: 12px; margin: 14px 0 0; opacity: .8; }

.lp .site-footer { max-width: none; background: rgba(0, 0, 0, .3); color: #e8e8e8; padding: 16px 16px 32px; }
.lp .site-footer > * { max-width: 480px; margin-left: auto; margin-right: auto; }
.lp .site-footer a { color: #e8e8e8; }

/* ---------- Layout: hero (V1) ---------- */
body.hero { background: var(--accent); color: #fff; }

/* ---------- Layout: ticket (V2) ---------- */
body.ticket { background: var(--accent); color: var(--ink); }
.card-ticket {
  --pad: clamp(14px, 5vw, 20px);
  width: 100%;
  background: #fff;
  border-radius: 18px;
  padding: 22px var(--pad);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
  overflow: hidden; /* clips the tear-line circles into notches */
}
.label {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.ticket .art { width: clamp(72px, 26vw, 110px); height: clamp(72px, 26vw, 110px); margin: 14px auto 0; color: var(--accent); }
.ticket .prize { color: var(--accent); }
.ticket .sub, .ticket .fine { color: var(--muted); opacity: 1; }
.tear { position: relative; border-top: 2px dashed var(--line); margin: 0 calc(-1 * var(--pad)) 20px; }
.tear::before, .tear::after {
  content: "";
  position: absolute;
  top: -12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
}
.tear::before { left: -11px; }
.tear::after { right: -11px; }
.ticket .cta { background: var(--accent); color: #fff; }
.ticket .cta:focus-visible { outline-color: var(--ink); }

/* ---------- Layout: question (V3) ---------- */
body.question { background: #111318; color: #fff; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #c9f7d1;
  font-size: 14px;
  font-weight: 700;
}
.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ddc61;
  animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: .25; } }
.question h1 { font-size: clamp(28px, 9.4vw, 36px); line-height: 1.12; margin: 0 0 12px; }
.question .sub { opacity: .75; }

/* Short screens (e.g. 320x568): tighten vertical space so the CTA stays visible. */
@media (max-height: 620px) {
  .lp main { padding-top: 14px; padding-bottom: 16px; }
  .art { width: 88px; height: 88px; }
  .ticket .art { width: 64px; height: 64px; margin-top: 10px; }
  .card-ticket { padding-top: 16px; padding-bottom: 16px; }
  .lp h1 { margin-top: 8px; }
  .sub { margin-bottom: 16px; }
  .tear { margin-bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) { .cta, .badge::before { animation: none; } }

/* ---------- Home and legal pages ---------- */
.site-header, .wrap, .site-footer { max-width: 560px; margin: 0 auto; }
.site-header { padding: 14px 16px; }
.brand { font-weight: 800; font-size: 18px; color: var(--ink); text-decoration: none; }
.brand span { color: var(--accent); }

.wrap { padding: 0 16px 24px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 20px;
}
h1 { font-size: 28px; line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 18px; margin: 0 0 10px; }
ol, ul { margin: 0; padding-left: 20px; }
li { margin: 6px 0; }

.links { list-style: none; padding: 0; }
.links a { color: var(--accent); font-weight: 600; }

.prose { text-align: left; }
.prose h1 { font-size: 24px; }
.prose h2 { margin-top: 20px; }
.prose p, .prose li { color: #33363b; }
.updated { color: var(--muted); font-size: 14px; }

.site-footer { padding: 8px 16px 40px; font-size: 12px; color: var(--muted); }
.site-footer p { margin: 0 0 10px; }
.site-footer a { color: var(--muted); }
