:root {
  color-scheme: dark;
  --ink: #f7f7fb;
  --muted: #9ba4bd;
  --night: #040712;
  --panel: rgba(11, 15, 34, .78);
  --line: rgba(255, 255, 255, .13);
  --cyan: #41c8ff;
  --blue: #5368ff;
  --violet: #914cff;
  --pink: #f44cbe;
  --orange: #ff8b38;
  --font: "Lorem Ipsum", "Century Gothic", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 7%, rgba(83, 104, 255, .17), transparent 28rem),
    radial-gradient(circle at 85% 45%, rgba(244, 76, 190, .1), transparent 34rem),
    var(--night);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.page-mark {
  position: fixed;
  z-index: -2;
  width: min(112vw, 1440px);
  aspect-ratio: 1;
  top: 5vh;
  right: -24vw;
  opacity: .045;
  background: url("assets/icona-nexp-wh.png") center / contain no-repeat;
  transform: none;
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
select { color-scheme: dark; }
select option,
select optgroup { color: #081326 !important; background: #f7f9ff !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 86px;
  padding: 18px clamp(22px, 4vw, 72px);
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, min-height .35s ease;
}
.site-header.is-scrolled { min-height: 70px; background: rgba(4, 7, 18, .88); border-color: var(--line); backdrop-filter: blur(20px); }
.brand { width: 142px; }
.main-nav { justify-self: center; display: flex; gap: clamp(18px, 2.4vw, 42px); font-size: .77rem; letter-spacing: .13em; text-transform: uppercase; }
.main-nav a { color: #cbd2e5; transition: color .2s ease; }
.main-nav a:hover { color: white; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.client-button { padding: 12px 18px; border: 1px solid rgba(65, 200, 255, .45); border-radius: 100px; color: #dff7ff; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; background: rgba(65,200,255,.06); white-space: nowrap; }
.client-button b { margin-left: 10px; color: var(--cyan); }
.language-picker { position: relative; }
.language-toggle { width: 45px; height: 45px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: white; background: rgba(10,15,35,.82); cursor: pointer; transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.language-toggle [data-current-flag] { display: block; width: 27px; height: 20px; border-radius: 5px; object-fit: cover; filter: drop-shadow(0 3px 8px rgba(0,0,0,.42)); }
.language-toggle:hover, .language-toggle[aria-expanded="true"] { border-color: var(--cyan); background: rgba(65,200,255,.1); transform: translateY(-1px); }
.language-menu { position: absolute; top: calc(100% + 12px); right: 0; width: 190px; display: grid; gap: 5px; padding: 8px; border: 1px solid var(--line); border-radius: 17px; background: rgba(5,8,22,.97); box-shadow: 0 24px 70px rgba(0,0,0,.42); backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97); transform-origin: top right; transition: opacity .2s ease, visibility .2s ease, transform .2s ease; }
.language-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.language-menu button { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 9px; width: 100%; padding: 10px; border: 0; border-radius: 10px; color: #cbd2e5; background: transparent; cursor: pointer; text-align: left; }
.language-menu button:hover, .language-menu button.is-active { color: white; background: rgba(65,200,255,.1); }
.language-menu button img { display: block; width: 27px; height: 20px; border-radius: 5px; object-fit: cover; filter: drop-shadow(0 2px 5px rgba(0,0,0,.35)); }
.language-menu button b { font-size: .68rem; letter-spacing: .08em; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); background: transparent; border-radius: 50%; }
.menu-toggle span { display: block; width: 100%; height: 1px; background: white; margin: 6px 0; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 130px 24px 70px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before { content: ""; position: absolute; z-index: -2; width: min(92vw, 1220px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(85,107,255,.22), rgba(145,76,255,.08) 32%, transparent 68%); filter: blur(20px); }
.hero::after { content: ""; position: absolute; z-index: -1; left: 6vw; right: 6vw; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(65,200,255,.7), rgba(244,76,190,.7), transparent); }
.hero-content { width: min(1050px, 92vw); text-align: center; }
.eyebrow { margin: 0 0 18px; color: var(--cyan); font-size: .7rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; }
.hero-logo { width: min(750px, 78vw); margin: 0 auto; filter: drop-shadow(0 20px 50px rgba(0,0,0,.45)); animation: hero-in 1.2s cubic-bezier(.2,.8,.2,1) both; }
.hero-slogan { margin: 38px auto 0; max-width: 1100px; font-family: "Arial Black", Impact, Haettenschweiler, sans-serif; font-size: clamp(2.2rem, 5.2vw, 5.7rem); font-weight: 900; line-height: .9; letter-spacing: -.07em; text-transform: uppercase; text-shadow: 0 14px 36px rgba(0,0,0,.5); }
.hero-slogan span { color: var(--cyan); background: linear-gradient(90deg, #45d4ff, #8cecff, #8b7aff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.scroll-cue { display: inline-flex; align-items: center; gap: 16px; margin-top: 65px; color: var(--muted); font-size: .67rem; letter-spacing: .16em; text-transform: uppercase; }
.scroll-cue i { position: relative; width: 43px; height: 43px; border: 1px solid var(--line); border-radius: 50%; }
.scroll-cue i::after { content: "↓"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--cyan); animation: cue 1.5s infinite; }
.hero-orbit { position: absolute; z-index: -1; border: 1px solid rgba(86, 133, 255, .2); border-radius: 50%; transform: rotate(-12deg); }
.orbit-one { width: 82vw; height: 34vw; min-height: 320px; }
.orbit-two { width: 68vw; height: 24vw; min-height: 230px; border-color: rgba(244,76,190,.16); transform: rotate(10deg); }

.section { width: min(1380px, calc(100% - 48px)); margin: 0 auto; padding: clamp(96px, 10vw, 170px) 0; }
.section-heading { display: block; margin-bottom: clamp(48px, 6vw, 90px); }
.section-heading h2, .distribution h2 { margin: 0; font-size: clamp(3rem, 7vw, 7.6rem); line-height: .9; letter-spacing: -.075em; text-transform: uppercase; }

.about-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr); gap: clamp(50px, 8vw, 130px); align-items: start; }
.manifesto { margin: 0; font-size: clamp(2rem, 4.5vw, 5.25rem); line-height: 1.02; letter-spacing: -.055em; }
.manifesto::first-letter { color: var(--cyan); }
.about-copy { padding-top: 10px; color: #b8c0d5; font-size: clamp(1rem, 1.2vw, 1.2rem); line-height: 1.85; }
.about-copy p { margin: 0 0 24px; }
.about-copy strong { color: white; }
.signature { margin-top: 45px !important; color: white; font-size: 1.45rem; }
.signature span { display: block; margin-top: 5px; color: var(--cyan); font-size: .63rem; letter-spacing: .18em; text-transform: uppercase; }

.formats { width: min(1840px, calc(100% - 28px)); }
.format-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.format-card { position: relative; min-width: 0; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 24px; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(145deg, rgba(18,24,52,.9), rgba(5,8,20,.96)); transition: transform .35s ease, border-color .35s ease; }
.format-card:hover { transform: translateY(-8px); border-color: rgba(255,255,255,.32); }
.format-card img { position: relative; z-index: 1; width: 106%; height: clamp(190px, 14vw, 285px); margin: auto -3%; object-fit: contain; filter: drop-shadow(0 18px 34px rgba(0,0,0,.45)); transition: transform .4s ease; }
.format-card:hover img { transform: scale(1.035); }
.format-glow { position: absolute; inset: 18% 10%; opacity: .25; filter: blur(55px); border-radius: 50%; }
.format-bingo .format-glow { background: #ff9b35; }
.format-kara .format-glow { background: #d734ff; }
.format-detective .format-glow { background: #ff2727; }
.format-lupus .format-glow { background: #d6e2ff; opacity: .12; }
.format-strategy .format-glow { background: #b026ff; opacity: .18; }
.format-placeholder .format-glow { background: linear-gradient(135deg, var(--cyan), #f44cbe); opacity: .15; }
.format-placeholder-logo { position: relative; z-index: 1; min-height: clamp(190px, 14vw, 285px); margin: auto 0; display: grid; place-content: center; justify-items: center; gap: 13px; color: white; }
.format-placeholder-logo span { display: grid; place-items: center; width: 108px; aspect-ratio: 1; border: 1px solid rgba(157,231,255,.5); border-radius: 50%; background: rgba(65,200,255,.08); color: var(--cyan); font-size: 4rem; font-weight: 200; line-height: 1; box-shadow: 0 0 46px rgba(65,200,255,.12); }
.format-placeholder-logo strong { color: #dce7f8; font-size: .72rem; letter-spacing: .22em; }
.format-status { align-self: flex-start; position: relative; z-index: 2; padding: 8px 11px; border-radius: 100px; font-size: .58rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.format-status.live { background: #49df8c; color: #071b10; }
.format-status.maintenance { border: 1px solid rgba(255,255,255,.23); color: #d5d9e7; }
.format-status.soon { background: rgba(65,200,255,.1); border: 1px solid rgba(65,200,255,.3); color: #9de7ff; }
.format-footer { position: relative; z-index: 2; display: grid; gap: 18px; padding-top: 20px; border-top: 1px solid var(--line); }
.format-footer span { color: #aeb8cf; font-size: clamp(.7rem, .7vw, .82rem); line-height: 1.5; }
.format-footer b { justify-self: end; color: white; font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; }
.where-to-play-cta { display: flex; align-items: center; justify-content: center; gap: 24px; margin: clamp(38px, 5vw, 72px) auto 0; padding: 22px; border: 1px solid rgba(65,200,255,.22); border-radius: 24px; background: linear-gradient(115deg, rgba(65,200,255,.075), rgba(83,104,255,.07), rgba(244,76,190,.045)); }
.where-to-play-cta p { max-width: 640px; margin: 0; color: #b9c3d8; font-size: clamp(.9rem, 1.3vw, 1.08rem); }
.where-to-play-cta a { flex: 0 0 auto; padding: 15px 24px; border: 1px solid rgba(65,200,255,.55); border-radius: 999px; color: #03101d; background: linear-gradient(135deg, #67dcff, #42b4ff); font-size: .7rem; font-weight: 950; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; transition: transform .2s ease, filter .2s ease; }
.where-to-play-cta a:hover { transform: translateY(-2px); filter: brightness(1.08); }

.distribution { width: 100%; max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(460px, .8fr); gap: clamp(60px, 8vw, 140px); padding-left: max(24px, calc((100vw - 1380px) / 2)); padding-right: max(24px, calc((100vw - 1380px) / 2)); background: linear-gradient(135deg, rgba(47,60,170,.19), rgba(244,76,190,.07)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.distribution h2 span { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.7); }
.distribution-intro > p:not(.eyebrow) { max-width: 650px; margin-top: 34px; color: #b8c0d5; font-size: 1.12rem; line-height: 1.75; }
.distribution-note { display: flex; gap: 12px; margin-top: 42px; color: #d7def0; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.distribution-note span { color: var(--cyan); }
.contact-form { align-self: start; padding: clamp(24px, 3vw, 42px); border: 1px solid var(--line); border-radius: 28px; background: rgba(3, 6, 17, .78); box-shadow: 0 28px 80px rgba(0,0,0,.25); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 9px; margin-bottom: 16px; color: #9ea8bf; font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; outline: none; padding: 14px 15px; color: white; background: rgba(255,255,255,.045); transition: border-color .2s ease, background .2s ease; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--cyan); background: rgba(65,200,255,.055); }
.privacy-check { grid-template-columns: auto 1fr !important; align-items: start; text-transform: none !important; letter-spacing: 0 !important; line-height: 1.5; }
.privacy-check input { width: 17px; margin-top: 2px; accent-color: var(--cyan); }
.privacy-check a { color: var(--cyan); text-decoration: underline; }
.submit-button { width: 100%; display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding: 16px 18px; border: 0; border-radius: 13px; color: #040712; background: linear-gradient(90deg, var(--cyan), #91e4ff); cursor: pointer; font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.submit-button b { font-size: 1.2rem; }
.form-feedback { min-height: 1.2em; margin: 12px 0 0; color: #8fe7ff; font-size: .72rem; line-height: 1.4; }

.contact-lead { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; margin-bottom: 90px; padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-lead > p { margin: 0; color: #aeb7cd; font-size: 1.1rem; }
.mail-links { display: grid; gap: 20px; }
.mail-links a { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center; font-size: clamp(1rem, 2vw, 1.75rem); }
.mail-links span { color: var(--cyan); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.team-card { display: grid; grid-template-columns: 128px minmax(0, 1fr); align-items: center; gap: 22px; min-height: 220px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: rgba(11,15,34,.56); }
.portrait { width: 122px; aspect-ratio: 1; overflow: hidden; border-radius: 50%; border: 2px solid rgba(65,200,255,.62); box-shadow: 0 0 0 8px rgba(65,200,255,.06), 0 25px 55px rgba(0,0,0,.35); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-francesco img { transform: scale(1.045); object-position: 29% center; }
.portrait-michele img { object-position: 50% 20%; }
.portrait-antonio img { object-position: center; }
.team-role { margin: 0 0 12px; color: var(--cyan); font-size: .61rem; letter-spacing: .17em; text-transform: uppercase; }
.team-card h3 { margin: 0 0 16px; font-size: clamp(1.65rem, 2.2vw, 2.55rem); line-height: .94; letter-spacing: -.055em; }
.team-card-antonio h3 { margin-bottom: 0; }
.team-card a { color: #aeb9d0; font-size: .78rem; }

.site-footer { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 40px; padding: 34px clamp(24px,4vw,72px); border-top: 1px solid var(--line); color: #778198; font-size: .61rem; line-height: 1.6; }
.site-footer img { width: 130px; opacity: .72; }
.site-footer p { margin: 0; }
.site-footer a:hover { color: white; }
.site-footer > div { display: flex; gap: 20px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes hero-in { from { opacity: 0; transform: translateY(25px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes cue { 0%,100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }

@media (max-width: 1180px) {
  .format-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .format-card { min-height: 560px; aspect-ratio: auto; padding: 22px; }
  .format-card img { height: 245px; }
}

@media (max-width: 1020px) {
  .site-header { grid-template-columns: 150px 1fr auto; }
  .main-nav { display: none; }
  .about-grid, .distribution { grid-template-columns: 1fr; }
  .format-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .format-card { min-height: 560px; aspect-ratio: auto; padding: 22px; }
  .format-card img { height: 245px; }
  .team-card { grid-template-columns: 105px minmax(0, 1fr); gap: 16px; min-height: 185px; padding: 18px; }
  .portrait { width: 100px; }
  .team-card h3 { font-size: 1.7rem; }
  .team-card a { font-size: .65rem; overflow-wrap: anywhere; }
  .site-footer { grid-template-columns: 120px 1fr; }
  .site-footer > div { grid-column: 2; }
}

@media (max-width: 820px) and (min-width: 681px) {
  .team-card { grid-template-columns: 1fr; justify-items: center; align-content: center; gap: 18px; min-height: 285px; text-align: center; }
  .portrait { width: 105px; }
}

@media (max-width: 680px) {
  .site-header { min-height: 68px; padding: 13px 14px; grid-template-columns: 1fr auto auto; gap: 9px; background: rgba(4,7,18,.88); backdrop-filter: blur(18px); }
  .brand { width: 105px; }
  .menu-toggle { display: block; order: 2; }
  .header-actions { order: 3; gap: 6px; }
  .client-button { padding: 10px 11px; font-size: .56rem; }
  .client-button b { margin-left: 5px; }
  .language-toggle { width: 39px; height: 39px; font-size: 1.05rem; }
  .language-menu { position: fixed; top: 73px; right: 12px; width: 190px; }
  .main-nav { position: absolute; display: grid; left: 14px; right: 14px; top: 72px; padding: 20px; gap: 0; border: 1px solid var(--line); border-radius: 18px; background: rgba(4,7,18,.97); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s ease; }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
  .hero { min-height: 92svh; padding-top: 105px; }
  .hero-logo { width: 88vw; }
  .hero-slogan { margin-top: 27px; font-size: clamp(2.15rem, 11vw, 3.8rem); }
  .scroll-cue { margin-top: 48px; }
  .scroll-cue span { display: none; }
  .section { width: min(100% - 30px, 1380px); padding: 90px 0; }
  .section-heading { margin-bottom: 44px; }
  .section-heading h2, .distribution h2 { font-size: clamp(2.7rem, 15vw, 5rem); }
  .manifesto { font-size: clamp(2rem, 10vw, 3.2rem); }
  .about-grid { gap: 40px; }
  .format-grid { display: grid; grid-template-columns: 1fr; }
  .format-card { min-height: 590px; padding: 18px; border-radius: 22px; }
  .format-card img { height: 250px; }
  .format-footer span { display: block; font-size: .73rem; line-height: 1.55; }
  .where-to-play-cta { align-items: stretch; flex-direction: column; }
  .where-to-play-cta a { text-align: center; }
  .distribution { width: 100%; padding: 90px 18px; gap: 48px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 22px 16px; }
  .contact-lead { grid-template-columns: 1fr; gap: 28px; margin-bottom: 55px; }
  .mail-links a { grid-template-columns: 92px 1fr; gap: 8px; font-size: .9rem; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 105px 1fr; min-height: 190px; padding: 22px 18px; gap: 20px; }
  .portrait { width: 100px; }
  .team-card h3 { font-size: 1.7rem; }
  .team-card a { font-size: .65rem; overflow-wrap: anywhere; }
  .site-footer { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 20px; }
  .site-footer > div { grid-column: auto; }
  .page-mark { width: 220vw; right: -104vw; top: 12vh; }
}

@media (max-width: 410px) {
  .client-button span { display: none; }
  .client-button { width: 39px; height: 39px; display: grid; place-items: center; padding: 0; }
  .client-button b { margin: 0; font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
