/* ============================================
   CUSTOM PROPERTIES — BRANDING PRIVERNO INNOVA
   ============================================ */
:root {
  /* Colori brand */
  --color-bg-primary: #0C004A;
  --color-bg-secondary: #0F0A42;
  --color-bg-deep: #130327;
  --color-violet: #A100FF;
  --color-violet-dark: #7B00C4;
  --color-violet-light: #C44DFF;
  --color-yellow: #FFED00;
  --color-yellow-dark: #E0D000;
  --color-white: #FFFFFF;

  /* Testo */
  --color-text: #D4D0E8;
  --color-text-muted: #9B94B8;

  /* Font */
  --font-main: 'Montserrat', sans-serif;

  /* Spacing */
  --section-padding: 6rem 2rem;
  --container-max: 1200px;
  --radius: 12px;
  --radius-sm: 8px;

  /* Transizioni */
  --trans-fast: 0.2s ease;
  --trans: 0.3s ease;
  --trans-slow: 0.5s ease;

  /* Ombre */
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
  --glow-violet: 0 0 40px rgba(161, 0, 255, 0.3);
  --glow-yellow: 0 0 40px rgba(255, 237, 0, 0.2);
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg-primary);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--trans-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

/* ============================================
   LABEL / TITOLI SEZIONE
   ============================================ */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-yellow);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--color-white);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--trans);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--color-violet);
  color: var(--color-white);
  border-color: var(--color-violet);
  box-shadow: 0 4px 15px rgba(161, 0, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(161, 0, 255, 0.6);
  background: var(--color-violet-light);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-bg-primary);
  transform: translateY(-3px);
}

.btn-accent {
  background: var(--color-yellow);
  color: var(--color-bg-deep);
  border-color: var(--color-yellow);
  box-shadow: 0 4px 15px rgba(255, 237, 0, 0.3);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 237, 0, 0.5);
  background: var(--color-white);
}

.btn-lg {
  padding: 1.1rem 2.8rem;
  font-size: 1rem;
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--trans);
}

.header.scrolled {
  background: rgba(12, 0, 74, 0.95);
  backdrop-filter: blur(20px);
  padding: 0.6rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 45px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-violet);
  transition: width var(--trans);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--trans);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12, 0, 74, 0.4) 0%,
    rgba(12, 0, 74, 0.6) 40%,
    rgba(12, 0, 74, 0.95) 100%
  );
}

/* Effetto glow viola sullo sfondo */
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(161, 0, 255, 0.15) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

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

.hero-logo {
  width: clamp(200px, 30vw, 320px);
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 0 30px rgba(161, 0, 255, 0.4));
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 2.5rem;
  letter-spacing: 2px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Freccia scroll */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-indicator span {
  display: block;
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255, 255, 255, 0.5);
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.5; }
  50% { transform: rotate(45deg) translateY(10px); opacity: 1; }
}

/* ============================================
   COUNTDOWN
   ============================================ */
.countdown-section {
  padding: 5rem 2rem;
  text-align: center;
  background: var(--color-bg-secondary);
  border-top: 1px solid rgba(161, 0, 255, 0.15);
  border-bottom: 1px solid rgba(161, 0, 255, 0.15);
}

.countdown-event-info {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.countdown-item {
  background: rgba(161, 0, 255, 0.1);
  border: 1px solid rgba(161, 0, 255, 0.25);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  min-width: 110px;
  transition: all var(--trans);
}

.countdown-item:hover {
  border-color: var(--color-violet);
  box-shadow: var(--glow-violet);
}

.countdown-number {
  display: block;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
}

.countdown-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

/* ============================================
   ABOUT PREVIEW
   ============================================ */
.about-preview {
  padding: var(--section-padding);
  background: var(--color-bg-primary);
}

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

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(161, 0, 255, 0.15);
}

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform var(--trans-slow);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-text h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.about-text strong {
  color: var(--color-white);
}

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--color-yellow);
  font-weight: 900;
}

.stat-item p {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  margin-top: 0.2rem;
}

/* ============================================
   GALLERY PREVIEW (Homepage)
   ============================================ */
.gallery-preview {
  padding: var(--section-padding);
  background: var(--color-bg-deep);
}

.gallery-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19, 3, 39, 0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--trans);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ============================================
   CTA TESSERAMENTO
   ============================================ */
.cta-section {
  position: relative;
  padding: 6rem 2rem;
  text-align: center;
  background: var(--color-bg-secondary);
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(161, 0, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-text {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 550px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-bg-deep);
  padding: 4rem 0 0;
  border-top: 1px solid rgba(161, 0, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
}

.footer-col {
  min-width: 0;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
  word-break: break-word;
}

.footer-col ul li a,
.footer-col ul li {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition: color var(--trans-fast);
}

.footer-col ul li a:hover {
  color: var(--color-violet-light);
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links a {
  color: var(--color-text-muted);
  transition: all var(--trans);
}

.social-links a:hover {
  color: var(--color-violet-light);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer-legal a:hover {
  color: var(--color-violet-light);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image img {
    height: 300px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  /* Mobile nav */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(12, 0, 74, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: right var(--trans-slow);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  /* Gallery */
  .gallery-grid-home {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Stats */
  .about-stats {
    gap: 1.5rem;
  }

  .stat-item h3 {
    font-size: 1.6rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 1rem;
  }

  .footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .social-links {
    justify-content: center;
  }

  /* Countdown */
  .countdown-number {
    font-size: 2rem;
  }

  .countdown-item {
    min-width: 80px;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid-home {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-stats {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ============================================
   ANIMAZIONI SCROLL
   ============================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   PAGE HERO (pagine interne)
   ============================================ */
.page-hero {
  position: relative;
  padding: 10rem 2rem 5rem;
  text-align: center;
  overflow: hidden;
  min-height: 45vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12, 0, 74, 0.5) 0%,
    rgba(12, 0, 74, 0.8) 60%,
    rgba(12, 0, 74, 1) 100%
  );
}

.page-hero h1 {
  position: relative;
  z-index: 2;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--color-white);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.page-hero p {
  position: relative;
  z-index: 2;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 600px;
}

/* ============================================
   CHI SIAMO — Mission
   ============================================ */
.mission-section {
  padding: var(--section-padding);
  background: var(--color-bg-primary);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.mission-card {
  background: rgba(161, 0, 255, 0.06);
  border: 1px solid rgba(161, 0, 255, 0.15);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--trans);
}

.mission-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-violet);
  box-shadow: var(--glow-violet);
}

.mission-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.mission-card h3 {
  font-size: 1.2rem;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.mission-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

/* ============================================
   CHI SIAMO — Storia / Timeline
   ============================================ */
.story-section {
  padding: var(--section-padding);
  background: var(--color-bg-secondary);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(161, 0, 255, 0.3);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  padding: 2rem 0;
  display: flex;
  align-items: flex-start;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 45%;
  background: rgba(161, 0, 255, 0.08);
  border: 1px solid rgba(161, 0, 255, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all var(--trans);
}

.timeline-content:hover {
  border-color: var(--color-violet);
  box-shadow: var(--glow-violet);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 2.5rem;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--color-violet);
  border-radius: 50%;
  border: 3px solid var(--color-bg-secondary);
  z-index: 2;
  box-shadow: 0 0 15px rgba(161, 0, 255, 0.5);
}

.timeline-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-yellow);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-size: 1.1rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ============================================
   CHI SIAMO — Team
   ============================================ */
.team-section {
  padding: var(--section-padding);
  background: var(--color-bg-primary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: all var(--trans);
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-violet);
  box-shadow: var(--glow-violet);
}

.team-card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.team-card-body {
  padding: 1.5rem;
}

.team-card-body h3 {
  color: var(--color-white);
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.team-card-body .team-role {
  color: var(--color-violet-light);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   EVENTI — Filtri e Cards
   ============================================ */
.events-section {
  padding: var(--section-padding);
  background: var(--color-bg-primary);
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: var(--color-text-muted);
  transition: all var(--trans);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--color-violet);
  color: var(--color-white);
  border-color: var(--color-violet);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.event-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--trans);
}

.event-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-violet-light);
  box-shadow: var(--glow-violet);
}

.event-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}

.event-card:hover .event-card-image img {
  transform: scale(1.05);
}

.event-date-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-violet);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
}

.event-status {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-status.upcoming {
  background: rgba(255, 237, 0, 0.15);
  color: var(--color-yellow);
  border: 1px solid rgba(255, 237, 0, 0.4);
}

.event-status.past {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-muted);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.event-card-body {
  padding: 1.5rem;
}

.event-card-body h3 {
  font-size: 1.25rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.event-card-body p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.event-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.event-highlights {
  padding: var(--section-padding);
  background: var(--color-bg-secondary);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.highlight-card {
  text-align: center;
  padding: 2rem 1rem;
}

.highlight-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.highlight-card h3 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.highlight-card p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* ============================================
   GALLERY — Filtri + Griglia + Lightbox
   ============================================ */
.gallery-section {
  padding: var(--section-padding);
  background: var(--color-bg-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19, 3, 39, 0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--trans);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--trans);
}

.gallery-item:hover .gallery-item-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--trans);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--color-white);
  cursor: pointer;
  background: none;
  border: none;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--trans-fast);
}

.lightbox-close:hover {
  transform: scale(1.2);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: var(--color-white);
  cursor: pointer;
  background: none;
  border: none;
  padding: 1rem;
  transition: color var(--trans-fast);
}

.lightbox-nav:hover {
  color: var(--color-violet-light);
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ============================================
   TESSERAMENTI
   ============================================ */
.membership-section {
  padding: var(--section-padding);
  background: var(--color-bg-primary);
}

.membership-intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
}

.membership-intro p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.membership-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.membership-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--trans);
  position: relative;
}

.membership-card.featured {
  border-color: var(--color-violet);
  box-shadow: var(--glow-violet);
}

.membership-card.featured::before {
  content: 'Consigliata';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-yellow);
  color: var(--color-bg-deep);
  padding: 0.25rem 1.25rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.membership-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-violet-light);
}

.membership-card h3 {
  font-size: 1.3rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.membership-price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-yellow);
  margin: 1rem 0;
  line-height: 1;
}

.membership-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.membership-features {
  text-align: left;
  margin: 1.5rem 0 2rem;
}

.membership-features li {
  padding: 0.5rem 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.membership-features li::before {
  content: '✓';
  color: var(--color-violet-light);
  font-weight: 700;
  flex-shrink: 0;
}

/* Donazioni */
.donation-section {
  padding: var(--section-padding);
  background: var(--color-bg-secondary);
}

.donation-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.donation-content p {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.donation-info {
  background: rgba(161, 0, 255, 0.08);
  border: 1px solid rgba(161, 0, 255, 0.2);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 2rem;
  text-align: left;
}

.donation-info h3 {
  color: var(--color-white);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.donation-info p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.donation-info strong {
  color: var(--color-white);
}

/* ============================================
   CONTATTI
   ============================================ */
.contact-section {
  padding: var(--section-padding);
  background: var(--color-bg-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: rgba(161, 0, 255, 0.06);
  border: 1px solid rgba(161, 0, 255, 0.15);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all var(--trans);
}

.contact-card:hover {
  border-color: var(--color-violet);
  box-shadow: var(--glow-violet);
}

.contact-card-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: rgba(161, 0, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card h4 {
  color: var(--color-white);
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.contact-card p,
.contact-card a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.contact-card a:hover {
  color: var(--color-violet-light);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.85rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: border-color var(--trans);
  outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-violet);
  box-shadow: 0 0 0 3px rgba(161, 0, 255, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group select option {
  background: var(--color-bg-primary);
  color: var(--color-white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

/* Map */
.map-section {
  padding: var(--section-padding);
  background: var(--color-bg-secondary);
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(161, 0, 255, 0.15);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.5) brightness(0.8);
  transition: filter var(--trans);
}

.map-container:hover iframe {
  filter: grayscale(0) brightness(1);
}

/* ============================================
   PRIVACY POLICY
   ============================================ */
.legal-section {
  padding: 8rem 2rem 4rem;
  background: var(--color-bg-primary);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2.2rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.legal-content .legal-update {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 3rem;
}

.legal-content h2 {
  font-size: 1.3rem;
  color: var(--color-white);
  margin: 2.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(161, 0, 255, 0.1);
}

.legal-content h3 {
  font-size: 1.05rem;
  color: var(--color-violet-light);
  margin: 1.5rem 0 0.75rem;
}

.legal-content p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  font-size: 0.92rem;
  line-height: 1.8;
}

.legal-content ul {
  margin: 0.5rem 0 1rem 1.5rem;
  list-style: disc;
}

.legal-content ul li {
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.7;
}

.legal-content a {
  color: var(--color-violet-light);
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-content strong {
  color: var(--color-white);
}

/* ============================================
   RESPONSIVE — NUOVE PAGINE
   ============================================ */
@media (max-width: 992px) {
  .mission-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
    padding-left: 50px;
  }

  .timeline-content {
    width: 100%;
  }

  .timeline-dot {
    left: 20px;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .lightbox-nav {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
/* ============================================
   FESTIVAL DETAIL PAGE
   ============================================ */
.festival-detail {
  padding: var(--section-padding);
  background: var(--color-bg-deep);
}

.festival-header {
  margin-bottom: 4rem;
}

.festival-main-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.festival-intro {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.festival-intro strong {
  color: var(--color-white);
}

.festival-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.festival-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(161, 0, 255, 0.1);
  border: 1px solid rgba(161, 0, 255, 0.25);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--color-text);
  font-weight: 500;
}

.festival-badge-free {
  background: rgba(255, 237, 0, 0.1);
  border-color: rgba(255, 237, 0, 0.35);
  color: var(--color-yellow);
  font-weight: 700;
}

/* FESTIVAL BLOCKS */
.festival-block {
  margin-bottom: 4rem;
}

.festival-block-title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  color: var(--color-white);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(161, 0, 255, 0.2);
}

.festival-block-text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 800px;
}

.festival-block-text strong {
  color: var(--color-white);
}

/* ============================================
   SCHEDULE (Programma Orari)
   ============================================ */
.schedule-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1.5rem;
}

.schedule-item {
  display: flex;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  align-items: flex-start;
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-time {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-yellow);
  min-width: 90px;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 0.25rem;
}

.schedule-content h4 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.schedule-content p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ============================================
   LINE-UP GRID
   ============================================ */
.lineup-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.lineup-artist {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  background: rgba(161, 0, 255, 0.08);
  border: 1px solid rgba(161, 0, 255, 0.2);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  transition: all var(--trans);
}

.lineup-artist:hover {
  border-color: var(--color-violet);
  background: rgba(161, 0, 255, 0.15);
  color: var(--color-white);
  transform: translateY(-2px);
}

.lineup-artist.headliner {
  background: var(--color-violet);
  border-color: var(--color-violet);
  color: var(--color-white);
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
  box-shadow: var(--glow-violet);
}

.lineup-artist.headliner:hover {
  background: var(--color-violet-light);
}

/* ============================================
   FOOD GRID
   ============================================ */
.food-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.food-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--trans);
}

.food-card:hover {
  border-color: var(--color-yellow);
  box-shadow: var(--glow-yellow);
  transform: translateY(-3px);
}

.food-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.food-card h4 {
  color: var(--color-yellow);
  font-size: 1rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.food-card p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ============================================
   ACTIVITY GRID (Area Svago)
   ============================================ */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.activity-card {
  background: rgba(161, 0, 255, 0.06);
  border: 1px solid rgba(161, 0, 255, 0.15);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all var(--trans);
}

.activity-card:hover {
  border-color: var(--color-violet);
  box-shadow: var(--glow-violet);
  transform: translateY(-3px);
}

.activity-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.activity-card h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.activity-card p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ============================================
   SHUTTLE GRID (Navette)
   ============================================ */
.shuttle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.shuttle-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 2rem;
}

.shuttle-direction {
  font-size: 1.15rem;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.shuttle-route {
  margin-bottom: 1.5rem;
}

.shuttle-route:last-child {
  margin-bottom: 0;
}

.shuttle-route h5 {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.shuttle-times {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.shuttle-times span {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  background: rgba(161, 0, 255, 0.1);
  border: 1px solid rgba(161, 0, 255, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-white);
  font-family: var(--font-main);
}

/* ============================================
   FESTIVAL INFO BOX
   ============================================ */
.festival-info-box {
  background: rgba(161, 0, 255, 0.08);
  border: 1px solid rgba(161, 0, 255, 0.25);
  border-radius: var(--radius);
  padding: 3rem;
  max-width: 650px;
  margin: 0 auto;
}

.festival-info-box h3 {
  color: var(--color-white);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.festival-info-box p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.festival-closing strong {
  color: var(--color-yellow);
  font-size: 1.05rem;
}

/* ============================================
   RESPONSIVE — FESTIVAL DETAIL
   ============================================ */
@media (max-width: 768px) {
  .schedule-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .schedule-time {
    font-size: 1.2rem;
  }

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

  .food-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .festival-info-box {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .food-grid {
    grid-template-columns: 1fr;
  }

  .lineup-grid {
    justify-content: center;
  }
}

/* ============================================
   TEAM — Card singola (Consiglio Direttivo)
   ============================================ */
.team-grid-single {
  display: flex;
  justify-content: center;
}

.team-card-wide {
  max-width: 600px;
  width: 100%;
}

.team-card-wide .team-card-img {
  height: 350px;
}

.team-card-desc {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 1rem;
}

/* ============================================
   LIGHTBOX — Counter
   ============================================ */
.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
}

/* ============================================
   TESSERAMENTI — Perché Unirsi
   ============================================ */
.why-join-section {
  padding: var(--section-padding);
  background: var(--color-bg-secondary);
}

.why-join-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-join-card {
  background: rgba(161, 0, 255, 0.06);
  border: 1px solid rgba(161, 0, 255, 0.15);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--trans);
}

.why-join-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-violet);
  box-shadow: var(--glow-violet);
}

.why-join-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.why-join-card h3 {
  font-size: 1.15rem;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.why-join-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

/* ============================================
   TESSERAMENTI — Card Tessera (singola, grande)
   ============================================ */
.membership-section {
  padding: var(--section-padding);
  background: var(--color-bg-primary);
}

.membership-single {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.membership-card-hero {
  position: relative;
  max-width: 450px;
  width: 100%;
  background: rgba(161, 0, 255, 0.06);
  border: 2px solid var(--color-violet);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--trans);
  box-shadow: var(--glow-violet);
}

.membership-card-hero:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 60px rgba(161, 0, 255, 0.4);
}

.membership-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(161, 0, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.membership-card-content {
  position: relative;
  z-index: 1;
  padding: 3rem 2.5rem;
  text-align: center;
}

.membership-logo {
  height: 60px;
  width: auto;
  margin: 0 auto 1.5rem;
  opacity: 0.9;
}

.membership-card-content h3 {
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.membership-price {
  font-size: 4rem;
  font-weight: 900;
  color: var(--color-yellow);
  line-height: 1;
  margin: 1rem 0 0.25rem;
}

.membership-price span {
  font-size: 1.8rem;
  font-weight: 700;
}

.membership-period {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.membership-features {
  text-align: left;
  margin-bottom: 2rem;
}

.membership-features li {
  padding: 0.65rem 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.membership-features li:last-child {
  border-bottom: none;
}

.membership-features li::before {
  content: '✓';
  color: var(--color-yellow);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ============================================
   TESSERAMENTI — Come Tesserarsi
   ============================================ */
.how-to-section {
  padding: var(--section-padding);
  background: var(--color-bg-secondary);
}

.how-to-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.how-to-card {
  flex: 1;
  min-width: 280px;
  max-width: 380px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  transition: all var(--trans);
}

.how-to-card:hover {
  border-color: var(--color-violet);
  box-shadow: var(--glow-violet);
  transform: translateY(-3px);
}

.how-to-number {
  width: 50px;
  height: 50px;
  background: var(--color-violet);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 20px rgba(161, 0, 255, 0.4);
}

.how-to-content h3 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.how-to-content p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.how-to-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.how-to-link {
  display: inline-block;
  color: var(--color-violet-light);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color var(--trans-fast);
}

.how-to-link:hover {
  color: var(--color-yellow);
}

.how-to-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-to-divider span {
  background: rgba(161, 0, 255, 0.15);
  border: 1px solid rgba(161, 0, 255, 0.3);
  color: var(--color-text-muted);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   TESSERAMENTI — Form
   ============================================ */
.membership-form-section {
  padding: var(--section-padding);
  background: var(--color-bg-primary);
}

.membership-form {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-checkbox {
  flex-direction: row !important;
  align-items: center;
  gap: 0.75rem !important;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-violet);
  cursor: pointer;
  flex-shrink: 0;
}

.form-checkbox label {
  font-size: 0.85rem !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
  color: var(--color-text-muted) !important;
  cursor: pointer;
}

.form-checkbox label a {
  color: var(--color-violet-light);
  text-decoration: underline;
}

.form-checkbox label a:hover {
  color: var(--color-yellow);
}

.form-submit-btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

/* ============================================
   TESSERAMENTI — Donazioni
   ============================================ */
.donation-section {
  padding: var(--section-padding);
  background: var(--color-bg-secondary);
}

.donation-content {
  max-width: 700px;
  margin: 0 auto;
}

.donation-content > p {
  color: var(--color-text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.donation-info {
  background: rgba(161, 0, 255, 0.08);
  border: 1px solid rgba(161, 0, 255, 0.2);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: left;
  overflow-wrap: break-word;
  word-break: break-word;
}

.donation-info h3 {
  color: var(--color-white);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.donation-info > p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.donation-detail {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin: 1.25rem 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.donation-detail p {
  color: var(--color-text);
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}

.donation-detail p:last-child {
  margin-bottom: 0;
}

.donation-detail strong {
  color: var(--color-white);
}

.donation-note {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  font-style: italic;
}

@media (max-width: 768px) {
  .donation-section {
    padding: 4rem 1rem;
  }

  .donation-content {
    max-width: 100%;
    padding: 0 0.5rem;
  }

  .donation-info {
    padding: 1.5rem 1rem;
  }

  .donation-detail {
    padding: 1rem 0.75rem;
  }

  .donation-detail p {
    font-size: 0.85rem;
  }

  .donation-info h3 {
    font-size: 1.05rem;
  }

  .donation-info > p {
    font-size: 0.88rem;
  }

  .donation-note {
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .donation-info {
    padding: 1.25rem 0.75rem;
  }

  .donation-detail {
    padding: 0.85rem 0.6rem;
  }

  .donation-detail p {
    font-size: 0.8rem;
  }
}

/* ============================================
   RESPONSIVE — TESSERAMENTI
   ============================================ */
@media (max-width: 768px) {
  .why-join-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .how-to-grid {
    flex-direction: column;
  }

  .how-to-card {
    max-width: 100%;
  }

  .membership-card-content {
    padding: 2.5rem 1.5rem;
  }

  .membership-price {
    font-size: 3rem;
  }

  .donation-info {
    padding: 1.5rem;
  }
}

/* ============================================
   FORM — Messaggio di successo
   ============================================ */
.form-success {
  text-align: center;
  padding: 3rem 2rem;
}

.form-success-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.form-success h3 {
  font-size: 1.6rem;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.form-success p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 450px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   CONTATTI — Layout
   ============================================ */
.contact-section {
  padding: var(--section-padding);
  background: var(--color-bg-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: flex-start;
}

/* ============================================
   CONTATTI — Info Side
   ============================================ */
.contact-info-side .section-title {
  margin-bottom: 1rem;
}

.contact-intro {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card {
  background: rgba(161, 0, 255, 0.06);
  border: 1px solid rgba(161, 0, 255, 0.15);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all var(--trans);
}

.contact-card:hover {
  border-color: var(--color-violet);
  box-shadow: var(--glow-violet);
}

.contact-card-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  background: rgba(161, 0, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card h4 {
  color: var(--color-white);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-card a {
  color: var(--color-text-muted);
  transition: color var(--trans-fast);
}

.contact-card a:hover {
  color: var(--color-violet-light);
}

/* ============================================
   CONTATTI — Social Buttons
   ============================================ */
.contact-social {
  margin-top: 2.5rem;
}

.contact-social h4 {
  color: var(--color-white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.contact-social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-white);
  transition: all var(--trans);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.social-btn:hover {
  transform: translateY(-2px);
}

.social-instagram:hover {
  background: linear-gradient(135deg, #833AB4, #E1306C, #F77737);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(225, 48, 108, 0.3);
}

.social-facebook:hover {
  background: #1877F2;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(24, 119, 242, 0.3);
}

.social-tiktok:hover {
  background: #010101;
  border-color: #69C9D0;
  box-shadow: 0 4px 20px rgba(105, 201, 208, 0.3);
}

/* ============================================
   CONTATTI — Form Side
   ============================================ */
.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.contact-form-title {
  font-size: 1.3rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.contact-form-subtitle {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* ============================================
   CONTATTI — Mappa
   ============================================ */
.map-section {
  padding: var(--section-padding);
  background: var(--color-bg-secondary);
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(161, 0, 255, 0.15);
  height: 400px;
  margin-top: 1rem;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.5) brightness(0.8);
  transition: filter var(--trans);
}

.map-container:hover iframe {
  filter: grayscale(0) brightness(1);
}

/* ============================================
   CONTATTI — Responsive
   ============================================ */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-info-side .section-title {
    text-align: center;
  }

  .contact-info-side .section-label {
    display: block;
    text-align: center;
  }

  .contact-intro {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 2rem 1.25rem;
  }

  .map-container {
    height: 300px;
  }

  .contact-social-links {
    justify-content: center;
  }

  .social-btn span {
    display: none;
  }

  .social-btn {
    width: 45px;
    height: 45px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}

@media (max-width: 480px) {
  .map-container {
    height: 250px;
  }

  .contact-form-wrapper {
    padding: 1.5rem 1rem;
  }
}

/* ============================================
   COOKIE TABLE (Privacy Policy)
   ============================================ */
.cookie-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(161, 0, 255, 0.15);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 500px;
}

.cookie-table thead {
  background: rgba(161, 0, 255, 0.1);
}

.cookie-table th {
  color: var(--color-white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.78rem;
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(161, 0, 255, 0.2);
}

.cookie-table td {
  padding: 0.85rem 1.25rem;
  color: var(--color-text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  line-height: 1.6;
}

.cookie-table tbody tr:hover {
  background: rgba(161, 0, 255, 0.04);
}

/* ============================================
   LEGAL — Responsive
   ============================================ */
@media (max-width: 768px) {
  .legal-section {
    padding: 7rem 1rem 3rem;
  }

  .legal-content {
    padding: 0 0.5rem;
  }

  .legal-content h1 {
    font-size: 1.8rem;
  }

  .legal-content h2 {
    font-size: 1.15rem;
  }

  .cookie-table {
    min-width: 400px;
  }
}

@media (max-width: 480px) {
  .legal-section {
    padding: 6.5rem 0.75rem 2.5rem;
  }

  .cookie-table {
    min-width: 320px;
    font-size: 0.8rem;
  }

  .cookie-table th,
  .cookie-table td {
    padding: 0.7rem 0.85rem;
  }
}

/* ============================================
   FORM — Messaggio errore
   ============================================ */
.form-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  color: #EF4444;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  margin-top: 1rem;
}