@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/inter-latin.woff2) format("woff2");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #1f1f1f;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid #ff2800; outline-offset: 2px; }

.page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: #ffffff; }
.container { width: 100%; margin: 0 auto; padding-left: 16px; padding-right: 16px; max-width: 1240px; }
.container.wide { max-width: 1440px; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: #1f1f1f; color: #ffffff; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.45), rgba(0,0,0,0.7)); }
.topbar { display: flex; align-items: center; padding-top: 24px; padding-bottom: 20px; }
.topbar > img { height: 40px; width: auto; }

.intro { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 16px; padding-bottom: 64px; }
.event-logo { height: 64px; width: auto; }
.chip {
  margin: 32px 0 0;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.15); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 14px; line-height: 20px; font-weight: 600;
  text-align: center; text-wrap: balance;
  max-width: 320px; border-radius: 18px;
}
.chip svg { width: 16px; height: 16px; flex-shrink: 0; }
h1 { margin: 20px 0 0; font-size: 36px; line-height: 1.05; letter-spacing: -0.025em; font-weight: 600; text-wrap: balance; }
.subtitle { margin: 16px 0 0; max-width: 672px; font-size: 18px; line-height: 32px; color: rgba(255,255,255,0.9); text-wrap: balance; }

/* video a cavallo: metà sulla foto, metà sul fondo bianco che segue */
.video-band { position: relative; }
.video-band::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; bottom: 0; background: #ffffff; }
.video-band .container { position: relative; display: flex; justify-content: center; }
.video {
  position: relative; width: 100%; max-width: 1040px; aspect-ratio: 16 / 9;
  border-radius: 24px; overflow: hidden; background: #1f1f1f;
  box-shadow: 0 32px 64px -24px rgba(0,0,0,0.45);
}
.video video { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #1f1f1f; cursor: pointer; color: #ffffff; font: inherit; }
.play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.play-shade { position: absolute; inset: 0; background: rgba(0,0,0,0.35); transition: background-color 0.2s; }
.play:hover .play-shade { background: rgba(0,0,0,0.25); }
.play-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.play-circle {
  width: 80px; height: 80px; border-radius: 999px; background: #ff2800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35); transition: transform 0.2s;
}
.play:hover .play-circle { transform: scale(1.05); }
.play-circle svg { width: 32px; height: 32px; transform: translateX(2px); }
.play-label { padding: 8px 16px; border-radius: 999px; background: rgba(0,0,0,0.55); font-size: 15px; line-height: 22px; font-weight: 600; }

.footer { margin-top: auto; padding-top: 64px; }
.footer .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; border-top: 1px solid #f0f0f0; font-size: 13px; line-height: 20px; color: #8c8c8c; }
.footer p { margin: 0; }
.footer a { color: #595959; font-weight: 500; text-decoration: none; }
.footer a:hover { color: #1f1f1f; }

@media (min-width: 640px) {
  .container { padding-left: 24px; padding-right: 24px; }
  .topbar { padding-top: 28px; }
  .topbar > img { height: 44px; }
  .intro { padding-top: 32px; padding-bottom: 96px; }
  .event-logo { height: 80px; }
  .chip { font-size: 15px; max-width: none; border-radius: 999px; }
  h1 { font-size: 60px; }
  .subtitle { font-size: 20px; }
  .play-circle { width: 104px; height: 104px; }
  .play-circle svg { width: 40px; height: 40px; }
  .play-label { font-size: 17px; line-height: 24px; }
  .footer { padding-top: 80px; }
}
@media (min-width: 1024px) {
  .container { padding-left: 32px; padding-right: 32px; }
  h1 { font-size: 64px; }
}

/* menu delle lingue, come nel sito completo: bandiera, sigla e freccia; tendina bianca */
.topbar { justify-content: space-between; gap: 16px; }
.lang { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 8px;
  border: 0; border-radius: 8px; background: transparent; color: rgba(255,255,255,0.9);
  font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
}
.lang-btn:hover { background: rgba(255,255,255,0.12); color: #ffffff; }
.lang-btn .chev { width: 16px; height: 16px; color: rgba(255,255,255,0.7); }
.flag { width: 20px; height: 14px; flex-shrink: 0; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); }
.lang-menu {
  position: absolute; right: 0; top: 100%; z-index: 50; margin-top: 8px; min-width: 240px;
  padding: 4px; border: 1px solid #f0f0f0; border-radius: 12px; background: #ffffff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08), 0 3px 6px -4px rgba(0,0,0,0.12);
}
.lang-menu[hidden] { display: none; }
.lang-menu a {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px;
  color: #1f1f1f; font-size: 15px; text-decoration: none;
}
.lang-menu a:hover, .lang-menu a:focus { background: #f5f5f5; outline: none; }
.lang-menu a span { flex: 1; }
.lang-menu .check { width: 16px; height: 16px; color: #ff2800; }
@media (min-width: 640px) { .lang-btn { padding: 0 10px; } }
