@font-face {
  font-family: "Orbitron";
  src: url("/assets/fonts/orbitron-black.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}

:root {
  --bg: #06080A;
  --bg-2: #0C1014;
  --bg-3: #121820;
  --line: #1F2A33;
  --text: #EEF6F8;
  --muted: #8FA1AB;
  --accent: #22E58C;
  --accent-2: #1FC27A;
  --glow: rgba(34, 229, 140, .35);
  --display: "Orbitron", "Arial Black", sans-serif;
  --body: "Roboto", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 12vw, 140px) 0; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 4.4vw, 54px); line-height: 1.05; letter-spacing: .01em; margin-bottom: 28px; }
.accent { color: var(--accent); }
.lead { color: var(--muted); font-size: 17px; max-width: 520px; margin-bottom: 28px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 28px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: transform .25s, box-shadow .25s, background .25s; cursor: pointer; border: 0; font-family: var(--body); }
.btn--primary { background: var(--accent); color: #06080A; box-shadow: 0 8px 30px rgba(34, 229, 140, .25); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(34, 229, 140, .45); }
.btn--full { width: 100%; }

/* NAV */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gutter); transition: background .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(6, 8, 10, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav__logo img { height: 22px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--muted); }
.nav__links a:hover { color: var(--text); }
.nav__cta { color: var(--accent) !important; border: 1px solid rgba(34, 229, 140, .5); padding: 8px 18px; border-radius: 999px; }
.nav__burger { display: none; background: none; border: 0; width: 36px; height: 36px; position: relative; cursor: pointer; }
.nav__burger span { position: absolute; left: 7px; right: 7px; height: 2px; background: var(--text); transition: transform .3s; }
.nav__burger span:first-child { top: 13px; } .nav__burger span:last-child { top: 21px; }
.nav.is-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* HERO */
.hero { position: relative; height: 100svh; min-height: 520px; overflow: hidden; background: #000; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(4, 6, 8, .35), rgba(4, 6, 8, .85)); opacity: 0; transition: opacity 1.2s ease; }
.hero__finale { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; padding: 0 var(--gutter); }
.hero__logo { width: min(760px, 86vw); opacity: 0; transform: scale(.86); filter: drop-shadow(0 0 30px rgba(34, 229, 140, .35)); transition: opacity 1s ease, transform 1.2s cubic-bezier(.2, .9, .2, 1.2); }
.hero__btn { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.hero.show-logo .hero__shade { opacity: 1; }
.hero.show-logo .hero__logo { opacity: 1; transform: none; }
.hero.show-btn .hero__btn { opacity: 1; transform: none; }

/* DATE */
.date__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.date__card { position: sticky; top: 100px; height: min(760px, 82vh); border-radius: 28px; overflow: hidden; border: 1px solid rgba(34, 229, 140, .25); background: radial-gradient(60% 50% at 50% 62%, rgba(34, 229, 140, .25), transparent 70%), var(--bg-2); display: flex; align-items: flex-end; justify-content: center; }
.date__bigname { position: absolute; top: 36px; left: 0; right: 0; text-align: center; font-family: var(--display); font-weight: 900; font-size: clamp(64px, 8.5vw, 124px); line-height: .92; color: transparent; -webkit-text-stroke: 2px var(--accent); opacity: .9; }
.date__glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; bottom: 10%; background: var(--accent); filter: blur(120px); opacity: .25; }
.date__photo { position: relative; height: 88%; width: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .6)); }
.events { list-style: none; border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); transition: background .2s; }
.event:hover { background: linear-gradient(90deg, rgba(34, 229, 140, .06), transparent); }
.event__when { text-align: center; }
.event__month { display: block; font-size: 11px; font-weight: 700; letter-spacing: .25em; color: var(--accent); }
.event__day { display: block; font-size: 22px; font-weight: 700; color: var(--accent); line-height: 1.1; }
.event__name { font-weight: 700; font-size: 17px; }
.event__where { color: var(--muted); font-size: 13px; }
.event__tag { font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.event.is-past { opacity: .4; }
.event.is-past .event__tag { border-style: dashed; }

/* ZOOM */
.zoom { position: relative; height: 320vh; }
.zoom__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; justify-content: center; }
.zoom__bg { position: absolute; inset: 0; background: url("/assets/img/schegge.svg") center / cover no-repeat; opacity: var(--bgo, 0); }
.zoom__word { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(var(--ws, .7)); font-family: var(--display); font-weight: 900; font-size: 30vw; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(34, 229, 140, .45); opacity: var(--wo, 0); white-space: nowrap; pointer-events: none; }
.zoom__ring { position: absolute; left: 50%; top: 50%; width: 46vmin; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%) scale(var(--rs, 1)); border: 2px solid var(--accent); box-shadow: 0 0 60px var(--glow), inset 0 0 60px var(--glow); opacity: var(--ro, 1); pointer-events: none; z-index: 3; }
.zoom__photo { position: absolute; top: 9vh; left: 50%; height: 150vh; width: auto; max-width: none; transform-origin: 55% 35.6%; transform: translateX(-50%) translateY(var(--py, 0px)) scale(var(--ps, 3.6)); filter: drop-shadow(0 0 40px rgba(34, 229, 140, .25)); will-change: transform; z-index: 2; }
.zoom__text { position: absolute; bottom: 12vh; z-index: 4; opacity: var(--to, 0); transform: translateY(calc((1 - var(--to, 0)) * 30px)); }
.zoom__text--left { left: var(--gutter); width: min(420px, 38vw); }
.zoom__text--right { right: var(--gutter); width: min(320px, 30vw); color: var(--muted); }
.zoom__text--right p + p { margin-top: 12px; }
.zoom__text .h2 { margin-bottom: 0; }
.zoom__hint { position: absolute; bottom: 32px; left: 0; right: 0; text-align: center; font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); opacity: var(--ho, 1); z-index: 4; }
.zoom__stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28vh; background: linear-gradient(transparent, var(--bg)); z-index: 3; pointer-events: none; }

/* INSTAGRAM */
.insta__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.insta__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; }
.insta__feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 28px; }
.insta__feed a { aspect-ratio: 1; overflow: hidden; border-radius: 8px; }
.insta__feed img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; }
.insta__feed a:hover img { transform: scale(1.06); opacity: .85; }

/* SOCIAL */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border-radius: 20px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); transition: transform .3s, border-color .3s; }
.card:hover { transform: translateY(-6px); border-color: rgba(34, 229, 140, .5); }
.card__cover { aspect-ratio: 16 / 10; background: url("/assets/img/schegge.svg") center / cover; display: grid; place-items: center; }
.card__play { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #06080A; font-size: 18px; box-shadow: 0 8px 24px rgba(34, 229, 140, .45); }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 2px; }
.card__body strong { font-size: 18px; }
.card__body span { color: var(--muted); font-size: 14px; }

/* BRAND */
.badges { display: flex; flex-wrap: wrap; gap: 20px; }
.badge { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); border: 1px solid rgba(34, 229, 140, .45); box-shadow: 0 0 24px rgba(34, 229, 140, .12); color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; transition: transform .35s; }
.badge:hover { transform: scale(1.06); }

/* GALLERIA */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 12px; }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.gallery__grid .big { grid-column: span 2; grid-row: span 2; }

/* BOOKING */
.booking { background: url("/assets/img/schegge.svg") center / cover no-repeat; position: relative; }
.booking::before { content: ""; position: absolute; inset: 0; background: rgba(6, 8, 10, .55); }
.booking__grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.mail { color: var(--accent); font-weight: 700; font-size: 18px; border-bottom: 1px solid rgba(34, 229, 140, .4); }
.form { background: rgba(12, 16, 20, .9); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.form input, .form select, .form textarea { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; color: var(--text); font: inherit; font-size: 15px; outline: none; transition: border-color .2s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); }
.form__note { font-size: 12px; color: var(--muted); text-align: center; }

/* FOOTER */
.footer { border-top: 1px solid var(--line); padding: 36px 0; }
.footer__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__logo { height: 20px; width: auto; }
.footer__social { display: flex; gap: 22px; color: var(--muted); font-size: 14px; }
.footer__social a:hover { color: var(--accent); }
.footer__copy { color: var(--muted); font-size: 13px; }

/* COMPARSA */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* TABLET E TELEFONO */
@media (max-width: 960px) {
  .date__grid, .insta__grid, .booking__grid { grid-template-columns: 1fr; gap: 40px; }
  .date__card { position: relative; top: 0; height: 620px; }
  .cards { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .zoom__text--left { width: auto; right: var(--gutter); bottom: 30vh; }
  .zoom__text--right { width: auto; left: var(--gutter); bottom: 9vh; font-size: 15px; }
}
@media (max-width: 760px) {
  .nav__burger { display: block; }
  .nav__links { position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0; background: rgba(6, 8, 10, .96); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; transform: translateY(-120%); transition: transform .35s; }
  .nav.is-open .nav__links { transform: none; }
  .nav__links a { padding: 14px 0; width: 100%; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav__cta { border: 0 !important; padding: 14px 0 !important; }
  .hero__finale { gap: 28px; }
  .date__card { height: 520px; }
  .event { grid-template-columns: 52px 1fr; }
  .event__tag { display: none; }
  .zoom__photo { height: 120vh; top: 14vh; }
  .zoom__text--right { display: none; }
  .zoom__text--left { bottom: 12vh; }
  .form__row { grid-template-columns: 1fr; }
  .badge { width: calc(50% - 10px); height: auto; aspect-ratio: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Telefono: testo dello zoom leggibile sopra la foto */
@media (max-width: 760px) {
  .zoom__stage::after { height: 62vh; background: linear-gradient(transparent, rgba(6, 8, 10, .92) 55%, var(--bg)); }
}
