/* ============================================
   Perseval Prods — Standup Curado
   ============================================ */
:root {
  color-scheme: dark;
  --navy-900: #0b1a31;
  --navy-800: #0f2240;
  --navy: #13294b;
  --navy-600: #1c3a66;
  --gold: #b8892b;
  --gold-light: #d9ae55;
  --red: #d32f2f;
  --red-dark: #b02424;
  --cream: #f3ebdd;
  --cream-dim: rgba(243, 235, 221, 0.72);
  --line: rgba(184, 137, 43, 0.35);
  --wa: #25d366;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 10px;
  --header-h: 72px;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin: 0;
  text-transform: uppercase;
}
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  padding: 13px 26px; border-radius: 6px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease;
  line-height: 1.1; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(211, 47, 47, 0.3); }
.btn-red:hover { background: var(--red-dark); }
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { border-color: var(--gold); color: var(--cream); background: transparent; }
.btn-outline:hover { background: rgba(184, 137, 43, 0.12); }
.btn-wa { background: var(--wa); color: #0b2a17; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  background: rgba(15, 34, 64, 0.88);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(184, 137, 43, 0.25);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 50px; height: 50px; }
.brand span { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: 0.06em; text-transform: uppercase; }
.brand span b { color: var(--gold-light); font-weight: 800; }
.nav { display: flex; gap: 6px; }
.nav a {
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem;
  text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none;
  padding: 8px 14px; color: var(--cream); position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform .2s ease;
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--gold-light); }
.menu-btn { display: none; background: none; border: 0; color: var(--gold-light); padding: 8px; cursor: pointer; }
.menu-btn svg { width: 30px; height: 30px; }

@media (max-width: 760px) {
  .brand span { display: none; }
  .menu-btn { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 20px;
    background: var(--navy-800); border-bottom: 2px solid var(--gold);
    transform: translateY(-120%); transition: transform .25s ease; z-index: -1;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 4px; font-size: 1.25rem; border-bottom: 1px solid rgba(243,235,221,.08); }
  .nav a::after { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 70px; overflow: hidden;
  background:
    radial-gradient(ellipse 40% 55% at 22% 0%, rgba(255, 226, 160, 0.20), transparent 70%),
    radial-gradient(ellipse 35% 50% at 78% 0%, rgba(255, 226, 160, 0.12), transparent 70%),
    radial-gradient(ellipse 80% 50% at 50% 110%, rgba(211, 47, 47, 0.18), transparent 70%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy) 100%);
}
.hero.has-photo {
  background:
    linear-gradient(90deg, rgba(11, 26, 49, 0.6) 0%, rgba(11, 26, 49, 0.82) 45%, rgba(11, 26, 49, 0.93) 100%),
    linear-gradient(180deg, rgba(11, 26, 49, 0.2) 60%, var(--navy) 100%),
    var(--hero-img) center / cover no-repeat,
    var(--navy-900);
}
@media (max-width: 860px) {
  .hero.has-photo { background:
    linear-gradient(180deg, rgba(11, 26, 49, 0.82), rgba(11, 26, 49, 0.9) 60%, var(--navy) 100%),
    var(--hero-img) center / cover no-repeat, var(--navy-900); }
}
.hero::after {
  /* línea dorada inferior */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.hero-logo { justify-self: center; width: min(400px, 80%); height: auto; aspect-ratio: 1 / 1; object-fit: contain; filter: drop-shadow(0 24px 50px rgba(0,0,0,.45)); animation: rise .9s ease both; }
.hero-copy { animation: rise .9s .15s ease both; }
.eyebrow {
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-light); font-size: 0.95rem; display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); }
.hero h1 { font-size: clamp(3rem, 8vw, 6.2rem); color: var(--cream); }
.hero h1 .slogan { display: block; color: var(--gold-light); font-size: 0.78em; margin-top: 4px; }
.hero-lead { color: var(--cream-dim); font-size: 1.15rem; max-width: 34ch; margin: 22px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--gold); color: var(--gold-light); transition: background .15s ease, color .15s ease;
}
.socials a:hover { background: var(--gold); color: var(--navy-900); }
.socials svg { width: 20px; height: 20px; }

@media (max-width: 860px) {
  .hero { min-height: auto; text-align: center; padding-top: calc(var(--header-h) + 28px); }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-logo { width: min(200px, 52%); }
  .eyebrow { justify-content: center; }
  .eyebrow::before { display: none; }
  .eyebrow { letter-spacing: 0.16em; font-size: 0.85rem; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; flex-direction: column; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--navy-800); }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--gold-light); }
.section-head p { color: var(--cream-dim); margin: 10px auto 0; max-width: 52ch; }
.flourish { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; color: var(--gold); }
.flourish::before, .flourish::after { content: ""; height: 1px; width: 60px; background: var(--gold); }
.flourish svg { width: 14px; height: 14px; }
@media (max-width: 600px) { .section { padding: 64px 0; } }

/* ---------- Event cards ---------- */
.events-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); justify-content: center; }
.events-grid.count-1 { grid-template-columns: minmax(0, 760px); }
.events-grid.count-2 { grid-template-columns: repeat(auto-fit, minmax(290px, 460px)); }
.ev-card {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--navy-600), var(--navy-800));
  border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ev-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.ev-media { position: relative; aspect-ratio: 4 / 3; display: block; overflow: hidden; }
.ev-media img { width: 100%; height: 100%; object-fit: cover; }
.ev-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 4px 12px; border-radius: 4px;
  background: var(--cream); color: var(--navy-900);
}
.ev-badge.open-mic { background: var(--gold); }
.ev-badge.live { background: var(--red); color: #fff; left: auto; right: 14px; display: flex; align-items: center; gap: 7px; }
.ev-badge.done { background: rgba(11,26,49,.85); color: var(--cream-dim); left: auto; right: 14px; }
.ev-date {
  position: absolute; bottom: 14px; left: 14px; z-index: 2; text-align: center;
  background: rgba(11, 26, 49, 0.88); border: 1.5px solid var(--gold); border-radius: 6px;
  padding: 6px 12px; font-family: var(--font-display); line-height: 1;
}
.ev-date b { display: block; font-size: 2rem; font-weight: 800; color: var(--cream); }
.ev-date span { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.12em; color: var(--gold-light); }
.ev-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.ev-body h3 { font-size: 1.85rem; margin-bottom: 10px; }
.ev-body h3 a { text-decoration: none; }
.ev-body h3 a:hover { color: var(--gold-light); }
.ev-meta { list-style: none; padding: 0; margin: 0 0 12px; color: var(--cream-dim); font-size: 0.98rem; }
.ev-meta li { display: flex; align-items: center; gap: 8px; }
.ev-meta svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
.ev-summary { color: var(--cream-dim); font-size: 0.98rem; margin-bottom: 16px; }
.ev-price { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--gold-light); margin-bottom: 14px; }
.ev-price small { font-size: 0.6em; letter-spacing: .06em; color: var(--cream-dim); font-weight: 600; }
.ev-actions { margin-top: auto; display: grid; gap: 10px; }
.ev-more { text-align: center; font-family: var(--font-display); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .95rem; color: var(--gold-light); text-decoration: none; padding-top: 4px; }
.ev-more:hover { text-decoration: underline; }
.empty-state { text-align: center; color: var(--cream-dim); border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 40px 20px; }

/* Póster completo sobre fondo difuminado */
.poster { position: absolute; inset: 0; display: block; overflow: hidden; background: var(--navy-900); }
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; }
.poster img.poster-bg { object-fit: cover; filter: blur(22px) brightness(.55) saturate(1.2); transform: scale(1.15); }
.poster img.poster-fg { object-fit: contain; filter: drop-shadow(0 10px 24px rgba(0,0,0,.5)); }
.ev-card:hover .poster-fg { transform: scale(1.02); transition: transform .3s ease; }

/* Placeholder art (sin foto) */
.ph {
  width: 100%; height: 100%; display: grid; place-items: center; position: relative;
  background:
    radial-gradient(ellipse 45% 70% at 50% -10%, rgba(255, 226, 160, 0.38), transparent 70%),
    linear-gradient(180deg, #1a335c, var(--navy-900));
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(120, 20, 30, .35) 0 14px, rgba(80, 10, 20, .35) 14px 28px);
  -webkit-mask: linear-gradient(90deg, #000 0 14%, transparent 14% 86%, #000 86%);
          mask: linear-gradient(90deg, #000 0 14%, transparent 14% 86%, #000 86%);
}
.ph svg { width: 34%; max-width: 120px; color: var(--gold-light); opacity: .9; position: relative; }
.ph.mini svg { width: 40px; }
.ph-label { position: absolute; bottom: 10px; font-size: .8rem; color: var(--cream-dim); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Nosotros ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.about-copy { max-width: 760px; }
.about-copy h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--gold-light); margin-bottom: 20px; }
.about-copy p { color: var(--cream-dim); font-size: 1.08rem; }
.about-copy p:first-of-type { color: var(--cream); font-size: 1.2rem; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 900px; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery figure { margin: 0; aspect-ratio: 1; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }

@media (max-width: 420px) { .gallery { gap: 8px; } }

/* ---------- Contacto ---------- */
.contact-card {
  max-width: 760px; margin: 0 auto; text-align: center; padding: 48px 24px;
  border: 1.5px solid var(--line); border-radius: 14px;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(184,137,43,.14), transparent 70%), var(--navy-800);
}
.contact-card h2 { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 10px; }
.contact-card p { color: var(--cream-dim); max-width: 46ch; margin: 0 auto 28px; }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 26px; }
.contact-mail { color: var(--gold-light); text-decoration: none; font-weight: 600; }
.contact-mail:hover { text-decoration: underline; }
.contact-card .socials { justify-content: center; margin-top: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); padding: 48px 0 110px; text-align: center; border-top: 1px solid rgba(184,137,43,.25); }
.site-footer img { width: 84px; margin: 0 auto 10px; }
.site-footer .slogan { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); }
.site-footer small { display: block; color: var(--cream-dim); margin-top: 8px; font-size: .9rem; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.4);
  border: 2px solid rgba(255,255,255,.2); transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }
body.has-ticket-bar .wa-float { bottom: 96px; }

/* ============================================
   Página de detalle de evento
   ============================================ */
.ev-hero {
  position: relative; padding: calc(var(--header-h) + 28px) 0 40px;
  background: linear-gradient(180deg, var(--navy-900), var(--navy));
}
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-light); text-decoration: none; font-weight: 600; margin-bottom: 18px; }
.back-link:hover { text-decoration: underline; }
.ev-banner {
  position: relative; border: 1.5px solid var(--gold); border-radius: 12px; overflow: hidden;
  aspect-ratio: 21 / 9; background: var(--navy-900);
}
.ev-banner img { width: 100%; height: 100%; object-fit: cover; }
.ev-banner .ev-badge { top: auto; bottom: 0; left: 0; border-radius: 0 8px 0 0; font-size: 1.15rem; padding: 6px 18px; }
.ev-banner.has-poster { aspect-ratio: 16 / 9; }
@media (max-width: 600px) { .ev-banner { aspect-ratio: 4 / 3; } .ev-banner.has-poster { aspect-ratio: 4 / 5; } }
.ev-title-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 28px; margin-top: 26px; }
.ev-title-row h1 { font-size: clamp(2.6rem, 7vw, 4.8rem); color: var(--cream); flex: 1 1 380px; }
.ev-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--font-display); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 1.12rem; color: var(--cream); }
.ev-facts span { display: inline-flex; align-items: center; gap: 8px; }
.ev-facts svg { width: 18px; height: 18px; color: var(--gold-light); }
.ev-divider { height: 1px; background: linear-gradient(90deg, var(--gold), transparent); margin: 28px 0 0; }

.live-strip {
  background: var(--red); color: #fff; text-align: center; padding: 10px 16px;
  font-family: var(--font-display); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
.ev-badge.live .dot { width: 8px; height: 8px; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.done-strip { background: var(--navy-600); color: var(--cream-dim); text-align: center; padding: 10px 16px; font-family: var(--font-display); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid var(--line); }

.ev-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding: 40px 0 80px; align-items: start; }
.ev-main > section { margin-bottom: 48px; }
.ev-main h2 { font-size: 2rem; color: var(--gold-light); margin-bottom: 16px; }
.ev-main p { color: var(--cream-dim); font-size: 1.08rem; }
.ev-main p:first-of-type { color: var(--cream); }
.ev-aside { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 900px) {
  .ev-layout { grid-template-columns: 1fr; gap: 0; }
  .ev-aside { position: static; order: -1; margin-bottom: 40px; }
}

.ticket-box {
  border: 1.5px solid var(--gold); border-radius: 12px; padding: 26px 22px; text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(184,137,43,.16), transparent 70%), var(--navy-800);
}
.ticket-box .label { font-family: var(--font-display); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-dim); font-size: .95rem; }
.ticket-box .price { font-family: var(--font-display); font-weight: 800; font-size: 2.8rem; color: var(--gold-light); line-height: 1.1; margin: 4px 0 18px; }
.ticket-box .price small { font-size: .45em; color: var(--cream-dim); letter-spacing: .08em; }
.ticket-box .btn + .btn { margin-top: 10px; }
.ticket-box .note { font-size: .9rem; color: var(--cream-dim); margin: 14px 0 0; }
.spots { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--gold-light); margin-bottom: 16px; }
.spots.closed { color: var(--cream-dim); }

.ticket-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  background: var(--navy-900); border-top: 2px solid var(--gold);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  align-items: center; gap: 14px;
}
.ticket-bar .price { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--gold-light); white-space: nowrap; }
.ticket-bar .btn { flex: 1; padding: 13px 14px; font-size: 1rem; }
@media (max-width: 900px) { .ticket-bar.show { display: flex; } }

.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; border: 1.5px solid var(--line); background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.video-thumbs button {
  flex: 0 0 150px; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; padding: 0; cursor: pointer;
  border: 2px solid transparent; background: #000; opacity: .65; transition: opacity .15s, border-color .15s;
}
.video-thumbs button.active, .video-thumbs button:hover { opacity: 1; border-color: var(--gold); }
.video-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.live-block { margin-bottom: 48px; }
.live-block .btn { margin-top: 14px; }

.lineup { display: flex; flex-wrap: wrap; gap: 26px; }
.comic { text-align: center; width: 128px; text-decoration: none; }
.comic .avatar { width: 112px; height: 112px; margin: 0 auto 10px; border-radius: 50%; overflow: hidden; border: 3px solid var(--gold); background: var(--navy-600); display: grid; place-items: center; }
.comic .avatar img { width: 100%; height: 100%; object-fit: cover; }
.comic .avatar svg { width: 46px; color: var(--gold-light); }
.comic.head .avatar { width: 128px; height: 128px; border-width: 4px; }
.comic .tag { display: inline-block; background: var(--gold); color: var(--navy-900); font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; padding: 2px 10px; border-radius: 3px; margin-bottom: 6px; }
.comic b { display: block; font-family: var(--font-display); font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em; }
.comic small { color: var(--gold-light); }

.links-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.link-card {
  display: flex; gap: 14px; align-items: center; padding: 18px; text-decoration: none;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--navy-800);
  transition: border-color .15s, transform .15s;
}
.link-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.link-card .ico { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-size: 1.4rem; }
.link-card b { display: block; font-family: var(--font-display); font-size: 1.25rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1.1; }
.link-card small { color: var(--cream-dim); }

.rules { margin: 0; padding-left: 1.3em; color: var(--cream); }
.rules li { margin-bottom: 6px; }
.info-list { list-style: none; padding: 0; margin: 0 0 20px; }
.info-list li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--cream); }
.info-list li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.map-frame { aspect-ratio: 16 / 8; border: 1.5px solid var(--gold); border-radius: 10px; overflow: hidden; background: var(--navy-800); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }
.map-actions { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.map-actions .addr { color: var(--cream-dim); margin-right: auto; }
@media (max-width: 600px) { .map-frame { aspect-ratio: 4 / 3; } }

.share { display: flex; flex-wrap: wrap; gap: 10px; }
.share a, .share button {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 6px;
  border: 1.5px solid var(--gold); color: var(--cream); background: transparent; text-decoration: none;
  font-family: var(--font-display); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 1rem; cursor: pointer;
}
.share a:hover, .share button:hover { background: rgba(184,137,43,.15); }
.share svg { width: 18px; height: 18px; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.photo-grid button { all: unset; aspect-ratio: 1; border-radius: 8px; overflow: hidden; cursor: zoom-in; border: 1px solid var(--line); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.photo-grid button:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 12, 24, .94); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; max-width: 100%; border-radius: 6px; }
.lightbox button { position: absolute; background: rgba(19,41,75,.9); border: 1.5px solid var(--gold); color: var(--cream); width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

.more-events { padding: 70px 0 90px; background: var(--navy-800); border-top: 1px solid var(--line); }
.not-found { padding: calc(var(--header-h) + 100px) 0 120px; text-align: center; }
.not-found h1 { font-size: 3rem; margin-bottom: 14px; }
.not-found p { color: var(--cream-dim); margin-bottom: 28px; }
.toast { position: fixed; left: 50%; bottom: 110px; transform: translateX(-50%); background: var(--cream); color: var(--navy-900); padding: 10px 18px; border-radius: 6px; font-weight: 600; z-index: 120; opacity: 0; transition: opacity .2s; pointer-events: none; }
.toast.show { opacity: 1; }
