/* Idle Rocket — sito pubblico (9 nov 2026): stile comune a tutte le pagine. */
:root {
  --bg: #03040f;
  --bg2: #0a0b24;
  --text: #eef2ff;
  --muted: #a3acd6;
  --line: rgba(130, 150, 255, .28);
  --glass: rgba(14, 18, 48, .55);
  --gold: #ffc23a;
  --gold2: #ff8a00;
  --cyan: #2ee6ff;
  --violet: #9b6bff;
  --pink: #ff4d9d;
  --green: #3dffa8;
  --radius: 20px;
  --display: "Orbitron", "Segoe UI", system-ui, sans-serif;
  --body: "Exo 2", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  /* trasparente: il colore di fondo è su html, se no copre il cielo animato (z-index negativo) */
  background: transparent;
  font: 17px/1.6 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--violet); color: #fff; }

/* lingue */
[data-en] { display: none; }
html[lang="en"] [data-it] { display: none; }
html[lang="en"] [data-en] { display: revert; }

/* cielo animato dietro a tutto */
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.grid-floor {
  position: fixed; left: -50%; right: -50%; bottom: -10vh; height: 55vh; z-index: -1; pointer-events: none;
  background:
    linear-gradient(rgba(46, 230, 255, .22) 1px, transparent 1px) 0 0 / 70px 70px,
    linear-gradient(90deg, rgba(155, 107, 255, .22) 1px, transparent 1px) 0 0 / 70px 70px;
  transform: perspective(420px) rotateX(64deg);
  transform-origin: 50% 100%;
  mask-image: linear-gradient(to top, rgba(0,0,0,.9), transparent 85%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,.9), transparent 85%);
  animation: floor 3.2s linear infinite;
  opacity: .55;
}
@keyframes floor { to { background-position: 0 70px, 0 0; } }

/* ---------- menu in alto ---------- */
.nav {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1180px, calc(100% - 24px));
  display: flex; align-items: center; gap: 16px; padding: 10px 14px 10px 12px;
  background: rgba(8, 10, 32, .62); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 900 17px var(--display); letter-spacing: 2px; white-space: nowrap; }
@media (max-width: 420px) { .brand { font-size: 14px; letter-spacing: 1px; } .brand img { width: 32px; height: 32px; } }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 0 18px rgba(255, 194, 58, .45); }
.brand span { background: linear-gradient(90deg, #fff, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.links { display: flex; gap: 4px; margin-left: auto; }
.links a {
  position: relative; text-decoration: none; padding: 8px 14px; border-radius: 12px;
  font: 700 13px var(--display); letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted);
  transition: color .2s, background .2s;
}
.links a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.links a[aria-current="page"] { color: #fff; }
.links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet)); box-shadow: 0 0 10px var(--cyan);
}
.lang { display: flex; gap: 4px; }
.lang button {
  background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: 10px;
  padding: 6px 10px; font: 700 12px var(--display); cursor: pointer;
}
.lang button[aria-pressed="true"] { color: #000; background: var(--cyan); border-color: var(--cyan); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: #fff; border-radius: 10px; width: 42px; height: 38px; font-size: 18px; cursor: pointer; }

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .links {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; gap: 2px; padding: 8px;
    background: rgba(8, 10, 32, .94); border: 1px solid var(--line); border-radius: 16px;
    display: none;
  }
  .nav.open .links { display: flex; }
  .links a { padding: 12px 14px; }
  .links a[aria-current="page"]::after { left: 14px; right: auto; width: 40px; }
  .lang { margin-left: 4px; }
}

/* ---------- impaginazione ---------- */
main { position: relative; }
.section { position: relative; width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 110px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 12px var(--display); letter-spacing: 4px; text-transform: uppercase; color: var(--cyan);
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan)); box-shadow: 0 0 8px var(--cyan); }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; }
h2 { font-size: clamp(30px, 5.2vw, 64px); font-weight: 900; letter-spacing: 1px; margin: 14px 0 18px; }
h2 .hl, .hl {
  background: linear-gradient(90deg, var(--cyan), var(--violet) 50%, var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { color: var(--muted); font-size: clamp(17px, 2vw, 20px); max-width: 720px; margin: 0; }

/* pagina interna: testata */
.page-head { padding-top: 170px; padding-bottom: 40px; text-align: center; }
.page-head .lead { margin: 0 auto; }
.page-head h1 { font-size: clamp(40px, 8vw, 104px); font-weight: 900; letter-spacing: 2px; margin: 16px 0 18px; text-shadow: 0 0 60px rgba(155, 107, 255, .45); }

/* ---------- pulsanti ---------- */
.ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  padding: 16px 26px; border-radius: 16px; border: 0; font: 800 15px var(--display); letter-spacing: 1px; text-transform: uppercase;
  transition: transform .15s ease, box-shadow .25s ease, filter .2s;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn-gold {
  color: #1b1100; background: linear-gradient(180deg, #fff0b3, var(--gold) 45%, var(--gold2));
  box-shadow: 0 5px 0 #a35400, 0 0 40px rgba(255, 194, 58, .45);
  overflow: hidden;
}
.btn-gold::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent);
  animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.btn-ghost { color: #fff; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.btn-ghost:hover { box-shadow: 0 0 26px rgba(46, 230, 255, .35); border-color: var(--cyan); }
.btn-discord { color: #fff; background: linear-gradient(#7984ff, #5865f2); box-shadow: 0 8px 26px rgba(88, 101, 242, .5); }
.btn-insta { color: #fff; background: linear-gradient(45deg, #f9a825, #e1306c 50%, #833ab4); box-shadow: 0 8px 26px rgba(225, 48, 108, .45); }
.btn-fb { color: #fff; background: linear-gradient(#3b82f6, #1877f2); box-shadow: 0 8px 26px rgba(24, 119, 242, .45); }

/* ---------- vetro e bordi al neon ---------- */
.glass {
  position: relative; background: var(--glass); border-radius: var(--radius);
  border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.neon { isolation: isolate; }
.neon::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; z-index: -1;
  background: conic-gradient(from var(--spin, 0deg), var(--cyan), var(--violet), var(--pink), var(--gold), var(--cyan));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .0; transition: opacity .3s;
  animation: spin 6s linear infinite;
}
.neon:hover::before { opacity: 1; }
@property --spin { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --spin: 360deg; } }

/* ---------- comparsa allo scorrimento ---------- */
.reveal { opacity: 0; transform: translateY(40px) scale(.98); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; }

/* ---------- HOME: lancio ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center;
  padding: 100px 16px 70px; overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.stage { position: relative; width: min(300px, 58vw, 34vh); aspect-ratio: 1; margin: 10px 0 0; }
.stage .ring {
  position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(46, 230, 255, .55);
  animation: rot 22s linear infinite; box-shadow: 0 0 30px rgba(46, 230, 255, .15) inset;
}
.stage .ring.r2 { inset: 9%; border: 2px solid transparent; border-top-color: var(--violet); border-bottom-color: var(--pink); animation-duration: 9s; animation-direction: reverse; filter: drop-shadow(0 0 8px var(--violet)); }
.stage .ring.r3 { inset: -9%; border: 1px solid rgba(255, 194, 58, .25); animation-duration: 40s; }
.stage .ring.r3::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 16px var(--gold); }
@keyframes rot { to { transform: rotate(360deg); } }
.stage .glow { position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(61, 255, 168, .4), rgba(46, 230, 255, .12) 45%, transparent 70%); filter: blur(10px); animation: breathe 3s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .75; } }
.rocket { position: absolute; left: 50%; top: 50%; width: 40%; transform: translate(-50%, -56%); animation: hover 3.4s ease-in-out infinite; filter: drop-shadow(0 0 22px rgba(61, 255, 168, .45)); }
.rocket img { width: 100%; }
.flame {
  position: absolute; left: 50%; top: 93%; width: 30%; height: 34%; transform: translateX(-50%); transform-origin: 50% 0;
  background: radial-gradient(ellipse at 50% 0, #fff 0 12%, #ffe27a 22%, #ff8a00 45%, rgba(255, 60, 0, .4) 62%, transparent 72%);
  filter: blur(2px); animation: flame .09s ease-in-out infinite alternate; z-index: -1;
}
@keyframes flame { from { transform: translateX(-50%) scaleY(.85) scaleX(.95); } to { transform: translateX(-50%) scaleY(1.12) scaleX(1.05); } }
@keyframes hover { 50% { transform: translate(-50%, -61%); } }

.title {
  font: 900 clamp(54px, 13vw, 176px)/.9 var(--display); letter-spacing: clamp(4px, 1.2vw, 16px); margin: 0;
}
.title .row { display: block; background: linear-gradient(180deg, #ffffff 0%, #dfe6ff 45%, #8b7dff 72%, #2ee6ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 40px rgba(130, 120, 255, .55)); }
.title .row.r2 { background: linear-gradient(180deg, #fff6d6 0%, var(--gold) 55%, var(--gold2) 100%); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 0 40px rgba(255, 170, 40, .55)); }
.title .ch { background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; opacity: 0; transform: translateY(.5em) rotateX(80deg); animation: ch .9s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(.9s + var(--i) * .06s); }
@keyframes ch { to { opacity: 1; transform: none; } }
.tagline { font: 700 clamp(14px, 2.2vw, 20px) var(--display); letter-spacing: clamp(2px, .8vw, 8px); text-transform: uppercase; color: var(--cyan); margin: 18px 0 30px; text-shadow: 0 0 18px rgba(46, 230, 255, .7); }

.scroll-hint { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--line); border-radius: 14px; z-index: 2; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* HUD agli angoli dell'hero */
.hud { position: absolute; z-index: 1; font: 700 11px var(--display); letter-spacing: 2px; color: rgba(46, 230, 255, .75); text-transform: uppercase; pointer-events: none; }
.hud.tl { top: 96px; left: 3vw; } .hud.tr { top: 96px; right: 3vw; text-align: right; }
.hud.bl { bottom: 30px; left: 3vw; } .hud.br { bottom: 30px; right: 3vw; text-align: right; }
.hud b { display: block; color: #fff; font-size: 15px; }
.hud::before { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid rgba(46, 230, 255, .6); }
.hud.tl::before { top: -12px; left: -12px; border-right: 0; border-bottom: 0; }
.hud.tr::before { top: -12px; right: -12px; border-left: 0; border-bottom: 0; }
.hud.bl::before { bottom: -12px; left: -12px; border-right: 0; border-top: 0; }
.hud.br::before { bottom: -12px; right: -12px; border-left: 0; border-top: 0; }
@media (max-width: 700px) { .hud { display: none; } }

/* striscia di numeri */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: 26px 18px; text-align: center; }
.stat .n { font: 900 clamp(30px, 5vw, 56px) var(--display); background: linear-gradient(180deg, #fff, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .t { color: var(--muted); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; font-family: var(--display); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* la flotta: i 10 razzi che salgono */
.fleet { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; align-items: end; margin-top: 50px; padding: 30px 10px 0; }
.fleet .ship { position: relative; text-align: center; }
.fleet .ship img { width: 100%; margin: 0 auto; filter: drop-shadow(0 0 14px rgba(155, 107, 255, .35)); transition: transform .4s; }
.fleet .ship:hover img { transform: translateY(-14px) scale(1.06); }
.fleet .ship::after { content: ""; display: block; height: 10px; margin: 6px 8% 0; border-radius: 50%; background: radial-gradient(ellipse, rgba(46, 230, 255, .7), transparent 70%); }
.fleet .ship:nth-child(n) img { max-width: calc(46% + var(--i) * 6%); }
.fleet .ship.reveal { transform: translateY(120px); }
.fleet .ship.reveal.in { transform: none; }
@media (max-width: 760px) { .fleet { grid-template-columns: repeat(5, 1fr); row-gap: 26px; } }

/* il percorso verso l'Infinito */
.path { position: relative; margin-top: 40px; display: grid; gap: 22px; }
.path::before { content: ""; position: absolute; left: 33px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--cyan), var(--violet), var(--pink), var(--gold)); box-shadow: 0 0 14px var(--violet); }
.step { position: relative; display: grid; grid-template-columns: 68px 1fr; gap: 18px; align-items: start; }
.step .node { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; background: radial-gradient(circle at 35% 30%, #2a3170, #0b0f2a); border: 2px solid var(--c, var(--cyan)); box-shadow: 0 0 24px var(--c, var(--cyan)); z-index: 1; }
.step .card { padding: 20px 22px; }
.step h3 { font-size: 20px; letter-spacing: 1px; color: var(--c, var(--cyan)); margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); }
.step.goal .node { width: 68px; height: 68px; font-size: 34px; animation: pulse 2s ease-in-out infinite; }
.step.goal h3 { font-size: 26px; }

/* schede delle funzionalità */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-top: 40px; }
.feature { padding: 26px 24px; transform-style: preserve-3d; transition: transform .2s ease-out; }
.feature .ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 30px; margin-bottom: 16px; background: linear-gradient(135deg, rgba(46, 230, 255, .2), rgba(155, 107, 255, .25)); border: 1px solid var(--line); box-shadow: 0 0 24px rgba(155, 107, 255, .3); }
.feature h3 { font-size: 18px; letter-spacing: 1px; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
.feature .tag { display: inline-block; margin-top: 14px; font: 700 11px var(--display); letter-spacing: 2px; color: var(--green); text-transform: uppercase; }

/* blocco finale */
.final { position: relative; text-align: center; padding: 140px 16px 160px; overflow: hidden; }
.final h2 { font-size: clamp(36px, 7vw, 92px); }
.final .lead { margin: 0 auto 34px; }
.final .ctas { justify-content: center; }

/* ---------- AGGIORNAMENTI ---------- */
.updates { position: relative; display: grid; gap: 22px; width: min(900px, 100%); margin: 0 auto; }
.update { padding: 26px 26px 22px; }
.update header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 14px; }
.update .ver { font: 900 26px var(--display); letter-spacing: 1px; }
.update .date { color: var(--muted); font-family: var(--display); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.update .latest { font: 800 11px var(--display); letter-spacing: 2px; color: #000; background: var(--green); padding: 4px 10px; border-radius: 99px; box-shadow: 0 0 18px var(--green); }
.update ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.update li { position: relative; padding-left: 26px; color: #d7ddff; }
.update li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.update.old { padding: 18px 22px; }
.update.old ul { display: none; }
.update.old.open ul { display: grid; }
.update.old header { margin: 0; cursor: pointer; }
.update.old header::after { content: "+"; margin-left: auto; font: 900 22px var(--display); color: var(--cyan); }
.update.old.open header { margin-bottom: 14px; }
.update.old.open header::after { content: "−"; }

/* ---------- CONTATTI ---------- */
.contacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.contact { padding: 28px 24px; text-decoration: none; display: flex; flex-direction: column; gap: 10px; transition: transform .2s; }
.contact:hover { transform: translateY(-4px); }
.contact .ic { position: relative; overflow: hidden; width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; color: #fff; }
.contact .ic svg { width: 32px; height: 32px; }
.contact h3 { font-size: 20px; letter-spacing: 1px; }
.contact p { margin: 0; color: var(--muted); }
.contact .go { margin-top: auto; font: 800 12px var(--display); letter-spacing: 2px; color: var(--cyan); text-transform: uppercase; }

/* ---------- piè di pagina ---------- */
.footer { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; color: var(--muted); font-size: 14px; }
.footer a { color: #d7ddff; text-decoration: none; }
.footer a:hover { color: var(--cyan); }
.footer .sp { flex: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .title .ch { opacity: 1; transform: none; }
}

@keyframes pulse { 50% { transform: scale(1.12); } }
