:root {
    --bg: #0e0907;
    --panel: #1c130f;
    --text: #fff5e3;
    --muted: #d4c4ae;
    --accent: #f1d373;
    --accent2: #ff2727;
    --border: #4b3324;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1100px, 92%); margin: 0 auto; }

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(14,9,7,.97);
    border-bottom: 1px solid var(--border);
}
.nav {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { font-size: 1.55rem; font-weight: 900; letter-spacing: .12em; }
.brand span { color: var(--accent); }
nav { display: flex; gap: 20px; flex-wrap: wrap; }
nav a:hover { color: var(--accent); }

.hero {
    min-height: auto;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 32px 0 64px;
    background:
      radial-gradient(circle at 20% 20%, rgba(241,211,115,.13), transparent 34%),
      radial-gradient(circle at 80% 60%, rgba(255,39,39,.10), transparent 30%),
      linear-gradient(145deg, #25170e, #0e0907);
}
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .18em; font-size: .86rem; }
h1 { font-size: clamp(4rem, 14vw, 9rem); line-height: .9; margin: 14px 0; letter-spacing: .02em; }
.subtitle { font-size: clamp(1.25rem, 3vw, 2rem); margin: 0 0 28px; }
.lead { max-width: 760px; margin: 0 auto 28px; color: var(--muted); font-size: 1.08rem; }

.actions { display:flex; gap: 12px; justify-content:center; flex-wrap:wrap; }
.btn {
    display: inline-block;
    padding: 13px 21px;
    border-radius: 999px;
    border: 1px solid var(--accent);
    font-weight: 700;
}
.btn.primary { background: var(--accent); color: #111; }
.btn:hover { transform: translateY(-1px); }

section { padding: 72px 0; }
h2 { font-size: clamp(2rem, 5vw, 3.3rem); margin: 0 0 28px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
}
.card h3 { margin-top: 0; }
.date { font-size: 2rem; font-weight: 900; color: var(--accent); }
.muted { color: var(--muted); }

.cast { display:grid; grid-template-columns: repeat(2, 1fr); gap:14px; }
.person { padding: 18px; border-left: 4px solid var(--accent2); background: var(--panel); }

.form-wrap { max-width: 720px; margin: 0 auto; }
label { display:block; font-weight:700; margin: 16px 0 6px; }
input, select, textarea {
    width:100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #444;
    background:#111;
    color:var(--text);
    font:inherit;
}
textarea { min-height:110px; resize:vertical; }
.error { color:#ff9b8b; font-size:.9rem; margin-top:4px; }
.notice { padding:16px; border:1px solid #4f4f4f; background:#151515; border-radius:12px; }

footer { border-top:1px solid var(--border); padding:28px 0 40px; color:var(--muted); }

@media (max-width: 760px) {
    .nav { align-items:flex-start; flex-direction:column; padding:16px 0; }
    .grid, .cast { grid-template-columns:1fr; }
    h1 { font-size: 4.2rem; }
}

/* La locandina viene mostrata intera. */
.poster-window {
    aspect-ratio: 526 / 436;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #0e0907;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    margin: 0 auto 28px;
    max-width: 760px;
}
.poster-window img { display: block; width: 100%; height: auto; }
.btn.primary { background: #ce2026; color: #fff5e3; border-color: #ce2026; }
.btn.primary:hover { background: #b81b20; border-color: #b81b20; }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.card { border-top: 3px solid var(--accent2); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 760px) {
    nav { gap: 10px 16px; font-size: .94rem; }
    .hero { padding: 24px 0 40px; }
    .poster-window { border-radius: 12px; }
    section { padding: 44px 0; }
}

.limite-prenotazione {
    margin: 20px 0;
    padding: 16px 20px;
    background: #fff5e3;
    color: #191919;
    border-left: 6px solid #ce2026;
    border-radius: 8px;
}

.limite-prenotazione strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.limite-prenotazione span {
    display: block;
    font-size: 1rem;
}

.messaggio-gestione {
    margin: 16px 0;
    padding: 16px 20px;
    background: #fff5e3;
    color: #191919;
    border-left: 6px solid #ce2026;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
}

p.notice,
div.notice {
    background: #fff5e3;
    color: #191919;
    padding: 16px 20px;
    border-left: 6px solid #ce2026;
    border-radius: 8px;
}

.notice p {
    color: inherit;
}

#prenota-button {
    display: block;
    margin-top: 24px;
}
