@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/poppins-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/poppins-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/poppins-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-primary: #2e9d46;
  --color-primary-hover: #1f7a36;
  --color-success: #22c55e;
  --color-error: #ef4444;
  --color-background: #ffffff;
  --color-text: #111827;
  --color-muted: #6b7280;
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 9999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--color-background);
  color: var(--color-text);
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.page-shell {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background: #fff;
  color: var(--color-text);
}

#header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px 3px;
  background: #fff;
}

#header img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 44px;
  margin-top: 10px;
  border-radius: var(--radius-md);
}

#content {
  flex: 1;
  width: 100%;
  max-width: 700px;
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 6px var(--spacing-md) var(--spacing-lg);
  overflow-x: hidden;
}

.step {
  width: 100%;
}

.reward-hero {
  margin-bottom: 8px;
  text-align: center;
}

.reward-title {
  margin: 0 0 var(--spacing-sm);
  color: #000;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
}

.reward-image {
  display: block;
  width: auto;
  max-width: 320px;
  height: auto;
  margin: 0 auto 8px;
}

.step-heading {
  margin: 0 0 var(--spacing-md);
  color: #000;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.progress {
  width: 100%;
  height: 6px;
  margin: 0 0 18px;
  overflow: hidden;
  border-radius: 3px;
  background: #ececec;
}

.progress-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--color-primary);
  transition: width 180ms ease;
}

.field {
  margin-bottom: 0;
}

.field + .field {
  margin-top: 14px;
}

.field label,
.radio-label {
  display: block;
  margin-bottom: 6px;
  color: #000;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
}

input,
select {
  width: 100%;
  padding: 18px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background-color: #fff;
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  outline: none;
}

select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'><path d='M1 1L7 7L13 1' stroke='%236b7280' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 24px center;
  background-size: 12px 8px;
}

input.invalid,
select.invalid {
  box-shadow: 0 0 0 2px #dc2626;
}

.error {
  margin: 4px 0 0;
  color: #dc2626;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.2;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.submit-button {
  width: 100%;
  margin-top: var(--spacing-md);
  padding: 18px 24px;
  border: 0;
  border-radius: 50px;
  background: var(--color-primary);
  color: #fff;
  font-family: "Poppins", Arial, sans-serif;
  font-size: clamp(18px, 4.6vw, 24px);
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.submit-button:hover {
  background: var(--color-primary-hover);
}

.tcpa {
  margin-top: 12px;
  color: #6b7280;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
}

.tcpa p {
  margin: 0;
}

.tcpa a {
  color: #6b7280;
  font-size: 11px;
  font-weight: 400;
  text-decoration: underline;
}

.radio-group {
  display: flex;
  gap: var(--spacing-md);
}

.radio-option {
  flex: 1;
  padding: 16px 12px;
  border: 2px solid #d1d5db;
  border-radius: 12px;
  background: #fff;
  color: #374151;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.radio-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-option.selected {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.loading-panel,
.offers-panel {
  text-align: center;
}

.loading-title,
.offers-title {
  margin: 0 0 var(--spacing-xs);
  color: #111827;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 30px;
  font-weight: 700;
}

.loading-subtitle,
.offers-subtitle {
  margin: 0 0 var(--spacing-sm);
  color: #6b7280;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 17px;
}

.loading-gift {
  display: block;
  width: 260px;
  height: auto;
  margin: 20px auto;
  object-fit: contain;
}

.offer-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
  text-align: left;
}

.offer-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.06);
}

.offer-card img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.offer-card strong {
  display: block;
  color: #111827;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.25;
}

.offer-card span {
  display: block;
  margin-top: 3px;
  color: #6b7280;
  font-size: 13px;
}

.skip-link {
  display: inline-block;
  margin-top: 6px;
  color: #b3b9c2;
  font-size: 13px;
  text-decoration: underline;
  text-transform: lowercase;
}

#footer {
  margin-top: 32px;
  padding: 30px 20px;
  background: #1f2937;
  color: #9ca3af;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  font-size: 13px;
  line-height: 1.4;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links span {
  color: #4b5563;
}

.footer-disclaimer {
  max-width: 760px;
  margin: 18px auto 0;
  color: #9ca3af;
  font-size: 12px;
  line-height: 1.6;
}

.footer-address {
  margin: 14px 0 0;
  color: #9ca3af;
  font-size: 12px;
}

.confetti {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  pointer-events: none;
}

.confetti i {
  position: absolute;
  width: 7px;
  height: 4px;
  border-radius: 1px;
  animation: fall 1.15s ease-out forwards;
}

@keyframes fall {
  to {
    opacity: 0;
    transform: translate(var(--x), var(--y)) rotate(var(--r));
  }
}

@media (max-width: 767px) {
  #footer {
    padding: 24px 16px;
  }
}

@media (max-width: 480px) {
  #content {
    padding: 6px 16px 24px;
  }

  .reward-title {
    font-size: 36px;
  }

  .reward-image {
    max-width: 190px;
    margin-bottom: 6px;
  }

  .loading-gift {
    width: 200px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-links {
    gap: 8px 12px;
  }
}
