:root {
  --ink: #101914;
  --green: #21bf73;
  --lime: #b6f268;
  --paper: #f5f6f2;
  --white: #fff;
  --muted: #6c7771;
  --line: #dce3df;
  --orange: #ff6b3d;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.5 system-ui,
    sans-serif;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  text-decoration: none;
  color: inherit;
}
body > header {
  height: 78px;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 max(4vw, 25px);
  gap: 35px;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #e8ece9;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand i {
  font-style: normal;
  background: var(--green);
  color: #fff;
  width: 35px;
  height: 35px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-weight: 900;
}
.brand b {
  font-size: 19px;
}
.brand span {
  font-size: 8px;
  background: #e5f8ee;
  color: #07834d;
  padding: 3px 5px;
  border-radius: 4px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.search {
  height: 42px;
  max-width: 450px;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 0 13px;
  gap: 8px;
}
.search input {
  border: 0;
  outline: 0;
  width: 100%;
}
nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}
nav button {
  border: 0;
  background: none;
}
.admin-link {
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 9px;
}
.event-hero {
  min-height: 590px;
  background: radial-gradient(circle at 80% 40%, #28523c, #101914 55%);
  color: #fff;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  padding: 80px max(7vw, 35px);
  align-items: center;
  overflow: hidden;
}
.overline,
.section-title > div > span,
.organizer > div > span {
  color: var(--lime);
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 850;
}
.hero-content h1 {
  font-size: clamp(52px, 6vw, 82px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  margin: 22px 0;
}
.hero-content h1 em {
  font-style: normal;
  color: var(--lime);
}
.hero-content > p {
  color: #c1cdc7;
  font-size: 18px;
  max-width: 620px;
}
.cta {
  display: inline-block;
  background: var(--green);
  padding: 14px 20px;
  border-radius: 10px;
  font-weight: 800;
  margin-top: 20px;
}
.hero-proof {
  display: block;
  color: #9dafa6;
  font-size: 11px;
  margin-top: 18px;
}
.hero-pass {
  width: 390px;
  justify-self: end;
  background: #fff;
  color: var(--ink);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 35px 80px #0007;
  transform: rotate(2deg);
  position: relative;
}
.hero-pass::after {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  bottom: 77px;
  border-top: 2px dashed #dce3df;
}
.event-date {
  display: flex;
  align-items: center;
  gap: 9px;
  float: right;
}
.event-date > b {
  font-size: 38px;
}
.event-date span {
  font-size: 9px;
  font-weight: 800;
  line-height: 1.2;
}
.hero-pass > small {
  color: var(--orange);
  font-weight: 800;
}
.hero-pass h3 {
  font-size: 28px;
  margin: 32px 0 2px;
}
.hero-pass p {
  color: var(--muted);
}
.route {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 35px 0 42px;
  font-size: 8px;
  font-weight: 800;
}
.route i {
  height: 2px;
  background: #b8c4be;
  flex: 1;
}
.reserved {
  color: var(--green);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.benefit-bar {
  background: #fff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 25px max(5vw, 30px);
  box-shadow: 0 10px 30px #12331f0a;
}
.benefit-bar div {
  padding: 0 25px;
  border-right: 1px solid var(--line);
}
.benefit-bar div:last-child {
  border: 0;
}
.benefit-bar b,
.benefit-bar span {
  display: block;
}
.benefit-bar b {
  font-size: 13px;
}
.benefit-bar span {
  font-size: 10px;
  color: var(--muted);
}
.events-section {
  padding: 90px max(6vw, 30px);
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.section-title > div > span,
.organizer > div > span {
  color: var(--green);
}
.section-title h2,
.organizer h2 {
  font-size: 43px;
  letter-spacing: -0.04em;
  margin: 8px 0;
}
.section-title p {
  color: var(--muted);
}
.filters {
  display: flex;
  gap: 7px;
}
.filters button {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 13px;
  border-radius: 20px;
}
.filters .active {
  background: var(--ink);
  color: #fff;
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.event-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  overflow: hidden;
  transition: 0.2s;
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px #14382214;
}
.event-cover {
  height: 190px;
  padding: 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.event-cover::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border: 1px solid #ffffff22;
  border-radius: 50%;
  right: -60px;
  top: -70px;
  box-shadow: 0 0 0 45px #ffffff0a;
}
.event-cover span {
  z-index: 1;
  background: #0003;
  align-self: flex-start;
  padding: 4px 7px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 800;
}
.event-cover strong {
  z-index: 1;
  font-size: 29px;
  line-height: 1.05;
  max-width: 85%;
}
.event-body {
  padding: 18px;
}
.event-info {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 12px;
}
.calendar {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.calendar b,
.calendar span {
  display: block;
}
.calendar b {
  background: #edf4f0;
  color: var(--green);
  font-size: 9px;
}
.calendar span {
  font-size: 19px;
  font-weight: 900;
}
.event-body h3 {
  margin: 0;
  font-size: 17px;
}
.event-body p {
  margin: 2px 0;
  color: var(--muted);
  font-size: 11px;
}
.event-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  margin-top: 15px;
  padding-top: 14px;
}
.event-footer small,
.event-footer b {
  display: block;
}
.event-footer small {
  color: var(--muted);
  font-size: 9px;
}
.event-footer b {
  font-size: 18px;
}
.event-footer button {
  border: 0;
  background: var(--green);
  color: #fff;
  padding: 9px 13px;
  border-radius: 8px;
  font-weight: 750;
}
.skeleton {
  height: 370px;
  background: linear-gradient(90deg, #fff, #edf1ee, #fff);
  background-size: 200%;
  border-radius: 17px;
  animation: shim 1s infinite;
}
@keyframes shim {
  to {
    background-position: -200%;
  }
}
#empty {
  text-align: center;
  color: var(--muted);
  padding: 50px;
}
.organizer {
  margin: 20px max(6vw, 30px) 90px;
  background: var(--ink);
  color: #fff;
  border-radius: 24px;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.organizer h2 {
  max-width: 700px;
}
.organizer p {
  color: #aebdb5;
}
.organizer > a {
  background: var(--lime);
  color: var(--ink);
  padding: 13px 18px;
  border-radius: 9px;
  font-weight: 800;
}
body > footer {
  background: #fff;
  padding: 40px max(6vw, 30px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  color: var(--muted);
}
body > footer p {
  text-align: right;
}
body > footer small {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
dialog {
  width: min(760px, calc(100% - 22px));
  border: 0;
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 35px 100px #07140eaa;
  color: var(--ink);
}
dialog::backdrop {
  background: #06130dba;
  backdrop-filter: blur(5px);
}
.close {
  position: absolute;
  right: 15px;
  top: 13px;
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 50%;
  z-index: 2;
}
.detail-hero {
  padding: 45px;
  color: #fff;
}
.detail-hero span {
  font-size: 10px;
  font-weight: 800;
}
.detail-hero h2 {
  font-size: 38px;
  margin: 13px 0 4px;
}
.detail-hero p {
  margin: 0;
}
.detail-body {
  padding: 27px;
}
.detail-body > h3 {
  margin-top: 0;
}
.sector {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 16px;
  margin-top: 12px;
}
.sector-head,
.offer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sector-head p {
  margin: 2px 0;
  color: var(--muted);
  font-size: 11px;
}
.offer {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 12px;
}
.offer button,
.purchase-form button,
.lookup button,
.ticket-ready button,
.purchase-error button {
  border: 0;
  background: var(--green);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 800;
}
.ticket-ready .check,
.purchase-error .check {
  width: 50px;
  height: 50px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e2f8ec;
  color: var(--green);
  font-size: 24px;
  font-weight: 900;
}
.purchase-error .check {
  background: #fff0eb;
  color: var(--orange);
}
.offer button:disabled {
  background: #b8c2bd;
  cursor: not-allowed;
}
.availability-note {
  background: #f3f6f4;
  color: var(--muted);
  padding: 12px;
  border-radius: 9px;
}
.purchase {
  padding: 35px;
}
.purchase h2 {
  font-size: 28px;
}
.purchase-summary {
  background: #eef5f1;
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 18px;
}
.purchase-summary b,
.purchase-summary span {
  display: block;
}
.purchase-form,
.lookup form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.purchase-form label,
.lookup label {
  font-size: 11px;
  font-weight: 750;
}
.purchase-form label:first-child,
.purchase-form button,
.purchase-form .terms {
  grid-column: 1/-1;
}
.purchase-form input,
.lookup input {
  width: 100%;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 4px;
}
.terms {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--muted);
}
.terms input {
  width: auto;
  margin: 0;
}
.buy-processing,
.ticket-ready {
  text-align: center;
  padding: 42px;
}
.loader {
  width: 54px;
  height: 54px;
  border: 5px solid #dff6e9;
  border-top-color: var(--green);
  border-radius: 50%;
  margin: auto;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.ticket-ready img {
  width: 230px;
}
.ticket-ready strong {
  display: block;
  font-size: 18px;
  letter-spacing: 0.12em;
}
.lookup {
  padding: 38px;
}
.lookup form {
  margin-top: 20px;
}
.lookup form button {
  grid-column: 1/-1;
}
.lookup-found {
  text-align: center;
  background: #e7f8ef;
  padding: 15px;
  margin-top: 16px;
  border-radius: 12px;
}
.lookup-found img {
  width: 180px;
  display: block;
  margin: auto;
}
.lookup-found strong,
.lookup-found small {
  display: block;
}
.lookup-found strong {
  margin-top: 8px;
  letter-spacing: 0.08em;
}
.lookup-found small {
  margin-top: 3px;
  color: var(--muted);
}
#toast {
  position: fixed;
  z-index: 30;
  right: 25px;
  bottom: 25px;
  background: var(--ink);
  color: #fff;
  padding: 11px 16px;
  border-radius: 8px;
  opacity: 0;
  transition: 0.2s;
}
#toast.show {
  opacity: 1;
}
@media (max-width: 850px) {
  body > header nav {
    display: none;
  }
  .event-hero {
    grid-template-columns: 1fr;
  }
  .hero-pass {
    display: none;
  }
  .benefit-bar {
    grid-template-columns: 1fr 1fr;
  }
  .benefit-bar div {
    padding: 12px;
  }
  .event-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section-title {
    display: block;
  }
  .filters {
    margin-top: 20px;
    overflow: auto;
  }
  .organizer {
    display: block;
    padding: 35px;
  }
  .organizer > a {
    display: inline-block;
    margin-top: 20px;
  }
}
@media (max-width: 560px) {
  body > header {
    padding: 0 14px;
  }
  .brand span,
  .search {
    display: none;
  }
  .event-hero {
    padding: 60px 22px;
    min-height: 520px;
  }
  .hero-content h1 {
    font-size: 48px;
  }
  .benefit-bar,
  .event-grid {
    grid-template-columns: 1fr;
  }
  .benefit-bar div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .events-section {
    padding: 65px 18px;
  }
  .section-title h2 {
    font-size: 35px;
  }
  .organizer {
    margin: 10px 18px 60px;
  }
  .purchase-form,
  .lookup form {
    grid-template-columns: 1fr;
  }
  .purchase-form label:first-child,
  .purchase-form button,
  .purchase-form .terms,
  .lookup form button {
    grid-column: auto;
  }
  body > footer {
    grid-template-columns: 1fr;
  }
  body > footer p {
    text-align: left;
  }
}
