:root {
  --bg: #050505;
  --bg-elevated: #0d0d0d;
  --panel: rgba(18, 18, 18, 0.92);
  --panel-soft: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --ink: #f4f0e8;
  --ink-soft: rgba(244, 240, 232, 0.72);
  --line: rgba(255, 255, 255, 0.08);
  --accent: #ff6a00;
  --accent-soft: rgba(255, 106, 0, 0.14);
  --accent-2: #ffe15c;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Bricolage Grotesque", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 106, 0, 0.16), transparent 24%),
    radial-gradient(circle at 100% 0%, rgba(255, 225, 92, 0.1), transparent 22%),
    radial-gradient(circle at 50% 120%, rgba(255, 106, 0, 0.1), transparent 30%),
    linear-gradient(180deg, #030303 0%, #090909 46%, #070707 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
}

img {
  display: block;
  max-width: 100%;
}

a,
button,
input {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
}

.page-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 14px 14px 40px;
}

.topbar {
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(15, 15, 15, 0.96), rgba(10, 10, 10, 0.92)),
    radial-gradient(circle at right top, rgba(255, 106, 0, 0.14), transparent 34%);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo {
  width: 58px;
  height: 58px;
  padding: 8px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.brand h1,
.hero-title,
.section-intro h2,
.panel-heading h2,
.show-item h3 {
  margin: 0;
}

.brand h1,
.hero-title,
.section-intro h2,
.panel-heading h2 {
  font-family: "Bebas Neue", Impact, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand h1 {
  font-size: 2rem;
  line-height: 0.95;
}

.eyebrow,
.meta-label,
.timeline-time,
.contact-role,
.status-pill,
.pill-link,
.count-pill,
.show-date,
.jump-nav a,
.search-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-2);
  font-size: 0.7rem;
}

.topbar-tools {
  display: grid;
  gap: 12px;
}

.search-shell {
  display: grid;
  gap: 8px;
}

.search-label {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

#show-search {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  outline: none;
}

#show-search:focus {
  border-color: rgba(255, 106, 0, 0.5);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.12);
}

.topbar-note {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.show-rail-section {
  margin-top: 18px;
}

.section-intro,
.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.show-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 82%);
  gap: 12px;
  overflow-x: auto;
  padding: 12px 2px 4px;
  scroll-snap-type: x proximity;
}

.show-rail::-webkit-scrollbar {
  height: 8px;
}

.show-rail::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.show-item {
  position: relative;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.96), rgba(10, 10, 10, 0.96)),
    radial-gradient(circle at top right, rgba(255, 106, 0, 0.12), transparent 36%);
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.show-item::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 106, 0, 0.8), transparent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.show-item:hover,
.show-item:focus-visible,
.show-item.is-active {
  transform: translateY(-2px);
  border-color: rgba(255, 106, 0, 0.34);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26);
}

.show-item.is-active::after,
.show-item:hover::after,
.show-item:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.show-date,
.show-meta,
.detail-text,
.contact-meta {
  color: var(--ink-soft);
}

.show-date,
.show-meta {
  margin: 6px 0 0;
  font-size: 0.84rem;
}

.main-content {
  margin-top: 18px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(4, 4, 4, 0.35), rgba(4, 4, 4, 0.84)),
    url("assets/branding/Dekerim Foto 2.jpeg") center/cover no-repeat;
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.88) 82%),
    linear-gradient(115deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.24) 48%, rgba(0, 0, 0, 0.85) 100%),
    radial-gradient(circle at 82% 18%, rgba(255, 106, 0, 0.22), transparent 24%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  min-height: 460px;
  padding: 20px;
  gap: 18px;
}

.hero-copy {
  transform: translateY(12px);
  opacity: 0;
  animation: rise-in 560ms ease forwards;
}

.hero-title {
  max-width: 8ch;
  font-size: clamp(4rem, 21vw, 7rem);
  line-height: 0.88;
  text-wrap: balance;
}

.hero-summary {
  max-width: 34rem;
  margin: 12px 0 0;
  color: rgba(244, 240, 232, 0.84);
  font-size: 1rem;
  line-height: 1.55;
}

.hero-chips,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chips {
  margin-top: 18px;
}

.hero-chip,
.status-pill,
.count-pill,
.pill-link,
.jump-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  text-decoration: none;
}

.hero-stats {
  transform: translateY(14px);
  opacity: 0;
  animation: rise-in 560ms ease 120ms forwards;
}

.hero-stat {
  min-width: 160px;
  flex: 1 1 140px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 8, 0.56);
  backdrop-filter: blur(10px);
}

.hero-stat strong {
  display: block;
  margin: 10px 0 4px;
  font-size: 1.24rem;
}

.status-pill,
.count-pill,
.pill-link {
  color: var(--accent-2);
  background: rgba(255, 225, 92, 0.08);
}

.jump-nav {
  position: sticky;
  top: 10px;
  z-index: 5;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 0 8px;
  margin-bottom: 8px;
}

.jump-nav a {
  white-space: nowrap;
  color: var(--ink-soft);
  background: rgba(14, 14, 14, 0.9);
  backdrop-filter: blur(10px);
}

.jump-nav a:hover,
.jump-nav a:focus-visible {
  color: var(--ink);
  border-color: rgba(255, 106, 0, 0.4);
}

.content-stack {
  display: grid;
  gap: 16px;
}

.panel {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(14, 14, 14, 0.96), rgba(8, 8, 8, 0.96)),
    radial-gradient(circle at top right, rgba(255, 106, 0, 0.08), transparent 32%);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
}

.panel::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 106, 0, 0.42), transparent);
}

.detail-grid,
.contact-list,
.check-list,
.timeline {
  display: grid;
  gap: 12px;
}

.detail-card,
.contact-card,
.check-item,
.timeline-item {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--panel-soft);
}

.meta-label,
.contact-role,
.timeline-time {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-2);
  font-size: 0.72rem;
}

.detail-card h3,
.contact-card h3,
.timeline-item h3 {
  margin: 0 0 8px;
}

.detail-text {
  margin: 0;
  line-height: 1.55;
}

.contact-meta {
  margin: 6px 0 0;
}

.contact-card a {
  color: var(--ink);
}

.check-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check-bullet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}

.timeline-item {
  display: grid;
  gap: 12px;
}

.map-wrap {
  overflow: hidden;
  min-height: 320px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

#map-frame {
  width: 100%;
  min-height: 320px;
  border: 0;
  filter: grayscale(1) contrast(1.04) saturate(0.8);
}

.empty-state {
  padding: 22px;
  border-radius: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-soft);
}

@keyframes rise-in {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (min-width: 760px) {
  .page-shell {
    padding: 18px 18px 56px;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) 420px;
    align-items: center;
    padding: 20px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1.1fr) 280px;
    align-items: end;
    padding: 28px;
  }

  .hero-stats {
    display: grid;
    gap: 12px;
  }

  .timeline-item {
    grid-template-columns: 120px 1fr;
    align-items: start;
  }

  .content-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #timetable-panel,
  #map-panel {
    grid-column: span 2;
  }

  .show-rail {
    grid-auto-columns: minmax(250px, 320px);
  }
}

@media (min-width: 1024px) {
  .content-stack {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  #location-panel,
  #timetable-panel,
  #map-panel {
    grid-column: span 12;
  }

  #organizer-panel,
  #artistcare-panel,
  #travel-panel,
  #setup-panel {
    grid-column: span 6;
  }
}
