/* HOP UP - site (28/11/2026 notte). Night-blue page, rounded cards, pill buttons in the cover's sunset colours,
   titles in the logo's face (Lilita One), text in Nunito. Principles taken from big game launch pages (full-screen
   scenes that move with the scroll, fades to night between scenes, card grid), never their brand. */

@font-face { font-family: 'Lilita One'; src: url('../fonts/LilitaOne-Regular.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Nunito'; src: url('../fonts/nunito-latin.woff2') format('woff2'); font-weight: 200 1000; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Nunito'; src: url('../fonts/nunito-latin-ext.woff2') format('woff2'); font-weight: 200 1000; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --night: #0b0d1f;
  --night-2: #12162e;
  --card: #1a1f3d;
  --cream: #fff1d2;
  --text: #e9e6f5;
  --muted: #a9a6c4;
  --pink: #ff6fae;
  --pink-soft: #ffc2dc;
  --gold: #ffc21f;
  --gold-soft: #ffe08a;
  --lime: #c9f26b;
  --violet: #7b55d6;
  --radius: 28px;
  --gutter: clamp(16px, 4vw, 56px);
  --header: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--night); color: var(--text); font-family: 'Nunito', system-ui, sans-serif; font-weight: 600;
  line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- top strip + header */
.strip { position: relative; z-index: 31; text-align: center; font-size: 12px; letter-spacing: .18em; font-weight: 800; padding: 8px 12px;
  color: var(--night); background: linear-gradient(90deg, var(--pink-soft), var(--gold-soft), var(--pink-soft)); text-transform: uppercase; }
.header { position: sticky; top: 0; z-index: 30; height: var(--header); display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter); pointer-events: none; }
.header > * { pointer-events: auto; }
.header__logo { width: 112px; opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .35s; }
.header.is-past .header__logo { opacity: 1; transform: none; }
.header__right { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; border-radius: 999px; background: rgba(255,255,255,.08); padding: 4px; backdrop-filter: blur(10px); }
.lang button { border: 0; background: transparent; color: var(--muted); font: 800 13px 'Nunito', sans-serif; padding: 6px 11px; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--cream); color: var(--night); }
.header .pill { opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .35s; }
.header.is-past .pill { opacity: 1; transform: none; }

/* ---------- buttons */
.pill { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 13px 26px; font: 800 16px 'Nunito', sans-serif;
  text-decoration: none; cursor: pointer; color: var(--night); background: var(--pink); box-shadow: 0 8px 30px rgba(255,111,174,.28);
  transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.pill:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(255,111,174,.4); }
.pill:focus-visible, .lang button:focus-visible, .faq summary:focus-visible, .card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.pill--lime { background: var(--lime); box-shadow: 0 8px 30px rgba(201,242,107,.22); }
.pill--light { background: #fff; box-shadow: none; }
.pill--small { padding: 9px 18px; font-size: 14px; }
.pill[data-soon="true"] { background: var(--cream); box-shadow: none; }
.pill__soon { font-size: .72em; letter-spacing: .12em; padding: 3px 8px; border-radius: 999px; background: var(--night); color: var(--cream); }

/* ---------- type */
.eyebrow { font: 800 13px 'Nunito', sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--pink-soft); margin: 0 0 10px; }
.title { font-family: 'Lilita One', 'Nunito', sans-serif; font-weight: 400; color: var(--cream); text-transform: uppercase; letter-spacing: .01em;
  line-height: .95; margin: 0; font-size: clamp(42px, 7.2vw, 104px); text-wrap: balance; }
.title--mid { font-size: clamp(34px, 5vw, 68px); }
.lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--text); max-width: 56ch; margin: 18px 0 0; }

/* ---------- hero */
.hero { position: relative; min-height: calc(100svh - var(--header) - 30px); display: grid; place-items: center; padding: 0 var(--gutter) 40px;
  margin-top: calc(var(--header) * -1); padding-top: var(--header); }
.hero__frame { position: relative; width: min(1180px, 100%); border-radius: var(--radius); overflow: hidden; background: var(--night-2);
  box-shadow: 0 40px 120px rgba(123,85,214,.35), 0 0 0 10px rgba(255,255,255,.04); transform-origin: 50% 40%; will-change: transform, opacity, filter; }
.hero__frame img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.hero__bar { width: min(1180px, 100%); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin-top: 22px; }
.hero__bar .when { font: 800 15px 'Nunito', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--cream); }
.hero__bar .when small { display: block; color: var(--pink-soft); font-size: 12px; letter-spacing: .14em; }
.hero__bar .where { justify-self: end; text-align: right; font-weight: 800; font-size: 13px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.hero__cue { position: absolute; bottom: 6px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-right: 3px solid var(--muted); border-bottom: 3px solid var(--muted);
  transform: rotate(45deg); opacity: .6; }
@media (max-width: 720px) {
  .hero { min-height: auto; padding-top: calc(var(--header) + 8px); padding-bottom: 56px; }
  .hero__frame img { aspect-ratio: 1/1; object-position: 50% 50%; }
  .hero__bar { grid-template-columns: 1fr; text-align: center; }
  .hero__bar .where { justify-self: center; text-align: center; }
  .hero__bar .pill { justify-content: center; }
}

/* ---------- climb: the scroll moves the camera up the tower */
.climb { position: relative; height: 560vh; }
.climb__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--night); }
.climb__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.climb__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,13,31,.55) 0%, rgba(11,13,31,0) 22%, rgba(11,13,31,0) 64%, rgba(11,13,31,.75) 100%); }
.climb__veil { position: absolute; inset: 0; background: var(--night); pointer-events: none; }
.climb__intro { position: absolute; left: 0; right: 0; top: calc(var(--header) + 4vh); text-align: center; padding: 0 var(--gutter); }
.climb__chapter { position: absolute; left: var(--gutter); bottom: 9vh; max-width: min(620px, 86vw); opacity: 0; transform: translateY(-14px);
  transition: opacity .18s, transform .18s; }
.climb__chapter.is-on { opacity: 1; transform: none; transition: opacity .5s .2s, transform .5s .2s; }
.climb__chapter p { margin: 12px 0 0; font-size: clamp(16px, 1.5vw, 20px); text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.climb__counter { position: absolute; right: var(--gutter); bottom: 8vh; text-align: right; font-family: 'Lilita One', sans-serif; color: var(--cream);
  line-height: .9; text-shadow: 0 6px 30px rgba(0,0,0,.45); }
.climb__counter b { display: block; font-weight: 400; font-size: clamp(70px, 12vw, 170px); }
.climb__counter span { font: 800 14px 'Nunito', sans-serif; letter-spacing: .2em; color: var(--pink-soft); }
.climb__bar { position: absolute; right: calc(var(--gutter) - 14px); top: 22vh; bottom: 30vh; width: 4px; border-radius: 4px; background: rgba(255,255,255,.12); }
.climb__bar i { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 4px; background: linear-gradient(0deg, var(--lime), var(--gold), var(--pink)); height: 0; }
@media (max-width: 720px) {
  .climb__chapter { bottom: 22vh; }
  .climb__counter { bottom: 5vh; right: var(--gutter); }
  .climb__bar { display: none; }
}

/* ---------- sections and cards */
.section { position: relative; padding: clamp(90px, 12vw, 170px) var(--gutter); max-width: 1320px; margin: 0 auto; }
.section__head { text-align: center; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head .lead { margin-left: auto; margin-right: auto; }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .climb__chapter { transition: none; } }

.card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--card); isolation: isolate; }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__img { transform: scale(1.04); }
.card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,13,31,.78) 0%, rgba(11,13,31,.15) 60%, rgba(11,13,31,0) 100%); }
.card__body { position: relative; padding: clamp(26px, 4vw, 54px); display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }

.watch__main { min-height: clamp(380px, 46vw, 620px); }
.watch__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.watch__row .card { aspect-ratio: 4/5; }
.watch__row .card::after { background: linear-gradient(0deg, rgba(11,13,31,.85) 0%, rgba(11,13,31,0) 55%); }
.watch__row .card__body { align-items: center; text-align: center; }
.watch__row .title { font-size: clamp(28px, 3vw, 44px); }
.play-dot { width: 86px; height: 86px; border-radius: 50%; background: #fff; display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.play-dot::before { content: ''; border-left: 26px solid var(--violet); border-top: 16px solid transparent; border-bottom: 16px solid transparent; margin-left: 7px; }
@media (max-width: 820px) { .watch__row { grid-template-columns: 1fr; } .watch__row .card { aspect-ratio: 16/10; } }

/* how to play */
.how { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.how .card { padding: clamp(28px, 4vw, 48px); background: linear-gradient(160deg, #262c57, #171b38); }
.how h3 { font-family: 'Lilita One', sans-serif; font-weight: 400; color: var(--cream); font-size: clamp(30px, 3vw, 42px); margin: 0 0 22px; text-transform: uppercase; }
.keys { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.keys li { display: flex; align-items: center; gap: 14px; font-size: 17px; }
.key { min-width: 52px; height: 44px; padding: 0 12px; border-radius: 12px; display: inline-grid; place-items: center; font: 800 15px 'Nunito', sans-serif;
  color: var(--night); background: var(--cream); box-shadow: 0 4px 0 #c8b99a; }
.key--wide { min-width: 120px; }
@media (max-width: 820px) { .how { grid-template-columns: 1fr; } }

/* stages: the four bands of the climb */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stage { aspect-ratio: 3/4; }
.stage::after { background: linear-gradient(0deg, rgba(11,13,31,.95) 0%, rgba(11,13,31,.7) 38%, rgba(11,13,31,0) 70%); }
.stage .num { font: 800 13px 'Nunito', sans-serif; letter-spacing: .2em; color: var(--gold-soft); }
.stage h3 { font-family: 'Lilita One', sans-serif; font-weight: 400; font-size: clamp(24px, 2vw, 32px); line-height: 1; color: var(--cream); margin: 6px 0 8px; text-transform: uppercase; }
.stage p { margin: 0; font-size: 15px; color: var(--text); }
@media (max-width: 980px) { .stages { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stages { grid-template-columns: 1fr; } .stage { aspect-ratio: 16/11; } }

/* closet */
.closet { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: stretch; }
.closet .card { min-height: 460px; }
.closet__text { padding: clamp(28px, 4vw, 54px); background: linear-gradient(160deg, #3a2a6e, #1c1840); display: flex; flex-direction: column; justify-content: center; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.swatches span { width: 38px; height: 38px; border-radius: 50%; box-shadow: inset 0 -5px 0 rgba(0,0,0,.18), 0 0 0 3px rgba(255,255,255,.12); }
@media (max-width: 900px) { .closet { grid-template-columns: 1fr; } .closet .card { min-height: 320px; } }

/* season board */
.board { padding: clamp(26px, 4vw, 50px); background: linear-gradient(180deg, #1d2250, #121634); }
.board__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.board__top h3 { margin: 0; font-family: 'Lilita One', sans-serif; font-weight: 400; color: var(--gold); font-size: clamp(30px, 3vw, 44px); }
.tabs { display: flex; gap: 6px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.07); }
.tabs button { border: 0; border-radius: 999px; padding: 8px 14px; font: 800 13px 'Nunito', sans-serif; color: var(--muted); background: transparent; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--gold); color: var(--night); }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rows li { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.05); }
.rows .r { font-family: 'Lilita One', sans-serif; font-size: 28px; color: var(--muted); }
.rows li:nth-child(-n+3) .r { color: var(--gold); }
.rows .n { font-size: 19px; font-weight: 800; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rows .t { font-weight: 800; color: var(--cream); font-variant-numeric: tabular-nums; }
.rows--empty li { color: transparent; }
.rows--empty li .bar { height: 14px; border-radius: 8px; background: rgba(255,255,255,.08); }
.board__note { margin: 20px 0 0; color: var(--muted); font-size: 15px; text-align: center; }

/* faq */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border-radius: 20px; background: var(--card); padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 19px; font-weight: 800; color: var(--cream); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: 'Lilita One', sans-serif; font-size: 28px; line-height: 1; color: var(--pink); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--text); }

/* final call + footer */
.final { text-align: center; padding: clamp(110px, 14vw, 200px) var(--gutter); position: relative; overflow: hidden; isolation: isolate; }
.final__bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center 30%; opacity: .85; }
.final__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--night) 0%, rgba(11,13,31,.25) 30%, rgba(11,13,31,.35) 70%, var(--night) 100%); }
.final img.logo { width: min(520px, 80vw); margin: 0 auto 30px; filter: drop-shadow(0 20px 50px rgba(0,0,0,.45)); }
.footer { border-top: 1px solid rgba(255,255,255,.08); padding: 40px var(--gutter) 50px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  color: var(--muted); font-size: 14px; }
.footer .by { display: flex; align-items: center; gap: 12px; color: var(--cream); font-weight: 800; text-decoration: none; }
.footer .by img { height: 26px; width: auto; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--cream); }

/* Trailer playing in the WATCH card (29/11). */
.watch__main.is-playable { cursor: pointer; }
.watch__main.is-playable:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.watch__main.is-playing .card__body, .watch__main.is-playing::after { display: none; }
.trailer__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; z-index: 2; border-radius: inherit; }
.watch__main.is-playing:has(.is-upright) { min-height: min(80vh, 640px); }

