/* Fonts are self-hosted (SIL Open Font License) so the page loads nothing from third parties. */
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('fonts/oswald-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('fonts/oswald-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Roboto Condensed'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/roboto-condensed-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Roboto Condensed'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/roboto-condensed-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root { color-scheme: dark; --bg: #090909; --text: #f0ede7; --muted: #99958f; --red: #f04330; --line: #2a2826; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Roboto Condensed', Arial, sans-serif; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .035; z-index: 5; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='white' filter='url(%23n)' opacity='.6' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
.backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; z-index: -1; background: var(--bg) url('media/promo-wide.jpg') center / cover no-repeat; }
/* Darkens the video so the countdown and the form stay readable. */
.backdrop::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 35%, rgba(9, 9, 9, .45), rgba(9, 9, 9, .8) 75%); }
/* Hidden until it really plays: a blocked or still loading video would cover the still frame with black. */
.backdrop-video { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s; }
.backdrop-video.is-playing { opacity: 1; }
/* Soft dark spot right under the texts and the form, fading out towards the edges. */
.countdown-section::before, .registration::before { content: ''; position: absolute; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(9, 9, 9, .7), rgba(9, 9, 9, .45) 55%, transparent); }
.countdown-section::before { inset: 0 max(0px, calc(50% - 600px)); }
.registration::before { inset: -40px -180px; }
/* The fades are wider than the form: never let them cause sideways scrolling. */
main { overflow-x: clip; }
.age-badge { position: absolute; top: 24px; right: 24px; z-index: 3; padding: 7px 9px; border: 1.5px solid var(--text); font: 600 15px/1 'Oswald', 'Arial Narrow', sans-serif; letter-spacing: .5px; }
.eyebrow, .time-label { font-size: 11px; letter-spacing: 2px; font-weight: 500; }
.countdown-section { text-align: center; padding: 72px 24px 57px; position: relative; isolation: isolate; overflow: hidden; }
.countdown-section .eyebrow { color: var(--red); margin: 0 0 22px; }
h1, h2 { font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 600; }
h1 { font-size: clamp(32px, 5.1vw, 70px); line-height: 1.15; letter-spacing: -.8px; margin: 0 0 22px; }
.countdown { display: flex; justify-content: center; align-items: flex-start; gap: 10px; font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 500; font-size: clamp(60px, 10vw, 140px); line-height: 1.12; font-variant-numeric: tabular-nums; letter-spacing: -5px; }
.time-unit { display: flex; flex-direction: column; min-width: 1.23em; }
.colon { color: var(--red); transform: translateY(-.045em); }
.time-label { font-family: 'Roboto Condensed', Arial, sans-serif; color: var(--muted); line-height: 1.5; letter-spacing: 3px; padding-top: 13px; }
.hero-note { color: var(--muted); font-size: 14px; margin: 27px 0 0; }
.registration { position: relative; isolation: isolate; max-width: 620px; margin: 0 auto 65px; padding: 26px 0 0; text-align: center; }
.section-top { display: flex; justify-content: center; align-items: center; gap: 12px; color: var(--muted); }
h2 { margin: 17px 0 28px; font-size: 39px; line-height: 1.15; letter-spacing: -.4px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 13px; color: #d0ccc7; }
.field input { width: 100%; min-width: 0; font: inherit; font-size: 15px; height: 52px; padding: 0 16px; text-align: center; color: var(--text); border: 1px solid #363330; background: #121110; border-radius: 0; transition: border-color .15s; }
input::placeholder { color: #77726c; opacity: 1; }
.field input:hover { border-color: #68615a; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.consent { display: flex; justify-content: center; gap: 12px; align-items: flex-start; text-align: left; font-size: 13px; color: #b6b1aa; line-height: 1.5; margin: 23px 0; cursor: pointer; }
.consent input { appearance: none; flex-shrink: 0; width: 18px; height: 18px; margin: 0; border: 1px solid #665e57; background: #121110; cursor: pointer; }
.consent input:checked { background: var(--red); border-color: var(--red); }
.consent input:checked::after { content: ''; display: block; width: 5px; height: 9px; margin: 2px 0 0 5px; border: solid var(--bg); border-width: 0 2px 2px 0; transform: rotate(45deg); }
button { width: 100%; min-height: 58px; padding: 12px 20px; border: 1px solid var(--red); border-radius: 0; background: var(--red); color: #100b09; display: flex; justify-content: center; align-items: center; gap: 16px; cursor: pointer; font: 700 14px 'Roboto Condensed', Arial, sans-serif; letter-spacing: 1.4px; transition: background .15s; }
button:hover { background: #ff654e; }
button:active { background: #da3625; }
.form-note { margin: 14px 0 0; font-size: 12px; color: var(--muted); line-height: 1.5; }
.form-note.success { color: var(--text); }
.form-note.error { color: var(--red); }
.form-note:empty { display: none; }
button:disabled { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-aspect-ratio: 4/5) { .backdrop { background-image: url('media/promo-tall.jpg'); } }
@media (min-width: 1500px) { .countdown-section { padding-top: 90px; padding-bottom: 70px; } }
@media (max-width: 700px) {
  .age-badge { top: 16px; right: 16px; font-size: 13px; padding: 6px 7px; }
  .countdown-section { padding: 65px 18px 44px; }
  h1 { font-size: clamp(27px, 6.1vw, 42px); margin-bottom: 25px; }
  .countdown { font-size: clamp(40px, 13vw, 84px); gap: 3px; letter-spacing: -2px; }
  .time-unit { min-width: 1.15em; }
  .time-label { font-size: 9px; letter-spacing: 1.2px; padding-top: 8px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.6px; }
  .registration { margin: 0 22px 48px; }
  .registration::before { inset: -30px -40px; }
  h2 { font-size: 33px; }
}
@media (max-width: 380px) { .fields { grid-template-columns: 1fr; } button { font-size: 12px; letter-spacing: .7px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
