@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #1a1f36;
  --lilac: #a78bfa;
  --violet: #7c3aed;
  --teal: #00bfa6;
  --coral: #ff6b6b;
  --paper: #ffffff;
  --mist: #f5f6fa;
  --muted: #667085;
  --line: #dde1ec;
  --shadow: 0 24px 70px rgba(26, 31, 54, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--navy);
  background:
    radial-gradient(circle at 10% 0%, rgba(167, 139, 250, 0.2), transparent 30rem),
    radial-gradient(circle at 90% 24%, rgba(0, 191, 166, 0.12), transparent 28rem),
    var(--mist);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
}

button, input, select { font: inherit; }
a { color: inherit; }
.shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 21px; font-weight: 850; letter-spacing: -0.04em; text-decoration: none; }
.brand-mark { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; color: white; background: var(--navy); }
.brand-mark::after { content: "C"; color: var(--lilac); font-weight: 900; }
.brand span { color: var(--lilac); }
.secure { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 650; }

.hero { overflow: hidden; border: 1px solid rgba(221, 225, 236, 0.9); border-radius: 28px; background: var(--paper); box-shadow: var(--shadow); }
.hero-image { position: relative; min-height: 390px; background: var(--navy); }
.hero-image img { display: block; width: 100%; height: 100%; min-height: 390px; max-height: 520px; object-fit: cover; object-position: center; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(26,31,54,.22), transparent 58%); pointer-events: none; }
.hero-copy { padding: clamp(28px, 5vw, 64px); }
.eyebrow { margin: 0 0 12px; color: var(--violet); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.12; letter-spacing: -0.035em; }
h1 { max-width: 780px; margin-bottom: 18px; font-size: clamp(38px, 6vw, 68px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
.lede { max-width: 690px; margin: 0; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }

.content-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr); gap: 26px; padding: 56px 0 72px; align-items: start; }
.card { border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.96); box-shadow: 0 14px 42px rgba(26,31,54,.07); padding: clamp(24px, 4vw, 42px); }
.form-card { position: sticky; top: 20px; }
.form-card h2 { margin-bottom: 8px; font-size: 30px; }
.form-intro { margin: 0 0 28px; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { display: block; margin-bottom: 17px; }
.field > span { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 750; }
.field input, .field select { width: 100%; min-height: 50px; border: 1px solid #c7cedb; border-radius: 12px; padding: 0 14px; color: var(--navy); background: white; transition: .2s ease; }
.field input:focus, .field select:focus { outline: none; border-color: var(--lilac); box-shadow: 0 0 0 4px rgba(167,139,250,.18); }
.check { display: flex; gap: 11px; margin: 8px 0 22px; color: var(--muted); font-size: 13px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--violet); flex: 0 0 auto; }
.check a, .footer a { color: var(--violet); font-weight: 700; }
.form-card > .status { margin: 0 0 18px; }
.button { display: inline-flex; width: 100%; min-height: 52px; align-items: center; justify-content: center; border: 0; border-radius: 13px; padding: 12px 20px; color: white; background: linear-gradient(135deg, var(--lilac), var(--violet)); box-shadow: 0 10px 24px rgba(124,58,237,.24); font-weight: 800; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(124,58,237,.3); }
.button:disabled { opacity: .62; cursor: wait; transform: none; }
.status { display: none; margin: 18px 0 0; border-radius: 12px; padding: 13px 15px; font-size: 14px; }
.status.show { display: block; }
.status.error { color: #8f2530; background: #fff0f1; border: 1px solid #ffc9cd; }
.status.success { color: #075e56; background: #e8fbf8; border: 1px solid #b7efe7; }

.prizes { display: grid; gap: 14px; }
.prize { display: grid; grid-template-columns: 52px 1fr; gap: 15px; align-items: center; border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: white; }
.prize-icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 15px; background: #f0eaff; font-size: 22px; font-weight: 850; color: var(--violet); }
.prize:nth-child(2n) .prize-icon { background: #e8fbf8; color: #008c79; }
.prize h3 { margin-bottom: 3px; font-size: 17px; letter-spacing: -.01em; }
.prize p { margin: 0; color: var(--muted); font-size: 13px; }
.fineprint { margin: 18px 0 0; color: var(--muted); font-size: 12px; }
.footer { padding: 0 0 34px; text-align: center; color: #8a8f9f; font-size: 12px; }

.confirm-wrap { width: min(1000px, calc(100% - 32px)); margin: 0 auto; padding-bottom: 60px; }
.confirm-card { display: grid; grid-template-columns: .85fr 1.15fr; overflow: hidden; min-height: 620px; border: 1px solid var(--line); border-radius: 28px; background: white; box-shadow: var(--shadow); }
.confirm-visual { min-height: 330px; background: var(--navy); }
.confirm-visual img { width: 100%; height: 100%; object-fit: cover; }
.confirm-body { display: flex; padding: clamp(28px, 5vw, 56px); justify-content: center; flex-direction: column; }
.step-badge { display: inline-flex; width: fit-content; margin-bottom: 20px; border-radius: 999px; padding: 7px 12px; color: #075e56; background: #e8fbf8; font-size: 12px; font-weight: 800; }
.loader { width: 42px; height: 42px; margin-bottom: 22px; border: 4px solid #ece8f8; border-top-color: var(--violet); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.reward-result { margin-top: 20px; border-radius: 18px; padding: 22px; color: white; background: linear-gradient(135deg, var(--navy), #343b61); }
.reward-result h3 { margin-bottom: 7px; font-size: 25px; }
.reward-result p { margin: 0; color: rgba(255,255,255,.75); }
.coupon { margin-top: 16px; border: 1px dashed rgba(255,255,255,.5); border-radius: 10px; padding: 12px; text-align: center; font: 800 21px ui-monospace, monospace; letter-spacing: .08em; }
.hidden { display: none !important; }

@media (max-width: 820px) {
  .content-grid, .confirm-card { grid-template-columns: 1fr; }
  .form-card { position: static; }
  .confirm-visual { max-height: 360px; }
}
@media (max-width: 520px) {
  .shell, .confirm-wrap { width: min(100% - 20px, 1180px); }
  .topbar { padding: 15px 4px; }
  .secure { display: none; }
  .hero, .confirm-card { border-radius: 20px; }
  .hero-image, .hero-image img { min-height: 260px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}
