:root {
  --white: #ffffff;
  --muted-white: rgba(255, 255, 255, 0.85);
  --line: rgba(255, 255, 255, 0.24);
  --search-bg: rgba(51, 60, 74, 0.9);
  --search-br: rgba(255, 255, 255, 0.2);
  --ticket: #bb5f3b;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.data-source-banner {
  position: relative;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.55rem 1rem;
  background: rgba(180, 95, 50, 0.92);
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
}

.data-source-banner[hidden] {
  display: none !important;
}

.banner-dismiss {
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
  padding: 0.2rem 0.55rem;
  font-size: 0.74rem;
  cursor: pointer;
  border-radius: 4px;
}

.hero-app {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: var(--white);
}

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.bg-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.34) 36%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.topbar,
.content,
.drawer {
  position: relative;
  z-index: 2;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.93rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted-white);
}

.spacer {
  flex: 1;
}

.ticket-btn {
  text-decoration: none;
  color: var(--white);
  background: var(--ticket);
  padding: 0.55rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 600;
}

.search-widget {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(20, 26, 35, 0.52);
  color: var(--white);
  cursor: pointer;
}

.search-icon-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.top-search-form {
  position: absolute;
  right: calc(100% + 0.5rem);
  top: 50%;
  transform: translateY(-50%);
  width: min(42vw, 420px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(20, 26, 35, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.search-widget.open .top-search-form {
  opacity: 1;
  pointer-events: auto;
}

.top-search-form input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--white);
  padding: 0.58rem 0.65rem;
  font-size: 0.88rem;
  outline: none;
}

.top-search-form input::placeholder {
  color: rgba(255, 255, 255, 0.74);
}

.content {
  min-height: calc(100vh - 69px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.2rem, 3vw, 2.2rem);
  padding-top: clamp(1.8rem, 6vw, 3.2rem);
}

h1 {
  margin: 0;
  font-family: "Nunito Sans", "Inter", system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 11vw, 5.8rem);
  letter-spacing: 0.03em;
  line-height: 0.95;
  text-transform: uppercase;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: min(320px, 84vw);
  height: 100vh;
  background: rgba(16, 20, 29, 0.95);
  backdrop-filter: blur(6px);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  transform: translateX(-102%);
  transition: transform 0.22s ease;
}

.drawer.open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.drawer-head h2 {
  margin: 0;
  font-size: 1.04rem;
}

.close-btn {
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 1.35rem;
  cursor: pointer;
}

.category-list {
  display: grid;
  gap: 0.5rem;
}

.category-item {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.02);
  color: var(--white);
  text-align: left;
  padding: 0.68rem 0.75rem;
  cursor: pointer;
}

.category-item.active {
  background: rgba(255, 255, 255, 0.13);
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .top-search-form {
    width: min(62vw, 280px);
  }

  .content {
    min-height: calc(100vh - 61px);
  }
}
