/* ============================================
   RAVENNA GRIZZLIES — style.css
   Dynamo Grizzly ASD | dodgeball Ravenna
   ============================================ */

/* --- VARIABLES --- */
:root {
  --purple-dark:   #1E0A3C;
  --purple:        #7B2FBE;
  --purple-mid:    #9B59E8;
  --purple-light:  #C084FC;
  --blue:          #4A6FE3;
  --blue-electric: #60A5FA;
  --black:         #080810;
  --dark:          #0F0F1A;
  --dark-card:     #13131F;
  --cream:         #F0EEFF;
  --white:         #FFFFFF;
  --text-muted:    rgba(240,238,255,0.55);

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow: 0 0 40px rgba(123,47,190,0.35);
  --shadow-card:  0 4px 24px rgba(0,0,0,0.4);
}

/* --- RESET & BASE --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
}

body {
  font-family: var(--font-body);
  background-color: var(--black);
  background-image: radial-gradient(rgba(123,47,190,.18) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
strong { color: var(--white); }

/* --- CONTAINER --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- TYPOGRAPHY --- */
h2 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  letter-spacing: 3px;
  line-height: 0.95;
  color: var(--white);
}

h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: var(--purple-light);
}

p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-muted);
}

.section-tag {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--purple-mid);
  margin-bottom: 0.75rem;
}

.divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  border-radius: 2px;
  margin-bottom: 2rem;
}

.section-header {
  max-width: 600px;
  margin-bottom: 3.5rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
/* shimmer su hover per tutti i bottoni */
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  transition: left .4s;
  pointer-events: none;
}
.btn:hover::after { left: 150%; }

.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(123,47,190,.45), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(123,47,190,.65), inset 0 1px 0 rgba(255,255,255,.15);
}

.btn-outline {
  background: rgba(123,47,190,.08);
  color: var(--cream);
  border: 1.5px solid rgba(123,47,190,.45);
  box-shadow: inset 0 0 0 0 rgba(123,47,190,0);
  transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
}
.btn-outline:hover {
  background: rgba(123,47,190,.18);
  border-color: var(--purple);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(123,47,190,.3);
}

.btn-white {
  background: var(--white);
  color: var(--purple-dark);
  font-weight: 900;
  box-shadow: 0 4px 16px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.8);
}
.btn-white:hover {
  background: var(--cream);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
}

/* ============================================
   NAVBAR
   ============================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(8,8,16,0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(123,47,190,0.4);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 46px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(123,47,190,0.7));
  transition: filter var(--transition);
}

.nav-logo:hover img {
  filter: drop-shadow(0 0 18px rgba(123,47,190,1));
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: 2px;
  line-height: 1.1;
}

.nav-logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--purple-mid);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(240,238,255,0.75);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  transition: width var(--transition);
  border-radius: 2px;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

/* Pagina attiva */
.nav-links a.nav-active {
  color: var(--white);
}
.nav-links a.nav-active::after {
  width: 100%;
}

/* Mobile active */
.nav-mobile a.nav-active {
  color: #fff;
  border-left: 3px solid var(--purple);
  padding-left: .8rem;
}

/* Unisciti attivo */
.nav-cta--active {
  box-shadow: 0 2px 20px rgba(123,47,190,.7) !important;
  opacity: 1 !important;
}

.nav-cta {
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: var(--white) !important;
  padding: 0.6rem 1.6rem;
  border-radius: 3px;
  box-shadow: 0 2px 12px rgba(123,47,190,0.4);
  font-size: 0.82rem;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  box-shadow: 0 4px 20px rgba(123,47,190,0.65) !important;
  transform: translateY(-1px);
}

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(8,8,16,0.98);
  border-top: 1px solid rgba(123,47,190,0.3);
  padding: 1rem 2rem 1.5rem;
  gap: 0.5rem;
}

.nav-mobile a {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream);
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(123,47,190,0.15);
  transition: color var(--transition);
}

.nav-mobile a:hover { color: var(--purple-light); }

.nav-mobile.open { display: flex; }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem 5rem;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.18;
  z-index: 0;
  filter: saturate(0.6);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 65% 35%, rgba(123,47,190,0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 30% 70%, rgba(74,111,227,0.18) 0%, transparent 50%),
    linear-gradient(180deg, #0D0D1E 0%, var(--black) 100%);
  z-index: 0;
}

/* Subtle grid overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(123,47,190,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123,47,190,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--purple-mid);
  opacity: 0;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0%   { opacity: 0; transform: translateY(0) scale(0); }
  10%  { opacity: 0.6; transform: translateY(-20px) scale(1); }
  90%  { opacity: 0.2; }
  100% { opacity: 0; transform: translateY(-120px) scale(0.3); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-logo {
  width: min(260px, 50vw);
  margin: 0 auto 2rem;
  filter: drop-shadow(0 0 50px rgba(123,47,190,0.9)) drop-shadow(0 0 100px rgba(74,111,227,0.4));
  animation: logoFloat 5s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-14px) rotate(0.5deg); }
  66%       { transform: translateY(-8px) rotate(-0.5deg); }
}

.hero-tag {
  display: inline-block;
  background: rgba(123,47,190,0.2);
  border: 1px solid rgba(123,47,190,0.5);
  color: var(--purple-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0.45rem 1.4rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 0.88;
  letter-spacing: 5px;
  color: var(--white);
  text-shadow: 0 0 60px rgba(123,47,190,0.4);
}

.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 2px var(--blue);
  text-shadow: 0 0 40px rgba(74,111,227,0.7);
}

.hero-sub {
  font-size: clamp(0.8rem, 1.8vw, 1rem);
  color: var(--text-muted);
  margin-top: 1.5rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-cta {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.hero-scroll:hover { opacity: 1; }

.hero-scroll span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--purple), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.2); transform-origin: top; }
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: linear-gradient(135deg, rgba(30,10,60,0.95), rgba(15,15,26,0.95));
  border-top:    1px solid rgba(123,47,190,0.35);
  border-bottom: 1px solid rgba(74,111,227,0.25);
  padding: 2rem;
  display: flex;
  justify-content: center;
  gap: 5rem;
  flex-wrap: wrap;
  backdrop-filter: blur(10px);
}

.stat { text-align: center; }

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  display: block;
  color: var(--purple-light);
  text-shadow: 0 0 20px rgba(155,89,232,0.6);
}

.stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.4rem;
  display: block;
}

/* ============================================
   CHI SIAMO
   ============================================ */
.section-about {
  padding: 7rem 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text p + p { margin-top: 1.3rem; }

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-logo {
  width: 100%;
  max-width: 360px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 60px rgba(123,47,190,0.8));
  animation: logoFloat 6s ease-in-out infinite;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.badge {
  display: inline-block;
  background: rgba(123,47,190,0.15);
  border: 1px solid rgba(123,47,190,0.4);
  color: var(--purple-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  transition: background var(--transition), border-color var(--transition);
}

.badge:hover {
  background: rgba(123,47,190,0.3);
  border-color: var(--purple-mid);
}

.badge-gold {
  background: rgba(252,211,77,0.1);
  border-color: rgba(252,211,77,0.4);
  color: #FCD34D;
}

.badge-gold:hover {
  background: rgba(252,211,77,0.2);
  border-color: #FCD34D;
}

.about-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(123,47,190,0.3) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { transform: scale(1);   opacity: 0.6; }
  50%       { transform: scale(1.2); opacity: 1; }
}

/* ============================================
   ALLENAMENTI
   ============================================ */
.section-training {
  padding: 7rem 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(30,10,60,0.2) 50%, transparent 100%);
  border-top:    1px solid rgba(123,47,190,0.12);
  border-bottom: 1px solid rgba(74,111,227,0.12);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.training-card {
  background: var(--dark-card);
  border: 1px solid rgba(123,47,190,0.2);
  border-top: 3px solid var(--purple);
  border-radius: 6px;
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.training-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue);
  box-shadow: 0 12px 40px rgba(123,47,190,0.25);
}

.training-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.training-icon { font-size: 1.5rem; }

.training-slot {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(123,47,190,0.12);
}

.training-slot:last-child { border-bottom: none; padding-bottom: 0; }

.training-note {
  font-size: 0.78rem;
  color: var(--purple-mid);
  margin-top: 1rem;
  font-style: italic;
  letter-spacing: 0.5px;
}

.slot-day {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-electric);
}

.slot-time {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 1px;
  color: var(--white);
  line-height: 1.1;
}

.slot-place {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.maps-link {
  text-decoration: none;
  transition: color var(--transition);
  display: inline-block;
}

.maps-link:hover {
  color: var(--blue-electric);
}

/* ============================================
   RISULTATI
   ============================================ */
.section-results {
  padding: 7rem 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.25rem;
}

.result-card {
  background: var(--dark-card);
  border: 1px solid rgba(123,47,190,0.2);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.result-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(123,47,190,0.2);
}

.result-medal { font-size: 2.2rem; display: block; margin-bottom: 0.5rem; }

.result-pos {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--purple-light);
  line-height: 1;
  text-shadow: 0 0 20px rgba(155,89,232,0.5);
}

.result-event {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cream);
  margin-top: 0.6rem;
  line-height: 1.4;
}

.result-year {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  line-height: 1.4;
}

.result-highlight {
  border-color: rgba(74,111,227,0.4);
  background: linear-gradient(135deg, rgba(74,111,227,0.1), var(--dark-card));
}

.result-highlight .result-pos {
  color: var(--blue-electric);
  text-shadow: 0 0 20px rgba(96,165,250,0.6);
}

.result-gold {
  border-color: rgba(251,191,36,0.4);
  background: linear-gradient(135deg, rgba(251,191,36,0.08), var(--dark-card));
}

.result-gold .result-pos {
  color: #FCD34D;
  text-shadow: 0 0 20px rgba(252,211,77,0.6);
}

/* ============================================
   CONTATTI
   ============================================ */
.section-contact {
  padding: 7rem 0;
  text-align: left;
  background: linear-gradient(180deg, var(--black) 0%, rgba(30,10,60,0.4) 100%);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.contact-item {
  background: var(--dark-card);
  border: 1px solid rgba(123,47,190,0.25);
  border-left: 3px solid var(--purple);
  border-radius: 6px;
  padding: 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(123,47,190,0.25);
  border-left-color: var(--blue);
}

.contact-icon { font-size: 2rem; margin-bottom: 0.25rem; display: block; }

.contact-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--purple-mid);
  display: block;
  margin-bottom: 0.5rem;
}

.contact-value { font-size: 0.9rem; color: var(--cream); word-break: break-all; }
.contact-value a { transition: color var(--transition); }
.contact-value a:hover { color: var(--purple-light); }

.contact-socials {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.contact-socials span { color: var(--text-muted); }

.join-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-3px);
}

.join-box {
  margin-top: 4rem;
  background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  border-radius: 8px;
  padding: 3.5rem;
  box-shadow: 0 8px 50px rgba(123,47,190,0.45);
  position: relative;
  overflow: hidden;
}

.join-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.join-box-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.join-logo {
  width: 120px;
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.3));
}

.join-text { text-align: left; }

.join-text h3 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--white);
  letter-spacing: 3px;
  margin-bottom: 0.75rem;
}

.join-text p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: #000;
  border-top: 1px solid rgba(123,47,190,0.25);
  padding: 2.5rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-logo {
  height: 48px;
  width: auto;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.footer-logo:hover { opacity: 1; }

.footer-text p {
  font-size: 0.82rem;
  color: rgba(240,238,255,0.3);
  line-height: 1.6;
}

.footer-text strong { color: var(--purple-light); }

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-delay="4"] { transition-delay: 0.4s; }

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   GALLERIA — CAROSELLO
   ============================================ */
.section-gallery {
  padding: 7rem 0 5rem;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
}

.section-gallery .section-header {
  margin-bottom: 3rem;
}

/* Track wrapper */
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 2rem 0;
}

.carousel-track {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 480px;
  width: 100%;
}

/* Ogni slide è posizionata in assoluto e scalata via JS */
.carousel-slide {
  position: absolute;
  width: 600px;
  height: 420px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    filter   0.55s cubic-bezier(0.4, 0, 0.2, 1),
    opacity  0.55s cubic-bezier(0.4, 0, 0.2, 1),
    z-index  0s    0.27s;
  will-change: transform, filter, opacity;
  user-select: none;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Stato: attivo (centro) */
.carousel-slide.active {
  transform: translateX(0) scale(1);
  filter: none;
  opacity: 1;
  z-index: 10;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7), 0 0 40px rgba(123,47,190,0.3);
}

/* Stato: vicino (prev/next) */
.carousel-slide.prev {
  transform: translateX(-520px) scale(0.78);
  filter: blur(3px) brightness(0.55);
  opacity: 0.75;
  z-index: 5;
}

.carousel-slide.next {
  transform: translateX(520px) scale(0.78);
  filter: blur(3px) brightness(0.55);
  opacity: 0.75;
  z-index: 5;
}

/* Stato: lontano (2 passi) */
.carousel-slide.far-prev {
  transform: translateX(-820px) scale(0.6);
  filter: blur(6px) brightness(0.35);
  opacity: 0.4;
  z-index: 2;
}

.carousel-slide.far-next {
  transform: translateX(820px) scale(0.6);
  filter: blur(6px) brightness(0.35);
  opacity: 0.4;
  z-index: 2;
}

/* Stato: nascosto */
.carousel-slide.hidden {
  transform: translateX(0) scale(0.5);
  filter: blur(10px) brightness(0.2);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

/* Frecce */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(123,47,190,0.25);
  border: 1.5px solid rgba(123,47,190,0.5);
  color: var(--white);
  font-size: 3rem;
  line-height: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  backdrop-filter: blur(8px);
}

.carousel-btn:hover {
  background: rgba(123,47,190,0.6);
  border-color: var(--purple-mid);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev { left: 2rem; }
.carousel-next { right: 2rem; }

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(240,238,255,0.2);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}

.carousel-dot.active {
  background: var(--purple-light);
  transform: scale(1.4);
}

/* Swipe touch hint */
@media (max-width: 768px) {
  .carousel-track  { height: 320px; }
  .carousel-slide  { width: 300px; height: 220px; }
  .carousel-slide.prev  { transform: translateX(-240px) scale(0.78); }
  .carousel-slide.next  { transform: translateX(240px)  scale(0.78); }
  .carousel-slide.far-prev { transform: translateX(-380px) scale(0.6); }
  .carousel-slide.far-next { transform: translateX(380px)  scale(0.6); }
  .carousel-prev { left: 0.5rem; }
  .carousel-next { right: 0.5rem; }
  .carousel-btn  { width: 44px; height: 44px; font-size: 2rem; }
}

/* ============================================
   LIGHTBOX (rimosso, il carosello lo sostituisce)
   ============================================ */

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .stats-bar { gap: 2rem; }
  .join-text { text-align: center; }
  .join-box { padding: 2.5rem 1.5rem; }
  .join-box-inner { gap: 1.5rem; }
  .join-logo { width: 80px; }
  .footer-inner { justify-content: center; text-align: center; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}

@media (max-width: 480px) {
  .hero h1 { letter-spacing: 2px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .stats-bar { gap: 1.5rem; }
  .stat-number { font-size: 2.2rem; }
}

/* ============================================
   FAQ
   ============================================ */
.section-faq {
  padding: 7rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(30,10,60,0.15) 50%, transparent 100%);
  border-top: 1px solid rgba(123,47,190,0.12);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid rgba(123,47,190,0.25);
  border-radius: 12px;
  overflow: hidden;
  background: var(--dark-card);
  transition: border-color 0.3s;
}

.faq-item:hover {
  border-color: rgba(123,47,190,0.5);
}

.faq-item.open {
  border-color: var(--purple);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--purple-light);
}

.faq-item.open .faq-question {
  color: var(--purple-light);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(123,47,190,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--purple-light);
  transition: transform 0.35s ease, background 0.2s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: rgba(123,47,190,0.2);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.faq-answer a {
  color: var(--purple-light);
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* ============================================
   PAGINE CONTENUTO (page layout)
   ============================================ */
.page-content { padding: 8rem 0 5rem; min-height: 80vh; }
.page-header { margin-bottom: 3rem; }
.page-header h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: 2px; line-height: 1; margin: 0.5rem 0 1rem; }
.page-lead { font-size: 1.15rem; color: var(--text-muted); max-width: 600px; }
.page-body h2 { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; letter-spacing: 1px; color: var(--purple-light); margin: 2.5rem 0 1rem; }
.page-body h3 { font-size: 1.1rem; font-weight: 700; margin: 1.5rem 0 0.5rem; }
.page-body p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; }
.page-body ul, .page-body ol { color: var(--text-muted); line-height: 1.8; padding-left: 1.5rem; margin-bottom: 1rem; }
.page-body li { margin-bottom: 0.4rem; }
.page-body strong { color: var(--white); }
.page-body a { color: var(--purple-light); text-decoration: none; }
.page-body a:hover { text-decoration: underline; }
.page-body hr { border: none; border-top: 1px solid rgba(123,47,190,0.2); margin: 2.5rem 0; }

/* ============================================
   POST (news layout)
   ============================================ */
.post-content { padding: 8rem 0 5rem; min-height: 80vh; }
.post-header h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: 2px; margin: 0.5rem 0 1rem; }
.post-meta { color: var(--text-muted); font-size: 0.9rem; }
.post-hero-image { margin: 2rem 0; border-radius: 12px; overflow: hidden; }
.post-hero-image img { width: 100%; height: 400px; object-fit: cover; }
.post-body { max-width: 720px; }
.post-body h2 { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; letter-spacing: 1px; color: var(--purple-light); margin: 2.5rem 0 1rem; }
.post-body p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; }
.post-body strong { color: var(--white); }
.post-body a { color: var(--purple-light); text-decoration: none; }
.post-footer { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(123,47,190,0.2); }

/* ============================================
   NEWS INDEX
   ============================================ */
.section-news { padding: 8rem 0 5rem; min-height: 80vh; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.news-card { background: var(--dark-card); border: 1px solid rgba(123,47,190,0.2); border-radius: 16px; overflow: hidden; transition: border-color 0.3s, transform 0.3s; }
.news-card:hover { border-color: var(--purple); transform: translateY(-4px); }
.news-card-image img { width: 100%; height: 200px; object-fit: cover; }
.news-card-body { padding: 1.5rem; }
.news-card-body h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: 1px; margin: 0.5rem 0; }
.news-card-body h3 a { color: var(--white); text-decoration: none; }
.news-card-body h3 a:hover { color: var(--purple-light); }
.news-card-body time { font-size: 0.85rem; color: var(--text-muted); display: block; margin-bottom: 0.75rem; }
.news-card-body p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.news-read-more { display: inline-block; margin-top: 1rem; color: var(--purple-light); font-weight: 600; text-decoration: none; font-size: 0.9rem; }
.news-empty { grid-column: 1/-1; text-align: center; padding: 3rem; color: var(--text-muted); }
.news-empty a { color: var(--purple-light); }

/* ============================================================
   NAVBAR DROPDOWN
   ============================================================ */
.nav-dropdown { position: relative; }

/* Ponte invisibile che copre il gap tra link e menu — impedisce il mouseleave */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #13131f;
  border: 1px solid rgba(123,47,190,.3);
  border-radius: 10px;
  padding: .5rem 0;
  min-width: 200px;
  list-style: none;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
}
.nav-dropdown-menu li a {
  display: block;
  padding: .6rem 1.2rem;
  font-size: .85rem;
  color: var(--gray);
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav-dropdown-menu li a:hover { color: #fff; background: rgba(123,47,190,.15); }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  padding: 8rem 0 4rem;
  background: var(--black);
  border-bottom: 1px solid rgba(123,47,190,.2);
  scroll-snap-align: none;
}
.page-hero-inner { max-width: 700px; }
.page-hero h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(3rem,8vw,5.5rem); line-height: 1; margin: .5rem 0 1rem; }
.page-hero h1 span { color: var(--purple); }
.page-lead { font-size: 1.15rem; color: var(--gray); max-width: 560px; }

/* ============================================================
   SECTION ABOUT FULL (squadra page)
   ============================================================ */
.section-about-full {
  padding: 5rem 0;
  background: var(--black);
  scroll-snap-align: none;
}

/* ============================================================
   SECTION DODGEBALL PREVIEW (homepage)
   ============================================================ */
.section-dodgeball-preview {
  padding: 6rem 0;
  background: #0d0d1a;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.dodgeball-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.dodgeball-preview-text h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.5rem,5vw,4rem); line-height: 1; margin: .5rem 0 1rem; }
.dodgeball-preview-text p { color: var(--gray); font-size: 1.05rem; line-height: 1.7; }
.dodgeball-preview-links { display: flex; flex-direction: column; gap: 1rem; }
.preview-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.5rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  transition: background .25s, border-color .25s, transform .25s;
}
.preview-card:hover { background: rgba(123,47,190,.12); border-color: rgba(123,47,190,.4); transform: translateX(6px); }
.preview-card-icon { font-size: 1.8rem; flex-shrink: 0; }
.preview-card div { flex: 1; }
.preview-card strong { display: block; font-size: 1rem; margin-bottom: .2rem; }
.preview-card p { margin: 0; font-size: .85rem; color: var(--gray); }
.preview-card-arrow { font-size: 1.2rem; color: var(--purple); opacity: 0; transition: opacity .2s; }
.preview-card:hover .preview-card-arrow { opacity: 1; }

/* ============================================================
   SECTION NEWS PREVIEW (homepage)
   ============================================================ */
.section-news-preview {
  padding: 6rem 0;
  background: var(--black);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.news-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.news-card:hover { border-color: rgba(123,47,190,.4); transform: translateY(-4px); }
.news-card-image img { width: 100%; height: 200px; object-fit: cover; display: block; }
.news-card-body { padding: 1.5rem; }
.news-card-body h3 { font-size: 1.1rem; margin: .5rem 0 .4rem; }
.news-card-body h3 a { color: #fff; text-decoration: none; }
.news-card-body h3 a:hover { color: var(--purple); }
.news-card-body time { font-size: .8rem; color: var(--gray); display: block; margin-bottom: .6rem; }
.news-card-body p { font-size: .9rem; color: var(--gray); line-height: 1.6; }
.news-read-more { display: inline-block; margin-top: .8rem; font-size: .85rem; color: var(--purple); text-decoration: none; font-weight: 600; }
.news-read-more:hover { text-decoration: underline; }
.news-empty { text-align: center; padding: 3rem; color: var(--gray); grid-column: 1/-1; }
.news-empty a { color: var(--purple); }

/* ============================================================
   RESPONSIVE — nuove sezioni
   ============================================================ */
@media (max-width: 768px) {
  .dodgeball-preview-grid { grid-template-columns: 1fr; gap: 3rem; }
  .page-hero { padding: 7rem 0 3rem; }
  .nav-dropdown-menu { display: none !important; } /* no dropdown su mobile, c'è il menu burger */
}

/* ============================================================
   UNISCITI — HIGHLIGHT ROW
   ============================================================ */
.section-join-intro {
  padding: 0;
  background: var(--black);
}
.join-highlight-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(123,47,190,.2);
  border-bottom: 1px solid rgba(123,47,190,.2);
}
.join-highlight-card {
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.06);
  transition: background .25s;
}
.join-highlight-card:last-child { border-right: none; }
.join-highlight-card--accent {
  background: rgba(123,47,190,.12);
  border-right-color: rgba(123,47,190,.2);
}
.join-highlight-icon { font-size: 2rem; display: block; margin-bottom: .8rem; }
.join-highlight-card strong {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .4rem;
  font-family: 'Barlow', sans-serif;
}
.join-highlight-card p { font-size: .82rem; color: var(--gray); margin: 0; line-height: 1.5; }

/* ============================================================
   UNISCITI — SCHEDULE SECTIONS
   ============================================================ */
.section-schedule {
  padding: 6rem 0;
}
.section-schedule--dark { background: #0a0a14; }
.section-schedule--light { background: #0f0f1e; }

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.schedule-grid--reverse { direction: rtl; }
.schedule-grid--reverse > * { direction: ltr; }

.schedule-text .section-tag { margin-bottom: .8rem; display: inline-block; }
.schedule-text h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1;
  margin: .4rem 0 1rem;
  color: #fff;
}
.schedule-text p { color: var(--gray); font-size: 1.05rem; line-height: 1.75; margin-bottom: 2rem; }

.schedule-meta { display: flex; flex-wrap: wrap; gap: .8rem; }
.schedule-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1.1rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  font-size: .88rem;
  color: #fff;
  font-weight: 600;
}
.schedule-badge--time {
  background: rgba(123,47,190,.18);
  border-color: rgba(123,47,190,.35);
  color: #c084fc;
}

/* GYM CARDS */
.schedule-card-wrap { display: flex; flex-direction: column; gap: 1.2rem; }
.schedule-card-wrap--two { flex-direction: row; }

.gym-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 2.2rem 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.gym-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  opacity: 0;
  transition: opacity .25s;
}
.gym-card:hover { border-color: rgba(123,47,190,.45); transform: translateY(-4px); }
.gym-card:hover::before { opacity: 1; }
.gym-card--purple { border-color: rgba(123,47,190,.25); }
.gym-card--purple::before { opacity: .5; }
.gym-card--small { flex: 1; padding: 1.6rem 1.4rem; }

.gym-card-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--purple);
  font-weight: 700;
  margin-bottom: .5rem;
}
.gym-card-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  color: #fff;
  margin: 0 0 .4rem;
  line-height: 1;
}
.gym-card--small .gym-card-name { font-size: 1.6rem; }
.gym-card-address { font-size: .9rem; color: var(--gray); margin: 0 0 1.2rem; line-height: 1.5; }
.gym-card-link {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--purple);
  text-decoration: none;
  transition: color .2s;
}
.gym-card-link:hover { color: #fff; }

/* ============================================================
   UNISCITI — CONTACT CTA
   ============================================================ */
.section-contact-cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0d0d1a 0%, #13101f 100%);
  border-top: 1px solid rgba(123,47,190,.2);
  border-bottom: 1px solid rgba(123,47,190,.2);
}
.contact-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.contact-cta-text h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  line-height: 1;
  margin: .4rem 0 1rem;
}
.contact-cta-text p { color: var(--gray); font-size: 1.05rem; line-height: 1.7; }

.contact-cta-buttons { display: flex; flex-direction: column; gap: 1rem; }
.contact-big-btn {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 2rem;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  font-family: 'Barlow', sans-serif;
  transition: transform .25s, box-shadow .25s;
}
.contact-big-btn:hover { transform: translateX(6px); }
.contact-big-btn--whatsapp {
  background: linear-gradient(135deg, #25d366, #128c47);
  box-shadow: 0 4px 20px rgba(37,211,102,.25);
}
.contact-big-btn--whatsapp:hover { box-shadow: 0 8px 32px rgba(37,211,102,.4); }
.contact-big-btn--email {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
}
.contact-big-btn--email:hover { background: rgba(123,47,190,.2); border-color: rgba(123,47,190,.5); }
.contact-big-btn-icon { font-size: 2rem; flex-shrink: 0; }
.contact-big-btn strong { display: block; font-size: 1.05rem; font-weight: 700; }
.contact-big-btn small { display: block; font-size: .85rem; opacity: .75; margin-top: .1rem; }

/* ============================================================
   UNISCITI — COSA PORTARE
   ============================================================ */
.section-bring {
  padding: 6rem 0;
  background: var(--black);
}
.bring-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.bring-item {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color .25s, transform .25s;
}
.bring-item:hover { border-color: rgba(123,47,190,.4); transform: translateY(-3px); }
.bring-item--no {
  background: rgba(123,47,190,.06);
  border-color: rgba(123,47,190,.2);
}
.bring-emoji { font-size: 2.2rem; display: block; margin-bottom: 1rem; }
.bring-item strong {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .5rem;
}
.bring-item p { font-size: .83rem; color: var(--gray); margin: 0; line-height: 1.55; }

/* ============================================================
   RESPONSIVE — unisciti template
   ============================================================ */
@media (max-width: 1024px) {
  .join-highlight-row { grid-template-columns: repeat(2, 1fr); }
  .join-highlight-card:nth-child(2) { border-right: none; }
  .bring-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .join-highlight-row { grid-template-columns: 1fr 1fr; }
  .schedule-grid { grid-template-columns: 1fr; gap: 3rem; }
  .schedule-grid--reverse { direction: ltr; }
  .schedule-card-wrap--two { flex-direction: column; }
  .contact-cta-inner { grid-template-columns: 1fr; gap: 3rem; }
  .bring-grid { grid-template-columns: 1fr 1fr; }
  .section-schedule { padding: 4rem 0; }
  .section-contact-cta { padding: 4rem 0; }
}
@media (max-width: 480px) {
  .join-highlight-row { grid-template-columns: 1fr; }
  .join-highlight-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
  .bring-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ALLENAMENTI UNIFICATI — schedules-stack
   ============================================================ */
.section-all-schedules {
  padding: 6rem 0;
  background: #0a0a14;
}

.schedules-stack {
  margin-top: 4rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  overflow: hidden;
}

.schedule-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  grid-template-rows: auto auto;
  gap: 0;
  padding: 2.5rem 2.8rem;
}

.schedule-row-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .4rem;
  padding-right: 2rem;
  border-right: 1px solid rgba(255,255,255,.07);
}
.schedule-row-icon { font-size: 1.6rem; }
.schedule-row-label h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.9rem;
  color: #fff;
  margin: 0;
  line-height: 1;
  letter-spacing: .03em;
}

.schedule-row-slots {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-left: 2.5rem;
}

.schedule-slot {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.slot-time-block {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  min-width: 180px;
}
.slot-days {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray);
  font-weight: 600;
}
.slot-hours {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  font-family: 'Barlow', sans-serif;
}

.slot-gym {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  text-decoration: none;
  padding: .7rem 1.2rem;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  transition: border-color .2s, background .2s;
}
.slot-gym:hover {
  border-color: rgba(123,47,190,.45);
  background: rgba(123,47,190,.08);
}
.slot-gym-name {
  font-size: .92rem;
  font-weight: 700;
  color: #fff;
}
.slot-gym-address {
  font-size: .78rem;
  color: var(--purple);
}

.schedule-row-note {
  grid-column: 2 / 3;
  padding-left: 2.5rem;
  padding-top: 1rem;
  font-size: .83rem;
  color: var(--gray);
  line-height: 1.6;
  font-style: italic;
}

.schedules-divider {
  height: 1px;
  background: rgba(255,255,255,.07);
  margin: 0 2.8rem;
}

/* ============================================================
   RESPONSIVE — schedules-stack
   ============================================================ */
@media (max-width: 768px) {
  .schedule-row {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }
  .schedule-row-label {
    flex-direction: row;
    align-items: center;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.07);
    padding-right: 0;
    padding-bottom: 1rem;
    margin-bottom: 1.2rem;
  }
  .schedule-row-slots { padding-left: 0; }
  .schedule-row-note { grid-column: 1; padding-left: 0; }
  .schedule-slot { flex-direction: column; align-items: flex-start; gap: .8rem; }
  .schedules-divider { margin: 0 1.5rem; }
}

/* ============================================================
   FOOTER SOCIALS
   ============================================================ */
.footer-socials {
  display: flex;
  gap: .6rem;
  align-items: center;
  flex-shrink: 0;
}
.footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--gray);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  text-decoration: none;
}
.footer-social-btn svg { width: 18px; height: 18px; }
.footer-social-btn:hover {
  background: rgba(123,47,190,.2);
  border-color: rgba(123,47,190,.5);
  color: #fff;
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .footer-socials { justify-content: center; }
}

/* ============================================================
   SCHEDULE ROW PHOTOS
   ============================================================ */
.schedule-row-photo {
  grid-column: 2 / 3;
  padding-left: 2.5rem;
  padding-top: 1.2rem;
}
.schedule-row-photo img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
.schedule-row-photo--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
}
.schedule-row-photo--grid img {
  max-height: 160px;
}

@media (max-width: 768px) {
  .schedule-row-photo { grid-column: 1; padding-left: 0; }
  .schedule-row-photo--grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   PAGE HERO — con foto di sfondo (squadra)
   ============================================================ */
.page-hero--with-photo {
  position: relative;
  overflow: hidden;
}
.page-hero--with-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-photo);
  background-size: cover;
  background-position: center top;
  opacity: .18;
  z-index: 0;
}
.page-hero--with-photo .container { position: relative; z-index: 1; }

/* ============================================================
   SCHEDULE BG CARDS — foto di sfondo per gruppo
   ============================================================ */
.schedules-bg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.schedule-bg-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .3s, border-color .3s;
}
.schedule-bg-card:hover {
  transform: translateY(-6px);
  border-color: rgba(123,47,190,.5);
}

/* Foto di sfondo via CSS custom property */
.schedule-bg-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--card-photo);
  background-size: cover;
  background-position: center;
  transition: transform .5s;
  z-index: 0;
}
.schedule-bg-card:hover::before {
  transform: scale(1.04);
}

/* Overlay gradiente — nero trasparente in alto, nero pieno in basso */
.schedule-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,8,16,.3) 0%,
    rgba(8,8,16,.6) 40%,
    rgba(8,8,16,.92) 100%
  );
  z-index: 1;
}

/* Contenuto sopra overlay */
.schedule-bg-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.8rem;
}

.schedule-bg-header {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.4rem;
}
.schedule-bg-icon { font-size: 1.5rem; }
.schedule-bg-header h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  color: #fff;
  margin: 0;
  line-height: 1;
  letter-spacing: .04em;
}

.schedule-bg-slots {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.2rem;
}
.schedule-bg-slot {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.slot-days {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.55);
  font-weight: 700;
}
.slot-hours {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  font-family: 'Barlow', sans-serif;
}
.slot-gym-inline {
  display: inline-block;
  margin-top: .35rem;
  font-size: .82rem;
  color: #c084fc;
  text-decoration: none;
  font-weight: 600;
  transition: color .2s;
}
.slot-gym-inline:hover { color: #fff; }

.schedule-bg-note {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1rem;
}

/* ============================================================
   RESPONSIVE — schedule bg cards
   ============================================================ */
@media (max-width: 900px) {
  .schedules-bg-grid { grid-template-columns: 1fr; }
  .schedule-bg-card { min-height: 320px; }
}

/* ============================================================
   SCHEDULE ROW BG — riga orizzontale con foto di sfondo
   ============================================================ */
.schedule-row-bg {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}
.schedules-stack .schedule-row-bg:first-child { border-radius: 20px 20px 0 0; }
.schedules-stack .schedule-row-bg:last-child  { border-radius: 0 0 20px 20px; }

.schedule-row-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--row-photo);
  background-size: cover;
  background-position: center;
  transition: transform .5s;
  z-index: 0;
}
.schedule-row-bg:hover::before { transform: scale(1.03); }

.schedule-row-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(50,10,90,.82);
  z-index: 1;
}

.schedule-row-bg-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 180px 1fr;
  grid-template-rows: auto auto;
  padding: 2.5rem 2.8rem;
  text-shadow: 0 1px 3px rgba(0,0,0,.7), 0 2px 16px rgba(0,0,0,.5);
}
.schedule-row-bg-content .slot-hours { color: #fff; }
.schedule-row-bg-content .slot-days  { color: rgba(255,255,255,.75); }
.schedule-row-bg-content .slot-gym-name { color: #fff; }
.schedule-row-bg-content .slot-gym-address { color: #c084fc; }
.schedule-row-bg-content .schedule-row-label h3 { color: #fff; }

.schedule-row-bg-content .schedule-row-label {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding-right: 2rem;
  border-right: 1px solid rgba(255,255,255,.12);
}
.schedule-row-bg-content .schedule-row-slots {
  padding-left: 2.5rem;
}
.schedule-row-bg-content .schedule-row-note {
  grid-column: 2 / 3;
  padding-left: 2.5rem;
  padding-top: 1rem;
  font-size: .83rem;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  font-style: italic;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: .8rem;
}

@media (max-width: 768px) {
  .schedule-row-bg-content {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }
  .schedule-row-bg-content .schedule-row-label {
    flex-direction: row;
    align-items: center;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding-right: 0;
    padding-bottom: 1rem;
    margin-bottom: 1.2rem;
  }
  .schedule-row-bg-content .schedule-row-slots { padding-left: 0; }
  .schedule-row-bg-content .schedule-row-note { grid-column: 1; padding-left: 0; }
  .schedule-row-bg-overlay {
    background: rgba(50,10,90,.82);
  }
}

/* ============================================================
   DOT GRID PATTERN — applicato a tutte le sezioni scure
   ============================================================ */
.section-join-intro,
.section-all-schedules,
.section-contact-cta,
.section-bring,
.section-faq,
.section-contact,
.section-about-full,
.section-dodgeball-preview,
.section-news-preview,
.section-schedule,
.page-hero,
footer {
  background-image: radial-gradient(rgba(123,47,190,.18) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ============================================================
   ARTICLE LAYOUT (dodgeball-ravenna e simili)
   ============================================================ */
.section-article {
  padding: 5rem 0;
  background: var(--black);
}
.article-body {
  max-width: 720px;
  margin: 0 auto 2rem;
}
.article-lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--cream);
  margin-bottom: 2rem;
}
.article-body p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--gray);
  margin-bottom: 1.6rem;
}
.article-body strong { color: #fff; }
.article-closing {
  font-size: 1.1rem !important;
  color: var(--cream) !important;
  font-style: italic;
  border-left: 3px solid var(--purple);
  padding-left: 1.2rem;
  margin-top: 2.5rem !important;
}

.article-quote {
  max-width: 720px;
  margin: 0 auto 3rem;
  padding: 2rem 2.5rem;
  background: rgba(123,47,190,.1);
  border-left: 4px solid var(--purple);
  border-radius: 0 12px 12px 0;
}
.article-quote p {
  font-size: 1.2rem;
  font-style: italic;
  color: #e0d0ff;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   HERO CONTACTS — contatti rapidi nella hero di unisciti
   ============================================================ */
.hero-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}
.hero-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem 1.4rem;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.hero-contact-btn--wa {
  background: linear-gradient(135deg, #25d366, #128c47);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,.3);
}
.hero-contact-btn--wa:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37,211,102,.45); }
.hero-contact-btn--email {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
}
.hero-contact-btn--email:hover { transform: translateY(-2px); background: rgba(255,255,255,.14); }

/* ============================================================
   JOIN BOX SOCIAL
   ============================================================ */
.join-box-social {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.join-box-social-label {
  font-size: .85rem;
  color: var(--gray);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}
.join-box-social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .8rem;
}
.join-social-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.1rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: var(--gray);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.join-social-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.join-social-btn:hover {
  background: rgba(123,47,190,.18);
  border-color: rgba(123,47,190,.45);
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .hero-contacts { flex-direction: column; }
  .join-box-social-links { gap: .5rem; }
  .join-social-btn span { display: none; }
  .join-social-btn { padding: .6rem .9rem; }
  .join-social-btn svg { width: 20px; height: 20px; }
}

/* ============================================================
   SECTION SIDEBAR — navigazione sezioni (solo desktop)
   ============================================================ */
.section-sidebar {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: none; /* nascosta su mobile */
}
.section-sidebar ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.section-sidebar li {
  position: relative;
}

/* La linea verticale continua */
.section-sidebar li::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255,255,255,.12);
}
.section-sidebar li:first-child::before { top: 50%; }
.section-sidebar li:last-child::before  { bottom: 50%; }

.sidebar-dot {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .55rem 0;
  text-decoration: none;
  color: var(--gray);
  position: relative;
}

/* Il pallino */
.sidebar-dot::before {
  content: '';
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  border: 2px solid rgba(255,255,255,.2);
  flex-shrink: 0;
  transition: background .25s, border-color .25s, transform .25s;
  position: relative;
  z-index: 1;
}

/* Label a destra del pallino */
.sidebar-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .2s, transform .2s;
  white-space: nowrap;
  color: #fff;
  pointer-events: none;
}

/* Hover — mostra label e illumina pallino */
.sidebar-dot:hover::before {
  background: rgba(123,47,190,.6);
  border-color: var(--purple);
  transform: scale(1.2);
}
.sidebar-dot:hover .sidebar-label {
  opacity: 1;
  transform: translateX(0);
}

/* Sezione attiva */
.sidebar-dot.active::before {
  background: var(--purple);
  border-color: #c084fc;
  transform: scale(1.25);
  box-shadow: 0 0 10px rgba(123,47,190,.7);
}
.sidebar-dot.active .sidebar-label {
  opacity: 1;
  transform: translateX(0);
  color: #c084fc;
}

/* Solo su schermi larghi */
@media (min-width: 1200px) {
  .section-sidebar { display: block; }
}

/* ============================================================
   MOBILE PROGRESS BAR
   ============================================================ */
.mobile-progress-bar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--purple), var(--blue));
  z-index: 9999;
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}

/* ============================================================
   MOBILE PAGE INDICATOR
   ============================================================ */
@media (max-width: 768px) {
  .mobile-progress-bar { display: block; }
  .mobile-page-indicator { display: flex; }
}