:root {
  --purple: #6d28d9;
  --purple-2: #7c3aed;
  --purple-deep: #4c1d95;
  --purple-soft: #f3e8ff;
  --orange: #f97316;
  --orange-2: #ea580c;
  --bg: #f7f4fb;
  --card: #ffffff;
  --text: #1a1230;
  --muted: #6b6380;
  --line: #ece7f5;
  --green: #10b981;
  --ok: #ecfdf5;
  --pink: #fff1f8;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(88, 28, 135, .08);
  --font: "Manrope", system-ui, sans-serif;
  --display: "Syne", "Manrope", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }
.wrap { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
h1,h2,h3 { font-family: var(--display); letter-spacing: -.03em; line-height: 1.15; }
.muted { color: var(--muted); }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 700;
  background: var(--purple-soft); color: var(--purple);
}
.pill.green { background: var(--ok); color: #047857; }
.pill.orange { background: #ffedd5; color: #c2410c; }
.pill.pink { background: #fce7f3; color: #be185d; }
.pill.gray { background: #f3f4f6; color: #4b5563; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; font-family: inherit; font-weight: 800;
  border-radius: 999px; padding: 11px 16px; font-size: 14px; white-space: nowrap;
}
.mobile-only { display: none; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-purple { background: var(--purple); color: #fff; }
.btn-ghost { background: #fff; border: 1px solid var(--line); color: var(--text); }
.btn-white { background: #fff; color: var(--purple); }
.btn-dark { background: #1e1233; color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 12px; font-size: 12px; }

/* HEADER */
.topbar {
  background: #fff; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 12px; }
.header-search {
  width: 230px;
  flex: 0 0 230px;
  min-width: 0;
  z-index: 45;
}
.header-search .box {
  padding: 7px 12px;
  box-shadow: none;
}
.header-search .smart-results {
  min-width: 280px;
  width: max(100%, 280px);
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.logo .brand {
  width: 42px; height: 50px; object-fit: contain; flex-shrink: 0;
}
.logo .word {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px; line-height: 1;
}
.logo .word-row { display: flex; align-items: baseline; gap: 1px; }
.logo .wordmark {
  height: 26px; width: auto; max-width: none; display: block;
}
.logo .tld {
  font-size: 18px; font-weight: 800; letter-spacing: -.04em; color: #1a1a2e;
}
.logo .mark {
  width: 36px; height: 42px; display: block;
}
.logo small { display: block; font-size: 10px; color: var(--muted); font-weight: 700; }
.nav-links { display: flex; gap: 12px; font-weight: 700; font-size: 14px; color: #43385a; flex: 1; flex-wrap: wrap; }
.nav-links a:hover, .nav-links a.active { color: var(--purple); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.userchip { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: #ddd6fe; display: grid; place-items: center; font-weight: 800; color: var(--purple); overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.menu-btn { display: none; }
.pro-badge { background: #ede9fe; color: var(--purple); font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 6px; margin-left: 4px; }

/* HERO HOME */
.hero { padding: 42px 0 12px; text-align: center; }
.home-hero {
  padding: 64px 0 28px;
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%, #efe6ff 0%, transparent 60%),
    radial-gradient(ellipse 35% 40% at 85% 10%, #ffedd5 0%, transparent 55%);
}
.hero h1 { font-size: clamp(32px, 5.2vw, 56px); margin: 10px 0 12px; }
.hero h1 span, .hero h1 .accent { color: var(--orange); }
.hero p.lead { max-width: 640px; margin: 0 auto; color: var(--muted); }
.searchbar {
  display: grid; grid-template-columns: 1.45fr auto 1fr auto 1fr auto; align-items: center; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 6px 6px 16px; max-width: 900px; margin: 28px auto 0; box-shadow: var(--shadow);
}
.searchbar .sf { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 2px 10px; }
.searchbar .sdiv { width: 1px; height: 28px; background: var(--line); }
.searchbar input, .searchbar select {
  border: 0; background: transparent; padding: 10px 0; font: inherit; outline: none; width: 100%;
  color: var(--text);
}
.searchbar input[type="date"] { color: var(--muted); min-width: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 32px; height: 32px; display: block; color: inherit; }
.searchbar .ico { width: 18px; height: 18px; color: var(--purple); flex-shrink: 0; }
.searchbar.wsearch {
  grid-template-columns: 1.2fr 1fr auto;
  max-width: 720px;
  padding: 6px 6px 6px 14px;
}
.city .cap .choose {
  background: rgba(255,255,255,.18);
  color: #fff;
  border-color: rgba(255,255,255,.28);
  margin-top: 4px;
}
.artist img {
  width: 48px; height: 48px; border-radius: 12px; object-fit: cover; flex-shrink: 0;
}
.zone-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.zone-row .zone { margin: 6px 0; }
.smart-search {
  position: relative;
  min-width: min(420px, 100%);
}
.smart-search.header-search {
  width: 230px;
  flex: 0 0 230px;
  min-width: 0;
}
.smart-search .box {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; box-shadow: var(--shadow);
}
.smart-search .box .ico { width: 18px; height: 18px; color: var(--purple); }
.smart-search input {
  border: 0; outline: none; width: 100%; background: transparent; font: inherit;
}
.smart-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); z-index: 35; max-height: 340px; overflow: auto;
  padding: 6px;
}
.smart-results a {
  display: block; padding: 10px 12px; border-radius: 12px; font-size: 14px; font-weight: 800;
}
.smart-results a:hover, .smart-results a.is-on { background: var(--purple-soft); color: var(--purple); }
.smart-results small { display: block; font-weight: 600; color: var(--muted); font-size: 12px; }
.page-wilayas footer,
.page-event footer {
  background: #fff;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.page-wilayas footer .logo,
.page-wilayas footer h4,
.page-event footer .logo,
.page-event footer h4 { color: var(--text); }
.page-wilayas footer a:hover,
.page-event footer a:hover { color: var(--purple); }
.page-wilayas .foot-copy,
.page-event .foot-copy { border-top-color: var(--line); color: var(--muted); }
footer .wordmark { filter: brightness(0) invert(1); }
.page-wilayas footer .wordmark,
.page-event footer .wordmark { filter: none; }
.page-wilayas footer .tld,
.page-event footer .tld { color: var(--text); }
.coupon {
  display: flex; align-items: center; gap: 8px;
  border: 1px dashed var(--line); border-radius: 12px; padding: 8px 10px; margin: 10px 0;
}
.coupon input {
  border: 0; outline: none; flex: 1; min-width: 0; font: inherit; background: transparent;
}
.addr-bar {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-top: 12px; background: #faf7ff;
}
.pay-secure { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; }
.pay-secure .ico { width: 16px; height: 16px; color: var(--purple); flex-shrink: 0; margin-top: 2px; }
.chips { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; }
.chip:hover, .chip.active { background: var(--purple-soft); color: var(--purple); border-color: #ddd6fe; }

/* SECTIONS */
.section { padding: 28px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.region-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.cities, .events { display: grid; gap: 14px; }
.cities { grid-template-columns: repeat(4, 1fr); }
.events { grid-template-columns: repeat(3, 1fr); }
.events.featured { grid-template-columns: repeat(4, 1fr); }
.link-more { font-size: 13px; font-weight: 800; color: var(--purple); }
.cats {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; text-align: center;
}
.cat-item { display: flex; flex-direction: column; align-items: center; gap: 10px; transition: transform .18s ease; }
.cat-item:hover { transform: translateY(-4px); }
.cat-item b { font-size: 13px; font-weight: 800; }
.orb {
  width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: var(--shadow); border: 1px solid transparent; transition: box-shadow .18s ease, transform .18s ease;
}
.cat-item:hover .orb { box-shadow: 0 14px 28px rgba(88,28,135,.14); }
.orb.sm { width: 46px; height: 46px; flex-shrink: 0; }
.orb.sm .ico { width: 22px; height: 22px; }
.orb-p { background: #f3e8ff; color: #7c3aed; }
.orb-o { background: #ffedd5; color: #ea580c; }
.orb-g { background: #ecfdf5; color: #059669; }
.orb-pk { background: #fce7f3; color: #db2777; }
.orb-b { background: #e0e7ff; color: #4f46e5; }
.orb-y { background: #fef9c3; color: #ca8a04; }
.plan li { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.tick { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }
.ticket-gen {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center;
}
.feat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feat-card, .why-card, .plan, .pass-card, .org-cta {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
}
.feat-card { padding: 16px; display: flex; gap: 12px; align-items: flex-start; }
.pass-card {
  padding: 22px; text-align: center; box-shadow: var(--shadow);
  background: linear-gradient(#fff, #fff7ed);
}
.pass-card h3 { margin: 10px 0 6px; }
.pass-qr { width: 148px; height: 148px; margin: 16px auto 8px; }
.plan { padding: 22px; }
.plan ul { list-style: none; margin: 14px 0 18px; color: var(--muted); font-size: 14px; }
.plan-price { font-size: 28px; font-weight: 800; font-family: var(--display); margin-top: 6px; }
.plan-price span { font-size: 14px; color: var(--muted); font-weight: 700; }
.featured-plan { border: 2px solid var(--orange); box-shadow: 0 16px 40px rgba(249,115,22,.18); transform: translateY(-6px); }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.why-card { padding: 22px; background: #faf5ff; }
.org-cta {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 28px 32px; background: linear-gradient(90deg, #faf5ff, #fff7ed);
}
.org-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.city, .event-card, .panel, .card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.panel, .card { padding: 16px; }
.city { position: relative; min-height: 170px; color: #fff; }
.city img { width: 100%; height: 210px; object-fit: cover; }
.event-card img { width: 100%; height: 168px; object-fit: cover; }
.event-card h3 { font-size: 16px; min-height: 40px; }
.city .cap {
  position: absolute; inset: auto 0 0 0; padding: 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  display: flex; flex-direction: column; gap: 4px; align-items: flex-start;
}
.event-card { box-shadow: var(--shadow); display: flex; flex-direction: column; }
.event-card .thumb { position: relative; }
.event-card .badge { position: absolute; top: 10px; left: 10px; }
.event-card .body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.price { font-weight: 800; color: var(--text); }
.filters-line { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 18px; }
.tab { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px; font-weight: 700; font-size: 13px; cursor: pointer; }
.tab.active { background: var(--purple); color: #fff; border-color: var(--purple); }
.wilaya-banner {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center;
  margin-bottom: 16px;
}
.wnum {
  width: 44px; height: 44px; border-radius: 12px; background: var(--purple);
  color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--display);
}
.center { text-align: center; }

.promo-band {
  background: linear-gradient(135deg, #4c1d95, #7c3aed 45%, #db2777);
  color: #fff; border-radius: 28px; padding: 28px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px;
}
.promo-side { background: rgba(255,255,255,.1); border-radius: 18px; padding: 16px; }
.promo-side p { margin: 6px 0; font-size: 14px; }
.stats { display: flex; gap: 18px; margin-top: 16px; flex-wrap: wrap; }
.stats b { display: block; font-size: 22px; }

/* EVENT PAGE */
.crumbs { padding: 16px 0; font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.crumbs a:hover { color: var(--purple); }
.event-hero h1 { font-size: clamp(28px, 4vw, 42px); margin: 8px 0; }
.meta-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 22px; }
.meta { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; font-size: 13px; min-width: 140px; }
.meta b { display: block; font-size: 11px; color: var(--muted); font-weight: 700; }
.layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 18px; align-items: start; }
.cat { border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin-bottom: 10px; background: #fff; }
.cat.vip { border-color: #f9a8d4; background: #fff1f8; }
.cat-top { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 800; }
.qty span { min-width: 16px; text-align: center; font-weight: 800; }
.sticky-box { position: sticky; top: 86px; }
.seatmap { background: linear-gradient(180deg, #3b0764, #6d28d9); color: #fff; border-radius: 16px; padding: 18px; text-align: center; min-height: 180px; }
.stage { background: #fff; color: var(--purple); border-radius: 999px; padding: 8px 18px; display: inline-block; font-weight: 800; font-size: 12px; margin-bottom: 14px; }
.zone { border: 1px dashed rgba(255,255,255,.4); border-radius: 12px; padding: 8px; margin: 6px auto; font-size: 12px; max-width: 90%; }
.zone.gold { background: rgba(251,191,36,.25); }
.artists, .infos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.artist { display: flex; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.dot { width: 38px; height: 38px; border-radius: 12px; background: var(--purple-soft); display: grid; place-items: center; flex-shrink: 0; color: var(--purple); }
.dot .ico { width: 18px; height: 18px; }
.info-item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px;
  display: grid; grid-template-columns: 38px 1fr; gap: 2px 10px; align-items: start;
}
.info-item .dot { grid-row: 1 / span 2; }
.info-item p { margin: 0; }
.line { height: 1px; background: var(--line); margin: 12px 0; }
.total { font-size: 22px; font-weight: 800; }
.tiny { font-size: 12px; }
.pay-logos { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.pay-logos span { border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; font-size: 11px; font-weight: 800; }

/* TICKET */
.okbar { background: var(--ok); border: 1px solid #a7f3d0; color: #065f46; border-radius: 16px; padding: 12px 14px; margin: 12px 0 18px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.qrbox { border: 1px dashed #c4b5fd; border-radius: 20px; padding: 18px; text-align: center; background: #faf5ff; }
.qr {
  width: 180px; height: 180px; margin: 12px auto; background: #fff; border-radius: 12px; padding: 10px;
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px;
}
.qr i { background: #3b0764; display: block; border-radius: 1px; }
.qr i.off { background: transparent; }
.barcode { letter-spacing: 3px; font-weight: 800; font-size: 12px; margin-top: 8px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.step .num { width: 28px; height: 28px; border-radius: 50%; background: var(--purple); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 8px; }
.help { background: linear-gradient(90deg, #5b21b6, #7c3aed); color: #fff; border-radius: 20px; padding: 18px; display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.ticket-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 18px; align-items: start; }
.fields { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 10px; margin: 14px 0; }
.field b { display: block; font-size: 11px; color: var(--muted); }
.mapbox { height: 140px; border-radius: 14px; overflow: hidden; position: relative; background: #1f2937; }
.mapbox img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.vip-list { list-style: none; font-size: 13px; }
.vip-list li { padding: 8px 0; border-bottom: 1px solid var(--line); display: flex; gap: 8px; }
.actions-stack { display: grid; gap: 8px; }
.actions-stack .btn { justify-content: center; }

/* PRO */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { padding: 16px; }
.kpi b { font-size: 26px; display: block; margin-top: 8px; }
.kpi .delta { color: var(--green); font-size: 12px; font-weight: 800; }
.chart {
  height: 180px; border-radius: 16px;
  background: linear-gradient(#fff, #faf5ff);
  position: relative; overflow: hidden;
}
.chart svg { width: 100%; height: 180px; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; color: var(--muted); font-size: 12px; padding: 10px; }
.table td { padding: 12px 10px; border-top: 1px solid var(--line); vertical-align: middle; }
.progress { height: 8px; background: #eee; border-radius: 99px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--purple); }
.paybar { display: grid; gap: 10px; }
.payrow { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: 13px; }
.gates { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.gate { background: #faf5ff; border-radius: 14px; padding: 12px; }
.alert { border: 1px solid #fecaca; background: #fef2f2; border-radius: 12px; padding: 10px; font-size: 13px; margin-top: 8px; }
.tool { border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 8px; }
.pro-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: end; margin-bottom: 18px; }
.split { display: grid; grid-template-columns: 1.5fr .9fr; gap: 14px; }
.evthumb { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; }

.app-ad {
  margin: 8px 16px 0;
  background: linear-gradient(135deg, #3b0764 0%, #6d28d9 42%, #ea580c 100%);
  color: #fff;
  border-radius: 36px;
  padding: 56px 0 48px;
  overflow: hidden;
}
.app-ad-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 32px;
  align-items: center;
}
.app-ad h2 { font-size: clamp(32px, 5vw, 52px); margin: 12px 0 14px; }
.app-ad p.lead-app { font-size: 18px; max-width: 540px; opacity: .95; }
.dl-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.dl-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: #1a1230; border-radius: 16px;
  padding: 14px 22px; min-width: 220px; font-weight: 800;
}
.dl-btn small { display: block; font-size: 11px; font-weight: 700; color: #6b6380; }
.dl-btn strong { font-size: 18px; }
.app-frame {
  justify-self: center;
  width: min(280px, 100%);
  border-radius: 36px;
  overflow: hidden;
  border: 8px solid #12081c;
  box-shadow: 0 28px 60px rgba(0,0,0,.35);
  background: #12081c;
}
.app-frame img { width: 100%; height: auto; display: block; }
.phone {
  position: absolute; width: 180px; height: 360px; border-radius: 28px;
  background: #1a1230; border: 6px solid #0f0818; box-shadow: 0 24px 50px rgba(0,0,0,.35);
  overflow: hidden;
}
.phone .screen { height: 100%; background: linear-gradient(#faf5ff, #fff); padding: 18px 12px; color: #1a1230; }
.phone .screen b { display: block; font-size: 13px; margin-bottom: 8px; }
.phone .bar { height: 10px; background: #ede9fe; border-radius: 99px; margin: 6px 0; }
.phone .bar.og { background: #fdba74; width: 70%; }
.p1 { left: 18%; top: 0; transform: rotate(-8deg); }
.p2 { right: 8%; top: 28px; transform: rotate(8deg); }

footer {
  background: #160e28;
  color: #c9bdd9;
  border-top: 0;
  padding: 52px 0 22px;
  margin-top: 0;
  font-size: 14px;
}
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
footer .logo {
  color: #fff;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
footer .logo .brand { width: 38px; height: 46px; }
footer .logo .word,
footer .logo .word-row { display: flex; align-items: center; }
footer .wordmark {
  height: 24px;
  width: auto;
  max-width: 160px;
  display: block;
  object-fit: contain;
}
footer p { max-width: 320px; line-height: 1.6; }
footer h4 { color: #fff; margin-bottom: 14px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
footer ul { list-style: none; }
footer li { margin: 8px 0; }
footer a:hover { color: #fff; }
footer .soon { color: #9b8fb0; }
footer .pay-logos { margin-top: 16px; }
footer .pay-logos span { border-color: rgba(255,255,255,.18); color: #fff; }
.foot-copy {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 32px; padding-top: 16px;
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  font-size: 12px; color: #9b8fb0;
}
.dl-btn.soon {
  opacity: .55; cursor: default; pointer-events: none;
  background: rgba(255,255,255,.86);
}
.pay-choice { display: grid; gap: 10px; margin-top: 14px; }
.pay-choice .btn { width: 100%; justify-content: center; }
.pay-note { font-size: 12px; color: var(--muted); margin-top: 8px; text-align: center; line-height: 1.45; }
.event-pay-mobile { display: none; }
.account-box {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 22px; margin: 0 auto 28px; max-width: 560px; text-align: left;
  box-shadow: var(--shadow);
}
.feed-empty {
  grid-column: 1 / -1;
  margin: 8px 0 12px;
  padding: 28px 18px;
  text-align: center;
  color: var(--muted);
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

@media (max-width: 1100px) {
  .nav-links {
    display: none;
    position: absolute;
    left: 12px; right: 12px; top: calc(100% + 8px);
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 10px; flex-direction: column; z-index: 50;
    box-shadow: var(--shadow); max-height: min(70vh, 480px); overflow: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 12px; border-radius: 12px; }
  .nav-links .mobile-only { display: block; }
  .menu-btn { display: inline-flex; flex-shrink: 0; min-height: 44px; }
  .nav-actions { display: none; }
  .topbar-inner { position: relative; flex-wrap: nowrap; min-height: 60px; gap: 8px; }
  .header-search { flex: 1 1 auto; width: auto; min-width: 0; }
  .smart-search.header-search { flex: 1 1 auto; width: auto; min-width: 0; }
  .header-search .smart-results { min-width: 100%; width: 100%; left: 0; right: 0; }
  .events.featured { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  html, body { overflow-x: hidden; }
  .wrap { width: min(1180px, calc(100% - 24px)); }
  .smart-search { min-width: 100%; }
  .smart-search.header-search { min-width: 0; width: auto; flex: 1 1 auto; }
  .section-head { align-items: stretch; flex-direction: column; gap: 12px; }
  .cities, .events, .layout, .kpis, .artists, .infos, .steps, .foot-grid, .searchbar, .searchbar.wsearch, .promo-band, .ticket-grid, .split, .fields, .gates, .plans, .app-ad-inner, .ticket-gen, .feat-row, .why { grid-template-columns: 1fr; }
  .searchbar .sdiv { display: none; }
  .searchbar, .searchbar.wsearch {
    border-radius: 22px;
    padding: 10px;
    gap: 2px;
    margin-top: 20px;
  }
  .searchbar .sf { padding: 8px 10px; border-bottom: 1px solid var(--line); }
  .searchbar .btn { width: 100%; margin-top: 6px; min-height: 44px; }
  .featured-plan { transform: none; }
  .phones { min-height: 280px; }
  .sticky-box { position: static; }
  .userchip span { display: none; }
  .filters-line, .chips, .region-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
  }
  .filters-line::-webkit-scrollbar, .chips::-webkit-scrollbar, .region-tabs::-webkit-scrollbar { display: none; }
  .tab, .chip { flex-shrink: 0; }
  .chips .muted { flex: 0 0 100%; }
  .org-cta { padding: 20px; }
  .app-ad { margin: 8px 8px 0; border-radius: 24px; padding: 32px 0 28px; }
  .dl-btn { min-width: 0; width: 100%; justify-content: center; }
  .home-hero { padding: 28px 0 18px; }
}
@media (max-width: 640px) {
  .cats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .orb { width: 64px; height: 64px; }
  .orb .ico { width: 24px; height: 24px; }
  .cat-item b { font-size: 11px; line-height: 1.25; }
  .events, .events.featured, .cities { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .event-hero h1 { font-size: 26px; }
  .event-card h3 { min-height: 0; }
  .cat-top { flex-wrap: wrap; }
  .qty button { width: 40px; height: 40px; }
  .meta { min-width: 0; flex: 1 1 100%; }
  .btn { min-height: 44px; }
  input, select, textarea { font-size: 16px; }
  .app-ad h2 { font-size: 28px; }
  .app-frame { width: min(240px, 78%); }
  .logo { gap: 6px; min-width: 0; }
  .logo .brand { width: 30px; height: 36px; }
  .topbar .logo .word { display: none; }
  .logo .wordmark { height: 18px; }
  .topbar .logo .tld, .topbar .logo small { display: none; }
  .header-search .box { padding: 6px 10px; }
  .header-search input { min-width: 0; }
  footer {
    padding: 32px 0 calc(22px + env(safe-area-inset-bottom, 0px));
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px 18px;
  }
  .foot-grid > div:first-child {
    grid-column: 1 / -1;
  }
  footer .logo {
    display: flex;
    margin-bottom: 10px;
    gap: 8px;
  }
  footer .logo .brand { width: 36px; height: 44px; }
  footer .logo .word,
  footer .logo .word-row { display: flex; }
  footer .wordmark { height: 22px; max-width: 140px; }
  footer .tld { display: inline; color: #fff; font-size: 16px; }
  footer p { max-width: none; font-size: 13px; }
  footer h4 { margin-bottom: 10px; font-size: 12px; }
  footer li { margin: 7px 0; }
  footer .pay-logos { margin-top: 12px; }
  .foot-copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 24px;
  }
  .page-event { padding-bottom: 84px; }
  .event-pay-mobile {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    background: #fff; border-top: 1px solid var(--line);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 24px rgba(26, 18, 48, .08);
  }
}
