/* ===========================================================
   Cinema portal — Ascoli Piceno
   Dark, cinematic base shared by both venues (Futura / #121212),
   gold accent for Odeon 6, blue accent for Multiplex Delle Stelle.
   =========================================================== */

:root {
  --bg: #0e0e0e;
  --bg-soft: #161616;
  --line: rgba(255, 255, 255, 0.10);
  --text: #f4f4f4;
  --muted: #9c9c9c;

  --gold: #ffdc00;
  --gold-deep: #f9b42d;
  --blue: #2e9be6;
  --blue-deep: #1d6fc4;

  --font: "Futura", "Jost", "Century Gothic", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 20px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(120% 90% at 50% -10%, #1c1c1c 0%, var(--bg) 55%, #080808 100%);
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* Subtle film-grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.page {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.2rem, 5vw, 2.5rem) 2rem;
  display: flex;
  flex-direction: column;
}

/* ---------- Masthead ---------- */
.masthead {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.title {
  margin: 0;
  font-size: clamp(2.1rem, 7vw, 3.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.title span { color: var(--gold-deep); }

.subtitle {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
}

/* ---------- Choices ---------- */
.choices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 3vw, 1.6rem);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-soft), #101010);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Color-only hover: border + soft accent glow, no movement */
.card:hover,
.card:focus-within {
  border-color: color-mix(in srgb, var(--accent) 60%, var(--line));
  box-shadow: 0 0 28px -6px color-mix(in srgb, var(--accent) 35%, transparent);
}

.card__main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  padding: clamp(1.75rem, 4vw, 2.6rem) 1.5rem 1.6rem;
  text-decoration: none;
  color: inherit;
}

.card__logo {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  height: 92px;
}
.card__logo img {
  max-width: 100%;
  max-height: 92px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5));
}

.card__desc {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
  max-width: 26ch;
}
.card__desc strong {
  display: block;
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.card__cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.2rem;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  color: #111;
  background: var(--accent);
  transition: gap 0.2s ease, filter 0.2s ease;
}
.card__cta .arrow { transition: transform 0.2s ease; }

/* Address / map link */
.card__address {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1rem;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  transition: color 0.2s ease, background 0.2s ease;
}
.card__address .pin {
  width: 15px;
  height: 15px;
  flex: none;
  fill: var(--accent);
}
.card__address:hover,
.card__address:focus-visible { color: var(--text); background: rgba(255, 255, 255, 0.04); }

/* Per-venue accents */
.card--odeon  { --accent: var(--gold); }
.card--stelle { --accent: var(--blue); }

/* Animation lives only on the button, triggered by hovering the card link */
.card__main:hover .card__cta { filter: brightness(1.05); }
.card__main:hover .card__cta .arrow { transform: translateX(4px); }

/* Accessible focus rings */
a:focus-visible { outline: 2px solid var(--accent, var(--gold)); outline-offset: 3px; border-radius: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .choices { grid-template-columns: 1fr; }
}

/* ---------- Motion / contrast preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .card:hover, .card:focus-within { transform: none; }
}
