/* ============================================================
   INDEX.CSS — stili specifici SOLO della home (index.html)
   Hero, Manifesto, Cinema section, animazioni SVG
   ============================================================ */

/* ─── HERO ─── */
.hero { padding: 160px 60px 80px; text-align: center; position: relative; }
.hero-label {
  display: inline-block;
  font-size: .75rem;
  letter-spacing: .3em;
  color: var(--gold);
  font-weight: 550;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeUp .8s .2s forwards;
}
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.01em;
  opacity: 0;
  animation: fadeUp .8s .4s forwards;
}
.hero-title strong { font-weight: 600; color: var(--white); }
.hero-title em     { font-style: italic; color: var(--gold); }
.hero-divider {
  width: 160px; height: 2px;
  background: linear-gradient(to right, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  margin: 32px auto 0;
  opacity: 0;
  animation: fadeUp .8s .6s forwards;
}
.hero-subtitle {
  margin-top: 28px;
  font-size: 1rem;
  letter-spacing: .12em;
  color: var(--grey);
  font-weight: 500;
  max-width: 420px;
  margin-left: auto; margin-right: auto;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp .8s .75s forwards;
}

/* ─── MANIFESTO SECTION ─── */
.manifesto-section { position: relative; padding: 90px 60px; }
.manifesto-inner { max-width: 900px; margin: 0 auto; }
.manifesto-quote {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.0rem);
  font-weight: 500;
  line-height: 1.65;
  color: var(--white);
  margin-bottom: 16px;
  text-align: center;
}
.manifesto-quote em { color: var(--gold); }
.manifesto-author {
  font-size: .7rem;
  letter-spacing: .3em;
  color: var(--gold);
  font-weight: 500;
  text-transform: uppercase;
  display: block;
  margin-bottom: 48px;
  font-style: italic;
}
.manifesto-divider {
  width: 48px; height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin-bottom: 40px;
}
.manifesto-label {
  font-size: 0.9rem;
  letter-spacing: .3em;
  color: var(--gold);
  font-weight: 500;
  text-transform: uppercase;
}
.manifesto-body {
  font-size: 1.1rem;
  line-height: 2;
  color: var(--grey);
  letter-spacing: .04em;
}
.manifesto-body em     { font-style: italic; color: rgba(201,168,76,0.85); }
.manifesto-body strong { font-weight: 600; color: var(--white); }

/* ─── CINEMA SECTION ─── */
.cinema-section {
  padding: 80px 60px 100px;
  position: relative;
  overflow: hidden;
}
.cinema-section::before {
  content: '';
  position: absolute;
  top: 0; left: 60px; right: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,168,76,.3) 30%, rgba(201,168,76,.3) 70%, transparent);
}
.cinema-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.cinema-graphic { position: relative; display: flex; align-items: center; justify-content: center; }
.cinema-svg-wrap { position: relative; width: 100%; max-width: 460px; }
.cinema-svg-wrap svg { width: 100%; height: auto; display: block; }

.cinema-label {
  font-size: 1.3rem;
  letter-spacing: .3em;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 20px;
  display: block;
}
.cinema-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 28px;
  color: var(--white);
}
.cinema-title em { font-style: italic; color: var(--gold); }
.cinema-body {
  font-size: 1.0rem;
  line-height: 2;
  color: var(--grey);
  letter-spacing: .04em;
  margin-bottom: 40px;
  max-width: 380px;
  font-weight: 400;
}
.cinema-body em     { font-style: italic; color: rgba(201,168,76,0.85); }
.cinema-body strong { font-weight: 600; color: var(--white); }

.cinema-stats { display: flex; gap: 28px; }
.stat-number {
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat-label { font-size: .6rem; letter-spacing: .2em; color: var(--grey); margin-top: 6px; font-weight: 500; }

/* ─── ANIMAZIONI SVG ─── */
.reel-spin      { transform-origin: center; animation: spin 18s linear infinite; }
.reel-spin-slow { transform-origin: center; animation: spin 30s linear infinite reverse; }
.film-strip-move { animation: filmScroll 6s linear infinite; }
.sparkle { animation: sparkle 3s ease-in-out infinite; }
.sparkle:nth-child(2) { animation-delay: 1s; }
.sparkle:nth-child(3) { animation-delay: 2s; }

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes filmScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-48px); }
}
@keyframes sparkle {
  0%, 100% { opacity: .2; transform: scale(.8); }
  50%       { opacity: 1;  transform: scale(1.3); }
}
@keyframes ciakPop {
  0%   { opacity: 0; transform: scale(.6) translateY(0); }
  20%  { opacity: 0; transform: scale(.6) translateY(0); }
  25%  { opacity: 1; transform: scale(1.15) translateY(-8px); }
  30%  { opacity: 1; transform: scale(1) translateY(-10px); }
  62%  { opacity: 1; transform: scale(1) translateY(-10px); }
  75%  { opacity: 0; transform: scale(.9) translateY(-20px); }
  100% { opacity: 0; }
}
@keyframes clapperSnap {
  0%   { transform: rotate(0deg); }
  20%  { transform: rotate(-28deg); }
  40%  { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

/* ─── RESPONSIVE INDEX ─── */
@media (max-width: 1024px) {
  .hero { padding: 140px 40px 70px; }
  .cinema-section { padding: 70px 40px 80px; }
  .cinema-section::before { left: 40px; right: 40px; }
}
@media (max-width: 900px) {
  .cinema-inner { grid-template-columns: 1fr; gap: 50px; }
  .cinema-section { padding: 60px 30px 80px; }
  .cinema-svg-wrap { max-width: 320px; margin: 0 auto; }
  .cinema-stats { gap: 32px; }
}
@media (max-width: 768px) {
  .hero { padding: 120px 24px 56px; }
  .hero-divider { width: 100px; }
  .manifesto-section { padding: 60px 24px; }
  .cinema-section::before { left: 24px; right: 24px; }
  .cinema-svg-wrap { max-width: 300px; }
}
@media (max-width: 560px) {
  .hero { padding: 100px 20px 48px; }
  .hero-subtitle { font-size: .75rem; }
  .manifesto-section { padding: 48px 20px; }
  .manifesto-body { font-size: 0.9rem; }
  .manifesto-quote { font-size: 1.1rem; }
  .cinema-section { padding: 48px 20px 60px; }
  .cinema-section::before { left: 20px; right: 20px; }
  .cinema-svg-wrap { max-width: 260px; }
  .cinema-title { font-size: 1.8rem; }
  .cinema-body { font-size: .9rem; }
  .cinema-stats { gap: 24px; }
  .stat-number { font-size: 2rem; }
}
@media (max-width: 380px) {
  .cinema-svg-wrap { max-width: 220px; }
  .cinema-stats { flex-direction: column; gap: 16px; }
  .hero-title { font-size: 2.4rem; }
}