/* ===================================================
   L'Italia s'è Desta - stile app (home + notifiche)
   =================================================== */

:root {
  --nero: #0a0a0a;
  --nero2: #141414;
  --oro: #d4af37;
  --bianco: #ffffff;
  --rosso: #ce2b37;
  --verde: #009246;
  --grigio-testo: #b7b7b7;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--nero);
}

/* ---------- Striscia tricolore in alto ---------- */

.striscia-top {
  display: flex;
  height: 5px;
  width: 100%;
}
.striscia-top i:nth-child(1) { flex: 1; background: var(--verde); }
.striscia-top i:nth-child(2) { flex: 1; background: var(--bianco); }
.striscia-top i:nth-child(3) { flex: 1; background: var(--rosso); }

/* ---------- Home ---------- */

.home {
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(circle at 50% 20%, var(--nero2) 0%, var(--nero) 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contenuto {
  flex: 1;
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 28px;
  text-align: center;
  gap: 6px;
}

.logo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin-bottom: 22px;
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.25);
}

.contenuto h1 {
  color: var(--bianco);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.contenuto h1 span {
  color: var(--oro);
}

.sottotitolo {
  color: var(--grigio-testo);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 6px;
  margin-bottom: 34px;
}

.bottone-principale {
  display: inline-block;
  width: 100%;
  background: var(--oro);
  color: var(--nero);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  padding: 16px 0;
  border-radius: 28px;
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.3);
}

.bottone-principale:active {
  transform: scale(0.98);
}

.bottone-secondario {
  margin-top: 14px;
  width: 100%;
  background: transparent;
  color: var(--bianco);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 0;
  border-radius: 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.bottone-secondario:active {
  transform: scale(0.98);
}

.bottone-secondario.attivo {
  border-color: var(--verde);
  color: var(--verde);
}

.stato-notifiche {
  margin-top: 10px;
  font-size: 12px;
  color: var(--grigio-testo);
  min-height: 16px;
}

.footer {
  padding: 18px;
  color: #555;
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* ---------- Banner di installazione ---------- */

.install-banner {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 20;
  background: var(--bianco);
  border-radius: 12px;
  padding: 12px 14px;
  display: none;
  align-items: center;
  gap: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.install-banner.visibile {
  display: flex;
}

.install-banner img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.install-banner .testo {
  flex: 1;
  font-size: 13px;
  color: #111;
}

.install-banner button {
  background: var(--nero);
  color: var(--bianco);
  border: none;
  padding: 8px 14px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 700;
}

.install-banner .chiudi {
  background: none;
  color: #999;
  font-size: 18px;
  padding: 0 4px;
  font-weight: 400;
  border: none;
}
