:root {
  color-scheme: dark;
  --ink: #f8f5ff;
  --muted: #bcb3cc;
  --page: #120e1c;
  --line: #362b44;
  --panel: #1f182b;
  --accent: #ecc6ff;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 280px; background: var(--page); color: var(--ink); }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
p, h1, h2, h3, dl, dd { margin: 0; }
.shell { width: min(1160px, calc(100% - 72px)); margin-inline: auto; }
.top { background: #161020; border-bottom: 1px solid #3a2844; }
.top-inner, .footer-inner { display: flex; min-height: 72px; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.08rem; font-weight: 800; white-space: nowrap; }
.brand-mark { display: grid; width: 32px; height: 32px; place-items: center; background: #e6b1fc; color: #280e32; border-radius: 11px; font-size: 1.35rem; }
.main-nav { display: flex; gap: 25px; align-items: center; margin-left: auto; color: var(--muted); }
.main-nav a:hover, .card-link:hover, .back:hover { color: #fff; }
.languages { display: flex; border: 1px solid var(--line); border-radius: 100px; padding: 3px; gap: 1px; }
.languages a { padding: 7px 10px; border-radius: 100px; color: var(--muted); font-size: .75rem; font-weight: 800; }
.languages [aria-current] { background: #38264a; color: var(--ink); }

.hero {
  background:
    linear-gradient(90deg, #130c25 4%, #1a112ac9 40%, #20122d29 83%),
    linear-gradient(0deg, var(--page), transparent 31%),
    url("/assets/concert-hero.webp") center 51% / cover,
    #241334;
}
.hero-inner { padding-block: clamp(75px, 10vw, 139px); }
.hero h1, .detail-page h1 {
  font-size: clamp(2.7rem, 6vw, 5.55rem);
  line-height: .99;
  letter-spacing: -.063em;
  font-weight: 850;
  max-width: 850px;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.hero p { max-width: 455px; margin-top: 25px; font-size: clamp(1rem, 2.5vw, 1.2rem); line-height: 1.55; color: #e5d8ed; }
.primary { display: inline-flex; align-items: center; gap: 20px; margin-top: 29px; padding: 14px 19px; border-radius: 11px; background: #eac0ff; color: #241030; font-weight: 780; }
.primary:hover { background: #f5e2ff; }
.home-payment { margin-bottom: 47px; }
.payment { display: flex; align-items: center; gap: 13px; border: 1px solid #4a3358; border-radius: 12px; padding: 13px 16px; background: #23192e; color: #e7daef; line-height: 1.45; }
.payment span { flex: 0 0 32px; height: 32px; display: grid; place-items: center; background: #3c294b; color: #f5d5ff; border-radius: 8px; font-weight: 800; }

.content { margin-bottom: 52px; scroll-margin-top: 20px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 17px; margin-bottom: 21px; }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.65rem); letter-spacing: -.042em; line-height: 1.08; }
.filters { display: flex; gap: 7px; flex-wrap: wrap; }
.filters a { padding: 7px 13px; border: 1px solid var(--line); border-radius: 99px; color: #dbcde5; font-size: .88rem; }
.filters a:hover { border-color: #a48cb1; }
.filters [aria-current] { background: #eac0ff; color: #241030; border-color: #eac0ff; font-weight: 750; }
.event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.event-card { overflow: hidden; min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); }
.event-card:hover { border-color: #77608d; }
.event-visual {
  min-height: 118px; padding: 15px; display: flex; justify-content: space-between; align-items: start; gap: 8px;
  background: repeating-linear-gradient(128deg, transparent 0 18px, #fff1 19px 20px), linear-gradient(125deg, #271634 10%, #82405f);
}
.dubai .event-visual { background: repeating-linear-gradient(128deg, transparent 0 18px, #fff1 19px 20px), linear-gradient(125deg, #17273f 10%, #385586); }
.event-visual time { display: grid; padding: 9px 12px; border-radius: 11px; color: #fff; line-height: 1.05; background: #180e26dd; }
.event-visual strong { font-size: 1.85rem; }
.event-visual time span { font-size: .74rem; padding-top: 4px; }
.city-tag { background: #1a1025dc; padding: 6px 9px; border-radius: 99px; color: #f5eafa; font-size: .74rem; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 17px 17px 19px; }
.venue { color: var(--accent); font-size: .84rem; font-weight: 700; }
h3 { margin: 8px 0 18px; font-size: 1.2rem; letter-spacing: -.018em; overflow-wrap: anywhere; }
.event-price { margin-bottom: 12px; color: var(--ink); font-size: 1rem; font-weight: 750; }
.card-link { margin-top: auto; align-self: start; display: inline-flex; gap: 9px; color: var(--accent); font-size: .88rem; font-weight: 700; }
.empty { padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; color: var(--muted); }
.venues h2 { margin-bottom: 19px; }
.venue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.venue-card { position: relative; border: 1px solid var(--line); border-radius: 14px; padding: 19px 50px 20px 20px; background: #251a36; }
.venue-card.dubai { background: #1a243b; }
.venue-card:hover { border-color: #907a9b; }
.venue-card span { color: #ded1ec; font-size: .88rem; }
.venue-card strong { display: block; margin-top: 4px; font-size: clamp(1.13rem, 3vw, 1.6rem); }
.venue-card .venue-arrow { position: absolute; right: 20px; top: 23px; font-size: 1.2rem; }
footer { border-top: 1px solid var(--line); padding-block: 13px; background: #161020; }
.footer-inner { justify-content: space-between; }
.footer-inner p { color: var(--muted); font-size: .85rem; }

.detail-page { min-height: 65vh; padding-block: 32px 64px; }
.back { display: inline-block; color: var(--accent); margin-bottom: 23px; font-weight: 700; }
.detail-hero { padding: clamp(24px, 6vw, 68px); border: 1px solid #654561; border-radius: 17px; background: linear-gradient(117deg, #261634, #693752); }
.detail-hero.dubai { background: linear-gradient(117deg, #20243d, #304c73); border-color: #475579; }
.detail-page h1 { font-size: clamp(2.1rem, 6vw, 4.7rem); line-height: 1.07; }
.detail-hero h1 { margin-top: 12px; }
.status { display: inline-block; margin-top: 20px; padding: 7px 13px; border-radius: 8px; background: #190f26; }
.detail-grid { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.facts, .tickets { background: var(--panel); border: 1px solid var(--line); border-radius: 15px; padding: 22px; }
.facts div + div { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
dt, .facts small { color: var(--muted); }
dd { margin-top: 5px; font-weight: 700; }
.facts small { display: block; margin-top: 4px; font-weight: 400; }
.tickets h2 { font-size: 1.5rem; }
.tickets > p { margin: 9px 0 14px; color: var(--muted); }
.tickets > .event-price { color: var(--ink); font-size: 1.25rem; }

@media (max-width: 850px) {
  .event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 630px) {
  .shell { width: calc(100% - 34px); }
  .top-inner { justify-content: space-between; min-height: 62px; gap: 8px; }
  .main-nav { display: none; }
  .hero { background-position: center, center, 62% center; }
  .hero h1 { font-size: clamp(2.4rem, 9vw, 3.5rem); }
  .section-heading, .footer-inner { align-items: start; flex-direction: column; gap: 13px; }
  .footer-inner { justify-content: center; }
  .event-grid, .detail-grid { grid-template-columns: 1fr; }
  .venue-grid { gap: 8px; }
  .venue-card { padding: 12px; }
  .venue-card .venue-arrow { display: none; }
}

.event-search {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) repeat(2, minmax(135px, 165px)) auto;
  align-items: end;
  gap: 12px;
  margin-bottom: 17px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel);
}
[hidden] { display: none !important; }
.event-search label { display: grid; gap: 6px; min-width: 0; color: var(--muted); font-size: .81rem; }
.event-search input, .event-search button {
  min-width: 0;
  min-height: 42px;
  max-width: 100%;
  border: 1px solid #594967;
  background: #181121;
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--ink);
  font: inherit;
  font-size: .95rem;
}
.event-search input::placeholder { color: #a99bb8; }
.event-search input:focus-visible, .event-search button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.event-search button { cursor: pointer; background: #342644; }
.event-search button:hover { background: #48335b; }
.search-error { grid-column: 1 / -1; color: #ffd0dc; font-size: .88rem; }
[data-search-empty] { margin-bottom: 17px; }
.directions { margin-top: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: var(--panel); }
.directions h2 { font-size: 1.5rem; }
.directions p { margin: 9px 0 13px; line-height: 1.5; color: var(--muted); }

@media (max-width: 720px) {
  .event-search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-name { grid-column: 1 / -1; }
  .event-search button { justify-self: start; }
}
