/* Portale abbonamento del Circolo Spartano: stile dell'area riservata, semplificato.
   Nessun font esterno: si usano i caratteri di sistema più vicini (vedi README). */
:root {
  --bg: #0b0b0e;
  --card: #17171e;
  --card-2: #1c1c24;
  --line: #262631;
  --line-2: #34343f;
  --red: #c8102e;
  --red-hi: #e02243;
  --gold: #c9a227;
  --gold-soft: rgba(201, 162, 39, 0.12);
  --text: #f2efe6;
  --muted: #a49e93;
  --radius: 14px;
  --font-title: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  background-image: radial-gradient(1200px 500px at 50% -220px, rgba(200, 16, 46, 0.13), transparent 70%);
  color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.55; min-height: 100vh;
}
h1, h2 { font-family: var(--font-title); font-weight: 600; line-height: 1.28; }
h1 { font-size: 1.7rem; }
h2 { font-size: 1.2rem; margin-bottom: 0.4rem; }
p { margin: 0.5rem 0; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.center { text-align: center; }
.gap-top { margin-top: 1.2rem; }

.wrap { width: 100%; max-width: 30rem; margin: 0 auto; padding: 1.6rem 1.1rem 3rem; }
.site-head { border-bottom: 1px solid var(--line); background: rgba(11, 11, 14, 0.82); }
.head-in { display: flex; align-items: center; justify-content: center; padding: 0.75rem 1.1rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--text); }
.brand-name { font-family: var(--font-title); font-weight: 600; font-size: 1.08rem; letter-spacing: 0.03em; text-transform: uppercase; }
.brand-name em { font-style: normal; color: var(--gold); }
.logo-cerchio { stroke: var(--gold); }
.logo-lambda { fill: var(--red); }

.box { display: flex; flex-direction: column; gap: 0.9rem; }
.titolo { margin-bottom: 0.2rem; }

.card {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem;
}
.card-accent { border-color: rgba(201, 162, 39, 0.45); box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.12), 0 14px 40px -18px rgba(200, 16, 46, 0.35); }
.card-warn { border-color: rgba(224, 164, 38, 0.6); }
.card-bad { border-color: rgba(229, 72, 77, 0.75); background: linear-gradient(135deg, rgba(229, 72, 77, 0.16), var(--card) 60%); }
.prezzo { font-family: var(--font-title); font-size: 1.25rem; }

.badge { display: inline-block; font-size: 0.78rem; font-weight: 600; border-radius: 99px; padding: 0.14rem 0.65rem; border: 1px solid; }
.b-ok { color: #6fd39a; border-color: rgba(63, 169, 107, 0.5); background: rgba(63, 169, 107, 0.1); }
.b-warn { color: #edc05a; border-color: rgba(224, 164, 38, 0.5); background: rgba(224, 164, 38, 0.1); }

.btn {
  display: inline-block; background: var(--red); color: #fff; border: 1px solid transparent;
  border-radius: 10px; padding: 0.6rem 1.15rem; font-weight: 600; font-size: 1rem;
  font-family: var(--font-body); cursor: pointer; text-align: center; text-decoration: none;
}
.btn:hover { background: var(--red-hi); text-decoration: none; }
.btn-lg { padding: 0.85rem 1.4rem; font-size: 1.05rem; }
.btn-block { display: block; width: 100%; }
.btn-gold { background: linear-gradient(135deg, #d4af37, #b08d1e); color: #16130a; }
.btn-gold:hover { background: linear-gradient(135deg, #e0bc45, #c09a22); }
.btn-ghost { background: none; border-color: var(--line-2); color: var(--muted); }
.btn-ghost:hover { color: var(--text); border-color: var(--muted); background: none; }
.btn-col { display: flex; flex-direction: column; gap: 0.6rem; }
.btn-scelta { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; }
.btn-scelta .sotto { font-size: 0.84rem; font-weight: 400; opacity: 0.88; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
button.link { background: none; border: 0; color: var(--gold); font: inherit; cursor: pointer; padding: 0; }
button.link:hover { text-decoration: underline; }

.form { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 0.4rem; }
.form label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.92rem; font-weight: 500; }
input[type="text"], input[type="email"] {
  background: #0e0e12; border: 1px solid var(--line-2); color: var(--text);
  border-radius: 9px; padding: 0.7rem 0.8rem; font-size: 1rem; font-family: var(--font-body); width: 100%;
}
input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15); }

.loss-list { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.loss-list li { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: 9px; padding: 0.6rem 0.85rem; font-size: 0.97rem; }

.flash { background: rgba(63, 169, 107, 0.12); border: 1px solid rgba(63, 169, 107, 0.45); color: #8fdcb0; border-radius: 10px; padding: 0.75rem 1rem; font-size: 0.95rem; }
.flash-err { background: rgba(229, 72, 77, 0.1); border-color: rgba(229, 72, 77, 0.5); color: #f1969a; }
.flash-warn { background: rgba(224, 164, 38, 0.1); border-color: rgba(224, 164, 38, 0.5); color: #edc05a; }
