/* Schermata iniziale della home (includes/intro_home.php) */
#content-area{position:relative;background:var(--sfondo,#0a0a0a)}
#content-area.bit-intro-attiva > :not(#seo-intro){isolation:isolate}
#seo-intro{position:absolute;inset:0;z-index:10;background:var(--sfondo,#0a0a0a);color:var(--testo,#f0f0f0);overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:clamp(20px,4vw,60px)}
.bih-hero{position:relative;max-width:760px;text-align:center;display:flex;flex-direction:column;align-items:center}
.bih-video,.bih-profili,.bih-logo,.bih-marchio,.bih-cta{display:none}
.bih-h1{font-family:'Bebas Neue',cursive;font-size:clamp(26px,4vw,40px);letter-spacing:2px;line-height:1.1;margin:0 0 16px;color:var(--testo,#f0f0f0)}
.bih-desc{font-size:clamp(15px,1.3vw,18px);line-height:1.6;opacity:.75;margin:0}
.seo-i-wait{display:flex;align-items:center;gap:10px;justify-content:center;margin-top:28px;opacity:.55}
.seo-i-bars{display:flex;gap:4px;align-items:flex-end;height:18px;flex-shrink:0}
.seo-i-bar{width:3px;height:18px;border-radius:2px;background:#ff4400;transform-origin:bottom;animation:seoBar .65s ease-in-out infinite alternate}
.seo-i-bar:nth-child(2){animation-delay:.16s}.seo-i-bar:nth-child(3){animation-delay:.32s}.seo-i-bar:nth-child(4){animation-delay:.48s}
@keyframes seoBar{from{transform:scaleY(.18)}to{transform:scaleY(1)}}
.seo-i-wait-txt{font-family:'Barlow Condensed',sans-serif;font-size:clamp(13px,1.2vw,15px);font-weight:600;letter-spacing:1.5px;text-transform:uppercase}

/* Non registrati: la schermata resta e si scorre */
#seo-intro.bit-pub{display:block;padding:0;overflow-y:auto;overflow-x:hidden}
.bit-pub .seo-i-wait{display:none}
.bit-pub .bih-video{display:block;position:absolute;top:0;left:0;width:100%;height:min(100%,720px);object-fit:cover;opacity:.34;pointer-events:none;-webkit-mask-image:linear-gradient(#000 60%,transparent);mask-image:linear-gradient(#000 60%,transparent)}
html[data-theme="light"] .bit-pub .bih-video{opacity:.14}
.bit-pub .bih-hero{margin:0 auto;padding:clamp(28px,5vh,64px) 24px 36px}
.bit-pub .bih-logo{display:block;width:clamp(56px,7vw,92px);height:auto;margin-bottom:12px}
.bit-pub .bih-h1{display:inline-block;font-family:'Barlow Condensed',sans-serif;font-weight:700;font-size:clamp(13px,1.3vw,18px);letter-spacing:2px;text-transform:uppercase;color:var(--arancio);border:1px solid var(--arancio);border-radius:40px;padding:7px 18px;margin-bottom:18px}
.bit-pub .bih-marchio{display:block;font-family:'Bebas Neue',cursive;font-size:clamp(60px,8vw,116px);line-height:.9;letter-spacing:3px;margin-bottom:20px}
.bih-marchio em,.bih-h2 em,.bih-incontro em{font-style:normal;color:var(--arancio)}
.bit-pub .bih-cta{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;margin-top:26px}
.bih-btn-p,.bih-btn-s{display:inline-block;white-space:nowrap;text-align:center;text-decoration:none;font-family:'Barlow Condensed',sans-serif;font-weight:900;font-size:clamp(17px,1.4vw,20px);letter-spacing:3px;text-transform:uppercase;padding:14px 32px;border-radius:50px;border:2px solid var(--arancio)}
.bih-btn-p{background:var(--arancio);color:#000}
.bih-btn-s{background:transparent;color:var(--testo,#f0f0f0);border-color:var(--bordo-ui,#6a6a6a)}
.bih-btn-p:hover,.bih-btn-s:hover{text-decoration:none;transform:translateY(-2px)}
.bih-btn-p:hover{color:#000}
.bih-btn-s:hover{color:var(--testo,#f0f0f0)}
.bit-pub .bih-profili{display:flex;flex-direction:column;align-items:center;gap:28px;position:relative;max-width:1400px;margin:0 auto;padding:24px 24px 96px;scroll-margin-top:8px}
.bih-h2{font-family:'Bebas Neue',cursive;font-size:clamp(32px,4.4vw,64px);line-height:1;letter-spacing:1px;text-align:center;margin:0}
.bih-profili .cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(264px,1fr));gap:18px;width:100%}
.bih-profili .card{--tinta:var(--arancio);display:flex;flex-direction:column;align-items:flex-start;background:var(--superficie);border:1px solid var(--bordo);border-top:3px solid var(--tinta);border-radius:18px;padding:26px 18px}
.bih-profili .c2{--tinta:#ec4899}
.bih-profili .c3{--tinta:#3b82f6}
.bih-profili .c4{--tinta:#FFD200}
.bih-profili .card-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:28px;color:var(--tinta);border:1px solid var(--tinta);margin-bottom:16px}
.bih-profili .card-icon .icon{width:26px;height:26px}
.bih-profili .who{font-family:'Bebas Neue',cursive;font-size:30px;line-height:1;letter-spacing:1px;color:var(--tinta);margin:0 0 10px}
.bih-profili .card-text{font-size:16px;line-height:1.5;opacity:.75;margin:0 0 22px}
.bih-profili .card-azioni{margin-top:auto;align-self:stretch;display:flex;flex-direction:column;gap:10px}
.bih-profili .card-reg,.bih-profili .card-cta{display:block;width:100%;text-align:center;text-decoration:none;border:2px solid var(--tinta);border-radius:50px;padding:12px;font-family:'Barlow Condensed',sans-serif;font-size:16px;font-weight:800;letter-spacing:.8px;text-transform:uppercase;cursor:pointer;background:transparent;color:var(--tinta)}
.bih-profili .card-reg,.bih-profili .card-eventi{background:var(--tinta);color:#000}
.bih-profili .card-reg:hover,.bih-profili .card-eventi:hover{color:#000;text-decoration:none}
html[data-theme="light"] .bih-profili .c4{--tinta:#7a5800}
html[data-theme="light"] .bih-profili .card-reg,html[data-theme="light"] .bih-profili .card-eventi{color:#fff}
html[data-theme="light"] .bih-btn-p,html[data-theme="light"] .bih-btn-p:hover{color:#fff}
.bih-incontro{font-family:'Bebas Neue',cursive;font-size:clamp(22px,2.6vw,36px);letter-spacing:2px;text-align:center;padding:16px 30px;border:1px solid var(--arancio);border-radius:60px}
@media(max-width:767px){
  .bit-pub .bih-hero{padding:18px 20px 28px}
  .bit-pub .bih-logo{width:52px;margin-bottom:8px}
  .bit-pub .bih-h1{font-size:12px;letter-spacing:1px;padding:6px 12px;margin-bottom:12px}
  .bit-pub .bih-marchio{font-size:56px;margin-bottom:12px}
  .bit-pub .bih-desc{font-size:15px;line-height:1.5}
  .bit-pub .bih-cta{flex-direction:column;align-items:center;gap:10px;margin-top:18px}
  .bit-pub .bih-cta a{min-width:250px}
  .bit-pub .bih-profili{padding:16px 16px 120px}
}

/* Pulsante principale: pulsazione luminosa */
.bit-pub .bih-btn-p{animation:bitPulsa 1.8s ease-out infinite}
.bit-pub .bih-btn-p{position:relative;overflow:hidden}
.bit-pub .bih-btn-p::after{content:'';position:absolute;top:0;bottom:0;left:-60%;width:60%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.35),transparent);pointer-events:none;animation:bitLuce 3.6s ease-in-out infinite}
@keyframes bitLuce{0%{left:-60%}40%,100%{left:120%}}
@media (prefers-reduced-motion: reduce){.bit-pub .bih-btn-p::after{animation-duration:3.6s!important;animation-iteration-count:infinite!important}}
@keyframes bitPulsa{0%{transform:scale(1);box-shadow:0 0 0 0 rgba(255,68,0,.75),0 0 18px rgba(255,68,0,.45)}40%{transform:scale(1.035);box-shadow:0 0 0 10px rgba(255,68,0,.3),0 0 38px rgba(255,68,0,.9)}70%{transform:scale(1);box-shadow:0 0 0 18px rgba(255,68,0,0),0 0 28px rgba(255,68,0,.7)}100%{transform:scale(1);box-shadow:0 0 0 0 rgba(255,68,0,0),0 0 18px rgba(255,68,0,.45)}}
@media (prefers-reduced-motion: reduce){.bit-pub .bih-btn-p{animation-duration:1.8s!important;animation-iteration-count:infinite!important}}
