@font-face {
  font-family: "Heineken Serif 18";
  src:
    url("/assets/woff2/HeinekenSerif18-Regular-a7bfdf4e.woff2") format("woff2"),
    url("/assets/woff/HeinekenSerif18-Regular-697c3a13.woff") format("woff");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Heineken Serif 18";
  src:
    url("/assets/woff2/HeinekenSerif18-Medium-673bc293.woff2") format("woff2"),
    url("/assets/woff/HeinekenSerif18-Medium-6f2de859.woff") format("woff");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Heineken Serif 18";
  src:
    url("/assets/woff2/HeinekenSerif18-Bold-b68908f0.woff2") format("woff2"),
    url("/assets/woff/HeinekenSerif18-Bold-a2f7904a.woff") format("woff");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Heineken Serif 18";
  src:
    url("/assets/woff2/HeinekenSerif18-ExtraBold-6f261a19.woff2") format("woff2"),
    url("/assets/woff/HeinekenSerif18-ExtraBold-c1e1dd32.woff") format("woff");
  font-display: swap;
  font-style: normal;
  font-weight: 800;
}

@font-face {
  font-family: "Heineken Serif 18";
  src:
    url("/assets/woff2/HeinekenSerif18-Italic-354c9a84.woff2") format("woff2"),
    url("/assets/woff/HeinekenSerif18-Italic-18291cd0.woff") format("woff");
  font-display: swap;
  font-style: italic;
  font-weight: 400;
}

:root {
  --green: #007118;
  --green-dark: #003f2d;
  --red: #ec1c23;
  --gold: #ffbe00;
  --ink: #12251d;
  --muted: #66746f;
  --line: #dce8e2;
  --surface: #f6fbf8;
  --white: #ffffff;
  --shadow: 0 18px 45px rgb(0 63 45 / 15%);
  --brand-serif: "Heineken Serif 18", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-y: auto;
  background: var(--green-dark);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgb(255 190 0 / 22%), transparent 32rem),
    linear-gradient(150deg, #053d2c 0%, #00843d 48%, #f4fff9 48.2%, #f4fff9 100%);
}

html:has(.screen--age),
html:has(.screen--hero),
body:has(.screen--age),
body:has(.screen--hero) {
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  background: #007118;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

.site-shell {
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  padding: 16px;
}

.site-shell:has(.screen--age) {
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  padding: 0;
}

.site-shell:has(.screen--hero) {
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  padding: 0;
}

.site-shell:has(.screen--code) {
  width: 100%;
  padding: 0;
}

.site-shell:has(.screen--grid-f1) {
  width: 100%;
  min-height: 1280px;
  padding: 0;
}

.site-shell:has(.screen--entry-details),
.site-shell:has(.screen--entry-otp),
.site-shell:has(.screen--sign-in) {
  width: 100%;
  padding: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.screen {
  min-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 16px;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 24px;
  background: rgb(255 255 255 / 92%);
  box-shadow: var(--shadow);
}

.screen--hero {
  position: relative;
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  gap: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--white);
  text-align: center;
  background: #007118;
  box-shadow: none;
}

.screen--hero .action-stack {
  position: absolute;
  top: 431px;
  left: 50%;
  z-index: 2;
  width: 220px;
  transform: translateX(-50%);
  gap: 10px;
}

.screen--hero .btn {
  min-height: 48px;
  border-radius: 100px;
  padding: 0 32px;
  box-shadow: 0 2px 3px rgb(0 0 0 / 25%);
  font-family: var(--brand-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 31px;
}

.screen--hero .btn--primary {
  font-weight: 700;
}

.screen--age {
  position: relative;
  justify-content: space-between;
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  gap: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--white);
  text-align: center;
  background: #007118;
  box-shadow: none;
}

.screen--code {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  gap: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--white);
  text-align: center;
  background: #007118;
  box-shadow: none;
}

.code-bg-lines {
  position: absolute;
  inset: 65px 0 49px;
  z-index: 0;
  overflow: hidden;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.code-bg-lines img,
.code-bottom-pattern img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.code-header,
.code-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #007118;
}

.code-header {
  height: 64px;
  box-shadow: 0 4px 5px rgb(0 0 0 / 8%);
}

.code-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 48px;
  box-shadow: 0 -4px 3px rgb(0 0 0 / 5%);
}

.code-close {
  position: absolute;
  top: 79px;
  left: 17px;
  z-index: 2;
  width: 28px;
  height: 28px;
}

.code-close img {
  display: block;
  width: 100%;
  height: 100%;
}

.screen--code h1 {
  position: absolute;
  top: 199px;
  left: 50%;
  z-index: 1;
  width: 332px;
  margin: 0;
  transform: translateX(-50%);
  font-family: var(--brand-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.code-form {
  position: absolute;
  top: 301px;
  left: 50%;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 23px;
  width: 250px;
  transform: translateX(-50%);
}

.code-input-wrap {
  display: grid;
  place-items: center;
  width: 250px;
  height: 85px;
  margin: 0;
  border: 2px solid #007118;
  border-radius: 8px;
  padding: 12px 30px;
  color: #36404a;
  background: var(--white);
}

.code-slot-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  width: 100%;
}

.code-slot {
  width: 100%;
  min-width: 0;
  height: 44px;
  border: 0;
  border-bottom: 3px solid #9ea1a8;
  border-radius: 0;
  padding: 0;
  color: #36404a;
  background: transparent;
  font-family: var(--brand-serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 26px;
  text-align: center;
  text-transform: uppercase;
}

.code-slot:focus {
  border-bottom-color: #36404a;
  outline: 0;
}

.code-submit {
  position: relative;
  width: 220px;
  min-height: 52px;
  padding: 12px 52px 12px 30px;
  border-radius: 100px;
  font-family: var(--brand-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
}

.code-submit-icon {
  position: absolute;
  top: 50%;
  right: 22px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
}

.code-submit-icon.is-hidden {
  display: none;
}

.code-bottom-pattern {
  position: absolute;
  bottom: 48px;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 49px;
}

.screen--code .status-card {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 112px;
  z-index: 2;
  color: var(--ink);
  text-align: left;
}

.age-bg-lines {
  position: absolute;
  inset: 66px 0 0;
  z-index: 0;
  overflow: hidden;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.landing-bg-lines {
  position: absolute;
  inset: 66px 0 48px;
  z-index: 0;
  overflow: hidden;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.landing-bg-lines img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.age-bg-lines img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.age-header,
.age-footer,
.landing-header,
.landing-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #007118;
  box-shadow: 0 4px 5px rgb(0 0 0 / 8%);
}

.age-header,
.landing-header {
  height: 64px;
}

.age-footer,
.landing-footer {
  height: 48px;
  box-shadow: 0 -4px 3px rgb(0 0 0 / 5%);
}

.age-logo-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 150px;
  height: 50px;
}

.age-logo {
  display: block;
  object-fit: contain;
}

.age-logo--f1 {
  width: 68px;
  height: 26px;
}

.age-logo--heineken {
  width: 58px;
  height: 50px;
}

.age-logo-divider {
  width: 1px;
  height: 38px;
  background: rgb(255 255 255 / 70%);
}

.age-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  padding: 0 35px;
}

.age-content h1 {
  max-width: 332px;
  margin: 0 auto;
  font-family: var(--brand-serif);
  font-size: 44px;
  font-weight: 700;
  line-height: 66px;
}

.screen--age .action-stack {
  width: 220px;
  margin-top: 64px;
  gap: 15px;
}

.screen--age .btn {
  min-height: 48px;
  padding: 0 32px;
  border-radius: 100px;
  box-shadow: 0 2px 3px rgb(0 0 0 / 25%);
  font-family: var(--brand-serif);
  font-size: 18px;
  line-height: 31px;
  font-weight: 500;
}

.age-note {
  max-width: 206px;
  margin: 44px auto 0;
  color: var(--white);
  font-family: var(--brand-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
}

.age-tagline {
  margin: 0;
  font-family: var(--brand-serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 46px;
}

.landing-content {
  position: absolute;
  top: 64px;
  left: 0;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: 100%;
}

.landing-content h1 {
  width: 362px;
  margin: 8px 0 0;
  font-family: var(--brand-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 36px;
}

.landing-prize-stage {
  position: relative;
  width: 100%;
  max-width: 390px;
  height: 335px;
  margin-top: 2px;
}

.landing-prize-image {
  position: absolute;
  top: 0;
  left: 55px;
  width: 265px;
  height: 279px;
  object-fit: contain;
}

.odds-pill {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border-radius: 100px;
  padding: 0 10px;
  color: var(--red);
  background: var(--white);
  box-shadow: 0 4px 3px rgb(0 0 0 / 25%);
  font-family: var(--brand-serif);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  white-space: nowrap;
}

.odds-pill--ga {
  top: 19px;
  left: 70px;
  width: 90px;
}

.odds-pill--vip {
  top: 218px;
  left: 32px;
  width: 90px;
  min-height: 31px;
}

.odds-pill--tv {
  top: 75px;
  left: 283px;
  width: 70px;
}

.odds-pill--cup {
  top: 205px;
  left: 227px;
  width: 95px;
  color: var(--green);
}

.landing-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
}

.landing-divider {
  width: 340px;
  height: 2px;
  max-width: none;
  margin: 6px 0 0 -60px;
}

.returning-label,
.first-time-label {
  margin: 0;
  color: var(--white);
  font-family: var(--brand-serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.topbar-link,
.topbar-button {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.menu {
  position: relative;
}

.menu summary {
  list-style: none;
  cursor: pointer;
  color: inherit;
  font-size: 0;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu summary::before {
  content: "";
  display: block;
  width: 22px;
  height: 16px;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 7px / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 14px / 100% 2px no-repeat;
}

.menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 10;
  display: grid;
  gap: 8px;
  min-width: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.menu-panel a,
.menu-panel button {
  display: block;
  width: 100%;
  border: 0;
  padding: 8px;
  color: inherit;
  background: transparent;
  font-size: 0.86rem;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
}

.stack {
  display: flex;
  flex-direction: column;
}

.gap-lg {
  gap: 12px;
}

.eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.screen--hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.05rem, 12vw, 3.3rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  font-size: 1.2rem;
}

.lead {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.screen--hero .lead {
  color: rgb(255 255 255 / 82%);
}

.hero-art {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 16px;
  background:
    repeating-linear-gradient(90deg, rgb(255 255 255 / 18%) 0 16px, transparent 16px 32px),
    linear-gradient(135deg, rgb(255 255 255 / 12%), rgb(255 255 255 / 4%));
}

.track-line {
  position: absolute;
  inset: 28px 50% 28px auto;
  width: 76px;
  border: 10px solid var(--white);
  border-left: 0;
  border-radius: 0 120px 120px 0;
  opacity: 0.9;
}

.pack {
  position: absolute;
  display: grid;
  place-items: center;
  width: 86px;
  aspect-ratio: 1;
  border: 4px solid var(--white);
  border-radius: 12px;
  color: var(--green);
  background: var(--white);
  font-size: 2rem;
  font-weight: 950;
}

.pack--left {
  left: 28px;
  bottom: 26px;
}

.pack--right {
  right: 28px;
  top: 26px;
}

.action-stack,
.form-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.action-stack form,
.action-stack .button_to {
  margin: 0;
}

.action-stack form,
.action-stack form button {
  width: 100%;
}

.form-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.field input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  font-size: 1.05rem;
  font-weight: 800;
}

.field input:focus {
  border-color: var(--green);
  outline: 3px solid rgb(0 132 61 / 18%);
}

.field input:disabled {
  color: #9aa5a0;
  background: #eef3f0;
}

.otp-fieldset {
  display: grid;
  gap: 12px;
  margin: 0;
  border: 0;
  padding: 0;
}

.otp-fieldset legend {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.otp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.otp-input {
  width: 100%;
  aspect-ratio: 1;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font-size: 1.25rem;
  font-weight: 900;
  text-align: center;
}

.otp-input:focus {
  border-color: var(--green);
  outline: 3px solid rgb(0 132 61 / 18%);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.btn--primary {
  color: var(--white);
  background: var(--red);
}

.btn--secondary {
  color: var(--green);
  border-color: var(--green);
  background: var(--white);
}

.btn--dark {
  color: var(--white);
  background: #3f4656;
}

.btn--outline {
  color: var(--white);
  border-width: 2px;
  border-color: var(--white);
  background: transparent;
}

.btn--light {
  color: #323b48;
  background: var(--white);
  box-shadow: 0 8px 16px rgb(0 0 0 / 12%);
}

.btn--entry {
  width: 220px;
  min-height: 54px;
  border: 0;
  padding: 12px 30px;
  color: var(--white);
  background: #007118;
  font-family: var(--brand-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
  box-shadow: none;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.fine-print {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.45;
  text-align: center;
}

.choice-divider {
  color: rgb(255 255 255 / 86%);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
}

.screen--hero .fine-print {
  color: rgb(255 255 255 / 68%);
}

.flash {
  margin: 0 0 10px;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.88rem;
  font-weight: 800;
}

.flash--notice {
  color: var(--green-dark);
  background: #dff8e9;
}

.flash--alert {
  color: #8f1119;
  background: #ffe1e3;
}

.screen-notification {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 32px;
  border: 1px solid #3894c4;
  border-radius: 4px;
  margin: 0;
  padding: 6px 16px;
  color: var(--white);
  background: #3894c4;
  font-family: var(--brand-serif);
  font-size: 10px;
  font-weight: 400;
  line-height: 18px;
  text-align: left;
}

.screen-notification span {
  display: grid;
  place-items: center;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #3894c4;
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.screen-notification--alert {
  border-color: #ff5b5b;
  color: #ff5b5b;
  background: rgb(255 91 91 / 15%);
}

.screen-notification--alert span {
  color: var(--white);
  background: #ff5b5b;
}

.screen--code:has(.screen-notification) .code-close {
  top: 111px;
}

.screen--hero:has(.screen-notification) .landing-content {
  top: 96px;
}

.screen--entry-details .screen-notification,
.screen--entry-otp .screen-notification {
  position: absolute;
  top: 64px;
  left: 0;
}

.screen--entry-details .screen-notification + .screen-notification,
.screen--entry-otp .screen-notification + .screen-notification {
  top: 96px;
}

.screen--entry-details:has(.screen-notification) .entry-copy {
  top: 156px;
}

.screen--entry-details:has(.screen-notification) .entry-form {
  top: 286px;
}

.screen--entry-otp:has(.screen-notification) h1 {
  top: 218px;
}

.screen--entry-otp:has(.screen-notification) .entry-otp-form {
  top: 376px;
}

.screen--entry-details,
.screen--entry-otp,
.screen--sign-in {
  position: relative;
  min-height: 100vh;
  gap: 0;
  border: 1px solid #9ea1a8;
  border-radius: 0;
  padding: 0 0 48px;
  color: #36404a;
  background: var(--white);
  box-shadow: none;
}

.screen--sign-in {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100dvh;
  padding: 0;
  overflow-x: hidden;
}

.entry-header,
.entry-footer {
  position: absolute;
  left: 0;
  z-index: 2;
  width: 100%;
  background: #007118;
}

.entry-header {
  top: 0;
  display: grid;
  place-items: center;
  height: 64px;
  box-shadow: 0 4px 5px rgb(0 0 0 / 8%);
}

.entry-footer {
  bottom: 0;
  display: grid;
  place-items: center;
  height: 48px;
}

.entry-footer p {
  color: var(--white);
  font-family: var(--brand-serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 46px;
}

.entry-logo-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.entry-f1-logo {
  width: 81px;
  height: 21px;
}

.entry-heineken-logo {
  width: 58px;
  height: 50px;
}

.screen--sign-in .entry-header,
.screen--sign-in .entry-footer {
  position: relative;
  left: auto;
  flex: 0 0 auto;
}

.screen--sign-in .entry-header {
  top: auto;
}

.screen--sign-in .entry-footer {
  bottom: auto;
}

.screen--sign-in .screen-notification {
  position: static;
  flex: 0 0 auto;
}

.sign-in-main {
  display: grid;
  justify-items: center;
  align-content: start;
  flex: 1 1 auto;
  width: 100%;
  padding: clamp(64px, 10dvh, 80px) 24px 32px;
}

.screen--sign-in h1 {
  width: 332px;
  max-width: calc(100% - 40px);
  margin: 0 0 50px;
  color: #36404a;
  font-family: var(--brand-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  text-align: center;
}

.sign-in-form {
  display: grid;
  justify-items: center;
  width: 310px;
  max-width: calc(100% - 48px);
}

.sign-in-field {
  width: 310px;
  max-width: 100%;
  height: 51px;
  border: 1px solid #e1dddb;
  border-radius: 8px;
  padding: 11px 30px;
  color: #36404a;
  background: var(--white);
  font-family: var(--brand-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
}

.sign-in-field::placeholder {
  color: #707070;
  opacity: 1;
}

.sign-in-field:focus {
  border-color: #007118;
  outline: 0;
}

.sign-in-terms-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 310px;
  max-width: 100%;
  margin: 19px 0 51px;
  color: #36404a;
  font-family: var(--brand-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
}

.sign-in-terms-row input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #007118;
}

.sign-in-terms-row span {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.entry-copy {
  position: absolute;
  top: 94px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 18px;
  width: 332px;
  transform: translateX(-50%);
  text-align: center;
}

.entry-copy h1,
.screen--entry-otp h1,
.terms-screen h1 {
  color: #36404a;
  font-family: var(--brand-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.entry-copy p {
  width: 266px;
  color: #36404a;
  font-family: var(--brand-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
}

.entry-form {
  position: absolute;
  top: 262px;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 9px;
  width: 310px;
  transform: translateX(-50%);
}

.entry-field {
  width: 310px;
  height: 50px;
  border: 1px solid #e1dddb;
  border-radius: 8px;
  padding: 11px 30px;
  color: #36404a;
  background: var(--white);
  font-family: var(--brand-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
}

.entry-field::placeholder {
  color: #707070;
  opacity: 1;
}

.entry-field:focus,
.otp-input--entry:focus {
  border-color: #007118;
  outline: 3px solid rgb(0 113 24 / 14%);
}

.entry-phone-wrap {
  position: relative;
  margin-top: 46px;
}

.entry-alert-dot {
  position: absolute;
  top: 16px;
  right: -26px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  color: var(--white);
  background: #ff5b5b;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.entry-terms-row,
.entry-remember-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 310px;
  color: #36404a;
  font-family: var(--brand-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
}

.entry-terms-row {
  margin-top: 10px;
  margin-bottom: 34px;
}

.entry-terms-row input,
.entry-remember-row input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #007118;
}

.entry-terms-row button {
  border: 0;
  padding: 0;
  color: #36404a;
  background: transparent;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.terms-popover {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  border: 1px solid #9ea1a8;
  padding: 0;
  background: var(--white);
}

.terms-popover::backdrop {
  background: rgb(0 0 0 / 38%);
}

.terms-screen {
  position: relative;
  min-height: 100vh;
  padding: 0;
  color: #36404a;
  background: var(--white);
}

.terms-close {
  position: absolute;
  top: 19px;
  left: 19px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.terms-close span,
.terms-close span::before {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #36404a;
}

.terms-close span {
  transform: rotate(45deg);
}

.terms-close span::before {
  content: "";
  transform: rotate(90deg);
}

.terms-screen h1 {
  position: absolute;
  top: 94px;
  left: 50%;
  width: 332px;
  transform: translateX(-50%);
  text-align: center;
}

.terms-scroll {
  position: absolute;
  top: 162px;
  left: 50%;
  display: grid;
  gap: 28px;
  width: 266px;
  max-height: 391px;
  overflow-y: auto;
  transform: translateX(-50%);
  color: #36404a;
  font-family: var(--brand-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
}

.terms-rule {
  position: absolute;
  top: 617px;
  left: 61px;
  width: 286px;
  height: 1px;
  background: #9ea1a8;
}

.terms-screen .btn {
  position: absolute;
  top: 639px;
  left: 50%;
  transform: translateX(-50%);
}

.screen--entry-otp h1 {
  position: absolute;
  top: 194px;
  left: 50%;
  width: 220px;
  transform: translateX(-50%);
  text-align: center;
}

.entry-otp-form {
  position: absolute;
  top: 352px;
  left: 50%;
  display: grid;
  justify-items: center;
  width: 254px;
  transform: translateX(-50%);
}

.entry-otp-fieldset {
  margin: 0;
  border: 0;
  padding: 0;
}

.otp-grid--entry {
  width: 254px;
  grid-template-columns: repeat(4, 48px);
  justify-content: space-between;
  gap: 0;
}

.otp-input--entry {
  width: 48px;
  height: 64px;
  min-height: 64px;
  border: 1px solid #c0c4cd;
  border-radius: 8px;
  color: #36404a;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 31px;
}

.entry-remember-row {
  margin-top: 19px;
  margin-bottom: 35px;
}

.screen--entry-otp .entry-remember-row {
  width: 254px;
  justify-content: flex-start;
  gap: 10px;
}

.popover-panel {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  padding: 0;
  color: var(--white);
  background: #007118;
  box-shadow: none;
  overflow: hidden;
}

.popover-panel::backdrop {
  background: rgb(0 0 0 / 45%);
}

.how-screen {
  position: relative;
  display: grid;
  grid-template-rows: 64px 60px minmax(0, 1fr) 48px;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  color: var(--white);
  background: #007118;
}

.how-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  background: #007118;
  box-shadow: 0 4px 10px rgb(0 0 0 / 8%);
}

.how-back {
  position: absolute;
  top: 77px;
  left: 18px;
  z-index: 4;
  width: 34px;
  height: 34px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.how-back img {
  display: block;
  width: 100%;
  height: 100%;
}

.how-screen h2 {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 282px;
  margin: 0;
  justify-self: center;
  transform: none;
  font-family: var(--brand-serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}

.how-steps {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: repeat(5, minmax(0, 1fr));
  width: 100%;
  min-height: 0;
}

.how-step {
  position: relative;
  min-height: 0;
  background: #007118;
}

.how-step--strip {
  background: #137d15;
}

.how-step-icon {
  position: absolute;
  top: 50%;
  left: 20px;
  width: 25px;
  height: 25px;
  transform: translateY(-50%);
}

.how-step p {
  position: absolute;
  top: 50%;
  left: 65px;
  z-index: 1;
  margin: 0;
  transform: translateY(-50%);
  font-family: var(--brand-serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
}

.how-step strong {
  font-weight: 700;
}

.how-products,
.how-scratch-card,
.how-car,
.how-phone,
.how-prize-image {
  position: absolute;
  z-index: 0;
  object-fit: contain;
}

.how-products {
  top: 50%;
  right: 8px;
  width: 145px;
  height: 143px;
  transform: translateY(-50%);
}

.how-pint {
  position: absolute;
  top: 0;
  width: 56px;
  height: 103px;
  object-fit: contain;
}

.how-pint--one {
  left: 0;
}

.how-pint--two {
  left: 30px;
}

.how-pack {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 93px;
  height: 105px;
  object-fit: contain;
}

.how-scratch-card {
  top: 50%;
  right: 58px;
  width: 124px;
  height: 106px;
  transform: translateY(-50%);
}

.how-car {
  top: 50%;
  right: 46px;
  width: 81px;
  height: 147px;
  transform: translateY(-50%);
  filter: drop-shadow(0 4px 4px rgb(0 0 0 / 25%));
}

.how-phone {
  top: 50%;
  right: 8px;
  width: 124px;
  height: 124px;
  transform: translateY(-50%);
}

.how-prize-image {
  top: 50%;
  right: 8px;
  width: 112px;
  height: 117px;
  transform: translateY(-50%);
}

.how-footer {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 0;
  color: rgb(255 255 255 / 55%);
  background:
    linear-gradient(180deg, rgb(0 50 16 / 72%), rgb(0 50 16 / 86%)),
    repeating-linear-gradient(90deg, rgb(255 255 255 / 2%) 0 16px, transparent 16px 32px),
    #003d14;
  font-family: var(--brand-serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 46px;
  text-align: center;
}

@media (max-height: 700px) {
  .how-screen {
    grid-template-rows: 58px 52px minmax(0, 1fr) 40px;
  }

  .how-header {
    height: 58px;
  }

  .how-back {
    top: 68px;
  }

  .how-step p {
    font-size: 16px;
    line-height: 22px;
  }

  .how-products {
    width: 130px;
    height: 128px;
  }

  .how-scratch-card {
    width: 112px;
    height: 96px;
  }

  .how-car {
    width: 68px;
    height: 124px;
  }

  .how-phone {
    width: 108px;
    height: 108px;
  }

  .how-prize-image {
    width: 102px;
    height: 106px;
  }
}

.steps {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.4;
}

.status-card,
.position-card,
.history {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: var(--surface);
}

.status-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.status-card--warning {
  border-color: #ffd36a;
  background: #fff7df;
}

.screen--grid-f1 {
  position: relative;
  display: block;
  --grid-fixed-height: 160px;
  gap: 0;
  overflow-x: clip;
  overflow-y: visible;
  min-height: 1280px;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--white);
  background: #007118;
  box-shadow: none;
  overscroll-behavior-y: auto;
}

.screen--grid-f1:has(.grid-flashes) {
  --grid-fixed-height: 192px;
}

.grid-fixed-panel {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 20;
  width: 100%;
  transform: translateX(-50%);
  background: #007118;
  box-shadow: 0 4px 4px rgb(0 0 0 / 15%);
}

.grid-header {
  position: relative;
  z-index: 8;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 64px;
  background: #007118;
  box-shadow: 0 4px 5px rgb(0 0 0 / 8%);
}

.grid-logo-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.grid-f1-logo {
  width: 81px;
  height: 21px;
}

.grid-heineken-logo {
  width: 58px;
  height: 50px;
}

.grid-logo-divider {
  width: 1px;
  height: 36px;
  background: rgb(255 255 255 / 75%);
}

.screen--grid-f1 .menu {
  position: absolute;
  top: 25px;
  right: 17px;
  color: var(--white);
}

.screen--grid-f1 .menu summary::before {
  width: 13px;
  height: 10px;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) 0 4px / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) 0 8px / 100% 1px no-repeat;
}

.screen--grid-f1 .menu-panel {
  color: var(--ink);
}

.grid-flashes {
  display: grid;
  gap: 0;
}

.grid-title {
  position: relative;
  z-index: 7;
  display: grid;
  gap: 0;
  min-height: 96px;
  place-content: center;
  padding: 9px 20px 10px;
  text-align: center;
  background: #007118;
}

.grid-title h1 {
  font-family: var(--brand-serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
}

.grid-title h1 span {
  color: var(--red);
}

.grid-title p {
  color: var(--white);
  font-family: var(--brand-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
}

.race-track {
  position: relative;
  padding-top: var(--grid-fixed-height);
  min-height: 1120px;
  overflow-x: clip;
  overflow-y: visible;
  background: #007118;
  isolation: isolate;
}

.race-track-inner {
  position: relative;
  z-index: 2;
  min-height: calc(1120px + var(--grid-fixed-height));
  overflow-x: clip;
  overflow-y: visible;
  background: transparent;
}

.race-track-detail {
  position: absolute;
  z-index: 0;
  left: 0;
  width: 100%;
  object-fit: fill;
  pointer-events: none;
}

.race-track-detail--top {
  top: var(--grid-fixed-height);
  height: 597px;
}

.race-track-detail--bottom {
  top: calc(var(--grid-fixed-height) + 636px);
  height: 581px;
}

.grid-cell {
  position: absolute;
  z-index: 3;
  top: var(--cell-top);
  width: 82px;
  height: 104px;
  color: var(--white);
  text-align: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.grid-cell--lane-left {
  left: 84px;
}

.grid-cell--lane-right {
  left: 214px;
}

.grid-position-label {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 54px;
  height: 18px;
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
  border-left: 2px solid var(--white);
  transform: translateX(-50%);
  font-family: var(--brand-serif);
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
}

.grid-ghost-car {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 48px;
  height: 87px;
  object-fit: contain;
  transform: translateX(-50%);
}

.grid-prize-cup {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 93px;
  height: 93px;
  object-fit: contain;
  transform: translateX(-50%);
  filter: drop-shadow(0 5px 8px rgb(0 0 0 / 18%));
}

.grid-prize-image {
  position: absolute;
  left: 50%;
  object-fit: contain;
  pointer-events: none;
  transform: translateX(-50%);
}

.grid-prize-image--ga {
  z-index: 4;
  top: -55px;
  width: 180px;
  height: 191px;
  transform: translateX(-43%) rotate(-51deg);
}

.grid-prize-image--tv {
  top: -2px;
  width: 107px;
  height: 79px;
  transform: translateX(-50%) rotate(-11deg);
}

.grid-grand-prize {
  position: absolute;
  top: -20px;
  left: -28px;
  width: 132px;
  height: 142px;
  object-fit: contain;
  pointer-events: none;
  transform: rotate(-8deg);
  filter: drop-shadow(0 5px 8px rgb(0 0 0 / 18%));
}

.grid-cell.is-traveled {
  opacity: 0.2;
}

.grid-cell.is-current:not(.grid-cell--prize) .grid-ghost-car {
  opacity: 0;
}

.grid-cell.is-current .grid-position-label {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.grid-cell.is-prize-pulsing {
  z-index: 9;
  opacity: 1;
  animation: grid-prize-pulse 1300ms ease-out both;
}

.grid-cell.is-prize-pulsing .grid-position-label {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.grid-car {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: 78px;
  height: 114px;
  transform-origin: 50% 70%;
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.grid-passed-zone {
  position: absolute;
  top: 1210px;
  right: 0;
  left: 0;
  z-index: 4;
  display: grid;
  justify-items: center;
  height: 320px;
  background: linear-gradient(
    180deg,
    rgb(0 113 24 / 0) 0,
    rgb(0 91 20 / 42%) 34px,
    rgb(0 91 20 / 50%) 100%
  );
  pointer-events: none;
  transition: top 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.grid-action-stack {
  position: sticky;
  top: calc(100vh - 146px);
  z-index: 6;
  display: grid;
  justify-items: center;
  align-self: start;
  gap: 0;
  width: 220px;
  margin-top: 28px;
  pointer-events: none;
}

.grid-action-stack .btn {
  width: 220px;
  min-height: 48px;
  box-shadow: 0 2px 3px rgb(0 0 0 / 25%);
  font-family: var(--brand-serif);
  font-size: 18px;
  line-height: 31px;
  pointer-events: auto;
  font-weight: 500;
}

.grid-how-link {
  border: 0;
  padding: 0;
  color: var(--white);
  background: transparent;
  font-family: var(--brand-serif);
  font-size: 14px;
  font-weight: 400;
  line-height: 28px;
  text-decoration: underline;
  text-shadow: 0 2px 2px rgb(0 0 0 / 25%);
  cursor: pointer;
  pointer-events: auto;
}

.grid-car.is-driving .grid-selected-car {
  animation: car-drive-jitter 620ms ease-in-out;
}

.grid-car.is-moving {
  width: 51px;
  height: 92px;
}

.grid-car.is-moving .grid-car-number,
.grid-car.is-moving .grid-car-frame {
  border-color: transparent;
  background: transparent;
}

.grid-car.is-moving .grid-car-number {
  opacity: 0;
}

.grid-car.is-moving .grid-car-frame {
  width: 51px;
  height: 92px;
  border-width: 0;
}

.grid-car-number {
  display: grid;
  place-items: center;
  width: 100%;
  height: 27px;
  border: 5px solid var(--red);
  border-bottom: 0;
  color: var(--white);
  background: var(--red);
  font-family: var(--brand-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
}

.grid-car-frame {
  display: grid;
  place-items: center;
  width: 100%;
  height: 88px;
  border: 5px solid var(--red);
  background: #137d15;
}

.grid-selected-car {
  width: 51px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 4px 4px rgb(0 0 0 / 25%));
}

@keyframes car-drive-jitter {
  0%,
  100% {
    transform: translateY(0);
  }

  45% {
    transform: translateY(-5px);
  }
}

@keyframes grid-prize-pulse {
  0% {
    filter: drop-shadow(0 0 0 rgb(255 255 255 / 0));
    transform: scale(1);
  }

  18% {
    filter: drop-shadow(0 0 14px rgb(255 255 255 / 78%));
    transform: scale(1.16);
  }

  42% {
    filter: drop-shadow(0 0 22px rgb(255 190 0 / 72%));
    transform: scale(1.04);
  }

  68% {
    filter: drop-shadow(0 0 16px rgb(255 255 255 / 54%));
    transform: scale(1.11);
  }

  100% {
    filter: drop-shadow(0 0 0 rgb(255 255 255 / 0));
    transform: scale(1);
  }
}

.position-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-weight: 800;
}

.position-card strong {
  color: var(--green);
  font-size: 2rem;
  line-height: 1;
}

.history {
  display: grid;
  gap: 10px;
}

.history-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.full-screen-prompt {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: block;
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  padding: 0;
  color: var(--white);
  text-align: center;
  background: #007118;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 320ms ease, transform 320ms ease;
}

.full-screen-prompt.is-hidden {
  pointer-events: none;
  opacity: 0;
  transform: translateY(18px) scale(0.985);
}

.full-screen-prompt h1 {
  position: absolute;
  top: 49px;
  left: 50%;
  z-index: 2;
  width: 332px;
  transform: translateX(-50%);
  font-family: var(--brand-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 42px;
}

.full-screen-prompt p {
  color: var(--white);
}

.prompt-track-detail {
  position: absolute;
  inset: 136px 0 0;
  z-index: 0;
  width: 100%;
  height: calc(100% - 136px);
  object-fit: cover;
  pointer-events: none;
}

.prompt-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgb(0 113 24 / 95%);
}

.prompt-cup {
  position: absolute;
  top: 125px;
  left: 50%;
  z-index: 2;
  width: 347px;
  height: 347px;
  object-fit: contain;
  transform: translateX(-50%);
}

.prompt-copy {
  position: absolute;
  top: 463px;
  left: 50%;
  z-index: 2;
  width: 291px;
  transform: translateX(-50%);
}

.prompt-copy p {
  font-family: var(--brand-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
}

.full-screen-prompt .btn {
  position: absolute;
  top: 620px;
  left: 50%;
  z-index: 2;
  width: 220px;
  min-height: 48px;
  transform: translateX(-50%);
  box-shadow: 0 2px 3px rgb(0 0 0 / 25%);
  font-family: var(--brand-serif);
  font-size: 18px;
  line-height: 31px;
}

.terms-panel {
  display: grid;
  gap: 16px;
  max-height: 42vh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  color: var(--muted);
  background: var(--surface);
  line-height: 1.45;
}

.prize-section {
  display: grid;
  gap: 10px;
}

.prize-card,
.voucher-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  color: var(--ink);
  background: var(--surface);
  text-decoration: none;
}

.prize-card span:last-child,
.voucher-card .stack {
  min-width: 0;
}

.prize-card small,
.voucher-card p,
.empty-state {
  color: var(--muted);
  line-height: 1.35;
}

.prize-card--claimable {
  border-color: rgb(255 190 0 / 75%);
  background: #fff8df;
}

.prize-card--redeemed {
  opacity: 0.72;
}

.prize-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  aspect-ratio: 1;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  font-size: 0.7rem;
  font-weight: 950;
}

.prize-icon--large {
  width: 72px;
}
