/* RESET & BASE */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* PAGE WRAPPER */
.page {
    margin-top: 150px;
  min-height: 100vh;
  background-color: #030b1d;
	color:#fff;
}

/* Shared center width */
.page-header,
.filters-bar,
.events-grid,
.page-footer {
  max-width: 1160px;
  margin: 0 auto;
}

/* HEADER */
.page-header {
  padding: 40px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.page-header-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.page-header h1 {
    margin: 0;
    display: inline-block;
    padding-top: 1em;
    width: auto;
    color: #fff;
    font-size: 42px;
    text-transform: none;
    font-family: 'Montserrat';
    font-weight: 700;
}

/* SEARCH */
.search-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: min(360px, 100%);
}

.search-label {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.85;
}

.search-input-wrapper {
  border-bottom: 2px solid rgba(255,255,255,0.7);
  padding-bottom: 4px;
}

#search-input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  color: inherit;
  font-size: 1.3rem;
}

/* FILTER BAR */
.filters-bar {
  padding: 18px 0 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
}

.filters-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filters-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* CHIPS */
.chip {
  border-radius: 999px;
  padding: 7px 18px;
  border: 2px solid rgba(255,255,255,0.35);
  background: transparent;
  color: #ffffff;
  font-size: 1.3rem;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0.03em;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.chip:hover {
  border-color: rgba(255,255,255,0.8);
}

.chip-active {
  background: #f5f5f5;
  color: #101322;
  border-color: #f5f5f5;
}

/* SORT & BUTTON */
.sort-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem;
  opacity: 0.85;
}

.sort-label span {
  font-weight: 500;
}

.sort-label select {
  background: #020618;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  color: #ffffff;
  padding: 4px 2px;
  font-size: 1.3rem;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 26px;
  border: none;
    font-size: 1.7rem;
    font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.btn-primary {
  background: #1a46ff;
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(0,0,0,0.55);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.6);
  opacity: 0.95;
}

.btn-secondary {
  background: #1a46ff;
  color: #ffffff;
}

/* EVENTS GRID */
.events-grid {
  padding: 26px 0 46px;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 22px;
}

@media (min-width: 880px) {
  .events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* EVENT CARD */
.event-card {
  position: relative;
  background: #11152b;
  box-shadow: 0 18px 42px rgba(0,0,0,0.75);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  cursor: pointer;
}

.event-card-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  filter: saturate(1.1) contrast(1.05) brightness(0.9);
}

/* Global overlay to darken image */
.event-card-overlay {
  position: absolute;
  inset: 0;
}

/* Bottom-half content band */
.event-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px 16px;
  background: linear-gradient(to top, rgb(0 0 0) 0%, rgb(0 0 0) 38%, rgba(0, 0, 0, 0.85) 60%, rgb(0 0 0 / 89%) 80%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Status pill at top left inside cards */
.event-card .status-pill {
  display: inline-block;
  padding: 4px 12px;
  background: #ffffff;
  color: #000000;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  width: fit-content;
}

.status-pill {
  display: inline-block;
  padding: 4px 12px;
  background: #ffffff;
  color: #000000;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* TEXT INSIDE CARDS */
.event-title {
  margin: 4px 0 4px;
  font-size: 3.1rem;
  font-weight: 700;
}

.event-meta-line {
  margin: 0 0 10px;
  font-size: 1.3rem;
  font-weight: 500;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.meta-highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 1.3rem;
}

.meta-highlight i {
  font-size: 0.95rem;
}

/* Top Pick = trophy, gold */
.meta-highlight--top-pick {
  color: #f6c945;
}

.meta-highlight--top-pick i {
  color: #f6c945;
}

/* Featured = star, purple */
.meta-highlight--featured {
  color: #9d7bff;
}

.meta-highlight--featured i {
  color: #9d7bff;
}

.meta-separator {
  opacity: 0.7;
}

.meta-artist,
.meta-date {
  opacity: 0.9;
}

/* footer area */
.event-card-footer {
  margin-top: 4px;
}

/* ensure button sits visually like your ref */
.event-details-button {
  padding-inline: 32px;
}

/* FOOTER */
.page-footer {
  padding: 0 0 24px;
  font-size: 0.82rem;
  opacity: 0.75;
}

.page-footer p {
  margin: 4px 0;
}

.admin-link {
  color: #b7bfff;
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 720px) {
  .page-header {
    padding-top: 28px;
  }

  .page-header-main {
    align-items: flex-start;
  }

  .filters-right {
    justify-content: flex-start;
  }

  .event-title {
    font-size: 1.4rem;
  }

  .event-meta-line {
    font-size: 0.9rem;
  }
}


/* Highlight line (Top Pick / Featured) */
.meta-highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 1.3rem;
}

.meta-highlight i {
  font-size: 0.95rem;
}

/* Top Pick = gold trophy */
.meta-highlight--top-pick {
  color: #f6c945;
}

.meta-highlight--top-pick i {
  color: #f6c945;
}

/* Featured = purple star */
.meta-highlight--featured {
  color: #9d7bff;
}

.meta-highlight--featured i {
  color: #9d7bff;
}
