/* ===== Colors and fonts ===== */
.ep-page {
  --bg: #FFFDF9;
  --section: #F0E4D2;
  --heading: #493321;
  --button: #805633;
  --button-dark: #6A4527;
  --text: #30271F;
  --muted: #6B5847;
  --line: #E5DACB;

  --font-hindi: "Tiro Devanagari Hindi", "Noto Serif Devanagari", Georgia, serif;
  --font-title: "Fraunces", Georgia, serif;
  --font-body: "Inter", "Noto Sans Devanagari", Arial, sans-serif;

  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

.ep-page * { box-sizing: border-box; }
.ep-page h1, .ep-page h2, .ep-page h3, .ep-page p { margin: 0; }
.ep-page h1, .ep-page h2, .ep-page h3 { color: var(--heading); font-weight: 400; }
.ep-page button { font-family: inherit; font-size: inherit; cursor: pointer; }

/* ===== Layout helpers ===== */
.ep-band { padding-left: 16px; padding-right: 16px; }
.ep-wrap { max-width: 1100px; margin: 0 auto; }

.ep-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--button);
}

/* ===== Buttons ===== */
.ep-btn {
  display: inline-block;
  background: var(--button);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 14px 26px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}
.ep-btn:hover { background: var(--button-dark); }
.ep-btn--sm { padding: 10px 18px; font-size: 14px; }
.ep-btn--ghost { background: transparent; color: var(--button); border: 1px solid var(--button); }
.ep-btn--ghost:hover { background: var(--section); }

.ep-link { color: var(--button); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--button); }

/* ===== Hero ===== */
.ep-hero-band { position: relative; overflow: hidden; }

.ep-watermark {
  position: absolute;
  top: 20px;
  right: 0;
  font-family: var(--font-hindi);
  font-size: 160px;
  line-height: 1;
  color: var(--section);
}

.ep-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 50px 0 60px;
}

.ep-hero h1 {
  font-family: var(--font-title);
  font-size: 44px;
  line-height: 1.1;
  margin-top: 16px;
}
.ep-hero h1 em { color: var(--button); }

.ep-lead { margin-top: 20px; max-width: 460px; }
.ep-cta { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* Ticket card */
.ep-sheet { position: relative; padding: 14px; max-width: 540px; }
.ep-sheet::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: var(--section);
  border-radius: 6px;
  transform: rotate(3deg);
}

.ep-ticket {
  position: relative;
  background: var(--bg);
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(73, 51, 33, 0.2);
}
.ep-ticket__main { padding: 24px; }
.ep-ticket h2 { font-family: var(--font-hindi); font-size: 34px; line-height: 1.3; margin-top: 12px; }
.ep-ticket dl { margin: 16px 0 0; }
.ep-ticket dl div { display: flex; gap: 12px; margin-bottom: 6px; }
.ep-ticket dt { width: 60px; flex: none; font-size: 12px; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.ep-ticket dd { margin: 0; }

.ep-perf { border-top: 2px dashed var(--line); margin: 0 16px; }
.ep-ticket__foot { padding: 20px 24px 24px; }
.ep-ticket__foot .ep-btn { display: block; width: 100%; margin-top: 16px; }

.ep-countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.ep-cd { background: var(--section); border-radius: 6px; padding: 10px 4px; }
.ep-cd b { display: block; font-family: var(--font-title); font-size: 26px; font-weight: 500; color: var(--heading); }
.ep-cd span { font-size: 11px; text-transform: uppercase; color: var(--muted); }

.ep-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--button);
  border: 1px solid var(--button);
  border-radius: 20px;
  padding: 2px 10px;
}
.ep-roman { font-family: var(--font-title); font-style: italic; color: var(--button); }

/* ===== Stats ===== */
.ep-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ep-strip__in { display: grid; grid-template-columns: 1fr 1fr; text-align: center; }
.ep-strip__in div { padding: 22px 8px; border-left: 1px solid var(--line); }
.ep-strip__in div:nth-child(odd) { border-left: 0; }
.ep-strip__in b { display: block; font-family: var(--font-title); font-size: 30px; font-weight: 400; color: var(--heading); }
.ep-strip__in span { font-size: 13px; color: var(--muted); }

/* ===== Upcoming events ===== */
.ep-upcoming { padding-top: 56px; padding-bottom: 56px; }
.ep-sechead h2 { font-family: var(--font-title); font-size: 36px; line-height: 1.15; margin-top: 10px; }
.ep-sechead h2 em { color: var(--button); }
.ep-sechead__count { color: var(--muted); font-size: 14px; margin-top: 8px; }

.ep-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ep-chip {
  display: inline-block;
  text-decoration: none;
  background: transparent;
  color: var(--heading);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 14px;
}
.ep-chip:hover { border-color: var(--button); }
.ep-chip[aria-pressed="true"] { background: var(--button); border-color: var(--button); color: #fff; }

.ep-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 28px; }

.ep-card { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.ep-card:hover { border-color: var(--button); }
.ep-card[hidden] { display: none; }

.ep-stub { display: flex; justify-content: space-between; align-items: center; background: var(--section); padding: 16px 20px; }
.ep-stub__d { font-family: var(--font-title); font-size: 52px; line-height: 1; color: var(--heading); }
.ep-stub__m { text-align: right; }
.ep-stub__m b { display: block; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--button); }
.ep-stub__m span { font-size: 13px; color: var(--muted); }

.ep-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.ep-card h3 { font-family: var(--font-hindi); font-size: 28px; line-height: 1.3; margin-top: 10px; }
.ep-blurb { margin-top: 8px; font-size: 15px; }

.ep-meta { margin-top: 12px; font-size: 13px; color: var(--muted); }
.ep-meta span { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 4px; }
.ep-meta svg { width: 15px; height: 15px; flex: none; margin-top: 3px; }

.ep-card__foot { margin-top: auto; padding-top: 18px; }
.ep-bar { height: 4px; background: var(--section); border-radius: 4px; }
.ep-bar i { display: block; height: 4px; background: var(--button); border-radius: 4px; }
.ep-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.ep-price { font-family: var(--font-title); font-size: 24px; color: var(--heading); line-height: 1; }
.ep-seats { font-size: 12px; color: var(--muted); margin-top: 6px; }
.ep-seat-prices { max-width: 330px; line-height: 1.5; }

.ep-empty { padding: 30px 0; color: var(--muted); }
.ep-empty[hidden] { display: none; }

/* ===== Couplet ===== */
.ep-sher { background: var(--section); }
.ep-sher__in { padding: 70px 0; text-align: center; }
.ep-sher blockquote { margin: 22px auto 0; font-family: var(--font-hindi); font-size: 28px; line-height: 1.6; color: var(--heading); }
.ep-sher cite { display: block; margin-top: 18px; font-family: var(--font-title); color: var(--button); }

/* ===== Steps ===== */
.ep-steps { padding-top: 56px; padding-bottom: 56px; }
.ep-steps ol { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; counter-reset: step; }
.ep-steps li { counter-increment: step; border-top: 1px solid var(--heading); padding-top: 16px; }
.ep-steps li::before { content: counter(step); display: block; font-family: var(--font-title); font-size: 40px; line-height: 1; color: var(--button); margin-bottom: 10px; }
.ep-steps h3 { font-family: var(--font-title); font-size: 20px; font-weight: 500; }
.ep-steps li p { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* ===== Past events ===== */
.ep-past { background: var(--section); }
.ep-past__in { padding: 56px 0; }
.ep-past__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 26px; }
.ep-pcard { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 20px; }
.ep-pcard time { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; color: var(--button); }
.ep-pcard h3 { font-family: var(--font-hindi); font-size: 26px; line-height: 1.3; margin-top: 8px; }
.ep-pcard__n { margin-top: 14px; padding-top: 10px; border-top: 1px dashed var(--line); font-family: var(--font-title); font-size: 20px; color: var(--heading); }
.ep-pcard__n small { font-family: var(--font-body); font-size: 13px; color: var(--muted); }

/* ===== Seat request popup ===== */
.ep-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 1000;
  background: rgba(48, 39, 31, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}
.ep-overlay[hidden] { display: none; }

.ep-panel { position: relative; flex: 0 1 780px; width: min(92vw, 780px); max-width: calc(100vw - 32px); min-width: 0; box-sizing: border-box; max-height: calc(100dvh - 36px); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: 20px 22px; box-shadow: 0 24px 80px rgba(48,39,31,.25); }
.ep-panel h2 { font-family: var(--font-hindi); font-size: 28px; line-height: 1.3; padding-right: 36px; }
.ep-panel h2.ep-en { font-family: var(--font-title); font-size: 24px; }
.ep-panel .ep-btn { display: block; width: 100%; margin-top: 10px; padding: 10px 18px; border-radius: 12px; }
.ep-auth-view { max-width: 620px; margin: 4px auto; }
.ep-auth-view h2 { margin: 12px 0 4px; }
.ep-auth-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin: 18px 0; background: var(--section); border-radius: 12px; }
.ep-auth-switch button { border: 0; border-radius: 9px; padding: 10px; color: var(--text); background: transparent; font: inherit; cursor: pointer; }
.ep-auth-switch button.is-active { background: var(--bg); box-shadow: 0 2px 8px rgba(48,39,31,.1); color: var(--heading); font-weight: 700; }
.ep-auth-form .ep-field { margin-top: 12px; }
.ep-auth-form [hidden] { display: none !important; }
.ep-auth-hint { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; }
.ep-otp-box { margin-top: 10px; padding: 14px; background: var(--section); border: 1px dashed var(--button); border-radius: 12px; }
.ep-otp-msg { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.ep-otp-msg b { color: var(--heading); }
.ep-otp-inputs { display: flex; flex-wrap: nowrap; gap: 8px; margin-bottom: 12px; }
.ep-otp-inputs input.ep-otp-digit { display: block; flex: 0 0 64px; box-sizing: border-box; width: 64px; min-width: 0; height: 66px; padding: 0; text-align: center; font: 600 22px/1 var(--font-body); color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; appearance: none; -webkit-appearance: none; }
.ep-otp-inputs input.ep-otp-digit:focus { outline: 2px solid var(--button); outline-offset: 1px; }
.ep-auth-form input[readonly] { background: #e8f0fe; }
.ep-otp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.ep-otp-actions .ep-coupon-apply { min-width: 90px; }
.ep-otp-link { padding: 4px 0; border: 0; background: none; color: var(--button); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.ep-otp-link:hover:not(:disabled) { text-decoration: underline; }
.ep-otp-link:disabled { color: var(--muted); font-weight: 400; cursor: default; }
.ep-otp-verified { margin: 8px 0 0; padding: 9px 12px; border-radius: 10px; background: #e5f3ea; color: #347047; font-size: 13px; font-weight: 600; }
.ep-account-status { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 11px; margin-bottom: 10px; border-radius: 10px; background: var(--section); color: var(--muted); font-size: 12px; }
.ep-account-status button { border: 0; padding: 4px 0; background: transparent; color: var(--heading); text-decoration: underline; cursor: pointer; }
.ep-overlay.is-auth { overflow-y: auto; }
.ep-overlay.is-auth .ep-panel { flex-basis: 700px; width: min(92vw, 700px); max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: clamp(26px, 5vw, 46px); }
.ep-overlay.is-auth .ep-auth-view { max-width: 500px; }
.ep-overlay.is-auth .ep-auth-view h2 { font-size: clamp(26px, 3.2vw, 34px); }
.ep-overlay.is-auth .ep-auth-view > .ep-sub { max-width: 48ch; line-height: 1.6; }
.ep-auth-signup-link { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: 13px; }
.ep-auth-signup-link button, .ep-auth-signup-link a { border: 0; padding: 4px; background: transparent; color: var(--button); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.ep-auth-forgot-link { margin: 8px 0 0; text-align: right; font-size: 13px; }
.ep-auth-forgot-link button { border: 0; padding: 4px 0; background: transparent; color: var(--button); font: inherit; text-decoration: underline; cursor: pointer; }
.ep-auth-switch button[hidden] { display: none; }

.ep-x { position: sticky; float: right; top: 0; z-index: 2; margin: -4px -4px 0 8px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--section); color: var(--heading); cursor: pointer; }
.ep-sub { margin-top: 4px; font-size: 14px; color: var(--muted); }

.ep-field { margin-top: 7px; }
.ep-field label, .ep-field-title { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--heading); }
.ep-field input, .ep-field select, .ep-out {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
}
.ep-field input:focus, .ep-field select:focus, .ep-out:focus { outline: 2px solid var(--button); }
.ep-field select { color-scheme: light; accent-color: var(--button); }
.ep-native-select { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; opacity: 0; pointer-events: none; }
.ep-quantity-picker { position: relative; z-index: 5; }
.ep-quantity-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 38px;
  padding: 7px 11px; border: 1px solid var(--line); border-radius: 10px; background: #fffaf2; color: var(--heading);
  font: 600 14px/1.25 var(--font-body); text-align: left; cursor: pointer; transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.ep-quantity-trigger::after { content: ""; flex: 0 0 8px; width: 8px; height: 8px; border-right: 2px solid var(--button); border-bottom: 2px solid var(--button); transform: rotate(45deg) translateY(-2px); }
.ep-quantity-trigger:hover, .ep-quantity-trigger[aria-expanded="true"] { border-color: var(--button); background: #f2e4d0; }
.ep-quantity-trigger:focus-visible { outline: 2px solid var(--button); outline-offset: 2px; }
.ep-quantity-trigger:disabled { opacity: .6; cursor: not-allowed; }
.ep-quantity-menu { position: absolute; top: calc(100% + 5px); left: 0; right: 0; z-index: 30; display: grid; gap: 3px; max-height: min(320px, 48vh); overflow-y: auto; padding: 5px; border: 1px solid #d7b995; border-radius: 12px; background: #fffaf2; box-shadow: 0 12px 28px rgba(55,36,20,.2); }
.ep-quantity-menu[hidden] { display: none; }
.ep-quantity-option { width: 100%; min-height: 32px; padding: 5px 9px; border: 0; border-radius: 7px; background: transparent; color: #49311f; font: 500 14px/1.2 var(--font-body); text-align: left; cursor: pointer; transition: color .12s ease, background .12s ease; }
.ep-quantity-option:hover, .ep-quantity-option:focus-visible { outline: none; background: #ead7bd; color: #3b281a; }
.ep-quantity-option.is-selected { background: #805633; color: #fff; font-weight: 700; }
.ep-quantity-option:disabled { color: #a99682; cursor: not-allowed; }
.ep-coupon-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: stretch; }
.ep-field .ep-coupon-row input { min-width: 0; height: 48px; }
.ep-coupon-apply { min-width: 96px; min-height: 48px; padding: 0 18px; border: 1px solid var(--button); border-radius: 10px; background: var(--button); color: #fff; font: 700 14px/1 var(--font-body); transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.ep-coupon-apply:hover:not(:disabled) { background: var(--button-dark); box-shadow: 0 5px 14px rgba(72,49,30,.16); transform: translateY(-1px); }
.ep-coupon-apply:focus-visible { outline: 3px solid rgba(128,86,51,.28); outline-offset: 2px; }
.ep-coupon-apply:disabled { opacity: .65; cursor: wait; }
#ep-m-coupon-msg { min-height: 0; margin-top: 5px; font-size: 12px; line-height: 1.4; color: #a33d2c; overflow-wrap: anywhere; }
#ep-m-coupon-msg:empty { display: none; }
#ep-m-coupon-msg.is-success { color: #347047; }

#ep-m-form { display: grid; width: 100%; min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; align-items: start; }
#ep-m-form .ep-field:first-child, #ep-m-total, #ep-m-form .ep-note, #ep-m-err, #ep-m-form > .ep-btn { grid-column: 1 / -1; }
#ep-m-form .ep-field { min-width: 0; }
#ep-m-total { margin-top: 12px; padding: 11px 14px; }
#ep-m-form > .ep-btn { margin-top: 8px; }

.ep-tier-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ep-tier-option { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 3px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: #fffdfa; color: var(--text); text-align: left; cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.ep-tier-option:hover:not(:disabled) { border-color: var(--button); transform: translateY(-1px); }
.ep-tier-option.is-selected { border: 2px solid var(--button); padding: 7px 9px; background: var(--section); box-shadow: 0 6px 18px rgba(114,76,44,.10); }
.ep-tier-option strong { color: var(--heading); font-size: 15px; }
.ep-tier-price { color: var(--button); font-weight: 700; }
.ep-tier-option small { color: var(--muted); font-size: 12px; }
.ep-tier-option:disabled { opacity: .5; cursor: not-allowed; }

.ep-err { min-height: 20px; margin-top: 6px; font-size: 13px; color: #9B2C1A; }
.ep-pass { margin-top: 16px; padding: 15px 16px; background: var(--section); border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }
.ep-pass b { font-family: var(--font-hindi); font-size: 18px; font-weight: 400; color: var(--heading); }
.ep-overlay.is-confirmation .ep-panel { flex-basis: 760px; width: min(92vw, 760px); max-width: calc(100vw - 32px); padding: clamp(22px, 3vw, 34px); }
.ep-confirm-heading { display: flex; align-items: center; gap: 14px; margin: 2px 48px 20px 0; }
.ep-confirm-mark { display: grid; flex: 0 0 48px; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: #e4f1e4; color: #28613b; font-size: 24px; font-weight: 700; }
.ep-confirm-mark.is-refund { background: #f5e7e4; color: #9a3d32; }
.ep-confirm-mark.is-neutral { background: var(--section); color: var(--button); }
.ep-confirm-heading .ep-label { margin-bottom: 3px; font-size: 10px; letter-spacing: 1.5px; }
.ep-confirm-heading h2 { margin: 0; padding: 0; font-size: clamp(25px, 3vw, 34px); }
.ep-confirm-pass { margin: 0; padding: 0; overflow: hidden; background: #fffdfa; border-color: var(--line); }
.ep-confirm-code { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; background: linear-gradient(110deg, #f2e4d0, #f8f1e7); border-bottom: 1px solid var(--line); }
.ep-confirm-code small,.ep-confirm-detail small { display: block; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ep-confirm-code strong { color: var(--button-dark); font: 700 20px/1.25 ui-monospace,Consolas,monospace; letter-spacing: .06em; overflow-wrap: anywhere; text-align: right; }
.ep-confirm-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; padding: 4px 20px; }
.ep-confirm-detail { min-width: 0; padding: 13px 0; border-bottom: 1px solid #f1e9df; }
.ep-confirm-detail strong { display: block; margin-top: 4px; color: var(--heading); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.ep-confirm-status { display: inline-flex; align-items: center; min-height: 26px; margin-top: 3px; padding: 3px 11px; border-radius: 999px; background: #eee4d6; color: #694b30; font-size: 12px; font-weight: 700; }
.ep-confirm-status.is-success { background: #e4f1e4; color: #28613b; }
.ep-confirm-status.is-refund { background: #f5e7e4; color: #9a3d32; }
.ep-confirm-status-detail { border-bottom: 0; }
#ep-m-receipt-actions { margin-top: 16px; }
.ep-confirm-receipt { margin: 0!important; }
.ep-confirm-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.ep-confirm-link { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 10px; background: #fffdfa; font-size: 13px; text-decoration: none; }
.ep-confirm-link:hover { background: var(--section); }
#ep-m-close-done { margin-top: 14px!important; }
.ep-out { margin-top: 14px; height: 120px; resize: none; font-size: 14px; }
.ep-note { margin-top: 10px; font-size: 12px; color: var(--muted); }
.ep-sr { position: absolute; left: -9999px; }

@media (max-width: 520px) {
  .ep-overlay.is-auth { align-items: flex-end; padding: 0; }
  .ep-overlay.is-auth .ep-panel { flex-basis: auto; width: 100%; max-width: 100%; max-height: 94dvh; overflow-x: hidden; overflow-y: auto; border-radius: 20px 20px 0 0; padding: 24px 18px calc(24px + env(safe-area-inset-bottom)); }
  .ep-overlay { align-items: flex-end; padding: 0; }
  .ep-panel { max-width: none; max-height: 94dvh; overflow-y: auto; border-radius: 20px 20px 0 0; padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); }
  .ep-overlay.is-confirmation .ep-panel { flex-basis: auto; width: 100%; max-width: 100%; padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); }
  #ep-m-form { grid-template-columns: 1fr; column-gap: 0; }
  .ep-panel h2 { font-size: 24px; }
  .ep-confirm-heading { gap: 10px; margin-right: 42px; margin-bottom: 16px; }
  .ep-confirm-mark { flex-basis: 42px; width: 42px; height: 42px; font-size: 21px; }
  .ep-confirm-heading h2 { font-size: 25px; }
  .ep-confirm-code { align-items: flex-start; flex-direction: column; gap: 5px; padding: 14px 15px; }
  .ep-confirm-code strong { text-align: left; font-size: 18px; }
  .ep-confirm-details { padding: 2px 15px; gap: 0 12px; }
  .ep-confirm-detail { padding: 11px 0; }
  .ep-confirm-detail strong { font-size: 13px; }
  .ep-confirm-links { display: grid; grid-template-columns: 1fr; }
  .ep-confirm-link { justify-content: center; }
  .ep-tier-options { grid-template-columns: 1fr; gap: 8px; }
  .ep-coupon-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
  .ep-coupon-apply { min-width: 82px; padding: 0 13px; }
  .ep-otp-inputs { gap: 6px; }
  .ep-otp-inputs input.ep-otp-digit { flex-basis: min(64px, calc((100vw - 90px) / 6)); width: min(64px, calc((100vw - 90px) / 6)); height: 58px; font-size: 20px; }
  .ep-tier-option { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; padding: 11px 12px; }
  .ep-tier-option.is-selected { padding: 10px 11px; }
  .ep-tier-option small { grid-column: 1 / -1; }
}

@media (min-width: 700px) {
  .ep-overlay { overflow: hidden; }
}

@media (min-width: 521px) and (max-width: 699px) {
  .ep-panel { max-height: calc(100vh - 32px); overflow-y: auto; }
}

@media (max-height: 760px) and (min-width: 521px) {
  .ep-panel { padding-top: 16px; padding-bottom: 16px; }
  .ep-panel h2 { font-size: 25px; }
  .ep-panel .ep-sub { font-size: 13px; line-height: 1.35; }
  #ep-m-form .ep-field { margin-top: 7px; }
  .ep-tier-options { gap: 8px; }
  .ep-tier-option { padding-top: 8px; padding-bottom: 8px; }
  .ep-tier-option.is-selected { padding-top: 7px; padding-bottom: 7px; }
}

/* Keep the desktop seat form compact and fully visible without an inner scrollbar. */
@media (min-width: 521px) {
  .ep-overlay { padding: 12px; overflow: hidden; }
  .ep-panel {
    flex-basis: 720px;
    width: min(90vw, 720px);
    max-height: none;
    overflow: visible;
    padding: 12px 16px;
    border-radius: 18px;
  }
  .ep-panel h2 { margin-top: 6px !important; font-size: 23px; line-height: 1.2; }
  .ep-sub { margin-top: 2px; font-size: 12px; line-height: 1.3; }
  .ep-account-status { margin: 0 42px 6px 0; padding: 5px 9px; font-size: 11px; }
  .ep-x { position: absolute; top: 12px; right: 12px; margin: 0; width: 32px; height: 32px; }
  .ep-field { margin-top: 5px; }
  .ep-field label, .ep-field-title { margin-bottom: 3px; font-size: 10px; letter-spacing: .8px; }
  .ep-field input, .ep-field select { padding: 6px 10px; font-size: 14px; }
  .ep-tier-options { gap: 6px; }
  .ep-tier-option { gap: 2px; padding: 6px 8px; border-radius: 10px; }
  .ep-tier-option.is-selected { padding: 5px 7px; }
  .ep-tier-option strong { font-size: 13px; }
  .ep-tier-price { font-size: 13px; }
  .ep-tier-option small { font-size: 10px; }
  .ep-field .ep-coupon-row input, .ep-coupon-apply { min-height: 36px; height: 36px; }
  .ep-coupon-apply { min-width: 66px; padding: 0 10px; font-size: 12px; }
  #ep-m-total { margin-top: 7px; padding: 7px 10px; font-size: 12px; }
  .ep-note { margin-top: 4px; font-size: 10px; line-height: 1.25; }
  .ep-panel .ep-btn { margin-top: 6px; padding: 8px 14px; font-size: 14px; }
}

/* ===== Hero video and animation ===== */
.ep-hero-bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; overflow: hidden; }

/* Video stays hidden until it is loaded, then fades in */
.ep-hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s;
}
.ep-hero-video.is-ready { opacity: 0.5; }

/* Cream layer so the text is always easy to read */
.ep-hero-shade {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(90deg, rgba(255, 253, 249, 0.95) 0%, rgba(255, 253, 249, 0.8) 45%, rgba(255, 253, 249, 0.35) 100%);
}

/* Floating glow bubbles */
.ep-orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(128, 86, 51, 0.25);
  filter: blur(60px);
  animation: ep-float 14s ease-in-out infinite;
}
.ep-orb--1 { width: 320px; height: 320px; top: -80px; left: -60px; }
.ep-orb--2 { width: 260px; height: 260px; bottom: -60px; left: 40%; background: rgba(228, 210, 184, 0.9); animation-delay: -5s; }
.ep-orb--3 { width: 200px; height: 200px; top: 20%; right: 10%; animation-delay: -9s; }

@keyframes ep-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.15); }
}

/* Poetry words rising slowly */
.ep-word {
  position: absolute;
  bottom: -60px;
  font-family: var(--font-hindi);
  font-size: 34px;
  color: var(--button);
  opacity: 0;
  animation: ep-rise 16s linear infinite;
}
.ep-word--1 { left: 8%; }
.ep-word--2 { left: 30%; animation-delay: 5s; }
.ep-word--3 { left: 55%; animation-delay: 9s; }
.ep-word--4 { left: 78%; animation-delay: 2s; }

@keyframes ep-rise {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: 0.25; }
  85% { opacity: 0.25; }
  100% { transform: translateY(-700px); opacity: 0; }
}

/* Text slides up when the page loads */
@keyframes ep-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.ep-hero > div:first-child > * { animation: ep-up 0.8s ease both; }
.ep-hero > div:first-child > :nth-child(2) { animation-delay: 0.1s; }
.ep-hero > div:first-child > :nth-child(3) { animation-delay: 0.2s; }
.ep-hero > div:first-child > :nth-child(4) { animation-delay: 0.3s; }

/* Ticket flies in, and the paper behind it sways */
@keyframes ep-in {
  from { opacity: 0; transform: translateX(40px) rotate(4deg); }
  to { opacity: 1; transform: none; }
}
.ep-sheet { animation: ep-in 1s 0.3s ease both; }

@keyframes ep-sway {
  from { transform: rotate(2deg); }
  to { transform: rotate(4.5deg); }
}
.ep-sheet::before { animation: ep-sway 6s ease-in-out infinite alternate; }

/* "Next event" badge with pulsing dot */
.ep-live {
  position: absolute;
  top: 24px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--button);
}
.ep-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--button); animation: ep-pulse 1.6s infinite; }

@keyframes ep-pulse {
  0% { box-shadow: 0 0 0 0 rgba(128, 86, 51, 0.5); }
  100% { box-shadow: 0 0 0 10px rgba(128, 86, 51, 0); }
}

/* Seconds box ticks every second */
@keyframes ep-pop {
  0% { transform: translateY(-6px); opacity: 0.4; }
  100% { transform: none; opacity: 1; }
}
.ep-cd b.ep-tick { animation: ep-pop 0.4s ease; }

/* Event cards fade up when you scroll to them */
.ep-reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s, transform 0.6s; }
.ep-reveal.ep-in { opacity: 1; transform: none; }

/* ===== Tablet and desktop ===== */
@media (min-width: 700px) {
  .ep-strip__in { grid-template-columns: repeat(4, 1fr); }
  .ep-strip__in div:nth-child(odd) { border-left: 1px solid var(--line); }
  .ep-strip__in div:first-child { border-left: 0; }
  .ep-hero h1 { font-size: 64px; }
  .ep-watermark { font-size: 260px; }
  .ep-sechead h2 { font-size: 46px; }
  .ep-sher blockquote { font-size: 40px; }
}

@media (min-width: 900px) {
  .ep-hero { grid-template-columns: 1.1fr 0.9fr; align-items: center; padding: 80px 0 90px; }
  .ep-hero h1 { font-size: 76px; }
}

/* On phones the text sits above the ticket, so shade from top to bottom */
@media (max-width: 899px) {
  .ep-hero-shade {
    background: linear-gradient(180deg, rgba(255, 253, 249, 0.92) 0%, rgba(255, 253, 249, 0.7) 100%);
  }
}

/* For people who turn animations off in their device settings */
@media (prefers-reduced-motion: reduce) {
  .ep-page *, .ep-page *::before {
    animation: none !important;
    transition: none !important;
  }
  .ep-reveal { opacity: 1; transform: none; }
}
/* admin ne seats khatam dikhayi to Reserve band */
.ep-btn[disabled]{opacity:.5;cursor:not-allowed;pointer-events:none}

/* =====================================================
   Videos (slider) + Audio  --  /events
   ===================================================== */
.ep-sechead--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }

/* ----- Videos ----- */
.ep-videos { background: #2B1D12; padding-top: 56px; padding-bottom: 56px; position: relative; overflow: hidden; }
.ep-videos::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  right: -140px; top: -160px; background: radial-gradient(circle, rgba(201, 150, 90, 0.28), transparent 70%);
  pointer-events: none;
}
.ep-videos .ep-wrap { position: relative; }
.ep-videos .ep-label { color: #D9B286; }
.ep-videos .ep-sechead h2 { color: #FFF6EA; }
.ep-videos .ep-sechead h2 em { color: #D9B286; }

.ep-nav { display: none; gap: 10px; flex: none; }
.ep-nav__btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 246, 234, 0.35);
  background: transparent; color: #FFF6EA; font-size: 20px; line-height: 1; transition: background 0.2s, transform 0.2s;
}
.ep-nav__btn:hover { background: rgba(255, 246, 234, 0.14); transform: translateY(-1px); }
.ep-nav__btn:disabled { opacity: 0.35; cursor: default; transform: none; background: transparent; }

.ep-slider {
  display: flex; gap: 16px; margin-top: 28px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding: 4px 2px 10px;
}
.ep-slider::-webkit-scrollbar { display: none; }
.ep-slider:focus-visible { outline: 2px solid #D9B286; outline-offset: 4px; border-radius: 10px; }

.ep-vcard {
  flex: 0 0 84%; scroll-snap-align: start; min-width: 0;
  background: rgba(255, 246, 234, 0.06); border: 1px solid rgba(255, 246, 234, 0.12);
  border-radius: 14px; overflow: hidden; transition: transform 0.3s, border-color 0.3s;
}
.ep-vcard:hover { transform: translateY(-4px); border-color: rgba(217, 178, 134, 0.6); }

.ep-vthumb {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0;
  background: #3a281a; overflow: hidden; cursor: pointer;
}
.ep-vthumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.ep-vcard:hover .ep-vthumb img { transform: scale(1.06); }
.ep-vthumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20, 12, 6, 0.65)); }
.ep-vthumb__ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 54px; color: #D9B286; }
.ep-play {
  position: absolute; z-index: 1; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px;
  border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(128, 86, 51, 0.92); box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.18);
  transition: transform 0.25s, background 0.25s;
}
.ep-play svg { width: 26px; height: 26px; margin-left: 3px; }
.ep-vcard:hover .ep-play { transform: scale(1.1); background: #805633; }
.ep-dur {
  position: absolute; z-index: 1; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 4px;
  background: rgba(0, 0, 0, 0.7); color: #fff; font-size: 12px; font-weight: 600;
}
.ep-vcard__body { padding: 14px 16px 18px; }
.ep-vcard__body h3 { font-family: var(--font-hindi); font-size: 19px; line-height: 1.35; color: #FFF6EA; }
.ep-vcard__body p { margin-top: 4px; font-size: 13px; color: #CDB79D; }

.ep-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.ep-dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 246, 234, 0.3); transition: width 0.3s, background 0.3s; cursor: pointer; }
.ep-dots i.on { width: 26px; background: #D9B286; }

/* Video popup */
.ep-voverlay { background: rgba(15, 9, 4, 0.9); }
.ep-vpanel { position: relative; width: 100%; max-width: 960px; }
.ep-vframe { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; }
.ep-vframe iframe, .ep-vframe video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.ep-vtitle { margin-top: 12px; color: #FFF6EA; font-family: var(--font-hindi); font-size: 18px; text-align: center; }
.ep-x--light { top: -46px; right: 0; background: rgba(255, 255, 255, 0.16); color: #fff; }
.ep-x--light:hover { background: rgba(255, 255, 255, 0.3); }

/* ----- Audio ----- */
.ep-audios { padding-top: 56px; padding-bottom: 60px; }
.ep-agrid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
.ep-acard {
  display: flex; gap: 14px; align-items: center; padding: 14px; min-width: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 4px 16px rgba(73, 51, 33, 0.06); transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
}
.ep-acard:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(73, 51, 33, 0.12); }
.ep-acard.is-playing { border-color: var(--button); box-shadow: 0 10px 28px rgba(128, 86, 51, 0.22); }
.ep-acard__cover {
  flex: none; width: 76px; height: 76px; border-radius: 12px; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--section), #E2CDAE); color: var(--button); font-size: 30px; position: relative;
}
.ep-acard__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-acard.is-playing .ep-acard__cover::after {
  content: ""; position: absolute; left: 50%; bottom: 8px; width: 22px; height: 14px; transform: translateX(-50%);
  background:
    linear-gradient(#fff, #fff) 0 100% / 4px 40% no-repeat,
    linear-gradient(#fff, #fff) 9px 100% / 4px 90% no-repeat,
    linear-gradient(#fff, #fff) 18px 100% / 4px 60% no-repeat;
  animation: ep-eq 0.9s ease-in-out infinite alternate; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}
@keyframes ep-eq { from { transform: translateX(-50%) scaleY(0.4); } to { transform: translateX(-50%) scaleY(1.15); } }

.ep-acard__main { flex: 1; min-width: 0; }
.ep-acard__top { display: flex; align-items: center; gap: 12px; }
.ep-acard__txt { flex: 1; min-width: 0; }
.ep-acard__txt h3 { font-family: var(--font-hindi); font-size: 18px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ep-acard__txt p { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ep-abtn {
  flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--button); color: #fff;
  display: grid; place-items: center; transition: background 0.2s, transform 0.2s;
}
.ep-abtn:hover { background: var(--button-dark); transform: scale(1.06); }
.ep-abtn svg { width: 20px; height: 20px; grid-area: 1 / 1; }
.ep-abtn .ep-i-play { margin-left: 2px; }
.ep-abtn .ep-i-pause { display: none; }
.is-playing .ep-abtn .ep-i-play { display: none; }
.is-playing .ep-abtn .ep-i-pause { display: block; }

.ep-aprog { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.ep-atime { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 34px; }
.ep-atime:last-child { text-align: right; }
.ep-arange {
  --p: 0%; flex: 1; min-width: 0; height: 18px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer;
}
.ep-arange::-webkit-slider-runnable-track { height: 5px; border-radius: 99px; background: linear-gradient(to right, var(--button) var(--p), var(--line) var(--p)); }
.ep-arange::-moz-range-track { height: 5px; border-radius: 99px; background: var(--line); }
.ep-arange::-moz-range-progress { height: 5px; border-radius: 99px; background: var(--button); }
.ep-arange::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -4.5px; border-radius: 50%; background: var(--button); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); }
.ep-arange::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--button); border: 2px solid #fff; }

/* ----- Responsive ----- */
@media (min-width: 600px) {
  .ep-vcard { flex-basis: calc((100% - 16px) / 2); }
  .ep-nav { display: flex; }
}
@media (min-width: 700px) {
  .ep-videos, .ep-audios { padding-top: 76px; padding-bottom: 80px; }
  .ep-agrid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (min-width: 980px) {
  .ep-vcard { flex-basis: calc((100% - 32px) / 3); }
  .ep-slider { gap: 16px; }
}
@media (max-width: 420px) {
  .ep-acard { padding: 12px; gap: 12px; }
  .ep-acard__cover { width: 60px; height: 60px; font-size: 24px; }
  .ep-acard__txt h3 { font-size: 16px; }
  .ep-abtn { width: 42px; height: 42px; }
  .ep-play { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
  .ep-x--light { top: -44px; }
}
@media (max-height: 480px) and (orientation: landscape) {
  .ep-vpanel { max-width: 70vw; }
}
@media (prefers-reduced-motion: reduce) {
  .ep-slider { scroll-behavior: auto; }
  .ep-acard.is-playing .ep-acard__cover::after { animation: none; }
}

