:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  background: #e00012;
  color: #fff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: #e00012;
}

.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: max(12px, env(safe-area-inset-top)) 20px max(155px, calc(130px + env(safe-area-inset-bottom)));
  background: #e00012;
}

.page > section,
.brand-window {
  position: relative;
  z-index: 2;
}

.brand-window {
  width: 300px;
  height: 105px;
  max-width: 86vw;
  margin: 0 auto 14px;
  overflow: hidden;
}

.brand-source {
  position: absolute;
  width: 465px;
  height: 846px;
  max-width: none;
  left: 50%;
  top: -2px;
  transform: translateX(-50%);
}

.hidden { display: none !important; }

h1,
.eyebrow {
  margin: 0;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

h1 { font-size: clamp(34px, 10vw, 52px); line-height: .95; }
.eyebrow { margin-bottom: 8px; font-size: 20px; }

.prize-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 480px;
  margin: 18px auto;
  padding: 16px 18px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 18px;
  background: rgba(255,255,255,.12);
}

.prize-card strong { font-size: 21px; }
.prize-card span { font-size: 15px; opacity: .92; }

.panel {
  max-width: 480px;
  margin: 0 auto;
  padding: 22px;
  border-radius: 24px;
  background: #fff;
  color: #2b2b2b;
  box-shadow: 0 16px 44px rgba(94, 0, 8, .25);
}

.form-intro { margin: 0 0 20px; text-align: center; color: #555; }

label:not(.privacy-row) {
  display: block;
  margin: 15px 0 7px;
  color: #701425;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  height: 56px;
  padding: 0 15px;
  border: 1px solid #dedede;
  border-radius: 14px;
  background: #f7f7f7;
  font: inherit;
  font-size: 17px;
  outline: none;
}

input:focus { border-color: #b7142a; box-shadow: 0 0 0 3px rgba(183,20,42,.12); }

.privacy-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 20px;
  color: #444;
  font-size: 14px;
  line-height: 1.35;
}

.privacy-row input { width: 21px; height: 21px; margin: 0; accent-color: #b7142a; }
.privacy-copy { color: #777; font-size: 12px; line-height: 1.4; }

button {
  width: 100%;
  height: 58px;
  margin-top: 10px;
  border: 0;
  border-radius: 15px;
  background: #b7142a;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .06em;
}

button:disabled { opacity: .6; }
.form-error { margin: 12px 0 0; color: #a40016; font-size: 14px; font-weight: 700; }
.expiry { margin: 14px auto 0; text-align: center; font-size: 13px; opacity: .86; }

.status-panel { margin-top: 12vh; text-align: center; }
.status-panel h1 { color: #b7142a; font-size: 36px; }
.status-panel .eyebrow { color: #b7142a; }
.status-panel p { color: #555; }

.spinner {
  width: 46px;
  height: 46px;
  margin: 0 auto 22px;
  border: 5px solid #eee;
  border-top-color: #b7142a;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #16845b;
  color: #fff;
  font-size: 40px;
}

.product-art {
  position: absolute;
  z-index: 1;
  right: -8px;
  bottom: -12px;
  width: 155px;
  height: 165px;
  object-fit: contain;
  opacity: .92;
  pointer-events: none;
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 700px) {
  .page { padding-top: 26px; }
  .product-art { width: 210px; height: 220px; }
}
