/* ============================================================
   MOWI — I Like To MOWI | Design System
   ============================================================ */

/* Futura PT — load via Adobe Fonts (Typekit). Add your kit in each HTML <head>:
   <link rel="stylesheet" href="https://use.typekit.net/XXXXXXX.css"> */

/* ---- Design Tokens ---- */
:root {
  --primary:       #ff6f4a;
  --primary-dark:  #B5421A;
  --primary-light: #FF8547;
  --dark:          #111111;
  --dark-2:        #2A2A2A;
  --gray:          #6B6B6B;
  --light-gray:    #F0EEEB;
  --warm-bg:       #FFF8F3;
  --white:         #FFFFFF;
  --gold:          #FFD166;
  --success:       #27AE60;
  --error:         #E74C3C;

  --font-display:  futura-pt, Helvetica, Arial, sans-serif;
  --font-body:     futura-pt, Helvetica, Arial, sans-serif;

  --radius:        14px;
  --radius-sm:     8px;
  --radius-pill:   100px;
  --shadow:        0 4px 24px rgba(0,0,0,0.08);
  --shadow-card:   0 2px 16px rgba(0,0,0,0.07);
  --shadow-hover:  0 10px 40px rgba(224,92,40,0.2);
  --transition:    all 0.25s cubic-bezier(0.25,0.46,0.45,0.94);
  --max-width:     1200px;
  --nav-height:    72px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar {
  padding-top: var(--wp-admin--admin-bar--height, 0px);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
input, select, textarea { font-family: var(--font-body); }

/* ---- Typography ---- */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1;
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
}
h1 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
p { font-size: 1rem; line-height: 1.7; color: var(--dark-2); }
.lead { font-size: 1.15rem; line-height: 1.65; }
.small { font-size: 0.875rem; }
.label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-lg { padding: 120px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.text-center { text-align: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem; font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(224,92,40,0.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover { background: var(--dark-2); transform: translateY(-2px); }
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
  background: transparent;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: white; }
.btn-lg { padding: 18px 44px; font-size: 1.05rem; }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }

/* ---- Badge / Tag ---- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.badge-primary { background: var(--primary); color: white; }
.badge-gold { background: var(--gold); color: var(--dark); }
.badge-dark { background: var(--dark); color: white; }
.badge-outline { border: 1.5px solid var(--primary); color: var(--primary); }
.badge-ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: white; }
.badge-tt { background: #000; color: white; }

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  position: fixed; top: var(--wp-admin--admin-bar--height, 0px); left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  background: #2C2A29;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
.site-nav.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.25); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-height);
}
.nav-logo {
  display: flex; align-items: center;
  font-family: var(--font-display); color: #fff;
}
.nav-logo-img { height: 24px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 10px 18px; border-radius: var(--radius-sm);
  font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.85);
  text-transform: uppercase; letter-spacing: 0.08em;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,0.08); }
.nav-cta { margin-left: 12px; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 8px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  position: fixed; top: var(--nav-height); left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 999;
  padding: 32px 24px;
  flex-direction: column; gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block; padding: 14px 16px;
  font-size: 0.95rem; font-weight: 600; color: var(--dark);
  text-transform: uppercase; letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--primary); background: var(--warm-bg); }
.mobile-menu .btn { margin-top: 16px; width: 100%; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.92);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 56px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand {
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 360px;
  text-align: left;
}
.footer-logo-img {
  height: 60px;
  width: auto;
  display: block;
  margin-left: 0;
}
.footer-payoff {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--primary-light);
  margin: 0;
  text-transform: uppercase;
  font-weight: 500;
  text-align: left;
  align-self: stretch;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 0.98rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 12px;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
  margin-top: 28px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin: 0;
}
.hashtag { color: var(--primary-light); font-weight: 700; }

/* ============================================================
   PAGE HERO (generic)
   ============================================================ */
.page-hero {
  padding-top: calc(var(--nav-height) + 64px);
  padding-bottom: 64px;
  background: var(--warm-bg);
}
.page-hero-dark {
  padding-top: calc(var(--nav-height) + 64px);
  padding-bottom: 64px;
  background: var(--dark);
  color: white;
}

/* Stili contestuali figli dell'hero parallax */
.page-hero-parallax .label { color: var(--primary-light); }
.page-hero-parallax h1 { color: white; margin-bottom: 20px; }
.page-hero-parallax .lead { color: rgba(255,255,255,0.82); }

/* Parallax hero with photo background */
.page-hero-parallax {
  position: relative;
  padding-top: calc(var(--nav-height) + 96px);
  padding-bottom: 96px;
  color: white;
  overflow: hidden;
  isolation: isolate;
  background: var(--dark); /* fallback while image loads */
}
.page-hero-parallax .parallax-bg {
  position: absolute;
  top: -20%; left: 0; right: 0; bottom: -20%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  z-index: -2;
}
.page-hero-parallax::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.35) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.5) 100%);
  z-index: -1;
  pointer-events: none;
}
.page-hero-parallax > .container { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .page-hero-parallax .parallax-bg { transform: none !important; }
}
@media (max-width: 720px) {
  .page-hero-parallax { padding-top: calc(var(--nav-height) + 64px); padding-bottom: 64px; }
}

/* ============================================================
   HOME — HERO
   ============================================================ */
.home-hero {
  min-height: 100vh;
  padding-top: var(--nav-height);
  background: var(--dark);
  color: white;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 50%, rgba(224,92,40,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: var(--radius-pill);
  background: rgba(224,92,40,0.15); border: 1px solid rgba(224,92,40,0.3);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--primary-light); margin-bottom: 28px;
}
.hero-title { color: white; margin-bottom: 8px; line-height: 0.95; }
.hero-title .accent { color: var(--primary); }
.hero-lettering {
  display: block; width: 100%; max-width: 560px; height: auto;
  filter: invert(1) brightness(1.15);
  margin-bottom: 8px;
}
.hero-sub {
  font-size: 1.15rem; color: rgba(255,255,255,0.7);
  max-width: 520px; margin: 20px 0 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Countdown */
.countdown {
  display: flex; gap: 20px; margin: 48px 0 16px;
  flex-wrap: wrap;
}
.countdown-unit {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 16px 20px; min-width: 80px;
}
.countdown-number {
  font-family: var(--font-display); font-size: 2.8rem; line-height: 1; color: white;
}
.countdown-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-top: 4px;
}

/* Hero visual */
.hero-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; min-height: calc(100vh - var(--nav-height)); padding: 64px 0; }
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-phone-col {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.hero-img-wrap {
  width: 100%; aspect-ratio: 4/5;
  border-radius: 24px; overflow: hidden;
  background: linear-gradient(135deg, #E05C28 0%, #FF8547 40%, #FFD166 100%);
  display: flex; align-items: center; justify-content: center;
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-placeholder {
  font-family: var(--font-display); font-size: 3rem; color: rgba(255,255,255,0.3);
  text-align: center; padding: 24px;
}
/* Phone mockup in hero */
.hero-phone-mockup {
  --phone-rot: -6deg;
  position: relative;
  width: 320px; aspect-ratio: 9/19.5;
  background: #000;
  border-radius: 46px;
  padding: 11px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 2px rgba(255,255,255,0.08) inset;
  transform: rotate(var(--phone-rot));
  transition: transform 0.15s linear;
  will-change: transform, translate;
  animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
.hero-phone-mockup video {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 35px;
  display: block;
}
.hero-phone-notch {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 24px; background: #000; border-radius: 100px;
  z-index: 2;
}
/* Audio toggle button on phone */
.phone-audio-btn {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 12px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  z-index: 3;
  white-space: nowrap;
}
.phone-audio-btn:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: translateX(-50%) translateY(-2px);
  border-color: rgba(255, 255, 255, 0.45);
}
.phone-audio-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
.phone-audio-icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.phone-audio-icon--unmuted { display: none; }
.phone-audio-btn[aria-pressed="true"] .phone-audio-icon--muted { display: none; }
.phone-audio-btn[aria-pressed="true"] .phone-audio-icon--unmuted { display: block; }
.phone-audio-btn[aria-pressed="true"] {
  background: var(--primary);
  border-color: transparent;
}
.phone-audio-btn[aria-pressed="true"]:hover {
  background: #C44A1D;
}
/* Pulse ring to draw attention when muted */
.phone-audio-btn:not([aria-pressed="true"])::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 100px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  animation: audioPulse 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes audioPulse {
  0%   { opacity: 0.9; transform: scale(1); }
  70%  { opacity: 0; transform: scale(1.18); }
  100% { opacity: 0; transform: scale(1.18); }
}
@media (prefers-reduced-motion: reduce) {
  .phone-audio-btn:not([aria-pressed="true"])::before { animation: none; opacity: 0.6; }
}

/* Spot switcher tabs below phone */
.hero-spot-switch {
  display: inline-flex;
  padding: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  gap: 2px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.spot-tab {
  padding: 8px 18px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: none;
  border-radius: 100px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.spot-tab:hover { color: #fff; }
.spot-tab.is-active {
  background: #fff;
  color: var(--dark);
}
.spot-tab:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.hero-collage {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: -1;
}
.hc-img {
  position: absolute;
  width: 180px; height: 180px; object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  opacity: 0.92;
}
.hc-img-1 { top: -10px; right: -20px; transform: rotate(6deg); }
.hc-img-2 { bottom: -10px; left: -30px; transform: rotate(-8deg); width: 160px; height: 160px; }
@media (max-width: 900px) {
  .hero-phone-mockup { width: 240px; animation: none; }
  .hc-img-1, .hc-img-2 { display: none; }
  .phone-audio-btn {
    bottom: 16px;
    padding: 8px 14px 8px 10px;
    font-size: 0.78rem;
  }
}
/* Mobile horizontal hero video: audio btn + tabs */
.phone-audio-btn--mobile {
  position: absolute;
  bottom: 12px; right: 12px; left: auto; top: auto;
  transform: none;
  width: 44px; height: 44px;
  padding: 0;
  justify-content: center;
}
.phone-audio-btn--mobile:hover { transform: translateY(-2px); }
.phone-audio-btn--mobile .phone-audio-icon { width: 20px; height: 20px; }
.hero-spot-switch--mobile {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  padding: 3px;
}
.hero-spot-switch--mobile .spot-tab {
  padding: 7px 16px;
  font-size: 0.78rem;
}
/* Mobile horizontal video — hidden on desktop */
.hero-video-mobile { display: none; }

/* Community preview grid (home) — responsive */
.community-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1024px) { .community-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (max-width: 768px)  { .community-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 480px)  { .community-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }
@media (max-width: 768px) {
  .home-hero { min-height: 0; padding-top: calc(var(--nav-height) + 8px); padding-bottom: 8px; }
  .hero-layout {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 16px 0 48px;
    gap: 24px;
    text-align: center;
  }
  .hero-content { margin: 0 auto; }
  .hero-eyebrow { margin-bottom: 18px; }
  .hero-lettering { margin-left: auto; margin-right: auto; max-width: 420px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .countdown { justify-content: center; margin: 32px 0 8px; }
  .hero-visual { display: none; }
  .hero-floating-badge { display: none; }
  .hero-video-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    order: -1;
    width: 100%;
    margin-top: 4px;
  }
  .hero-video-mobile-frame {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.08) inset;
    background: #000;
  }
  .hero-video-mobile-frame video {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-phone-mockup { animation: none; transition: none; }
}
.hero-floating-badge {
  position: absolute; bottom: 24px; left: -16px;
  background: white; color: var(--dark);
  padding: 16px 20px; border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 180px;
}
.hero-floating-badge .hfb-num { font-family: var(--font-display); font-size: 2.2rem; color: var(--primary); line-height: 1; }
.hero-floating-badge .hfb-label { font-size: 0.78rem; font-weight: 600; color: var(--gray); }

/* ============================================================
   HOW IT WORKS — STEPS
   ============================================================ */
.steps-section { background: var(--warm-bg); }
.steps-header { text-align: center; margin-bottom: 56px; }
.steps-header .eyebrow { color: var(--primary); margin-bottom: 12px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.steps-grid::before {
  content: '';
  position: absolute;
  /* padding-top step-card (32px) + half circle (36px) = 68px, shift up 1px for line thickness */
  top: 67px;
  left: calc(16.66% + 44px);
  right: calc(16.66% + 44px);
  height: 2px;
  background: var(--primary); opacity: 0.25; z-index: 0;
}
.step-card { text-align: center; padding: 32px 24px; position: relative; z-index: 1; }
.step-number {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--primary); color: white;
  font-family: var(--font-display); font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; box-shadow: 0 4px 20px rgba(224,92,40,0.35);
}
.step-card h3 { margin-bottom: 10px; }
.step-card p { font-size: 0.95rem; color: var(--gray); }

/* ============================================================
   VIDEO CARDS / FEED (photo-dominant)
   ============================================================ */
.video-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.video-thumb {
  aspect-ratio: 9/16;
  background: linear-gradient(160deg, #2A2A2A 0%, #E05C28 100%);
  position: relative; overflow: hidden;
  display: block;
}
.video-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.video-card:hover .video-thumb img { transform: scale(1.04); }
.video-thumb-placeholder {
  position: absolute; inset: 0;
  font-family: var(--font-display); font-size: 1.5rem;
  color: rgba(255,255,255,0.4); text-align: center; padding: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #2A2A2A 0%, #E05C28 100%);
}
.video-play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.18); opacity: 0; transition: var(--transition);
  z-index: 3;
}
.video-card:hover .video-play-btn { opacity: 1; }
.play-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.2rem;
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}

/* Gradient overlay at the bottom for readability */
.video-thumb::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 55%;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0) 100%);
  pointer-events: none; z-index: 2;
}

/* Avatar on the photo */
.card-avatar {
  position: absolute; top: 12px; left: 12px; z-index: 4;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  border: 2px solid rgba(255,255,255,0.9);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  overflow: hidden;
}
.card-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Bottom overlay: username + vote button */
.card-overlay {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  padding: 14px 14px 14px 14px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.card-user {
  color: #fff; font-weight: 700; font-size: 0.95rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.vote-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.95); border: 0;
  font-size: 0.85rem; font-weight: 700; color: var(--dark);
  cursor: pointer; transition: var(--transition);
  backdrop-filter: blur(6px);
  flex-shrink: 0;
}
.vote-btn:hover { background: #fff; transform: scale(1.05); }
.vote-btn.voted { background: var(--primary); color: #fff; }
.vote-btn .heart { font-size: 1rem; color: var(--primary); transition: color 0.2s; }
.vote-btn.voted .heart { color: #fff; }

/* Top badge (ranking) */
.top-badge {
  position: absolute; top: 12px; right: 12px; z-index: 4;
  background: var(--gold); color: var(--dark);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--radius-pill);
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

/* ============================================================
   AUDIZIONI — STATS STRIP
   ============================================================ */
.stats-strip {
  border-bottom: 1px solid var(--light-gray);
  padding: 20px 0;
  margin-bottom: 8px;
  flex-wrap: wrap;
  display: flex;
  gap: 24px;
}
.stat-item {
  flex-direction: column;
  display: flex;
}
.stat-num {
  font-family: var(--font-display);
  color: var(--primary);
  font-size: 2rem;
  line-height: 1;
}
.stat-lbl {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray);
}

/* ============================================================
   FEED PAGE — FILTERS
   ============================================================ */
.feed-filters {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  padding: 24px 0;
}
.filter-btn {
  padding: 8px 20px; border-radius: var(--radius-pill);
  font-size: 0.88rem; font-weight: 600;
  border: 1.5px solid var(--light-gray); color: var(--gray);
  background: white; transition: var(--transition);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); color: white; border-color: var(--primary); }
.feed-filters #sortSelect {
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--light-gray);
  font-size: 0.88rem;
  padding: 8px 14px;
  width: auto;
}
.feed-search {
  margin-left: auto;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--light-gray); background: white;
  font-size: 0.9rem; color: var(--dark);
}
.feed-search input { border: none; outline: none; font-family: var(--font-body); font-size: 0.9rem; min-width: 160px; }
.feed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.load-more-wrap { text-align: center; margin-top: 48px; }

/* Stato vuoto del feed */
.feed-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 0;
}

/* Feed layout (audizioni page) — sidebar on desktop */
.feed-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}
.feed-sidebar { position: sticky; top: calc(var(--nav-height) + 16px); }

/* CTA scura nel sidebar feed */
.sidebar-cta {
  background: var(--dark);
  border-radius: var(--radius);
  margin-top: 20px;
  padding: 24px;
  text-align: center;
  color: white;
}
.sidebar-cta strong { display: block; margin-bottom: 8px; }
.sidebar-cta p { color: rgba(255,255,255,0.6); margin-bottom: 16px; font-size: 0.85rem; }
.sidebar-cta .btn { justify-content: center; width: 100%; }

/* Classifica */
.rank-panel {
  background: var(--warm-bg); border-radius: var(--radius);
  padding: 24px;
}
.rank-header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.rank-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.rank-item:last-child { border-bottom: none; }
.rank-pos {
  width: 28px; text-align: center;
  font-weight: 800; font-size: 0.9rem; color: var(--gray);
  flex-shrink: 0;
}
.rank-pos.gold { color: #C9960A; }
.rank-pos.silver { color: #888; }
.rank-pos.bronze { color: #B87333; }
.rank-name { flex: 1; font-size: 0.9rem; font-weight: 600; }
.rank-votes { font-size: 0.85rem; color: var(--gray); }

/* ============================================================
   FORM
   ============================================================ */
.form-section {
  background: var(--warm-bg);
  padding-top: calc(var(--nav-height) + 64px); padding-bottom: 80px;
}
.form-card {
  background: white; border-radius: 24px;
  box-shadow: var(--shadow); padding: 48px;
  max-width: 720px; margin: 0 auto;
}
.form-card-header { margin-bottom: 36px; }
.form-group { margin-bottom: 22px; }
.form-label {
  display: block; font-size: 0.88rem; font-weight: 600;
  color: var(--dark); margin-bottom: 8px;
}
.form-label .req { color: var(--primary); margin-left: 2px; }
.form-control {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid #DDD; border-radius: var(--radius-sm);
  font-size: 0.95rem; color: var(--dark); background: white;
  transition: var(--transition); outline: none;
  -webkit-appearance: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(224,92,40,0.12); }
.form-control.error { border-color: var(--error); }
.form-hint { font-size: 0.8rem; color: var(--gray); margin-top: 6px; }
.form-error { font-size: 0.8rem; color: var(--error); margin-top: 6px; display: none; }
.form-group.has-error .form-error { display: block; }
.form-group.has-error .form-control { border-color: var(--error); }
.form-group.has-error .radio-group { border: 1.5px solid var(--error); border-radius: var(--radius-sm); padding: 8px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.radio-group { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.radio-card {
  flex: 1; min-width: 120px;
  border: 1.5px solid #DDD; border-radius: var(--radius-sm);
  padding: 14px 16px; cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  transition: var(--transition);
}
.radio-card input[type="radio"] { display: none; }
.radio-card.selected { border-color: var(--primary); background: rgba(224,92,40,0.05); }
.radio-card-icon { font-size: 1.3rem; }
.radio-card-text { font-size: 0.9rem; font-weight: 600; }

.checkbox-group { display: flex; flex-direction: column; gap: 14px; }
.checkbox-item { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.checkbox-item input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary); flex-shrink: 0; margin-top: 2px; cursor: pointer; }
.checkbox-item span { font-size: 0.9rem; line-height: 1.5; color: var(--dark-2); }
.checkbox-item a { color: var(--primary); font-weight: 600; }

.form-divider { border: none; border-top: 1px solid var(--light-gray); margin: 28px 0; }

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

/* Success state */
.form-success {
  display: none; text-align: center; padding: 48px 24px;
}
.form-success.visible { display: block; }
.success-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(39,174,96,0.1); color: var(--success);
  font-size: 2.5rem; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
/* "Cosa succede adesso?" box dentro la success state */
.success-next {
  background: var(--warm-bg);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 460px;
  margin: 0 auto 32px;
  text-align: left;
}
.success-next-title {
  display: block;
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--dark);
}
.success-next-list {
  margin: 0;
  padding-left: 22px;
}
.success-next-list li {
  list-style: disc;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--dark-2);
  margin-bottom: 8px;
}
.success-next-list li:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  .success-next { padding: 22px 20px; }
  .success-next-title { font-size: 1.15rem; margin-bottom: 14px; }
  .success-next-list li { font-size: 1.15rem; line-height: 1.5; margin-bottom: 12px; }
}

/* Form card section titles */
.form-card-header h2 { margin-bottom: 6px; font-size: 1.4rem; }
.form-section-title { margin-bottom: 20px; font-size: 1.4rem; }

/* Info notice box inside form */
.form-notice {
  border: 1.5px solid rgba(224, 92, 40, 0.2);
  background: rgba(224, 92, 40, 0.07);
  border-radius: var(--radius);
  margin-bottom: 24px;
  padding: 16px;
}
.form-notice p { color: var(--dark-2); font-size: 0.88rem; }

/* Success state variants */
.success-desc { margin: 0 auto 24px; max-width: 400px; }
.success-icon--info { background: var(--gray); color: white; }
.success-icon--error { background: var(--error); color: white; }
.form-success--error { border-top: 4px solid var(--error); }

/* ============================================================
   SUBSCRIBE — Iscriviti page
   ============================================================ */
.subscribe-hero { margin-bottom: 40px; text-align: center; }
.subscribe-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 12px; }
.subscribe-hero .lead { max-width: 480px; margin: 0 auto; }

.step-indicator {
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  display: flex;
  gap: 8px;
}
.step-indicator-item {
  border-radius: var(--radius-pill);
  background: var(--light-gray);
  align-items: center;
  font-size: 0.85rem;
  color: var(--gray);
  padding: 8px 16px;
  font-weight: 700;
  display: flex;
  gap: 8px;
}
.step-indicator-item--active { background: var(--primary); color: white; }
.step-indicator-arrow { color: var(--light-gray); line-height: 36px; font-size: 1.2rem; }

/* ============================================================
   PRIZE SECTION
   ============================================================ */
.prize-section {
  background: var(--dark); color: white; overflow: hidden;
}
.prize-section.prize-section--salmon {
  background: var(--primary);
}
.prize-section--salmon .prize-content .eyebrow { color: rgba(255,255,255,0.85); }
.prize-section--salmon .prize-item {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
}
.prize-section--salmon .prize-item-text span { color: rgba(255,255,255,0.82); }
.prize-section--salmon .prize-img-wrap {
  background: linear-gradient(135deg, #fff 0%, var(--warm-bg) 100%);
  box-shadow: 0 20px 80px rgba(0,0,0,0.25);
}
.prize-section--salmon .btn-primary {
  background: var(--dark); color: white;
}
.prize-section--salmon .btn-primary:hover {
  background: #000; color: white;
}

/* Parallax background variant — text on the left, photo subject on the right */
.prize-section.prize-section--parallax {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--dark); /* fallback while image loads */
  padding: 80px 0;
}
.prize-section--parallax .parallax-bg {
  position: absolute;
  top: -20%; left: 0; right: 0; bottom: -20%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  z-index: -2;
}
.prize-section--parallax::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.65) 45%, rgba(0,0,0,0.25) 75%, rgba(0,0,0,0.05) 100%);
  z-index: -1;
  pointer-events: none;
}
.prize-section--parallax > .container { position: relative; z-index: 1; }
.prize-section--parallax .prize-layout {
  grid-template-columns: 1fr;
}
.prize-section--parallax .prize-content {
  max-width: 520px;
  text-align: left;
}
.prize-section--parallax .prize-content p { margin-left: 0; margin-right: 0; }
.prize-section--parallax .prize-list { text-align: left; max-width: 520px; margin: 24px 0 0; gap: 12px; }
.prize-section--parallax .prize-item { padding: 12px 16px; }
.prize-section--parallax .prize-actions { justify-content: flex-start; }
@media (max-width: 900px) {
  .prize-section--parallax { padding: 64px 0; }
  .prize-section--parallax::after {
    background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.65) 100%);
  }
  /* Subject is on the right side of both bowl + sandwich images:
     shift the background to keep the woman visible on narrow viewports */
  .prize-section--parallax .parallax-bg { background-position: 61% center; }
}
@media (prefers-reduced-motion: reduce) {
  .prize-section--parallax .parallax-bg { transform: none !important; }
}

/* Requisiti variant — grid of 6 items inside the parallax section */
.prize-section--parallax.req-section .prize-content { max-width: 720px; }
.req-section .req-grid-parallax {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.req-section .req-item-parallax {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.req-section .req-item-parallax .req-icon {
  font-size: 1.5rem; line-height: 1; margin-bottom: 8px;
}
.req-section .req-item-parallax strong {
  display: block; color: #fff; font-size: 0.95rem; margin-bottom: 4px;
}
.req-section .req-item-parallax p {
  font-size: 0.85rem; color: rgba(255,255,255,0.7); margin: 0;
}
@media (max-width: 600px) {
  .req-section .req-grid-parallax { grid-template-columns: 1fr; }
}

/* Steps — versione orizzontale 3-colonne */
.steps-h-section { background: var(--warm-bg); }
.steps-h-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.step-h-card {
  background: #fff;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition);
  position: relative;
}
.step-h-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(224,92,40,0.18);
}
.step-h-num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.step-h-card h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--dark);
}
.step-h-card > p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--dark-2);
  line-height: 1.55;
}
.step-h-meta {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step-h-meta li {
  font-size: 0.88rem;
  color: var(--dark-2);
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-h-meta li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: var(--warm-bg);
  border-radius: 50%;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.step-h-hashtag-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.step-h-hashtag-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}
.step-h-hashtag {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.05;
  color: var(--primary);
  align-self: flex-start;
  letter-spacing: -0.02em;
  padding: 0;
  background: transparent;
}
.step-h-publish-on {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step-h-badges {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}
.social-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.social-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.social-chip-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}
.radio-card-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}
.step-h-note {
  font-size: 0.85rem;
  color: var(--gray);
  margin: 4px 0 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}
.step-h-btn {
  align-self: flex-start;
  margin-top: auto;
}
.step-h-card--cta {
  background: #fff;
}
@media (max-width: 900px) {
  .steps-h-grid { grid-template-columns: 1fr; gap: 16px; }
  .step-h-card { padding: 28px 24px; }
  .step-h-num { font-size: 2.6rem; }
}
.prize-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.prize-content .eyebrow { color: var(--primary-light); margin-bottom: 16px; }
.prize-content h2 { color: white; margin-bottom: 20px; }
.prize-list { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.prize-item {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 16px 20px;
}
.prize-item-icon { font-size: 1.8rem; flex-shrink: 0; }
.prize-item-text strong { display: block; color: white; margin-bottom: 2px; }
.prize-item-text span { font-size: 0.88rem; color: rgba(255,255,255,0.55); }
.prize-visual {
  position: relative; display: flex; align-items: center; justify-content: center;
}
.prize-img-wrap {
  width: 100%; aspect-ratio: 1;
  border-radius: 50%; overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 80px rgba(224,92,40,0.4);
}
.prize-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--light-gray);
}
.faq-question {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; font-size: 1rem; font-weight: 600; color: var(--dark);
  background: none; border: none; cursor: pointer; transition: var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-icon { font-size: 1.4rem; flex-shrink: 0; transition: var(--transition); color: var(--primary); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding-bottom: 20px; color: var(--gray); line-height: 1.7; font-size: 0.95rem; }
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   HASHTAG HIGHLIGHT
   ============================================================ */
.hashtag-section {
  background: var(--primary);
  color: white; text-align: center;
  padding: 72px 0 0;
  position: relative;
  overflow: hidden;
}
.hashtag-section .container,
.hashtag-section > *:not(.photo-marquee):not(.hashtag-strip) { position: relative; z-index: 2; }
.hashtag-big {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  color: white; letter-spacing: 0.02em; line-height: 1;
  margin-bottom: 16px;
  padding: 0 24px;
}
.hashtag-section p { color: rgba(255,255,255,0.75); font-size: 1.1rem; padding: 0 24px; }
.hashtag-section .btn { margin: 0 24px; }

/* Photo marquee carousel */
.photo-marquee {
  margin-top: 56px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.photo-marquee-track {
  display: flex; gap: 20px;
  width: max-content;
  animation: marqueeScroll 50s linear infinite;
}
.photo-marquee-item {
  flex: 0 0 auto;
  width: 300px; aspect-ratio: 4/5;
  border-radius: 18px 18px 0 0; overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.photo-marquee-item img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.photo-marquee-item:hover img { transform: scale(1.05); }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 720px) {
  .photo-marquee-item { width: 220px; }
  .photo-marquee-track { animation-duration: 38s; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-marquee-track { animation: none; }
}

/* Legacy .hashtag-strip fallback — now mirrors the marquee look */
.hashtag-strip {
  display: flex; gap: 20px;
  overflow: hidden;
  margin-top: 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.hashtag-strip img {
  flex: 0 0 auto;
  width: 300px; aspect-ratio: 4/5;
  object-fit: cover; border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

/* ============================================================
   PRIZE — ACTIONS
   ============================================================ */
.prize-actions {
  flex-wrap: wrap;
  margin-top: 20px;
  display: flex;
  gap: 12px;
}

/* ============================================================
   REGOLAMENTO
   ============================================================ */
.regs-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.regs-nav {
  position: sticky; top: calc(var(--nav-height) + 24px);
  background: var(--warm-bg); border-radius: var(--radius); padding: 24px;
}
.regs-nav h4 { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); margin-bottom: 16px; }
.regs-nav a {
  display: block; padding: 8px 12px; border-radius: var(--radius-sm);
  font-size: 0.88rem; color: var(--dark-2); transition: var(--transition);
  margin-bottom: 2px;
}
.regs-nav a:hover, .regs-nav a.active { color: var(--primary); background: rgba(224,92,40,0.08); }
.regs-content h2 { margin-bottom: 16px; margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--light-gray); scroll-margin-top: calc(var(--nav-height) + 16px); }
.regs-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.regs-content [id] { scroll-margin-top: calc(var(--nav-height) + 16px); }
.regs-content p { margin-bottom: 16px; }
.regs-content ul { padding-left: 20px; margin-bottom: 16px; }
.regs-content ul li { margin-bottom: 8px; font-size: 0.95rem; color: var(--dark-2); list-style: disc; }

/* CTA a fine regolamento */
.regs-cta-box {
  background: var(--light-gray);
  border-radius: var(--radius);
  margin-top: 40px;
  padding: 24px;
  text-align: center;
}
.regs-cta-box p { color: var(--gray); margin-bottom: 16px; font-size: 0.9rem; }

/* ============================================================
   PARTECIPA PAGE
   ============================================================ */
.partecipa-steps { display: flex; flex-direction: column; gap: 0; }
.partecipa-step {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 32px; align-items: start; padding: 40px 0;
  border-bottom: 1px solid var(--light-gray);
}
.partecipa-step:last-child { border-bottom: none; }
.ps-num {
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 2.2rem;
  background: var(--primary); color: white;
  box-shadow: 0 4px 20px rgba(224,92,40,0.3);
  flex-shrink: 0;
}
.ps-content h3 { margin-bottom: 10px; }
.ps-content p { margin-bottom: 16px; color: var(--gray); }
.ps-hashtag {
  display: inline-block;
  background: var(--dark); color: var(--primary-light);
  font-family: var(--font-display); font-size: 1.6rem;
  padding: 10px 24px; border-radius: var(--radius);
  letter-spacing: 0.04em;
}
.requisiti-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 16px; }
.req-card {
  background: var(--warm-bg); border-radius: var(--radius);
  padding: 20px; display: flex; gap: 14px; align-items: flex-start;
}
.req-card-icon { font-size: 1.5rem; flex-shrink: 0; }

/* ============================================================
   LOGIN PROMPT (vote)
   ============================================================ */
.login-prompt {
  background: var(--warm-bg); border: 1.5px solid var(--light-gray);
  border-radius: var(--radius); padding: 24px; text-align: center;
  margin-bottom: 24px;
}
.login-prompt p { margin-bottom: 16px; font-size: 0.95rem; }
.login-options { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 2000; align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: white; border-radius: 24px;
  padding: 40px; max-width: 480px; width: 100%;
  position: relative; max-height: 90vh; overflow-y: auto;
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--light-gray); color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; cursor: pointer; transition: var(--transition);
}
.modal-close:hover { background: var(--primary); color: white; }
.modal h3 { margin-bottom: 8px; }
.modal p { margin-bottom: 24px; font-size: 0.9rem; color: var(--gray); }

/* Video modal — 9:16 native video, no chrome */
.video-modal-overlay { background: rgba(0,0,0,0.92); padding: 16px; }
.video-modal {
  position: relative;
  width: auto;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
}
.video-modal-close {
  position: absolute; top: -44px; right: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.15); color: #fff;
  border: 0; cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
  transition: var(--transition);
  z-index: 10;
}
.video-modal-close:hover { background: var(--primary); }
.video-modal-body {
  position: relative;
  height: min(85vh, 820px);
  aspect-ratio: 9/16;
  border-radius: 18px; overflow: hidden;
  background: #000;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.video-modal-body video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}
/* Fallback iframe (Instagram / TikTok) */
.video-modal-body iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
}
.video-modal-note {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.75); color: #fff;
  font-size: 0.8rem; padding: 10px 14px;
  text-align: center;
  backdrop-filter: blur(8px);
}
@media (max-width: 520px) {
  .video-modal-body { height: 80vh; }
  .video-modal-close { top: -40px; }
}
.social-login-btn {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 14px 20px; border-radius: var(--radius-sm);
  border: 1.5px solid #DDD; background: white;
  font-size: 0.95rem; font-weight: 600; color: var(--dark);
  margin-bottom: 12px; cursor: pointer; transition: var(--transition);
}
.social-login-btn:hover { border-color: var(--primary); transform: translateX(4px); }
.social-login-btn img { width: 22px; height: 22px; object-fit: contain; }
.social-login-btn .si-icon { font-size: 1.3rem; width: 22px; text-align: center; }

/* ============================================================
   TOOLKIT
   ============================================================ */
.toolkit-section {
  scroll-margin-top: calc(var(--nav-height) + 16px);
  background: var(--light-gray);
}
.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.toolkit-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.toolkit-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.toolkit-card h3 {
  font-size: 1.25rem;
  margin: 0;
}
.toolkit-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--warm-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
}
.toolkit-desc {
  color: var(--dark-2);
  font-size: 0.95rem;
  margin: 0;
}
.toolkit-audio {
  width: 100%;
  margin-top: 4px;
}
.toolkit-meta {
  font-size: 0.85rem;
  color: var(--gray);
  letter-spacing: 0.02em;
}
.toolkit-lyrics {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--light-gray);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 0.92rem;
  line-height: 1.55;
}
.lyric-block strong {
  display: block;
  margin-bottom: 6px;
  color: var(--dark);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lyric-block ol {
  margin: 0;
  padding-left: 18px;
  color: var(--dark-2);
}
.lyric-block li { margin: 2px 0; }
.lyric-block em {
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
  margin-right: 4px;
}
.toolkit-karaoke {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--light-gray);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.92rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.k-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--dark-2);
}
.k-time {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.82rem;
  min-width: 44px;
}
.toolkit-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.dim {
  opacity: 0.55;
  font-style: italic;
}
.toolkit-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* --- Lyric sheet thumbnails (2 JPG testi spot) --- */
.toolkit-lyrics-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.lyric-thumb {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--light-gray);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.lyric-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lyric-thumb-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.lyric-thumb-label { text-transform: uppercase; }
.lyric-thumb-download {
  font-size: 0.78rem;
  opacity: 0.95;
}
.lyric-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

/* --- Background image grid --- */
.toolkit-bg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  justify-items: center;
}
.bg-thumb {
  display: block;
  width: 100%;
  max-width: 110px;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: var(--light-gray);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bg-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.bg-thumb::after {
  content: "↓";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.bg-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}
.bg-thumb:hover img { transform: scale(1.05); }
.bg-thumb:hover::after { opacity: 1; }

@media (max-width: 900px) {
  .toolkit-grid { grid-template-columns: 1fr; }
  .toolkit-bg-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
  .toolkit-bg-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .bg-thumb { max-width: 90px; }
  .toolkit-lyrics-preview { grid-template-columns: 1fr 1fr; gap: 8px; }
  .lyric-thumb { aspect-ratio: 1 / 1; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.text-primary { color: var(--primary); }
.text-primary-light { color: var(--primary-light); }
.text-gray { color: var(--gray); }
.text-white { color: white; }
.text-white-dim { color: rgba(255,255,255,0.78); }
.text-gold { color: var(--gold); }
.bg-warm { background: var(--warm-bg); }
.bg-light-gray { background: var(--light-gray); }
.bg-dark { background: var(--dark); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .feed-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .regs-layout { grid-template-columns: 1fr; }
  .regs-nav { position: static; }
}
@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .section { padding: 56px 0; }
  .section-lg { padding: 80px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .prize-layout { grid-template-columns: 1fr; }
  .prize-visual { display: none; }
  .feed-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .requisiti-grid { grid-template-columns: 1fr; }
  .partecipa-step { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; align-items: center; text-align: center; max-width: none; }
  .footer-brand .footer-payoff { text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  /* Sort + search affiancati su mobile, ognuno occupa metà larghezza
     con stessa altezza ma trattamento opposto:
       Sort   → outlined (trasparente + bordo)
       Search → pieno (warm-bg)                                     */
  .feed-filters {
    gap: 8px;
    flex-wrap: nowrap;
  }
  .feed-filters > #sortSelect,
  .feed-search {
    flex: 1 1 0;
    min-width: 0;
    height: 44px;
    padding: 0 14px !important;
    border-radius: var(--radius-pill);
    font-size: 0.9rem !important;
    line-height: 1;
    box-sizing: border-box;
    margin: 0 !important;
  }
  /* Sort — outlined */
  .feed-filters > #sortSelect {
    width: auto !important;
    background: transparent;
    border: 1.5px solid var(--light-gray);
    color: var(--dark);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'><path d='M1 1l4 4 4-4' stroke='%23E05C28' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 32px !important;
  }
  /* Search — pieno */
  .feed-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--warm-bg);
    border: 1.5px solid transparent;
  }
  .feed-search input {
    min-width: 0;
    width: 100%;
    background: transparent;
    font-size: 0.9rem;
  }
  .feed-search input::placeholder { color: var(--gray); }
}
@media (max-width: 480px) {
  .feed-grid { grid-template-columns: 1fr 1fr; }
  .countdown { gap: 12px; }
  .countdown-unit { padding: 12px 14px; min-width: 64px; }
  .countdown-number { font-size: 2rem; }
}

/* ============================================================
   MOBILE READABILITY OVERRIDES
   Hard minimum of 1.15rem (~18.4px) for any body-readable text.
   Only pure UI accents (eyebrow uppercase labels, badges, button
   labels, countdown numbers, hashtag display, table-of-contents
   labels) keep smaller sizes — those are design elements, not
   text to read.
   ============================================================ */
@media (max-width: 768px) {

  /* --- Body & generic text --- */
  body,
  p,
  li,
  span,
  a { font-size: 1.15rem; line-height: 1.6; }

  /* Headings: keep them above body floor */
  h2 { font-size: clamp(1.7rem, 6vw, 2rem); }
  h3 { font-size: clamp(1.3rem, 4.5vw, 1.5rem); }

  /* --- Forms --- */
  .form-label,
  .form-control,
  .form-hint,
  .form-error { font-size: 1.15rem; }
  /* Checkbox consents — uniform size between text, links and asterisk */
  .checkbox-item span,
  .checkbox-item a { font-size: 1.15rem; }

  /* --- Toolkit / FAQ / step cards --- */
  .toolkit-desc,
  .toolkit-meta,
  .faq-answer,
  .step-card p,
  .step-h-card > p,
  .step-h-meta li,
  .step-h-note,
  .lyric-thumb-label { font-size: 1.15rem; }

  /* --- Prize / requirements blocks --- */
  .prize-item strong,
  .prize-item-text strong,
  .prize-item-text span,
  .prize-section--parallax .prize-content p { font-size: 1.15rem; }

  /* --- Regolamento & FAQ navigation --- */
  .regs-nav a    { font-size: 1.15rem; }
  .faq-question  { font-size: 1.15rem; padding: 24px 0; }

  /* --- Footer --- */
  .footer-col a,
  .footer-bottom p,
  .footer-payoff { font-size: 1.15rem; }

  /* --- Utility class --- */
  .small { font-size: 1.15rem; }
}

/* UI accents that must stay at their original (smaller) size on mobile.
   Declared OUTSIDE the @media block with high enough specificity to
   beat the generic body/p/span/a bump above. */
@media (max-width: 768px) {
  .hero-eyebrow,
  .hero-eyebrow * { font-size: 0.8rem; }
  .label                  { font-size: 0.875rem; }
  .countdown-label        { font-size: 0.78rem; }
  .countdown-number       { font-size: clamp(2rem, 9vw, 2.6rem); }
  .step-h-hashtag-label   { font-size: 0.85rem; }
  .step-h-num             { font-size: 2.6rem; }
  .step-h-hashtag         { font-size: 2rem; }
  .nav-links a,
  .nav-cta                { font-size: 0.9rem; }
  .btn-sm                 { font-size: 0.95rem; }
  .top-badge,
  .platform-badge,
  .date-badge             { font-size: 0.78rem; }
  .card-user              { font-size: 0.95rem; }
  .vote-count             { font-size: 0.95rem; }
  .toolkit-card .toolkit-icon,
  .faq-icon               { font-size: 1.6rem; }
  .hashtag-big            { font-size: clamp(3rem, 12vw, 5rem); }
  .regs-nav h4            { font-size: 0.85rem; }
}

/* ============================================================
   AUDIZIONI — Mobile leaderboard placement
   On mobile the classifica sidebar moves ABOVE the video feed
   so that "Carica altri video" can never push it down. The full
   list of 10 collapses to top-3 by default, with a "Vedi tutta
   la classifica" button to expand.
   ============================================================ */
.rank-expand-btn { display: none; }

@media (max-width: 900px) {
  /* Stack vertically and reorder: sidebar (rank) first, feed second */
  .feed-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .feed-sidebar { order: -1; position: static; }

  /* Hide the "Non hai ancora partecipato?" inline CTA inside the sidebar on mobile —
     it would push the videos too far down. The main CTAs already live elsewhere. */
  .feed-sidebar > div[style*="background:var(--dark)"] { display: none; }

  /* Compact rank-panel: by default show only top-3 (header + 3 items + button) */
  .rank-panel { padding: 18px 18px 12px; }
  .rank-panel .rank-item:nth-of-type(n+4) { display: none; }
  .rank-panel.is-expanded .rank-item { display: flex; }

  /* Expand/collapse button */
  .rank-expand-btn {
    display: block;
    width: 100%;
    margin: 12px 0 4px;
    padding: 10px 14px;
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 999px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
  }
  .rank-expand-btn:hover { background: var(--primary); color: #fff; }
}
