/* ==========================================================================
   HeinekenWin.com — 2026 Edition
   A modern, brand-faithful landing for the UCL Final Viewing Experience.

   Design language
   ---------------
   · Bright Heineken green (#00A72B) + red star on near-black canvas
   · Editorial typography: Anton display + Inter variable body
   · Bento-style hero grid with glassmorphism + subtle gradient mesh
   · Fluid type/space scale, safe-area aware, motion-respectful
   · Responsive 320 → 2560 px
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand — matched to heineken.com */
  --hk-green:          #00863C;       /* Heineken deep brand green (buttons, primary) */
  --hk-green-mid:      #00A72B;       /* bright callout green */
  --hk-green-bright:   #00D73A;       /* gradient stops */
  --hk-green-glow:     #34FF66;
  --hk-green-dark:     #006730;
  --hk-green-darker:   #003818;
  --hk-green-deepest:  #00210E;       /* footer body */
  --hk-green-900:      #001A0A;
  --hk-red:            #E3000F;       /* official Heineken red */
  --hk-red-dark:       #B31712;
  --hk-white:          #ffffff;
  --hk-cream:          #F3F4EF;
  --hk-ink:            #0B110D;
  --hk-black:          #050605;

  /* Surface / glass */
  --glass-base:   rgba(6, 18, 11, .55);
  --glass-strong: rgba(5, 30, 16, .70);
  --glass-border: rgba(255, 255, 255, .10);
  --glass-border-strong: rgba(255, 255, 255, .18);

  /* Type scale — fluid, clamp-based */
  --font-display: 'Anton', 'Barlow Condensed', Impact, sans-serif;
  --font-cond:    'Barlow Condensed', Impact, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --fs-mega:     clamp(44px, 8.2vw, 128px);   /* hero headline main */
  --fs-super:    clamp(34px, 5.6vw, 78px);
  --fs-xl:       clamp(26px, 3.4vw, 48px);
  --fs-lg:       clamp(20px, 2.2vw, 30px);
  --fs-body:     clamp(15px, 1.45vw, 18px);
  --fs-sm:       13px;
  --fs-xs:       11px;

  /* Shape */
  --radius:      22px;
  --radius-lg:   28px;
  --radius-sm:   12px;
  --radius-pill: 999px;

  /* Motion */
  --ease:        cubic-bezier(.22, 1, .36, 1);
  --ease-snap:   cubic-bezier(.34, 1.56, .64, 1);

  /* Shadows / glow */
  --shadow-xl:   0 40px 80px -20px rgba(0, 0, 0, .55);
  --shadow-md:   0 16px 40px -12px rgba(0, 0, 0, .45);
  --glow-green:  0 0 0 1px rgba(0, 215, 58, .35), 0 20px 60px -18px rgba(0, 215, 58, .45);

  /* Safe areas */
  --safe-top:    env(safe-area-inset-top);
  --safe-bottom: env(safe-area-inset-bottom);
}

/* ---------- Resets / globals ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background: var(--hk-black);
  color: var(--hk-white);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100%;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--hk-green); color: var(--hk-white); }

/* ---------- Utility: reveal-on-load fade-up ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Top marquee
   ========================================================================== */
.marquee {
  background: linear-gradient(90deg, var(--hk-green) 0%, var(--hk-green-bright) 50%, var(--hk-green) 100%);
  color: var(--hk-white);
  overflow: hidden;
  padding: 10px 0 10px;
  padding-top: calc(10px + var(--safe-top, 0px));
  position: relative;
  z-index: 10;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .25) inset, 0 -1px 0 rgba(255, 255, 255, .12) inset;
}
.marquee__track {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 46s linear infinite;
  gap: 48px;
  padding-left: 48px;
  will-change: transform;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.marquee__icon { width: 18px; height: 18px; flex-shrink: 0; color: currentColor; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.page { position: relative; isolation: isolate; }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(28px, 4vw, 56px) clamp(16px, 3.5vw, 48px) clamp(40px, 6vw, 80px);
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Layered background: photo → vignette → gradient mesh */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    url('img/hero-cheers.png') center / cover no-repeat,
    var(--hk-green-900);
  transform: scale(1.04);           /* room for gentle parallax */
  will-change: transform;
}
.hero__vignette {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 80% 100% at 80% 50%, rgba(0, 40, 20, 0) 0%, rgba(0, 18, 8, .55) 60%, rgba(0, 0, 0, .92) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .78) 100%);
}
/* Modern gradient-mesh accent — blurred green orbs behind the card */
.hero__mesh {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.hero__mesh::before,
.hero__mesh::after {
  content: '';
  position: absolute;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .55;
  animation: orbit 24s var(--ease) infinite alternate;
}
.hero__mesh::before {
  top: -12vw;
  right: -8vw;
  background: radial-gradient(circle, var(--hk-green-bright) 0%, transparent 70%);
}
.hero__mesh::after {
  bottom: -14vw;
  left: -6vw;
  background: radial-gradient(circle, var(--hk-green) 0%, transparent 70%);
  animation-delay: -12s;
}
@keyframes orbit {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__mesh::before, .hero__mesh::after { animation: none; }
}

/* Bento grid — hero inner */
.hero__inner {
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

/* ==========================================================================
   Brand lockup
   ========================================================================== */
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  background: var(--glass-base);
  border: 1px solid var(--glass-border-strong);
  border-radius: 16px;
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  margin-bottom: clamp(20px, 2.8vw, 32px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, var(--shadow-md);
}
.lockup__ucl       { height: clamp(44px, 4.4vw, 58px); width: auto; }
.lockup__heineken  { height: clamp(38px, 3.8vw, 48px); width: auto; }
.lockup__divider {
  display: inline-block;
  width: 1px;
  height: clamp(32px, 3.2vw, 42px);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .35), transparent);
}

/* ==========================================================================
   Headline — editorial, variable typography
   ========================================================================== */
.headline {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.005em;
  line-height: .92;
  margin: 0 0 22px;
  text-transform: uppercase;
  color: var(--hk-white);
  max-width: 14ch;
}
.headline__line {
  display: block;
  font-size: var(--fs-super);
  text-shadow: 0 8px 32px rgba(0, 0, 0, .55);
}
.headline__line--sm {
  font-size: var(--fs-lg);
  font-family: var(--font-cond);
  font-weight: 500;
  letter-spacing: .04em;
  color: #cfeed6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
  opacity: .95;
}
.headline__line--accent {
  font-size: var(--fs-mega);
  line-height: .9;
  background: linear-gradient(135deg, var(--hk-green-glow) 0%, var(--hk-green-bright) 45%, var(--hk-green) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 30px rgba(0, 215, 58, .35));
}

/* ---------- Sub-copy ---------- */
.sub {
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.55;
  max-width: 50ch;
  margin: 0 0 clamp(20px, 3vw, 32px);
  color: #e9f2ea;
}
.sub em { color: var(--hk-green-bright); font-style: normal; font-weight: 600; }

/* ==========================================================================
   Event facts (Fecha/Hora style, 2026 refresh)
   ========================================================================== */
.event-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  max-width: 580px;
}
.event-list > div {
  position: relative;
  background: var(--glass-base);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 14px 16px 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.event-list > div::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--hk-green-glow), var(--hk-green));
  border-radius: 3px 0 0 3px;
}
.event-list > div:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 215, 58, .4);
  background: rgba(0, 40, 20, .45);
}
.event-list dt {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--hk-green-bright);
  margin-bottom: 4px;
}
.event-list dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--hk-white);
  letter-spacing: -.005em;
}

/* ==========================================================================
   Sign-up card — glassmorphic
   ========================================================================== */
.signup-card {
  position: relative;
  background: var(--glass-strong);
  border: 1px solid var(--glass-border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 44px) clamp(22px, 2.5vw, 36px);
  backdrop-filter: blur(20px) saturate(1.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.1);
  box-shadow: var(--shadow-xl), 0 1px 0 rgba(255, 255, 255, .06) inset;
  max-width: 540px;
  width: 100%;
  margin-left: auto;
}
.signup-card::after {
  /* subtle inner top sheen */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 100% 55% at 50% 0%, rgba(255, 255, 255, .08) 0%, transparent 65%);
  pointer-events: none;
}
.signup__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 46px);
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 22px;
  color: var(--hk-white);
  line-height: .98;
}
.signup__title::after {
  content: '';
  display: block;
  width: 46px;
  height: 4px;
  margin-top: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--hk-green-glow), var(--hk-green));
}

/* ---------- Field inputs (pill-shaped with crisp focus) ---------- */
.field { display: block; margin-bottom: 14px; }
.field__label {
  display: block;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #d6efdc;
  margin-bottom: 6px;
}
.field input {
  width: 100%;
  padding: 15px 20px;
  font: inherit;
  font-size: 15px;
  color: var(--hk-ink);
  background: var(--hk-white);
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  outline: none;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .1s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field input::placeholder { color: #98a59d; }
.field input:focus {
  border-color: var(--hk-green-bright);
  box-shadow: 0 0 0 4px rgba(0, 215, 58, .28);
}
.field input[aria-invalid="true"] {
  border-color: var(--hk-red);
  box-shadow: 0 0 0 4px rgba(226, 35, 26, .22);
}
.field__error {
  display: block;
  min-height: 16px;
  font-size: 12px;
  color: #ffc7c1;
  margin-top: 4px;
}

/* ---------- Consent ---------- */
.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.45;
  color: #e6f1e8;
  margin: 6px 0 20px;
  cursor: pointer;
}
.checkbox input[type="checkbox"] {
  accent-color: var(--hk-green-bright);
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
  cursor: pointer;
}
.checkbox a { color: var(--hk-green-bright); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .12s var(--ease-snap), background .18s var(--ease), box-shadow .18s var(--ease);
  position: relative;
  text-decoration: none;
  min-height: 50px;
  overflow: hidden;
  isolation: isolate;
}
.btn--primary {
  background: linear-gradient(135deg, var(--hk-green-bright) 0%, var(--hk-green) 55%, var(--hk-green-dark) 100%);
  color: var(--hk-white);
  box-shadow: var(--glow-green), 0 14px 30px rgba(0, 100, 32, .55);
  width: 100%;
}
.btn--primary::after {
  /* sheen sweep */
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .25) 48%, transparent 66%);
  transform: translateX(-100%);
  transition: transform .6s var(--ease);
  z-index: -1;
}
.btn--primary:hover:not(:disabled) { transform: translateY(-2px); }
.btn--primary:hover:not(:disabled)::after { transform: translateX(100%); }
.btn--primary:active:not(:disabled) { transform: translateY(0) scale(.98); }
.btn--primary:disabled { opacity: .55; cursor: not-allowed; }

.btn--outline {
  background: transparent;
  color: var(--hk-white);
  border: 2px solid var(--hk-white);
  margin-top: 12px;
}
.btn--outline:hover { background: var(--hk-white); color: var(--hk-green-darker); }

.btn__spinner {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: var(--hk-white);
  display: none;
  animation: spin .7s linear infinite;
}
.btn.is-loading .btn__spinner { display: inline-block; }
.btn.is-loading .btn__label { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-note {
  font-size: 13px;
  margin: 10px 0 0;
  min-height: 18px;
  color: #ffd0c9;
}
.form-note.is-ok { color: var(--hk-green-bright); }

/* ==========================================================================
   Success state — card goes predominantly green
   ========================================================================== */
.signup__state--success { margin: -2px; }
.success {
  background: linear-gradient(160deg, var(--hk-green-bright) 0%, var(--hk-green) 40%, var(--hk-green-dark) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 44px) clamp(22px, 2.5vw, 36px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255, 255, 255, .08) inset;
}
.success::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 10%, rgba(255, 255, 255, .22) 0%, transparent 55%);
  pointer-events: none;
}
.success__kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 5px 12px;
  background: var(--hk-white);
  color: var(--hk-green-darker);
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.success__kicker::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--hk-green-bright);
  box-shadow: 0 0 0 3px rgba(0, 215, 58, .3);
  animation: pulse 1.6s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(0, 215, 58, .25); }
  50%      { box-shadow: 0 0 0 8px rgba(0, 215, 58, 0); }
}
.success__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: .96;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--hk-white);
  margin: 0 0 14px;
}
.success__emph {
  display: inline-block;
  background: var(--hk-white);
  color: var(--hk-green-dark);
  padding: 0 12px;
  border-radius: 8px;
  transform: skew(-3deg);
}
.success__emph > span { display: inline-block; transform: skew(3deg); }
.success__lede {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hk-white);
  margin: 0 0 4px;
}
.success__body { color: #eafdee; font-size: 15px; margin: 0 0 20px; }

/* ---------- Share row ---------- */
.share-row {
  display: flex;
  gap: 10px;
  margin: 14px 0 10px;
  flex-wrap: wrap;
}
.share-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--hk-white);
  background: rgba(255, 255, 255, .1);
  color: var(--hk-white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .18s var(--ease), transform .12s var(--ease-snap), color .18s var(--ease);
  backdrop-filter: blur(6px);
}
.share-btn:hover { background: var(--hk-white); color: var(--hk-green-dark); transform: translateY(-2px) scale(1.05); }
.share-btn svg { width: 20px; height: 20px; fill: currentColor; }

.share-hint {
  font-size: 13px;
  color: var(--hk-white);
  margin: 0 0 10px;
  min-height: 18px;
  opacity: .95;
}

.share-preview {
  margin-top: 18px;
  background: rgba(0, 0, 0, .3);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.share-preview[open] { background: rgba(0, 0, 0, .45); }
.share-preview summary {
  cursor: pointer;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 12px;
  color: var(--hk-white);
  letter-spacing: .14em;
  text-transform: uppercase;
  list-style: none;
  display: flex; align-items: center; gap: 8px;
}
.share-preview summary::before {
  content: '＋'; display: inline-block;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--hk-white); color: var(--hk-green-dark);
  text-align: center; line-height: 18px; font-weight: 700;
  transition: transform .25s var(--ease);
}
.share-preview[open] summary::before { content: '−'; transform: rotate(180deg); }
.share-card-wrapper { margin-top: 14px; }

/* ==========================================================================
   Shareable IG-style graphic (1:1)
   ========================================================================== */
.share-card {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: var(--hk-green-darker);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55);
  color: var(--hk-white);
}
.share-card__bg {
  position: absolute; inset: 0;
  background: url('img/hero-cheers.png') center / cover no-repeat;
  transform: scale(1.02);
}
.share-card__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 90% at 70% 55%, rgba(0, 40, 20, 0) 0%, rgba(0, 20, 8, .5) 60%, rgba(0, 0, 0, .9) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .7) 100%);
}
.share-card__lockup {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, .5);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(8px);
}
.share-card__lockup img { height: 30px; }
.share-card__lockup .share-card__divider {
  width: 1px; height: 26px;
  background: rgba(255, 255, 255, .3);
}
.share-card__inner {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
}
.share-card__line1 {
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 4px;
  opacity: .95;
}
.share-card__headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 4.8vw, 38px);
  line-height: .94;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--hk-green-glow), var(--hk-green-bright));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 14px;
  letter-spacing: .01em;
}
.share-card__line2 {
  font-size: 12px;
  margin: 0 0 2px;
  opacity: .88;
}
.share-card__url {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: .05em;
  margin: 0;
  color: var(--hk-white);
  text-transform: uppercase;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.foot {
  background: var(--hk-black);
  padding: 22px clamp(16px, 3.5vw, 48px) calc(22px + var(--safe-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.foot__inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: #9ab0a0;
  flex-wrap: wrap;
}
.foot__nav { display: inline-flex; align-items: center; gap: 10px; }
.foot__nav a { color: var(--hk-green-bright); text-decoration: none; }
.foot__nav a:hover { text-decoration: underline; }
.foot__dot { opacity: .4; }

/* ==========================================================================
   Responsive — 320 → 2560 px
   ========================================================================== */
@media (min-width: 1800px) {
  .hero__inner { max-width: 1440px; }
}
@media (max-width: 1180px) {
  .hero__inner { grid-template-columns: 1.05fr 1fr; gap: 36px; }
}
@media (max-width: 960px) {
  .hero { align-items: flex-start; min-height: auto; padding-top: 32px; }
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .headline { max-width: none; }
  .signup-card { margin: 0 auto; max-width: 560px; }
  .event-list { max-width: none; }
}
@media (max-width: 640px) {
  .marquee__item { font-size: 12px; letter-spacing: .16em; }
  .lockup { padding: 10px 16px; gap: 12px; border-radius: 14px; }
  .sub { font-size: 15px; }
  .hide-sm { display: none; }

  .signup-card { padding: 24px 20px; border-radius: 20px; }
  .success { padding: 26px 22px; border-radius: 20px; }

  .foot__inner { flex-direction: column; text-align: center; gap: 8px; }
}
@media (max-width: 380px) {
  .hero { padding: 24px 14px 44px; }
  .event-list { grid-template-columns: 1fr; }
  .share-btn { width: 46px; height: 46px; }
  .btn { font-size: 14px; letter-spacing: .12em; padding: 14px 22px; }
}

/* ==========================================================================
   Privacy page
   ========================================================================== */
.doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px clamp(20px, 4vw, 40px) 80px;
  background: var(--hk-white);
  color: var(--hk-ink);
  min-height: 100vh;
}
.doc h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 52px);
  margin: 0 0 8px;
  color: var(--hk-green-darker);
  text-transform: uppercase;
  letter-spacing: .005em;
}
.doc h2 {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 22px);
  margin-top: 32px;
  color: var(--hk-green-dark);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.doc p, .doc li { font-size: 15px; line-height: 1.65; color: #2c3730; }
.doc a { color: var(--hk-green-dark); }
.doc .back {
  display: inline-block;
  margin-top: 28px;
  color: var(--hk-white);
  background: linear-gradient(135deg, var(--hk-green-bright), var(--hk-green));
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-cond);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 13px;
  box-shadow: var(--glow-green);
}
.doc .back:hover { transform: translateY(-2px); }

/* ==========================================================================
   Age Gate — shown on first visit, stored in localStorage
   ========================================================================== */
.agegate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn .3s var(--ease);
}
.agegate[hidden] { display: none; }
.agegate__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .98) 100%),
    url('img/hero-cheers.png') center / cover no-repeat;
}
.agegate__panel {
  position: relative;
  max-width: 480px;
  width: 100%;
  background: linear-gradient(180deg, var(--hk-green-darker) 0%, var(--hk-green-deepest) 100%);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  padding: 36px 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-xl);
}
.agegate__logo {
  width: 84px;
  height: auto;
  margin: 0 auto 18px;
}
.agegate__eyebrow {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--hk-green-glow);
  margin: 0 0 8px;
}
.agegate__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 36px);
  text-transform: uppercase;
  color: var(--hk-white);
  margin: 0 0 8px;
  line-height: 1.02;
}
.agegate__sub {
  font-size: 14px;
  color: #cfe9d7;
  margin: 0 0 22px;
}
.agegate__form {
  display: grid;
  grid-template-columns: 60px 60px 90px 1fr;
  gap: 10px;
  margin: 0 0 14px;
  align-items: end;
}
.agegate__field { display: flex; flex-direction: column; }
.agegate__field span {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .16em;
  color: #d6efdc;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.agegate__field input {
  width: 100%;
  padding: 12px 10px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--hk-white);
  background: rgba(255, 255, 255, .05);
  border: 1.5px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  outline: none;
  transition: border-color .15s var(--ease), background .15s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.agegate__field input:focus {
  border-color: var(--hk-green-bright);
  background: rgba(255, 255, 255, .1);
}
.agegate__field--wide { grid-column: span 1; }
.agegate__btn {
  width: 100%;
  padding: 12px 18px;
  min-height: 44px;
  font-size: 14px;
}
.agegate__remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #cfe9d7;
  margin: 4px 0 14px;
}
.agegate__remember input { accent-color: var(--hk-green-bright); }
.agegate__err {
  font-size: 12px;
  color: #ffb4af;
  min-height: 16px;
  margin: 0 0 10px;
}
.agegate__legal {
  font-size: 11px;
  color: rgba(255, 255, 255, .6);
  line-height: 1.4;
  margin: 10px 0 6px;
}
.agegate__legal a { color: var(--hk-green-bright); text-decoration: underline; }
.agegate__dd {
  font-size: 10px;
  color: rgba(255, 255, 255, .4);
  letter-spacing: .05em;
  margin: 0;
}
body.agegate-active { overflow: hidden; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 420px) {
  .agegate__panel { padding: 28px 22px 22px; }
  .agegate__form { grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; }
  .agegate__btn { grid-column: 1 / -1; margin-top: 8px; }
}

/* ==========================================================================
   Site header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 8, 4, .85);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.site-header__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px clamp(16px, 3.5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header__logo img {
  height: 40px;
  width: auto;
}
.site-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
}
.site-header__nav a {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hk-white);
  text-decoration: none;
  padding: 8px 2px;
  position: relative;
  opacity: .9;
  transition: opacity .18s var(--ease);
}
.site-header__nav a:hover { opacity: 1; }
.site-header__nav a:not(.site-header__cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  background: var(--hk-green-glow);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s var(--ease);
}
.site-header__nav a:not(.site-header__cta):hover::after { transform: scaleX(1); transform-origin: left; }
.site-header__cta {
  background: var(--hk-green);
  padding: 10px 18px !important;
  border-radius: var(--radius-pill);
  opacity: 1 !important;
}
.site-header__cta:hover { background: var(--hk-green-mid); }

@media (max-width: 560px) {
  .site-header__logo img { height: 32px; }
  .site-header__nav a:not(.site-header__cta) { display: none; }
}

/* Scroll hint */
.hero__scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 50px;
  display: none;           /* hide by default — shown on large screens */
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: .7;
  transition: opacity .2s;
  z-index: 3;
}
.hero__scroll:hover { opacity: 1; }
.hero__scroll span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hk-white);
  animation: scrollBlink 1.4s ease-in-out infinite;
}
.hero__scroll span:nth-child(2) { animation-delay: .2s; }
.hero__scroll span:nth-child(3) { animation-delay: .4s; }
@keyframes scrollBlink {
  0%, 100% { opacity: .3; }
  50%      { opacity: 1; }
}
@media (min-width: 961px) { .hero__scroll { display: flex; } }

/* ==========================================================================
   Products Section — mirrors Heineken.com "The Original" rotator
   ========================================================================== */
.products {
  background: var(--hk-white);
  color: var(--hk-ink);
  position: relative;
  padding: clamp(48px, 7vw, 100px) clamp(16px, 3.5vw, 48px);
  overflow: hidden;
}
.products::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--hk-red) 0%, var(--hk-red) 28%, transparent 28%);
}
.products__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.products__header {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.products__eyebrow {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--hk-green);
  margin: 0 0 10px;
}
.products__title {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(34px, 5vw, 56px);
  color: var(--hk-green);
  margin: 0;
  letter-spacing: -.01em;
}

.products__stage {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  min-height: clamp(420px, 50vw, 560px);
}
.product {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  pointer-events: none;
}
.product.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.product__copy {
  padding-left: clamp(0px, 4vw, 40px);
}
.product__name {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 56px);
  color: var(--hk-green);
  margin: 0 0 16px;
  letter-spacing: -.01em;
}
.product__desc {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.55;
  color: #7b8a82;
  max-width: 42ch;
  margin: 0 0 28px;
}
.btn--dark {
  background: var(--hk-green);
  color: var(--hk-white);
  border-radius: 0;          /* sharp corners, matches heineken.com */
  padding: 14px 30px;
}
.btn--dark:hover { background: var(--hk-green-dark); }

.product__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(380px, 42vw, 520px);
}
.product__glow {
  position: absolute;
  width: 80%;
  height: 80%;
  left: 10%;
  top: 10%;
  background: radial-gradient(circle, rgba(0, 167, 43, .28) 0%, transparent 65%);
  filter: blur(40px);
  z-index: 0;
}
.product__glow--blue  { background: radial-gradient(circle, rgba(30, 90, 180, .25) 0%, transparent 65%); }
.product__glow--silver{ background: radial-gradient(circle, rgba(180, 195, 200, .35) 0%, transparent 65%); }
.product__bottle {
  position: relative;
  z-index: 1;
  width: auto;
  height: clamp(360px, 40vw, 500px);
  filter: drop-shadow(0 28px 40px rgba(0, 40, 20, .35));
  animation: bottleFloat 6s ease-in-out infinite;
  transition: transform .4s var(--ease);
}
.product__bottle:hover { transform: translateY(-6px) rotate(-1.5deg); }
@keyframes bottleFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .product__bottle { animation: none; }
}

.products__controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 40px);
}
.products__controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid #c8d4ce;
  cursor: pointer;
  transition: background .18s, border-color .18s, transform .12s var(--ease-snap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.products__controls button::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c8d4ce;
  transition: background .18s;
}
.products__controls button:hover { border-color: var(--hk-green); }
.products__controls button:hover::before { background: var(--hk-green); }
.products__controls button.is-active {
  background: var(--hk-green);
  border-color: var(--hk-green);
}
.products__controls button.is-active::before { background: var(--hk-white); }

.products__all {
  display: block;
  text-align: center;
  margin-top: 22px;
  color: var(--hk-green);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  letter-spacing: .02em;
}
.products__all:hover { text-decoration: underline; }

@media (max-width: 780px) {
  .product {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  .product__copy { padding-left: 0; order: 2; }
  .product__visual { order: 1; }
  .product__desc { margin-left: auto; margin-right: auto; }
  .products__stage { min-height: clamp(540px, 120vw, 780px); }
}

/* ==========================================================================
   Heineken-style footer
   ========================================================================== */
.hk-foot {
  position: relative;
  background: radial-gradient(ellipse 120% 120% at 50% 0%, var(--hk-green) 0%, var(--hk-green-dark) 40%, var(--hk-green-deepest) 100%);
  color: var(--hk-white);
  padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 56px) clamp(100px, 10vw, 140px);
  overflow: hidden;
}
.hk-foot__glow {
  position: absolute;
  inset: -40% 0 0 0;
  height: 120%;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(52, 255, 102, .12) 0%, transparent 60%);
  pointer-events: none;
}
.hk-foot__inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.hk-foot__cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 60px);
  margin-bottom: 60px;
}
.hk-foot__cols ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hk-foot__cols li { margin-bottom: 14px; }
.hk-foot__cols a {
  color: var(--hk-white);
  text-decoration: none;
  font-size: 16px;
  opacity: .9;
  transition: opacity .15s;
}
.hk-foot__cols a:hover { opacity: 1; text-decoration: underline; }
.hk-foot__socialtitle {
  font-size: 16px;
  margin: 0 0 14px;
  color: var(--hk-white);
  opacity: .9;
}
.hk-foot__icons {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 18px;
}
.hk-foot__icons a {
  color: var(--hk-white);
  opacity: .55;
  transition: opacity .15s;
}
.hk-foot__icons a:hover { opacity: 1; }
.hk-foot__icons svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.hk-foot__enjoy {
  position: absolute;
  top: 40px;
  right: clamp(16px, 4vw, 40px);
  width: 68px;
  height: 68px;
  opacity: .65;
}
.hk-foot__enjoy svg { width: 100%; height: 100%; }

.hk-foot__brand {
  display: flex;
  justify-content: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.hk-foot__logo {
  width: 92px;
  height: auto;
  opacity: .95;
}

.hk-foot__cookies {
  position: absolute;
  bottom: 20px;
  left: clamp(16px, 4vw, 40px);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .3);
  border: 1.5px solid rgba(255, 255, 255, .3);
  color: var(--hk-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, border-color .15s;
}
.hk-foot__cookies:hover {
  background: rgba(0, 0, 0, .5);
  border-color: rgba(255, 255, 255, .6);
}
.hk-foot__cookies svg { width: 22px; height: 22px; }

.hk-foot__legal {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .55);
  font-size: 12px;
  text-align: center;
  width: 90%;
  max-width: 600px;
}
.hk-foot__legal a {
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
}
.hk-foot__legal a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .hk-foot__cols {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 40px;
  }
  .hk-foot__social { grid-column: 1 / -1; }
  .hk-foot__enjoy { display: none; }
  .hk-foot__legal { position: static; transform: none; margin: 24px auto 0; }
  .hk-foot__cookies { bottom: auto; top: 22px; left: auto; right: 20px; }
}
@media (max-width: 420px) {
  .hk-foot__cols { grid-template-columns: 1fr; }
}

/* Hide the original simple .foot since we replaced it */
.foot { display: none; }
