/* ============================================================
   EvenVibes — landing page
   Dark-first premium design, palette derivata dall'app:
   blue #3B82F6 · violet #8B5CF6 · pink #EC4899 · orange #F97316
   ============================================================ */

:root {
  --bg: #070b14;
  --bg-2: #0b1120;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f7fb;
  --text-2: #b9c3d4;
  --muted: #8390a6;
  --white: #ffffff;
  --blue: #3b82f6;
  --blue-soft: #60a5fa;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --orange: #f97316;
  --mint: #2dd4bf;
  --success: #10b981;
  --grad-brand: linear-gradient(120deg, #60a5fa, #8b5cf6 48%, #ec4899);
  --grad-warm: linear-gradient(120deg, #f97316, #ec4899);
  --shadow-lg: 0 30px 80px rgba(2, 6, 18, 0.55);
  --shadow-md: 0 18px 48px rgba(2, 6, 18, 0.4);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --font-display: "Outfit", sans-serif;
  --font-body: "Space Grotesk", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

::selection {
  background: rgba(139, 92, 246, 0.45);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--blue-soft);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gradient-warm {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Sfondo decorativo ---------- */

.bg-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.55;
}

.bg-orb-one {
  top: -180px;
  left: -120px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.34), transparent 65%);
}

.bg-orb-two {
  top: 30vh;
  right: -200px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.26), transparent 65%);
}

.bg-orb-three {
  bottom: -240px;
  left: 22vw;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.18), transparent 65%);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

main {
  padding-top: 110px;
}

#about,
#how,
#features,
#organizers,
#invites,
#download {
  scroll-margin-top: 110px;
}

/* ---------- Animazioni di reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .vibe-track,
  .pin-hot,
  .pin-user,
  .float-card,
  .eyebrow-dot {
    animation: none !important;
  }
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  width: min(1180px, calc(100% - 36px));
  z-index: 20;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(10, 15, 28, 0.62);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 12, 24, 0.88);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding-left: 4px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--white);
  background: linear-gradient(135deg, var(--pink), var(--violet) 48%, var(--mint));
  box-shadow: 0 10px 26px rgba(139, 92, 246, 0.35);
}

.brand-logo {
  overflow: hidden;
  background: transparent;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-2);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover {
  color: var(--white);
  background: var(--surface-2);
}

.nav-links span {
  color: var(--blue-soft);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

/* ---------- Bottoni ---------- */

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

button.header-cta,
button.mobile-menu-cta,
button.primary-button {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.header-cta,
.primary-button {
  color: var(--white);
  background: linear-gradient(120deg, var(--blue), var(--violet) 60%, var(--pink));
  background-size: 160% 100%;
  background-position: 0% 0%;
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.35);
}

.header-cta:hover,
.primary-button:hover {
  transform: translateY(-2px);
  background-position: 90% 0%;
  box-shadow: 0 18px 42px rgba(139, 92, 246, 0.45);
}

.header-cta {
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
}

.secondary-button {
  color: var(--text);
  border: 1px solid var(--border-strong);
  background: var(--surface);
}

.secondary-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.32);
  background: var(--surface-2);
}

/* Badge store (App Store / Google Play) */

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 20px;
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: var(--shadow-md);
}

.store-badge svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

.store-badge span {
  display: grid;
  line-height: 1.15;
  text-align: left;
}

.store-badge small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.store-badge strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.store-badge-light {
  border-color: transparent;
  background: var(--white);
  color: #0b1120;
}

.store-badge-light small {
  color: #5b6577;
}

.store-badge-light:hover {
  background: #eef2f8;
  border-color: transparent;
}

/* ---------- Menu mobile ---------- */

.menu-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid var(--border-strong);
  border-radius: 15px;
  background: var(--surface-2);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 13px;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
}

.menu-toggle span:nth-child(1) {
  top: 15px;
}

.menu-toggle span:nth-child(2) {
  top: 22px;
}

.menu-toggle span:nth-child(3) {
  top: 29px;
}

.mobile-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--border-strong);
  border-radius: 26px;
  background: rgba(9, 13, 25, 0.97);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px) scale(0.98);
  transform-origin: top center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.mobile-menu a,
.mobile-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 16px;
  color: var(--text);
  background: var(--surface);
  font-weight: 800;
  font-size: 15px;
}

.mobile-menu span {
  color: var(--blue-soft);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.mobile-menu .mobile-menu-cta {
  justify-content: center;
  color: var(--white);
  background: linear-gradient(120deg, var(--blue), var(--violet) 60%, var(--pink));
}

.site-header.menu-open .mobile-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.site-header.menu-open .menu-toggle span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

.site-header.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .menu-toggle span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

/* ---------- Eyebrow / titoli sezione ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.28);
  color: var(--blue-soft);
  background: rgba(59, 130, 246, 0.1);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow-warm {
  border-color: rgba(249, 115, 22, 0.32);
  color: #fb923c;
  background: rgba(249, 115, 22, 0.1);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulse-dot 2s ease-out infinite;
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-head h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.6vw, 58px);
}

.section-lead {
  color: var(--text-2);
  font-size: 19px;
  line-height: 1.6;
  max-width: 660px;
}

/* ---------- Hero ---------- */

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: 48px;
  align-items: center;
  padding: 36px 0 56px;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(46px, 6.6vw, 84px);
  line-height: 1.0;
}

h1 .text-gradient {
  display: block;
}

.hero-text {
  max-width: 620px;
  color: var(--text-2);
  font-size: 19px;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.hero-secondary {
  min-height: 58px;
  border-radius: 18px;
}

.hero-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
  max-width: 680px;
}

.hero-stats div {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(14px);
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.hero-stats div:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.hero-stats span:not(.stat-icon) {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
}

.stat-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 13px;
}

.stat-icon svg {
  width: 20px;
  height: 20px;
}

.stat-icon-blue {
  color: var(--blue-soft);
  background: rgba(59, 130, 246, 0.14);
}

.stat-icon-orange {
  color: #fb923c;
  background: rgba(249, 115, 22, 0.14);
}

.stat-icon-pink {
  color: #f472b6;
  background: rgba(236, 72, 153, 0.14);
}

/* ---------- Hero visual / mockup telefono ---------- */

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 660px;
}

.aurora {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  pointer-events: none;
}

.aurora-one {
  top: 4%;
  right: -6%;
  width: 300px;
  height: 300px;
  background: rgba(139, 92, 246, 0.3);
}

.aurora-two {
  bottom: 6%;
  left: -10%;
  width: 320px;
  height: 320px;
  background: rgba(59, 130, 246, 0.24);
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 392px);
  padding: 10px;
  border-radius: 54px;
  background: linear-gradient(160deg, #232c42, #0d1322 55%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 40px 100px rgba(2, 6, 18, 0.7);
}

.phone-screen {
  display: flex;
  flex-direction: column;
  min-height: 640px;
  padding: 18px 16px 16px;
  border-radius: 44px;
  background:
    radial-gradient(circle at 20% 0%, rgba(59, 130, 246, 0.14), transparent 38%),
    #0a0f1d;
  overflow: hidden;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  margin-bottom: 14px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 800;
}

.phone-status-icons {
  display: inline-flex;
  gap: 4px;
}

.phone-status-icons i {
  width: 5px;
  border-radius: 2px;
  background: var(--text-2);
}

.phone-status-icons i:nth-child(1) {
  height: 6px;
  align-self: flex-end;
}

.phone-status-icons i:nth-child(2) {
  height: 9px;
  align-self: flex-end;
}

.phone-status-icons i:nth-child(3) {
  height: 12px;
  align-self: flex-end;
}

.phone-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 15px;
  border-radius: 15px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
}

.phone-search svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.phone-chips {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
  font-size: 12px;
  font-weight: 800;
}

.chip-active {
  border-color: transparent;
  background: linear-gradient(120deg, var(--blue), var(--violet));
  color: var(--white);
}

.phone-map {
  position: relative;
  flex: 1;
  min-height: 210px;
  border-radius: 22px;
  border: 1px solid var(--border);
  overflow: hidden;
  background-color: #0c1326;
  background-image:
    radial-gradient(circle at 30% 32%, rgba(59, 130, 246, 0.18), transparent 42%),
    radial-gradient(circle at 76% 64%, rgba(236, 72, 153, 0.13), transparent 46%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: auto, auto, 34px 34px, 34px 34px;
}

.map-road {
  position: absolute;
  display: block;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.map-road-one {
  left: -30px;
  top: 64px;
  width: 260px;
  transform: rotate(-15deg);
}

.map-road-two {
  right: -34px;
  top: 120px;
  width: 270px;
  transform: rotate(17deg);
}

.map-road-three {
  left: 120px;
  top: 20px;
  width: 220px;
  transform: rotate(72deg);
}

.map-block {
  position: absolute;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.map-block-one {
  left: 22px;
  top: 16px;
  width: 56px;
  height: 34px;
}

.map-block-two {
  right: 30px;
  top: 26px;
  width: 44px;
  height: 44px;
}

.map-block-three {
  left: 48px;
  bottom: 22px;
  width: 68px;
  height: 30px;
}

.pin {
  position: absolute;
  display: grid;
  place-items: center;
}

.pin-blue,
.pin-pink {
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.pin-blue {
  left: 18%;
  top: 46%;
  background: var(--blue);
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.45);
}

.pin-pink {
  left: 60%;
  bottom: 14%;
  width: 24px;
  height: 24px;
  background: var(--pink);
  box-shadow: 0 10px 20px rgba(236, 72, 153, 0.4);
}

.pin-blue::after,
.pin-pink::after {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--white);
}

.pin-pink::after {
  width: 9px;
  height: 9px;
}

.pin-hot {
  right: 16%;
  top: 22%;
  font-size: 34px;
  filter: drop-shadow(0 12px 16px rgba(249, 115, 22, 0.5));
  animation: float 2.2s ease-in-out infinite;
}

.pin-hot::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(249, 115, 22, 0.4);
  animation: ping 2.2s ease-out infinite;
}

@keyframes ping {
  0% {
    transform: scale(0.65);
    opacity: 1;
  }
  80%,
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.pin-user {
  left: 44%;
  top: 30%;
  width: 18px;
  height: 18px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 9px rgba(59, 130, 246, 0.22);
}

.event-sheet {
  margin-top: 14px;
  padding: 14px 16px 16px;
  border-radius: 24px;
  border: 1px solid var(--border-strong);
  background: rgba(18, 25, 43, 0.96);
  box-shadow: 0 -10px 40px rgba(2, 6, 18, 0.5);
}

.sheet-handle {
  display: block;
  width: 42px;
  height: 4px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.sheet-row {
  display: flex;
  gap: 13px;
  align-items: center;
}

.sheet-thumb {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--violet), var(--pink));
}

.sheet-thumb svg {
  width: 22px;
  height: 22px;
}

.sheet-info p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 3px;
  color: var(--success);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sheet-info p i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

.sheet-info h3 {
  margin: 0 0 3px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.sheet-info > span {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}

.sheet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 14px;
}

.sheet-actions span {
  padding: 12px 10px;
  border-radius: 13px;
  text-align: center;
  font-weight: 800;
  font-size: 13.5px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-2);
}

.sheet-actions .sheet-cta {
  border-color: transparent;
  background: linear-gradient(120deg, var(--blue), var(--violet));
  color: var(--white);
}

/* Card flottanti attorno al telefono */

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  background: rgba(11, 16, 30, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  animation: float 5s ease-in-out infinite;
}

.float-notif {
  top: 9%;
  left: -6%;
}

.float-viral {
  bottom: 13%;
  right: -4%;
  font-size: 13.5px;
  font-weight: 800;
  animation-delay: 1.4s;
}

.float-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--violet));
}

.float-icon svg {
  width: 18px;
  height: 18px;
}

.float-copy {
  display: grid;
  gap: 2px;
}

.float-copy strong {
  font-size: 13.5px;
  font-weight: 800;
}

.float-copy span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* ---------- Marquee categorie ---------- */

.vibe-marquee {
  position: relative;
  margin: 8px 0 28px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.vibe-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.vibe-track span {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-2);
  white-space: nowrap;
}

.vibe-track i {
  color: var(--violet);
  font-style: normal;
  font-size: 13px;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sezione "Cos'è" ---------- */

.about-section {
  padding: 64px 0 24px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pillar-card {
  position: relative;
  overflow: hidden;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(14px);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.pillar-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 220ms ease;
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 16px;
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
}

.pillar-icon-blue {
  color: var(--blue-soft);
  background: rgba(59, 130, 246, 0.13);
}

.pillar-icon-violet {
  color: #a78bfa;
  background: rgba(139, 92, 246, 0.13);
}

.pillar-icon-pink {
  color: #f472b6;
  background: rgba(236, 72, 153, 0.13);
}

.pillar-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.pillar-card p {
  margin: 0;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ---------- Come funziona ---------- */

.how-section {
  padding: 72px 0 24px;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(14px);
  transition: transform 220ms ease, border-color 220ms ease;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}

.step-number {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
}

.step-card h3 {
  margin-bottom: 10px;
  font-size: 23px;
}

.step-card p {
  margin: 0;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ---------- Feature bento ---------- */

.feature-section {
  padding: 72px 0 24px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.feature-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(14px);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.14), transparent 68%);
  pointer-events: none;
  transition: opacity 220ms ease;
  opacity: 0;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card-wide {
  grid-column: span 2;
}

.feature-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.feature-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-icon-blue {
  color: var(--blue-soft);
  background: rgba(59, 130, 246, 0.13);
}

.feature-icon-violet {
  color: #a78bfa;
  background: rgba(139, 92, 246, 0.13);
}

.feature-icon-pink {
  color: #f472b6;
  background: rgba(236, 72, 153, 0.13);
}

.feature-icon-orange {
  color: #fb923c;
  background: rgba(249, 115, 22, 0.13);
}

.feature-icon-mint {
  color: var(--mint);
  background: rgba(45, 212, 191, 0.12);
}

.feature-tag {
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-2);
  background: var(--surface);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.08;
}

.feature-card p {
  margin: 0;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.62;
}

.feature-link {
  color: var(--blue-soft);
  font-weight: 800;
  white-space: nowrap;
}

.feature-link:hover {
  text-decoration: underline;
}

.feature-list {
  display: grid;
  gap: 11px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: var(--text-2);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.5;
}

.feature-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--grad-brand);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.14);
}

/* ---------- Organizer ---------- */

.organizer-section {
  padding: 72px 0 24px;
}

.organizer-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 48px;
  align-items: center;
  padding: clamp(30px, 5vw, 56px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 0% 0%, rgba(249, 115, 22, 0.12), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(236, 72, 153, 0.12), transparent 42%),
    var(--bg-2);
  box-shadow: var(--shadow-lg);
}

.organizer-card h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4.4vw, 54px);
}

.organizer-card h2 .text-gradient-warm {
  display: block;
}

.organizer-copy > p {
  max-width: 560px;
  color: var(--text-2);
  font-size: 17.5px;
  line-height: 1.62;
}

.organizer-points {
  display: grid;
  gap: 15px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.organizer-points li {
  display: flex;
  gap: 12px;
  color: var(--text-2);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.5;
}

.organizer-points strong {
  color: var(--text);
  font-weight: 800;
}

.organizer-points li::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--grad-warm);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.organizer-actions {
  margin-top: 30px;
}

.organizer-metrics {
  display: grid;
  gap: 14px;
  align-content: center;
}

.organizer-metrics div {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 16px;
  align-items: center;
  padding: 20px 22px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(12px);
  transition: transform 200ms ease, border-color 200ms ease;
}

.organizer-metrics div:hover {
  transform: translateX(4px);
  border-color: var(--border-strong);
}

.metric-kicker {
  display: grid;
  grid-row: 1 / span 2;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--pink));
}

.metric-kicker svg {
  width: 21px;
  height: 21px;
}

.organizer-metrics strong {
  grid-column: 2;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.organizer-metrics div > span:not(.metric-kicker) {
  grid-column: 2;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
}

/* ---------- Inviti QR ---------- */

.ticket-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr);
  gap: 48px;
  align-items: center;
  padding: 80px 0 32px;
}

.ticket-copy h2 {
  max-width: 640px;
  margin-bottom: 18px;
  font-size: clamp(32px, 4.4vw, 54px);
}

.ticket-copy > p {
  max-width: 580px;
  color: var(--text-2);
  font-size: 17.5px;
  line-height: 1.62;
}

.ticket-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
}

.ticket-flow span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: var(--surface);
  font-weight: 800;
  font-size: 14px;
}

.ticket-flow i {
  display: block;
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: var(--grad-brand);
}

.scanner-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 30px;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(12px);
}

.scanner-card h3 {
  margin: 2px 0 7px;
  font-size: 21px;
}

.scanner-card p {
  margin: 0;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.55;
}

.scanner-icon {
  position: relative;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 14px 30px rgba(99, 102, 241, 0.3);
}

.scanner-icon::before,
.scanner-icon::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border: 3px solid var(--white);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 6px;
}

.scanner-icon::after {
  transform: rotate(180deg);
}

.ticket-preview {
  position: relative;
  display: grid;
  place-items: center;
  padding: 18px 8px;
}

.ticket-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(56px);
  pointer-events: none;
}

.ticket-glow-one {
  top: 24px;
  right: 8px;
  width: 200px;
  height: 200px;
  background: rgba(59, 130, 246, 0.3);
}

.ticket-glow-two {
  left: 4px;
  bottom: 28px;
  width: 220px;
  height: 220px;
  background: rgba(236, 72, 153, 0.22);
}

.digital-ticket {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  padding: 18px;
  border-radius: 32px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(155deg, rgba(27, 36, 58, 0.96), rgba(13, 19, 34, 0.98));
  box-shadow: var(--shadow-lg);
  transition: transform 260ms ease;
}

.digital-ticket:hover {
  transform: translateY(-6px) rotate(-1deg);
}

.ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.ticket-head .brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.ticket-head > span:last-child {
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(96, 165, 250, 0.3);
  color: var(--blue-soft);
  background: rgba(59, 130, 246, 0.1);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ticket-main {
  padding: 24px;
  border-radius: 22px;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 0%, rgba(236, 72, 153, 0.3), transparent 52%),
    linear-gradient(135deg, #1d4ed8, #7c3aed);
}

.ticket-main p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ticket-main h3 {
  margin-bottom: 12px;
  font-size: 32px;
  line-height: 0.98;
}

.ticket-main span {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 800;
  font-size: 14px;
}

.ticket-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.ticket-details span {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface);
  font-weight: 800;
  font-size: 14px;
}

.ticket-details strong {
  display: block;
  margin-bottom: 5px;
  color: var(--blue-soft);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ticket-details span:last-child {
  grid-column: 1 / -1;
}

.ticket-bottom {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 12px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.ticket-bottom strong,
.ticket-bottom span {
  display: block;
}

.ticket-bottom strong {
  font-size: 15px;
}

.ticket-bottom span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.4;
}

.fake-qr {
  display: grid;
  width: 118px;
  height: 118px;
  place-items: center;
  overflow: hidden;
  border-radius: 20px;
  background: #f8fbff;
  box-shadow: 0 14px 30px rgba(2, 6, 18, 0.4);
}

.fake-qr img {
  display: block;
  width: 112px;
  height: 112px;
  object-fit: none;
}

/* ---------- CTA finale ---------- */

.download-section {
  margin: 72px 0 32px;
}

.download-inner {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 7vw, 88px) clamp(24px, 5vw, 64px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  text-align: center;
  background:
    radial-gradient(circle at 16% 0%, rgba(59, 130, 246, 0.26), transparent 46%),
    radial-gradient(circle at 86% 14%, rgba(236, 72, 153, 0.22), transparent 44%),
    radial-gradient(circle at 50% 120%, rgba(139, 92, 246, 0.3), transparent 56%),
    var(--bg-2);
  box-shadow: var(--shadow-lg);
}

.download-inner h2 {
  max-width: 720px;
  margin: 0 auto 18px;
  font-size: clamp(36px, 5.4vw, 66px);
}

.download-inner > p {
  max-width: 540px;
  margin: 0 auto;
  color: var(--text-2);
  font-size: 18px;
  line-height: 1.6;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 24px;
  padding: 48px 0 36px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.6fr);
  gap: 44px;
  padding-bottom: 38px;
}

.footer-brand p {
  max-width: 300px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-cols > div {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-cols strong {
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--text);
}

.footer-cols a {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 600;
  transition: color 160ms ease;
}

.footer-cols a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
}

.footer-stores {
  display: inline-flex;
  gap: 18px;
}

.footer-stores a,
.footer-bottom a {
  color: var(--text-2);
  font-weight: 700;
  transition: color 160ms ease;
}

.footer-stores a:hover,
.footer-bottom a:hover {
  color: var(--white);
}

.site-footer-compact {
  padding: 34px 0;
}

.site-footer-compact .footer-bottom {
  padding-top: 0;
  border-top: 0;
}

/* ============================================================
   Pagine legali (privacy.html / minor-safety.html)
   ============================================================ */

.policy-main {
  display: grid;
  gap: 20px;
  padding-bottom: 40px;
}

.policy-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 7vw, 72px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 10% 0%, rgba(59, 130, 246, 0.18), transparent 42%),
    radial-gradient(circle at 92% 20%, rgba(236, 72, 153, 0.14), transparent 40%),
    var(--bg-2);
  box-shadow: var(--shadow-lg);
}

.policy-hero h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(40px, 6vw, 72px);
}

.policy-hero .hero-text {
  font-size: 18px;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.policy-meta span {
  padding: 11px 15px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text-2);
  background: var(--surface);
  font-weight: 700;
  font-size: 13.5px;
}

.policy-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.policy-summary article {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(12px);
}

.policy-summary strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.03em;
}

.policy-summary span {
  color: var(--muted);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.5;
}

.policy-card {
  padding: clamp(26px, 4vw, 40px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(12px);
}

.policy-card h2 {
  margin-bottom: 16px;
  font-size: clamp(26px, 3vw, 38px);
}

.policy-card p {
  max-width: 920px;
  color: var(--text-2);
  font-size: 16.5px;
  line-height: 1.7;
}

.policy-card p:last-child {
  margin-bottom: 0;
}

.policy-card a {
  color: var(--blue-soft);
  font-weight: 700;
}

.policy-card a:hover {
  text-decoration: underline;
}

.inline-policy-button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--white) !important;
  background: linear-gradient(120deg, var(--blue), var(--violet));
  text-decoration: none !important;
}

.policy-contact {
  background:
    radial-gradient(circle at 12% 0%, rgba(59, 130, 246, 0.16), transparent 44%),
    radial-gradient(circle at 90% 100%, rgba(236, 72, 153, 0.14), transparent 44%),
    var(--bg-2);
}

/* ---------- Modale segnalazione ---------- */

.report-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.report-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.report-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 12, 0.7);
  backdrop-filter: blur(10px);
}

.report-dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 0%, rgba(59, 130, 246, 0.16), transparent 38%),
    #0d1322;
  box-shadow: var(--shadow-lg);
  transform: translateY(10px) scale(0.98);
  transition: transform 180ms ease;
}

.report-modal.is-open .report-dialog {
  transform: translateY(0) scale(1);
}

.report-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  background: var(--surface-2);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.report-dialog h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 5vw, 42px);
}

.report-dialog p,
.report-dialog small {
  color: var(--text-2);
  line-height: 1.55;
}

.report-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.report-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
  font-size: 14.5px;
}

.report-form input,
.report-form textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
  font-weight: 600;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.report-form input:focus,
.report-form textarea:focus {
  border-color: var(--blue-soft);
  background: rgba(255, 255, 255, 0.08);
}

.report-form input::placeholder,
.report-form textarea::placeholder {
  color: var(--muted);
}

.report-form input {
  min-height: 50px;
  padding: 0 15px;
}

.report-form textarea {
  resize: vertical;
  padding: 14px 15px;
}

.report-submit {
  margin-top: 6px;
}

/* ============================================================
   Pagina di redirect evento (/events/:id su fallback statico)
   ============================================================ */

.event-redirect {
  display: none;
}

.event-redirect-mode body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.event-redirect-mode .page-shell {
  display: none;
}

.event-redirect-mode .event-redirect {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(640px, 100%);
}

.event-redirect-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 6vw, 52px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 88% 0%, rgba(139, 92, 246, 0.2), transparent 46%),
    var(--bg-2);
  box-shadow: var(--shadow-lg);
}

.event-redirect-card .brand-mark {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 18px;
}

.event-redirect-card h1 {
  max-width: 540px;
  margin-bottom: 16px;
  font-size: clamp(36px, 7vw, 60px);
}

.event-redirect-card p {
  max-width: 520px;
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.6;
}

.event-id-line {
  margin-top: 16px;
  padding: 12px 15px;
  border-radius: 15px;
  border: 1px solid var(--border);
  background: rgba(59, 130, 246, 0.1);
  overflow-wrap: anywhere;
  font-size: 14.5px;
}

.redirect-fallback-copy {
  opacity: 0;
  transform: translateY(8px);
  transition: 180ms ease;
}

.event-redirect-fallback .redirect-fallback-copy {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1080px) {
  .float-notif {
    left: 0;
  }

  .float-viral {
    right: 0;
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  main {
    padding-top: 96px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 24px;
  }

  .hero-visual {
    min-height: auto;
    margin-top: 8px;
  }

  .pillar-grid,
  .step-grid,
  .policy-summary {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card-wide {
    grid-column: 1 / -1;
  }

  .organizer-card {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ticket-section {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 64px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .page-shell,
  .site-header {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    top: 10px;
    padding: 8px 10px;
    border-radius: 22px;
  }

  .header-cta {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 18px;
  }

  main {
    padding-top: 86px;
  }

  h1 {
    font-size: clamp(40px, 11vw, 52px);
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-actions {
    gap: 10px;
  }

  .store-badge {
    flex: 1 1 calc(50% - 10px);
    justify-content: center;
    min-height: 54px;
    padding: 0 14px;
  }

  .hero-secondary {
    flex: 1 1 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 30px;
  }

  .hero-stats div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 14px;
    align-items: center;
    padding: 16px;
  }

  .stat-icon {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }

  .phone-frame {
    width: min(100%, 330px);
    margin: 0 auto;
    border-radius: 46px;
  }

  .phone-screen {
    min-height: 560px;
    border-radius: 38px;
  }

  .float-card {
    padding: 10px 13px;
  }

  .float-notif {
    top: 4%;
  }

  .float-viral {
    bottom: 8%;
  }

  .float-copy strong {
    font-size: 12.5px;
  }

  .float-copy span {
    font-size: 11px;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .about-section,
  .how-section,
  .feature-section,
  .organizer-section {
    padding-top: 56px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .organizer-card {
    padding: 26px 22px;
  }

  .ticket-flow {
    align-items: stretch;
  }

  .ticket-flow span {
    flex: 1 1 100%;
    justify-content: center;
  }

  .ticket-flow i {
    width: 2px;
    height: 18px;
    margin: 0 auto;
  }

  .scanner-card {
    flex-direction: column;
  }

  .ticket-details {
    grid-template-columns: 1fr;
  }

  .download-section {
    margin-top: 56px;
  }

  .store-row .store-badge {
    flex: 1 1 100%;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
