:root {
  --navy: #061a3a;
  --navy-soft: #0b2b58;
  --blue: #0d4bc8;
  --blue-bright: #1768e5;
  --orange: #ff7a00;
  --green: #13823a;
  --ivory: #fffaf2;
  --paper: #fffdf9;
  --ink: #0c1c36;
  --muted: #667085;
  --line: #dce3ec;
  --shadow: 0 30px 70px rgba(4, 24, 58, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 7%, rgba(255, 138, 22, 0.12), transparent 22rem),
    radial-gradient(circle at 88% 86%, rgba(19, 130, 58, 0.12), transparent 24rem),
    linear-gradient(145deg, #fffdf9 0%, #f7faff 52%, #fffaf3 100%);
  font-family: "DM Sans", system-ui, sans-serif;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

.page-glow {
  position: fixed;
  z-index: -1;
  width: 23rem;
  height: 23rem;
  border-radius: 50%;
  filter: blur(75px);
  opacity: 0.22;
  pointer-events: none;
}

.page-glow--orange {
  top: -9rem;
  right: -5rem;
  background: var(--orange);
}

.page-glow--green {
  bottom: -11rem;
  left: -7rem;
  background: var(--green);
}

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand img {
  width: 86px;
  height: 62px;
  object-fit: contain;
  filter: drop-shadow(0 5px 8px rgba(6, 26, 58, 0.15));
}

.brand span {
  padding-left: 12px;
  border-left: 1px solid rgba(6, 26, 58, 0.16);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.brand strong {
  font: 800 0.78rem/1.2 "Manrope", sans-serif;
}

.brand small {
  margin-top: 3px;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.65rem;
}

.campaign-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 122, 0, 0.25);
  border-radius: 999px;
  color: #934500;
  background: rgba(255, 249, 239, 0.8);
  font-weight: 700;
  font-size: 0.82rem;
  backdrop-filter: blur(8px);
}

.campaign-chip span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.12);
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 18px auto 54px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 0.8fr);
  gap: clamp(44px, 6vw, 90px);
  align-items: center;
}

.hero-copy {
  padding: 38px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.flag-line {
  width: 32px;
  height: 3px;
  border-radius: 3px;
}

.flag-line--orange {
  background: var(--orange);
}

.flag-line--green {
  background: var(--green);
}

.hero-copy h1 {
  max-width: 680px;
  margin: 21px 0 18px;
  color: var(--navy);
  font: 800 clamp(3rem, 5.4vw, 5.75rem)/0.98 "Manrope", sans-serif;
  letter-spacing: -0.055em;
}

.hero-copy h1 span {
  display: inline-block;
  color: var(--green);
  background: linear-gradient(90deg, var(--green), #16954a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  max-width: 610px;
  margin: 0;
  color: #49556b;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.75;
}

.hero-lead strong {
  color: var(--blue);
}

.reward-preview {
  margin-top: 29px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.reward-preview span {
  padding: 9px 13px;
  border: 1px solid rgba(13, 75, 200, 0.12);
  border-radius: 10px;
  color: #33415c;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 7px 20px rgba(25, 52, 93, 0.04);
  font-size: 0.78rem;
  font-weight: 700;
}

.trust-row {
  margin-top: 43px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.trust-item {
  display: grid;
  gap: 2px;
}

.trust-item strong {
  color: var(--navy);
  font: 800 1.2rem/1 "Manrope", sans-serif;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.76rem;
}

.trust-divider {
  width: 1px;
  height: 34px;
  background: var(--line);
}

.game-card {
  position: relative;
  overflow: hidden;
  min-height: 612px;
  border: 1px solid rgba(15, 54, 108, 0.1);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.game-card.claim-mode {
  min-height: 0;
}

.game-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, var(--orange) 0 33.33%, #fff 33.33% 66.66%, var(--green) 66.66%);
}

.steps {
  padding: 27px 34px 19px;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #edf0f5;
}

.step {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #98a2b3;
}

.step > span {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: #7a8496;
  background: #edf0f5;
  font-size: 0.72rem;
  font-weight: 800;
}

.step small {
  font-size: 0.7rem;
  font-weight: 700;
}

.step.is-active,
.step.is-complete {
  color: var(--blue);
}

.step.is-active > span {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 5px 12px rgba(13, 75, 200, 0.25);
}

.step.is-complete > span {
  color: #fff;
  background: var(--green);
}

.steps > i {
  height: 1px;
  background: #e2e7ee;
}

.panel {
  padding: 35px 38px 38px;
}

.panel-heading,
.claim-panel {
  text-align: center;
}

.panel-kicker {
  margin: 0 0 7px;
  color: var(--orange);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel h2 {
  margin: 0;
  color: var(--navy);
  font: 800 1.65rem/1.25 "Manrope", sans-serif;
  letter-spacing: -0.025em;
}

.panel-heading > p:last-child,
.claim-panel > p:not(.panel-kicker, .claim-note, .claim-error) {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

form {
  margin-top: 28px;
}

form label {
  display: block;
  margin: 17px 0 8px;
  color: #344054;
  font-size: 0.78rem;
  font-weight: 700;
}

.input-shell {
  height: 54px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 15px;
  border: 1px solid #d8dee8;
  border-radius: 13px;
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.input-shell:focus-within {
  border-color: rgba(13, 75, 200, 0.65);
  box-shadow: 0 0 0 4px rgba(13, 75, 200, 0.09);
}

.input-shell svg {
  width: 20px;
  fill: none;
  stroke: #8a94a6;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.input-shell input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 0.92rem;
}

.input-shell input::placeholder {
  color: #a1a9b7;
}

.country-code {
  padding-right: 12px;
  border-right: 1px solid #e0e5ec;
  color: var(--navy);
  font-weight: 700;
}

.form-error,
.claim-error {
  min-height: 18px;
  margin: 9px 0 0;
  color: #cc2f2f;
  font-size: 0.74rem;
}

.primary-button,
.spin-button,
.whatsapp-button,
.choose-button,
.continue-button {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.primary-button {
  margin-top: 9px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  box-shadow: 0 14px 28px rgba(13, 75, 200, 0.22);
}

.primary-button:hover,
.spin-button:hover,
.whatsapp-button:hover:not(:disabled),
.choose-button:hover,
.continue-button:hover {
  transform: translateY(-2px);
}

.primary-button:focus-visible,
.spin-button:focus-visible,
.whatsapp-button:focus-visible,
.choose-button:focus-visible,
.continue-button:focus-visible,
.claim-option:focus-within {
  outline: 3px solid rgba(23, 104, 229, 0.28);
  outline-offset: 3px;
}

.privacy-note {
  margin: 14px auto 0;
  max-width: 330px;
  color: #8a94a6;
  text-align: center;
  font-size: 0.69rem;
  line-height: 1.45;
}

.game-panel {
  padding-top: 25px;
}

.player-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.player-bar > div:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
}

.avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-weight: 800;
}

.player-bar p,
.spins-counter {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.player-bar p strong {
  display: block;
  max-width: 190px;
  overflow: hidden;
  color: var(--navy);
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spins-counter {
  padding: 8px 11px;
  border-radius: 9px;
  background: #f1f5fb;
}

.spins-counter strong {
  margin-right: 3px;
  color: var(--blue);
  font-size: 1rem;
}

.wheel-wrap {
  position: relative;
  width: min(330px, 78vw);
  aspect-ratio: 1;
  margin: 25px auto 20px;
}

.wheel-pointer {
  position: absolute;
  z-index: 4;
  top: -7px;
  left: 50%;
  width: 40px;
  height: 49px;
  transform: translateX(-50%);
  filter: drop-shadow(0 6px 5px rgba(6, 26, 58, 0.28));
}

.wheel-pointer::before {
  position: absolute;
  inset: 0;
  content: "";
  clip-path: polygon(50% 100%, 2% 8%, 98% 8%);
  border-radius: 8px;
  background: #fff;
}

.wheel-pointer::after {
  position: absolute;
  inset: 7px 8px 10px;
  content: "";
  clip-path: polygon(50% 100%, 2% 8%, 98% 8%);
  background: var(--blue);
}

.wheel-rim {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 3px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(7, 46, 111, 0.24), inset 0 0 0 3px #fff;
}

.wheel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transition: transform 4s cubic-bezier(0.12, 0.7, 0.12, 1);
  will-change: transform;
}

.wheel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wheel-hub {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 7px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #165bd2, #052d78);
  box-shadow: 0 7px 15px rgba(4, 30, 78, 0.26);
  font: 800 1rem "Manrope", sans-serif;
}

.spin-button {
  min-height: 58px;
  display: grid;
  place-content: center;
  gap: 1px;
  background: linear-gradient(135deg, var(--blue), #0b66e6);
  box-shadow: 0 13px 24px rgba(13, 75, 200, 0.23);
  text-transform: uppercase;
}

.spin-button span {
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.spin-button small {
  opacity: 0.72;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: none;
}

.spin-button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  box-shadow: none;
}

.choose-button,
.continue-button {
  min-height: 48px;
  border: 1px solid rgba(13, 75, 200, 0.28);
  color: var(--blue);
  background: #fff;
  box-shadow: 0 8px 18px rgba(13, 75, 200, 0.08);
}

.choose-button {
  margin-top: 10px;
}

.latest-result {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(19, 130, 58, 0.18);
  border-radius: 12px;
  background: #effaf3;
  text-align: center;
}

.latest-result span {
  display: block;
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.latest-result strong {
  display: block;
  margin-top: 3px;
  color: #0b5f2a;
  font-size: 0.88rem;
}

.spin-history {
  margin-top: 18px;
}

.history-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.history-heading h3 {
  margin: 0;
  color: var(--navy);
  font-size: 0.84rem;
}

.history-heading span {
  color: var(--muted);
  font-size: 0.7rem;
}

.history-list {
  margin-top: 8px;
  display: grid;
  gap: 7px;
}

.history-item {
  padding: 9px 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #e5e9ef;
  border-radius: 10px;
  color: #344054;
  background: #fbfcfe;
  font-size: 0.74rem;
  font-weight: 600;
}

.history-item span {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 0.64rem;
}

.claim-panel {
  position: relative;
  border-top: 1px solid #edf0f5;
  background: linear-gradient(180deg, rgba(245, 250, 255, 0.8), #fff);
}

.claim-celebration {
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--orange), #ff9c37);
  box-shadow: 0 8px 18px rgba(255, 122, 0, 0.24);
}

.claim-options {
  margin-top: 22px;
  display: grid;
  gap: 9px;
  text-align: left;
}

.claim-option {
  position: relative;
  cursor: pointer;
}

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

.claim-option span {
  min-height: 52px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #dfe4eb;
  border-radius: 12px;
  color: #344054;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.claim-option span::before {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 2px solid #cbd2dc;
  border-radius: 50%;
  content: "";
}

.claim-option input:checked + span {
  border-color: rgba(13, 75, 200, 0.55);
  color: #073a95;
  background: #f2f7ff;
  transform: translateY(-1px);
}

.claim-option input:checked + span::before {
  border: 5px solid var(--blue);
  background: #fff;
}

.whatsapp-button {
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: linear-gradient(135deg, #20a85c, #11813f);
  box-shadow: 0 13px 24px rgba(17, 129, 63, 0.2);
}

.whatsapp-button span:last-child {
  margin-left: 3px;
}

.whatsapp-button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
  box-shadow: none;
}

.continue-button {
  margin-top: 10px;
}

.whatsapp-mark {
  font-size: 1.25rem;
}

.claim-note {
  margin: 11px auto 0;
  color: #8a94a6;
  font-size: 0.68rem;
  line-height: 1.45;
}

.terms-strip {
  padding: 16px 20px;
  color: #bdc9dc;
  background: var(--navy);
  text-align: center;
  font-size: 0.7rem;
}

.terms-strip p {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.55;
}

.terms-strip strong {
  color: #fff;
}

footer {
  padding: 19px 20px;
  display: flex;
  justify-content: center;
  gap: 18px;
  color: #94a0b3;
  background: #04152e;
  font-size: 0.68rem;
}

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

.confetti {
  position: absolute;
  top: -20px;
  width: 8px;
  height: 15px;
  border-radius: 2px;
  animation: confetti-fall 2.4s cubic-bezier(0.2, 0.7, 0.25, 1) forwards;
}

@keyframes confetti-fall {
  to {
    transform: translate3d(var(--drift), 110vh, 0) rotate(720deg);
    opacity: 0;
  }
}

/* Keep the complete campaign experience inside a normal laptop viewport. */
@media (min-width: 981px) {
  body {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
  }

  .site-header {
    padding: 12px 0 4px;
  }

  .brand img {
    width: 72px;
    height: 52px;
  }

  .page-shell {
    flex: 1 1 auto;
    margin: 4px auto 14px;
    gap: clamp(42px, 4.5vw, 70px);
  }

  .hero-copy {
    padding: 10px 0;
  }

  .hero-copy h1 {
    margin: 14px 0 12px;
    font-size: clamp(3.1rem, min(4.2vw, 7.5vh), 4.8rem);
  }

  .hero-lead {
    line-height: 1.58;
  }

  .reward-preview {
    margin-top: 19px;
  }

  .reward-preview span {
    padding: 7px 11px;
  }

  .trust-row {
    margin-top: 27px;
  }

  .game-card {
    min-height: 0;
    border-radius: 25px;
  }

  .steps {
    padding: 20px 30px 15px;
  }

  .panel {
    padding: 25px 33px 28px;
  }

  .panel h2 {
    font-size: 1.48rem;
  }

  .panel-heading > p:last-child,
  .claim-panel > p:not(.panel-kicker, .claim-note, .claim-error) {
    margin-top: 7px;
  }

  form {
    margin-top: 17px;
  }

  form label {
    margin: 12px 0 6px;
  }

  .input-shell {
    height: 48px;
  }

  .primary-button,
  .spin-button,
  .whatsapp-button,
  .choose-button,
  .continue-button {
    min-height: 50px;
  }

  .privacy-note {
    margin-top: 9px;
  }

  .game-panel {
    padding-top: 18px;
  }

  .wheel-wrap {
    width: min(360px, 46vh);
    margin: 18px auto 15px;
  }

  .spin-button {
    min-height: 52px;
  }

  .terms-strip {
    flex: 0 0 auto;
    padding: 9px 20px;
  }

  footer {
    flex: 0 0 auto;
    padding: 10px 20px;
  }
}

@media (min-width: 981px) and (max-height: 760px) {
  .site-header {
    padding-top: 6px;
  }

  .brand img {
    width: 64px;
    height: 46px;
  }

  .page-shell {
    margin-bottom: 7px;
  }

  .hero-copy h1 {
    font-size: clamp(2.85rem, 7vh, 3.75rem);
  }

  .reward-preview {
    margin-top: 14px;
  }

  .trust-row {
    margin-top: 19px;
  }

  .panel {
    padding-top: 20px;
    padding-bottom: 21px;
  }

  .wheel-wrap {
    width: min(330px, 50vh);
    margin-block: 12px;
  }
}

@media (max-width: 980px) {
  .page-shell {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-copy {
    padding: 25px 0 20px;
    text-align: center;
  }

  .eyebrow,
  .reward-preview,
  .trust-row {
    justify-content: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .game-card {
    width: min(540px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .site-header,
  .page-shell {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    padding-top: 14px;
  }

  .brand img {
    width: 68px;
    height: 51px;
  }

  .brand span {
    display: none;
  }

  .campaign-chip {
    padding: 8px 11px;
    font-size: 0.7rem;
  }

  .hero-copy {
    padding-top: 14px;
  }

  .hero-copy h1 {
    margin-top: 16px;
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .hero-lead {
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .reward-preview {
    margin-top: 21px;
  }

  .trust-row {
    margin-top: 30px;
    gap: 11px;
  }

  .trust-item span {
    max-width: 84px;
  }

  .game-card {
    min-height: 0;
    border-radius: 23px;
  }

  .steps {
    padding: 23px 18px 16px;
    gap: 5px;
  }

  .step {
    gap: 4px;
  }

  .step small {
    font-size: 0.58rem;
  }

  .step > span {
    width: 23px;
    height: 23px;
  }

  .panel {
    padding: 29px 21px 27px;
  }

  .panel h2 {
    font-size: 1.45rem;
  }

  .wheel-wrap {
    width: min(310px, 88vw);
  }

  .wheel-hub {
    width: 60px;
    height: 60px;
    border-width: 5px;
    font-size: 0.8rem;
  }

  footer {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
