@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@700;800&display=swap");

:root {
  --navy: #0f1729;
  --navy-2: #1e293b;
  --blue: #2f6fed;
  --blue-light: #7aa6ff;
  --line: #e2e8f0;
  --muted: #64748b;
  --text: #0f1729;
  --surface: #ffffff;
  --page: #f7f9fc;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 320px;
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: var(--page);
  line-height: 1.5;
}
h1,
h2,
h3 {
  font-family: "Manrope", sans-serif;
  margin: 0 0 8px;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: relative;
  z-index: 30;
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 0;
}
.site-header .wrap {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
}
.brand img {
  height: 60px;
  width: auto;
  display: block;
}
.account-menu {
  position: relative;
}
.account-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.account-icon svg {
  width: 19px;
  height: 19px;
}
.account-icon:hover,
.account-icon[aria-expanded="true"] {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 40;
  width: 210px;
  background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}
.account-dropdown[hidden] {
  display: none;
}
.account-dropdown form {
  margin: 0;
}
.account-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #e2e8f0;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.account-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.account-dropdown-item svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--blue-light);
}

.hero {
  position: relative;
  background: url("/img/hero-bg.png") center / cover no-repeat, var(--navy);
  color: #fff;
  padding: 190px 0 210px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 41, 0.5), rgba(15, 23, 41, 0.72)), linear-gradient(120deg, rgba(15, 23, 41, 0.4), rgba(47, 111, 237, 0.2));
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 750px;
}
.hero h1 {
  margin: 0 0 12px;
  font-weight: 800;
  font-size: clamp(28px, 4.5vw, 54px);
  letter-spacing: -0.01em;
}
.hero p {
  margin: 0 0 48px;
  color: #cbd9f2;
  font-size: 16px;
}
.hero-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  width: 100%;
  height: 50px;
  fill: var(--page);
}
.search-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(15, 23, 41, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 6px 6px 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  max-width: 600px;
  margin: 0 auto;
}
.search-filter-group {
  position: relative;
  display: flex;
}
.search-filter {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: #cbd5e1;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.search-filter:hover,
.search-filter[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}
.search-filter svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.search-filter .chevron {
  width: 12px;
  height: 12px;
  opacity: 0.7;
}
.search-bar:focus-within {
  border-color: rgba(47, 111, 237, 0.55);
}
.search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
}
.search-bar input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 15px;
  color: #fff;
  background: transparent;
  padding: 0 14px;
}
.search-bar input::placeholder {
  color: #94a3b8;
}
.search-submit {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
}
.search-submit svg {
  width: 18px;
  height: 18px;
}
.search-submit:hover {
  background: #2558c4;
}

/* Filter popovers (date / price) */
.filter-popover {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 40;
  width: 300px;
  max-width: calc(100vw - 32px);
  background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
  color: #fff;
  text-align: left;
}
.calendar-header {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}
.calendar-title {
  font-weight: 700;
  font-size: 14px;
}
.calendar-nav,
.popover-close {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #cbd5e1;
  cursor: pointer;
}
.calendar-nav:hover,
.popover-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.calendar-nav svg,
.popover-close svg {
  width: 14px;
  height: 14px;
}
.popover-close {
  margin-left: auto;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 14px;
}
.calendar-dow {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  padding: 4px 0;
}
.calendar-day {
  display: grid;
  place-items: center;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #e2e8f0;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.calendar-day:hover {
  background: rgba(255, 255, 255, 0.1);
}
.calendar-day.is-today {
  box-shadow: inset 0 0 0 1px var(--blue-light);
}
.calendar-day.is-selected {
  background: var(--blue);
  color: #fff;
}
.popover-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.popover-link {
  border: 0;
  background: transparent;
  color: #cbd5e1;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.popover-link:hover {
  color: #fff;
  text-decoration: underline;
}
.popover-apply {
  border: 0;
  border-radius: 999px;
  padding: 8px 18px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.popover-apply:hover {
  background: #2558c4;
}

/* Price slider */
.price-slider {
  position: relative;
  height: 4px;
  margin: 24px 2px 18px;
}
.price-slider-track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}
.price-slider-range {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 999px;
  background: var(--blue);
}
.price-range-input {
  position: absolute;
  left: 0;
  right: 0;
  top: -8px;
  width: 100%;
  margin: 0;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}
.price-range-input::-webkit-slider-thumb {
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  border: 3px solid var(--blue);
  cursor: pointer;
}
.price-range-input::-moz-range-thumb {
  pointer-events: auto;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  border: 3px solid var(--blue);
  cursor: pointer;
}
.price-range-input::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  background: transparent;
}
.price-range-input::-moz-range-track {
  background: transparent;
}
.price-inputs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
}

/* Live search dropdown */
.search-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 20px);
  z-index: 35;
  max-height: 250px;
  overflow-y: auto;
  background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
  padding: 6px;
}
.search-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 10px;
}
.search-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.08);
}
.search-dropdown-thumb {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
}
.search-dropdown-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.search-dropdown-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.search-dropdown-name {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}
.search-dropdown-date {
  font-size: 12px;
  color: #94a3b8;
}
.search-dropdown-empty {
  padding: 16px;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}

.events {
  padding-top: 40px;
  padding-bottom: 70px;
}
.results-summary {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 16px;
}
.event-section-title {
  font-size: 22px;
  margin: 0 0 18px;
}
.event-section-title-spaced {
  margin-top: 48px;
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(263px, 1fr));
  gap: 22px;
}
.event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 41, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(15, 23, 41, 0.1);
}
.event-card-image {
  width: 100%;
  height: 270px;
  object-fit: cover;
  display: block;
  background: var(--line);
}
.event-card-image-placeholder {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
}
.event-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.event-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 18px;
}
.event-card-title {
  font-size: 17px;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.event-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
}
.event-card-meta svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}
.event-card-price {
  margin: 10px 0 14px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
}
.event-card-price-suffix {
  color: var(--muted);
  font-weight: 400;
}
.event-card-cta {
  display: block;
  margin-top: auto;
  text-align: center;
  padding: 11px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.event-card-cta-releasing {
  background: var(--blue);
  color: #fff;
}
.event-card:hover .event-card-cta,
.event-card:hover .event-card-cta-releasing {
  background: #2558c4;
}

.empty-state {
  padding: 40px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.notice {
  padding: 12px 16px;
  margin-bottom: 14px;
  font-size: 13px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.empty-state p {
  color: var(--muted);
  margin: 0;
}
.message-action {
  display: inline-block;
  margin-top: 20px;
  border-radius: 999px;
  padding: 11px 26px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.message-action:hover {
  background: #2558c4;
}
.notice-error {
  color: #a43f3f;
  background: #faeaea;
  border-color: #f3caca;
}

.detail-notfound {
  padding-top: 60px;
  padding-bottom: 60px;
}

.event-detail {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: start;
  gap: 28px;
  padding-top: 36px;
  padding-bottom: 110px;
}
.event-detail-card {
  position: relative;
  background: var(--navy-2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 41, 0.08);
}
.event-detail-top {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 24px 24px 6px;
}
.event-detail-image-wrap {
  flex: 0 0 280px;
  max-width: 280px;
}
.event-detail-hero {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  background: var(--navy);
}
.event-detail-hero-placeholder {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
}
.event-detail-body {
  flex: 1;
  min-width: 0;
}
.event-detail-extra {
  padding: 18px 24px 28px;
}
.event-detail-body h1 {
  font-size: 26px;
  margin-bottom: 14px;
}
.event-detail-organizer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-size: 13px;
}
.event-detail-organizer span {
  color: #94a3b8;
}
.event-detail-organizer strong {
  color: #fff;
}
.event-detail-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 12px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 600;
}
.event-detail-row svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--blue-light);
}
.event-detail-location {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.event-detail-navigate {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(47, 111, 237, 0.18);
  color: var(--blue-light);
  font-size: 12px;
  font-weight: 700;
}
.event-detail-countdown {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-size: 13px;
  color: #94a3b8;
}
.countdown-pills {
  display: flex;
  gap: 6px;
}
.countdown-pill {
  min-width: 42px;
  padding: 5px 8px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}
.event-detail-trailer {
  display: inline-block;
  margin-bottom: 18px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #c0355a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.event-detail-desc {
  margin: 0 0 12px;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.7;
}

.ticket-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 24px rgba(15, 23, 41, 0.06);
}
.ticket-panel h2 {
  font-size: 18px;
  margin-bottom: 14px;
}
.ticket-panel-empty {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.ticket-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ticket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.ticket-row-disabled {
  background: var(--page);
}
.ticket-row-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.ticket-row-info strong {
  font-size: 14px;
}
.ticket-row-info span {
  color: var(--muted);
  font-size: 13px;
}
.ticket-badge {
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(47, 111, 237, 0.12);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticket-badge-sold {
  background: rgba(164, 63, 63, 0.12);
  color: #a43f3f;
}
.ticket-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.stepper-btn {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.stepper-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.stepper-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.stepper-qty {
  min-width: 18px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}

.limit-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 41, 0.6);
  padding: 20px;
}
.limit-modal-backdrop[hidden] {
  display: none;
}
.limit-modal {
  width: 100%;
  max-width: 360px;
  background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 30px 24px 26px;
  text-align: center;
  color: #fff;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}
.limit-modal-badge {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}
.limit-modal h3 {
  margin: 0 0 10px;
  font-size: 17px;
}
.limit-modal p {
  margin: 0 0 22px;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.6;
}
.limit-modal-dismiss {
  border: 0;
  border-radius: 999px;
  padding: 11px 30px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.limit-modal-dismiss:hover {
  background: #2558c4;
}

.billing-bar {
  position: sticky;
  bottom: 0;
  z-index: 50;
  background: var(--navy-2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -10px 24px rgba(0, 0, 0, 0.12);
}
.billing-bar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  padding: 14px 20px;
}
.billing-total {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.billing-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.billing-cta:hover {
  background: #2558c4;
}
.billing-cta svg {
  width: 16px;
  height: 16px;
}

.message-page {
  padding-top: 60px;
  padding-bottom: 60px;
}

.checkout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 24px;
  padding-top: 36px;
  padding-bottom: 80px;
}
.checkout-summary-card,
.checkout-form-card {
  min-width: 0;
}
.checkout-summary-card {
  position: sticky;
  top: 24px;
  background: var(--navy-2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 22px;
}
.checkout-summary h2 {
  font-size: 17px;
  margin-bottom: 4px;
}
.checkout-event-name {
  margin: 0 0 16px;
  color: #94a3b8;
  font-size: 13px;
}
.checkout-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.checkout-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #e2e8f0;
}
.checkout-subtotal-row,
.checkout-discount-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 6px;
}
.checkout-discount-row {
  color: #4ade80;
  margin-bottom: 14px;
}
.checkout-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 16px;
  font-weight: 700;
}

.checkout-promo-row {
  display: flex;
  gap: 8px;
}
.checkout-promo-row input {
  flex: 1;
  min-width: 0;
}
.checkout-promo-apply {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 18px;
  background: var(--surface);
  align-self: stretch;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.checkout-promo-apply:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.checkout-promo-apply:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.checkout-field-error,
.checkout-field-success {
  margin: 6px 0 0;
  font-size: 12px;
}
.checkout-field-error {
  color: #a43f3f;
}
.checkout-field-success {
  color: #16794f;
}

.checkout-form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(15, 23, 41, 0.06);
}
.checkout-form-card h2 {
  font-size: 17px;
  margin-bottom: 16px;
}
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.checkout-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.checkout-form input[type="text"],
.checkout-form input[type="email"],
.checkout-form input[type="tel"],
.checkout-form input[type="password"] {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--text);
}
.checkout-form input:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}
.checkout-checkbox {
  flex-direction: row !important;
  align-items: center;
  gap: 8px !important;
  font-weight: 500 !important;
}
.checkout-submit {
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  padding: 13px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.checkout-submit:hover {
  background: #2558c4;
}
.checkout-form input[readonly] {
  background: var(--page);
  color: var(--muted);
}
.checkout-account-notice {
  margin: -4px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.checkout-account-notice a {
  color: var(--blue);
  font-weight: 600;
}
.checkout-signout {
  margin-left: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.checkout-signout:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.auth-page {
  display: flex;
  justify-content: center;
  padding-top: 60px;
  padding-bottom: 100px;
}
.auth-card {
  width: 100%;
  max-width: 420px;
}
.auth-subtitle {
  margin: -8px 0 18px;
  color: var(--muted);
  font-size: 13px;
}
.auth-footer {
  margin: 16px 0 0;
  text-align: center;
  font-size: 13px;
}
.auth-footer a {
  color: var(--blue);
  font-weight: 600;
}

.payment-page {
  display: flex;
  justify-content: center;
  padding-top: 60px;
  padding-bottom: 100px;
}
.payment-card {
  width: 100%;
  max-width: 460px;
  text-align: center;
}
.payment-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 28px;
  font-weight: 800;
}
.payment-icon-success {
  background: rgba(22, 121, 79, 0.12);
  color: #16794f;
}
.payment-icon-pending {
  background: rgba(47, 111, 237, 0.12);
}
.payment-spinner {
  width: 26px;
  height: 26px;
  border: 3px solid rgba(47, 111, 237, 0.25);
  border-top-color: var(--blue);
  border-radius: 999px;
  animation: payment-spin 0.8s linear infinite;
}
@keyframes payment-spin {
  to {
    transform: rotate(360deg);
  }
}
.payment-summary {
  margin: 20px 0;
  padding: 16px;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: left;
}
.payment-summary .checkout-line {
  color: var(--text);
  font-size: 13px;
}
.payment-summary .checkout-total {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 10px;
  color: var(--text);
}

@media (max-width: 820px) {
  .checkout {
    grid-template-columns: 1fr;
  }
  .checkout-summary-card {
    position: static;
  }
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 36px;
}
.footer-brand {
  max-width: 400px;
}
.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}
.footer-logo img {
  height: 68px;
  width: auto;
  display: block;
}
.footer-tagline {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 104px;
}
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  margin: 0 0 16px;
}
.footer-col a,
.footer-link-btn {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  margin-bottom: 12px;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.footer-col a:hover,
.footer-link-btn:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 158px;
  padding-top: 28px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-contact h4,
.footer-social h4 {
  color: #fff;
  font-size: 14px;
  margin: 0 0 14px;
}
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  margin-bottom: 10px;
}
.footer-contact-row:hover {
  color: #fff;
}
.footer-social-icons {
  display: flex;
  gap: 10px;
}
.footer-icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.footer-icon-badge svg {
  width: 16px;
  height: 16px;
}
a.footer-icon-badge:hover {
  background: var(--blue-light);
  color: #fff;
}
.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
}
.footer-copyright p {
  margin: 0;
}

@media (max-width: 680px) {
  .footer-top {
    flex-direction: column;
    gap: 28px;
  }
  .footer-links {
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 680px) {
  .hero {
    padding: 120px 0 90px;
  }
  .search-bar {
    flex-wrap: wrap;
    border-radius: 18px;
    padding: 10px;
    gap: 8px;
  }
  .search-filter {
    border-right: 0;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
  }
  .search-input-wrap {
    flex-basis: 100%;
    order: 3;
  }
  .search-bar input {
    padding: 10px 8px;
  }
  .search-submit {
    order: 4;
    margin-left: auto;
  }
  .price-range-input {
    left: 0;
    right: 0;
    top: -17px;
  }
  .search-filter-group {
    position: static;
  }
  .filter-popover{
    left: 0;
    right: 0;
    min-width: 260px;
    top: calc(100% + 5px);
  }
  .search-dropdown {
    left: 0;
    right: 0;
    width: auto;
    min-width: 260px;
    top: calc(100% + 65px);
  }
}

@media (max-width: 900px) {
  .event-detail {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .event-detail-top {
    flex-direction: column;
  }
  .event-detail-image-wrap {
    flex: 0 0 auto;
    max-width: 100%;
  }
  .event-detail-hero {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 620px) {
  .event-detail-top {
    flex-direction: column;
  }
  .event-detail-image-wrap {
    flex: 0 0 auto;
    max-width: 100%;
  }
  .event-detail-hero {
    aspect-ratio: 16 / 9;
  }
  .booking-card-head {
    flex-direction: column;
  }
}

.notice-success {
  color: #16794f;
  background: #e9f7f0;
  border-color: #bfe8d4;
}

.legal-page {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 56px;
  padding-bottom: 100px;
}
.legal-page h1 {
  font-size: 30px;
  margin-bottom: 4px;
}
.legal-updated {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 32px;
}
.legal-content h2 {
  font-size: 18px;
  margin: 28px 0 8px;
}
.legal-content p,
.legal-content li {
  color: var(--text);
  line-height: 1.7;
}
.legal-content ul {
  padding-left: 20px;
  margin: 8px 0;
}

.account-page {
  padding-top: 48px;
  padding-bottom: 100px;
}
.account-page h1 {
  font-size: 28px;
  margin-bottom: 24px;
}
.account-forms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 680px) {
  .account-forms {
    grid-template-columns: 1fr;
  }
}

.booking-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}
.booking-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 6px 18px rgba(15, 23, 41, 0.05);
}
.booking-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.booking-card-head strong {
  display: block;
  font-size: 15px;
}
.booking-card-head a {
  color: var(--text);
}
.booking-card-head a:hover {
  color: var(--blue);
}
.booking-ref {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}
.booking-card-tickets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}
.ticket-chip {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--page);
  color: var(--muted);
  border: 1px solid var(--line);
}
.ticket-chip-checked_in {
  color: #16794f;
  background: #e9f7f0;
  border-color: #bfe8d4;
}
.ticket-chip-cancelled {
  color: #a43f3f;
  background: #faeaea;
  border-color: #f3caca;
}
.booking-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.booking-card-foot strong {
  color: var(--text);
  font-size: 15px;
}

.order-status {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--page);
  color: var(--muted);
  white-space: nowrap;
}
.order-status-confirmed {
  color: #16794f;
  background: #e9f7f0;
}
.order-status-refunded,
.order-status-partially_refunded {
  color: #6750a4;
  background: #eee9fa;
}
.order-status-cancelled,
.order-status-payment_failed,
.order-status-expired {
  color: #a43f3f;
  background: #faeaea;
}
.order-status-pending_payment {
  color: #8a6d1d;
  background: #fbf1da;
}
