/* ==========================================================================
   Myasa Events — cinematic dark surfaces with coral/pink light
   ========================================================================== */

.events-page { padding-bottom: 24px; }
.events-page .sec__title { color: var(--text); }
.events-page .crumbs { color: var(--text-2); }
.events-page .crumbs [aria-current="page"] { color: var(--text); }

/* ---------- Featured hero ---------- */
.ev-hero { position: relative; overflow: hidden; }
.ev-slide { position: relative; overflow: hidden; isolation: isolate; min-height: 460px; display: flex; align-items: center; }
.ev-slide[hidden] { display: none; }
.ev-slide__bg { position: absolute; inset: -40px; z-index: -2; background: none; filter: blur(34px) saturate(1.3); opacity: .7; transform: scale(1.15); }
.ev-slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 5, 8, .96) 0%, rgba(12, 5, 8, .75) 50%, rgba(12, 5, 8, .35) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(12, 5, 8, 0) 30%); }
.ev-slide__in { display: grid; gap: 28px; align-items: center; padding-block: 36px 56px; }
@media (min-width: 860px) { .ev-slide__in { grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; } }
.ev-slide__text { display: grid; gap: 12px; justify-items: start; max-width: 580px; }
.ev-slide__cat { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: var(--r-pill); background: rgba(241, 82, 104, .16); color: var(--palette-coral); font-size: var(--fs-12); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ev-slide__cat svg { width: 15px; height: 15px; }
.ev-slide__title { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4rem); font-weight: 800; line-height: .95; font-stretch: 75%; letter-spacing: -.01em; text-transform: uppercase; }
.ev-slide__meta { color: var(--text-2); font-weight: 600; }
.ev-slide__desc { color: var(--text-2); max-width: 52ch; }
.ev-slide__cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.ev-slide__price { font-weight: 800; font-size: var(--fs-17); }
.ev-slide__poster { display: none; aspect-ratio: 5 / 7; max-width: 100%; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .08); transform: rotate(2deg); transition: transform .5s var(--ease); background: none; }
.ev-slide__poster:hover { transform: rotate(0) translateY(-6px); }
@media (min-width: 860px) { .ev-slide__poster { display: block; } }
.ev-hero__dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; gap: 4px; }
.ev-hero__dots button { width: 28px; height: 24px; display: grid; place-items: center; }
.ev-hero__dots span { width: 22px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .3); transition: background var(--dur) var(--ease); }
.ev-hero__dots [aria-selected="true"] span { background: var(--palette-coral); }

/* ---------- Category tabs & filters ---------- */
.ev-sticky { position: sticky; top: calc(76px + env(safe-area-inset-top, 0px)); z-index: var(--z-sticky); background: rgba(12, 5, 8, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
@media (max-width: 899px) { .ev-sticky { top: calc(118px + env(safe-area-inset-top, 0px)); } }
.ev-cats { padding-block: 12px; }
.ev-cats .chip { background: var(--surface-2); border-color: var(--line-strong); color: var(--text); }
.ev-cats .chip[aria-pressed="true"] { background: var(--palette-coral); border-color: var(--palette-coral); color: var(--white); }
.ev-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-block: 16px 4px; }
.ev-search { display: flex; align-items: center; gap: 8px; flex: 1 1 260px; height: 42px; padding: 0 14px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--text-2); }
.ev-search svg { width: 18px; height: 18px; flex: none; }
.ev-search input { flex: 1; min-width: 0; border: 0; background: none; color: var(--text); font-size: var(--fs-14); }
.ev-search input:focus { outline: none; }
.ev-search:focus-within { border-color: var(--palette-coral); }
.ev-select { width: auto; min-height: 42px; border-radius: var(--r-pill); background-color: var(--surface-2); border-color: var(--line-strong); color: var(--text); font-size: var(--fs-14); font-weight: 600; }
.ev-when { flex: 1 1 100%; }
@media (min-width: 1100px) { .ev-when { flex: 0 1 auto; } }
.ev-when .chip, .ev-date { background: var(--surface-2); border-color: var(--line-strong); color: var(--text); }
.ev-date { position: relative; padding-right: 6px; }
.ev-date input { background: transparent; border: 0; color: var(--text); font: inherit; font-size: var(--fs-13); color-scheme: dark; max-width: 128px; }
.ev-date[aria-pressed="true"] { border-color: var(--palette-coral); }
.ev-grid { row-gap: 26px; }

/* ---------- Cinema ---------- */
.day-strip { gap: 8px; margin-bottom: 16px; }
.day { display: grid; justify-items: center; gap: 1px; min-width: 64px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); line-height: 1.15; flex: none; }
.day small { font-size: 11px; color: var(--text-2); font-weight: 650; text-transform: uppercase; letter-spacing: .04em; }
.day b { font-family: var(--font-display); font-size: var(--fs-20); }
.day[aria-selected="true"] { background: var(--palette-coral); border-color: var(--palette-coral); color: var(--white); }
.day[aria-selected="true"] small { color: rgba(255, 255, 255, .85); }
.movies { display: grid; gap: var(--gap); }
@media (min-width: 1000px) { .movies { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Event detail header ---------- */
.ev-head { position: relative; overflow: hidden; isolation: isolate; padding-bottom: 28px; }
.ev-head__bg { position: absolute; inset: -40px; z-index: -2; background: none; filter: blur(40px) saturate(1.3); opacity: .55; transform: scale(1.2); }
.ev-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--bg) 0%, rgba(12, 5, 8, .55) 50%, rgba(12, 5, 8, .75) 100%); }
.ev-head__in { display: grid; gap: 24px; align-items: end; padding-top: 10px; }
@media (min-width: 760px) { .ev-head__in { grid-template-columns: 240px minmax(0, 1fr); gap: 36px; } }
.ev-head__poster { aspect-ratio: 5 / 7; max-width: 220px; width: 100%; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 26px 60px rgba(0, 0, 0, .6); background: none; }
@media (min-width: 760px) { .ev-head__poster { max-width: none; } }
.ev-head__text { display: grid; gap: 12px; justify-items: start; min-width: 0; }
.ev-head__title { font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); font-weight: 800; line-height: .98; font-stretch: 78%; }
.ev-head__chips { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--text-2); font-size: var(--fs-14); font-weight: 600; }
.ev-head__chips span { display: inline-flex; align-items: center; gap: 6px; }
.ev-head__chips svg { width: 16px; height: 16px; }
.ev-head__artist { color: var(--text-2); font-size: var(--fs-17); }
.ev-score { display: flex; align-items: center; gap: 12px; }
.ev-score__n { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-size: var(--fs-30); font-weight: 800; }
.ev-score__n svg { width: 24px; height: 24px; color: var(--palette-coral); fill: currentColor; }
.ev-score__n small { font-size: var(--fs-15); color: var(--text-2); }
.ev-head__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 4px; }
.ev-int { background: transparent; color: var(--text); border-color: var(--line-strong); }
.ev-int[aria-pressed="true"] { border-color: var(--palette-coral); color: var(--palette-coral); }
.ev-int[aria-pressed="true"] svg { fill: currentColor; }
.ev-share { color: var(--text); border: 1px solid var(--line-strong); width: 52px; height: 52px; border-radius: 10px; }
.ev-share:hover { background: var(--surface-2); }
.ev-head__count { color: var(--text-2); }

/* ---------- Booking ---------- */
.ev-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 8px 20px; align-items: start; }
@media (min-width: 1000px) { .ev-body { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; } .ev-about { grid-column: 1; } .ev-side { grid-row: 1 / span 2; grid-column: 2; position: sticky; top: 96px; } }
.ev-book { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; scroll-margin-top: 140px; }
.ev-book .muted svg { width: 16px; height: 16px; display: inline; vertical-align: -3px; }
.venues { display: grid; gap: 12px; }
.venue-row { display: grid; gap: 10px; padding: 14px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); }
@media (min-width: 700px) { .venue-row { grid-template-columns: 220px minmax(0, 1fr); align-items: center; } }
.venue-row > div:first-child { display: grid; gap: 2px; }
.venue-row .small svg { width: 13px; height: 13px; display: inline; vertical-align: -2px; }
.showtime[aria-pressed="true"] { background: var(--palette-coral); border-color: var(--palette-coral); color: var(--white); }
.showtime[aria-pressed="true"] small { color: rgba(255, 255, 255, .8); }
.showtime[disabled] { opacity: .35; cursor: not-allowed; }
.legend-note { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot--ok { background: #6FE0A2; } .dot--fast { background: #F5B455; margin-left: 10px; }
.seat-hint { display: flex; align-items: center; gap: 10px; padding: 18px; border-radius: var(--r-md); border: 1px dashed var(--line-strong); color: var(--text-2); }
.seat-hint svg { width: 22px; height: 22px; color: var(--palette-coral); }

.seatmap { display: grid; gap: 14px; padding: 18px 12px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line); }
.seatmap__scroll { overflow-x: auto; padding-bottom: 6px; }
.seatmap__grid { display: grid; gap: 5px; justify-content: center; min-width: 520px; }
.seat-tier { text-align: center; font-size: var(--fs-11); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); padding: 10px 0 4px; border-top: 1px solid var(--line); margin-top: 6px; }
.seat-tier:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.seat-row { display: flex; align-items: center; gap: 5px; justify-content: center; }
.seat-row__l { width: 18px; text-align: center; font-size: var(--fs-11); color: var(--text-3); font-weight: 700; }
.seat-gap { width: 14px; }
.seat {
  display: inline-grid; place-items: center;
  width: 28px; height: 26px;
  border-radius: 6px 6px 4px 4px;
  border: 1.5px solid #6FE0A2;
  color: #6FE0A2;
  font-size: 10px; font-weight: 700;
  background: transparent;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.seat:hover:not([disabled]) { background: rgba(111, 224, 162, .15); transform: translateY(-1px); }
.seat--recliner { width: 34px; border-color: #F5B455; color: #F5B455; }
.seat--recliner:hover:not([disabled]) { background: rgba(245, 180, 85, .15); }
.seat.is-on { background: var(--palette-coral); border-color: var(--palette-coral); color: var(--white); }
.seat.is-sold { border-color: var(--line-strong); background: var(--line); color: transparent; cursor: not-allowed; }
.screen { margin: 14px auto 0; width: min(420px, 90%); text-align: center; font-size: var(--fs-11); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); padding-top: 10px; border-top: 4px solid rgba(241, 82, 104, .6); border-radius: 50% 50% 0 0 / 14px 14px 0 0; box-shadow: 0 -12px 24px -10px rgba(241, 82, 104, .5); }
.seat-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; font-size: var(--fs-12); color: var(--text-2); }
.seat-legend span { display: inline-flex; align-items: center; gap: 6px; }
.seat-legend .seat { width: 16px; height: 14px; pointer-events: none; }

.tiers { display: grid; gap: 10px; }
.tier { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); }
.tier__info { display: grid; gap: 2px; }
.tier__price { font-weight: 800; font-size: var(--fs-17); }
.tier__left { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-12); font-weight: 700; color: #F5B455; }
.tier__left svg { width: 13px; height: 13px; }
.tier .btn--outline { background: transparent; color: var(--text); border-color: var(--line-strong); }
.ev-book .chip { background: var(--surface-2); border-color: var(--line-strong); color: var(--text); }
.ev-book .chip[aria-pressed="true"] { background: var(--palette-coral); border-color: var(--palette-coral); color: var(--white); }

.ev-summary { display: grid; gap: 12px; padding: 18px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line); }
.ev-summary h3 { font-size: var(--fs-20); }
.sum-row { display: flex; justify-content: space-between; gap: 10px; font-size: var(--fs-14); }
.sum-row small { display: block; color: var(--text-2); font-size: var(--fs-12); word-break: break-word; }
.sum-row--total { font-weight: 800; font-size: var(--fs-17); padding-top: 10px; border-top: 1px dashed var(--line-strong); }
.ev-about { display: grid; gap: 16px; min-width: 0; }
.ev-about > p { color: var(--text-2); max-width: 66ch; }
.ev-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.ev-facts div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.ev-facts dt { font-size: var(--fs-12); text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); font-weight: 700; }
.venue { display: grid; gap: 6px; justify-items: start; padding: 16px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line); }
.venue__fac { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: var(--fs-13); color: var(--text-2); margin: 4px 0; }
.venue__fac li { display: inline-flex; align-items: center; gap: 6px; }
.venue__fac svg { width: 16px; height: 16px; }
.events-page .link { color: var(--palette-coral); }
.ev-terms summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-weight: 750; cursor: pointer; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ev-terms summary::-webkit-details-marker { display: none; }
.ev-terms summary svg { width: 18px; height: 18px; }
.ev-terms ul { padding: 12px 0 0 18px; color: var(--text-2); font-size: var(--fs-14); display: grid; gap: 6px; list-style: disc; }
