/* BirichineBollenti.it — tema default (placeholder Fase 0, si estende in Fase 3) */
:root {
  --rosa: #e91e63;
  --scuro: #1a1a1f;
  --chiaro: #f7f6f8;
  --testo: #2b2b31;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--testo);
  background: var(--chiaro);
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}
.testata {
  background: var(--scuro);
  padding: 0.8rem 1.2rem;
}
.logo {
  color: var(--rosa);
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
}
.contenuto {
  flex: 1;
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 1.5rem 1.2rem;
}
.benvenuto { text-align: center; padding: 4rem 0; }
.benvenuto h1 { color: var(--rosa); font-size: 2.2rem; }
.nota { opacity: 0.6; }
.errore { text-align: center; padding: 4rem 0; }
.fondo {
  background: var(--scuro);
  color: #aaa;
  font-size: 0.85rem;
  padding: 1.2rem;
  text-align: center;
}
.fondo nav { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 0.6rem; }
.fondo a { color: #ddd; text-decoration: none; }
.fondo a:hover { color: var(--rosa); }

/* --- Fase 3: sito pubblico --- */
.intro { text-align: center; padding: 1.5rem 0 1rem; }
.intro h1 { color: var(--rosa); font-size: 1.9rem; margin-bottom: 0.3rem; }
.griglia { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; }
.card { position: relative; display: block; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 1px 4px rgb(0 0 0 / 10%); text-decoration: none; aspect-ratio: 1; }
.card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s; }
.card:hover img { transform: scale(1.04); }
.card .nome { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 0.7rem 0.55rem; color: #fff; font-weight: 700; background: linear-gradient(transparent, rgb(0 0 0 / 75%)); }
.fascia-premium { background: linear-gradient(135deg, #fff3f7, #fdeef3); border: 1px solid #f6c9da; border-radius: 14px; padding: 1rem 1.2rem; margin-bottom: 1.6rem; }
.fascia-premium h2 { margin: 0 0 0.8rem; font-size: 1.1rem; }
.card-premium { outline: 2px solid var(--rosa); }
.cta-canali { text-align: center; margin: 2.5rem 0 1rem; }
.scheda { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: 2rem; align-items: start; padding-top: 1rem; }
.scheda-foto img { width: 100%; border-radius: 16px; }
.scheda-info h1 { color: var(--rosa); margin-top: 0; }
.scheda .citta { opacity: 0.7; }
.chip { display: inline-block; background: #fff; border: 1px solid #e2b6c6; color: var(--rosa); border-radius: 20px; padding: 0.15rem 0.7rem; margin: 0 0.3rem 0.3rem 0; text-decoration: none; font-size: 0.85rem; }
.bio { line-height: 1.6; white-space: pre-line; }
.cta-of { display: inline-block; background: var(--rosa); color: #fff; font-weight: 700; border-radius: 10px; padding: 0.8rem 1.6rem; text-decoration: none; margin-top: 0.8rem; }
.cta-of:hover { filter: brightness(1.08); }
.lista-canali { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.8rem; max-width: 480px; margin: 0 auto; }
.promo-cosa ul { line-height: 2; }
.promo-cta { margin-top: 1.5rem; }
.testo-legale { max-width: 720px; margin: 0 auto; line-height: 1.65; }
.form-onboarding { margin: 0 auto; }
.flash { border-radius: 8px; padding: 0.7rem 1rem; max-width: 560px; margin: 0 auto 1rem; }
.flash-errore { background: #fdecea; color: #b3261e; }
.form-scheda { display: flex; flex-direction: column; gap: 0.9rem; max-width: 560px; background: #fff; border-radius: 10px; padding: 1.2rem; box-shadow: 0 1px 4px rgb(0 0 0 / 8%); }
.form-scheda label { display: flex; flex-direction: column; gap: 0.3rem; font-weight: 600; font-size: 0.92rem; }
.form-scheda label.inline { display: inline-flex; flex-direction: row; align-items: center; gap: 0.4rem; font-weight: 400; }
.form-scheda input[type=text], .form-scheda input[type=url], .form-scheda textarea, .form-scheda select { border: 1px solid #ccc; border-radius: 6px; padding: 0.5rem 0.6rem; font: inherit; }
.form-scheda small { font-weight: 400; opacity: 0.7; }
.contenitore-ritaglio { max-width: 420px; }
.contenitore-ritaglio img { max-width: 100%; display: block; }
.dettaglio { opacity: 0.65; font-size: 0.88rem; }
@media (max-width: 760px) { .scheda { grid-template-columns: 1fr; } }
.suggeriti { margin-top: 2.2rem; }
.griglia-premium { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

/* Age gate */
#age-gate { position: fixed; inset: 0; background: rgb(15 10 14 / 96%); z-index: 999; display: flex; align-items: center; justify-content: center; padding: 1rem; }
#age-gate[hidden] { display: none; }
.age-box { background: #fff; border-radius: 16px; max-width: 420px; text-align: center; padding: 2rem 1.6rem; }
.age-box h2 { color: var(--rosa); margin-top: 0; }
.age-btn { display: block; width: 100%; margin-top: 0.7rem; padding: 0.8rem; border-radius: 10px; border: 1px solid #ccc; background: #fff; font: inherit; cursor: pointer; }
.age-btn.age-ok { background: var(--rosa); border-color: var(--rosa); color: #fff; font-weight: 700; }
