:root {
  --red: #e93131;
  --red-dark: #bd171f;
  --gold: #f7b733;
  --ink: #22242a;
  --muted: #626a75;
  --line: #e7e9ee;
  --paper: #ffffff;
  --soft: #fff4ed;
  --blue: #2364d2;
  --shadow: 0 18px 50px rgba(34, 36, 42, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fff 0%, #fff7f1 46%, #ffffff 100%);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

.page-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 14px 14px 28px;
}

.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0 18px;
}

.campaign-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.campaign-bar strong {
  padding: 4px 10px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 999px;
  white-space: nowrap;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  padding-top: 18px;
}

.hero-copy {
  order: 2;
}

.hero-media {
  order: 1;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1.32;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--red-dark);
  font-size: 13px;
  font-weight: 800;
}

h1,
h2 {
  margin: 0;
  line-height: 1.14;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(36px, 11vw, 66px);
  max-width: 760px;
}

h2 {
  font-size: 26px;
}

.lead {
  margin: 14px 0 16px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.prize-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 16px 0;
}

.prize-strip span {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 8px 4px;
  color: var(--red-dark);
  background: #fff;
  border: 1px solid #ffd3c8;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(233, 49, 49, 0.09);
  font-weight: 900;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  padding: 14px 18px;
  color: #fff;
  background: linear-gradient(180deg, #ff4b44, var(--red));
  border: 0;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(233, 49, 49, 0.25);
  text-decoration: none;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.primary-cta:active {
  transform: translateY(1px);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.trust-row span {
  min-height: 36px;
  display: grid;
  place-items: center;
  padding: 7px 4px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 4px 0 16px;
}

.step {
  min-height: 82px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  padding: 10px 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step b {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 13px;
}

.step span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.survey-panel,
.result-panel {
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel-head {
  margin-bottom: 16px;
}

.progress {
  height: 9px;
  margin-top: 14px;
  overflow: hidden;
  background: #eef1f5;
  border-radius: 999px;
}

.progress-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: inherit;
  transition: width 180ms ease;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.question {
  display: none;
}

.question.active {
  display: block;
}

legend {
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 900;
}

label {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  padding: 13px 14px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

label:has(input:checked) {
  border-color: var(--red);
  background: var(--soft);
}

input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--red);
}

.form-cta {
  margin-top: 14px;
}

.result-panel {
  margin-top: 18px;
  text-align: center;
}

.winning-prize {
  display: grid;
  gap: 8px;
  margin: 18px auto 14px;
  padding: 16px;
  background: #fff8e6;
  border: 2px solid #ffd06a;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(247, 183, 51, 0.18);
}

.prize-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.winning-prize strong {
  color: var(--red-dark);
  font-size: clamp(28px, 9vw, 44px);
  line-height: 1.1;
}

.delivery-note {
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  width: fit-content;
  margin: 0 auto;
  padding: 6px 12px;
  color: #154a99;
  background: #eaf2ff;
  border: 1px solid #c9dcff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.result-copy {
  color: var(--muted);
  font-weight: 700;
}

.spinner-card {
  position: relative;
  width: 168px;
  height: 116px;
  margin: 0 auto 16px;
}

.ticket {
  position: absolute;
  inset: 24px 12px 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--red), #ff8b30);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(233, 49, 49, 0.23);
  font-weight: 900;
  animation: pop 900ms ease infinite alternate;
}

.spark {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.9;
}

.spark-a {
  left: 8px;
  top: 18px;
}

.spark-b {
  right: 10px;
  top: 6px;
  background: var(--blue);
}

.spark-c {
  right: 34px;
  bottom: 4px;
}

@keyframes pop {
  from {
    transform: rotate(-2deg) scale(0.98);
  }
  to {
    transform: rotate(2deg) scale(1.02);
  }
}

.legal {
  margin-top: 18px;
  padding: 0 2px 18px;
  color: #757b84;
  font-size: 11px;
}

.legal p {
  margin: 8px 0 0;
}

@media (min-width: 820px) {
  .page-shell {
    padding: 20px 24px 42px;
  }

  .hero {
    min-height: 82vh;
  }

  .hero-grid {
    grid-template-columns: 0.94fr 1.06fr;
    gap: 34px;
  }

  .hero-copy,
  .hero-media {
    order: initial;
  }

  .lead {
    font-size: 20px;
  }

  .primary-cta {
    width: auto;
    min-width: 300px;
  }

  .trust-row {
    max-width: 470px;
  }

  .survey-panel,
  .result-panel {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    padding: 26px;
  }

  .steps {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }
}
