.top-bar {
  position: absolute;
  inset: 0 0 auto 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  width: 100%;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(4px);
  z-index: 10;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, transform 0.3s ease;
}

.top-bar.detached {
  z-index: 10;
  margin-left: 10px;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 100vw);
  padding: 8px 32px;
  background: rgba(6, 6, 6, 0.62);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.5);
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}

.top-nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.mobile-cta {
  display: none;
  gap: 8px;
  width: 100%;
}

.top-nav a {
  color: #f6f6f6;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-decoration: none;
  font-weight: 700;
  padding: 8px 0;
  position: relative;
}

.top-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: rgba(223, 255, 0, 0.7);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.top-nav a:hover::after,
.top-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.35);
  color: inherit;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
}

.menu-toggle-bar {
  width: 20px;
  height: 2px;
  background: #f6f6f6;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.top-bar.menu-open .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.top-bar.menu-open .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.top-bar.menu-open .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.top-bar.detached .top-nav {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  margin-right: 20px;
}

#events,
#deals,
#app {
  scroll-margin-top: 100px;
}

.top-bar-link {
  margin-right: 20px;
  color: #f6f6f6;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.26);
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.top-bar-link .accent-peared {
  color: #dfff06;
}

.top-bar-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
}

.header-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-bottom: 120px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.header-hero-content,
.header-hero-title {
  position: absolute;
  top: 30%;
  left: 52%;
  transform: translateX(-50%);
  text-align: right;
  z-index: 5;
  pointer-events: none;
  width: 92%;
}

.header-hero-content h1,
.header-hero-title h1 {
  margin: 0;
  font-family: "Bebas Neue", "Anton", sans-serif;
  font-size: clamp(64px, 9vw, 105px);
  line-height: 1;
  letter-spacing: 0.08em;
  color: transparent;
  background: #dfff06;
  -webkit-background-clip: text;
  background-clip: text;
  text-transform: uppercase;
  transform: scaleY(1.3);
  text-shadow: #e863a4 3px 3px;
  position: relative;
}

.header-hero-content h1 span,
.header-hero-title h1 span {
  color: #dfff00;
  text-shadow: #e863a4 3px 3px;
}

.header-hero-content .header-hero-subtitle,
.header-hero-title .header-hero-subtitle {
  color: #fff;
}

.header-hero-subtitle {
  margin-top: 25px;
  margin-right: 5px;
  margin-bottom: 0;
}


.header-hero-alt-subtitle {
  color: #dfff00;
  margin-top: 0;
}

.header-hero-content .header-hero-cta,
.header-hero-title .header-hero-cta {
  margin-top: 12px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
  pointer-events: auto;
}

@media (max-width: 900px) {

  .header-hero-content,
  .header-hero-title {
    text-align: center;
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: min(520px, 92vw);
    z-index: 5;
    padding: 24px 20px 32px;
  }


  .header-hero-content h1,
  .header-hero-title h1 {
    transform: none;
    font-size: clamp(52px, 12vw, 90px);
  }

  .header-hero-content .header-hero-cta,
  .header-hero-title .header-hero-cta {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .header-hero {
    padding-bottom: 100px;
  }

  .header-hero-content,
  .header-hero-title {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: min(520px, 92vw);
    z-index: 5;
    padding: 24px 20px 32px;
  }

  .header-hero-subtitle,
  .header-hero-alt-subtitle {
    margin-top: 14px;
  }

  .header-hero-content .header-hero-cta,
  .header-hero-title .header-hero-cta {
    display: none;
  }

  .mobile-cta {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .mobile-cta .cta-button {
    width: 100%;
  }

  .top-nav {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    gap: 12px;
    width: auto;
    margin-left: 10px;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
}

.header-hero-photo {
  display: block;
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center;
  margin-bottom: -40px;
  opacity: 1;
  position: relative;
  z-index: 1;
}

.header-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg,
      rgba(0, 0, 0, 0.92) 0%,
      rgba(0, 0, 0, 0.68) 18%,
      rgba(0, 0, 0, 0.0) 58%),
    rgba(0, 0, 0, 0.15);
  z-index: 2;
  pointer-events: none;
}

.wavy-bar {
  position: absolute;
  inset: auto 0 -40px 0;
  height: 220px;
  pointer-events: none;
  filter: drop-shadow(0 14px 18px var(--shadow));
  z-index: 4;
}

.wavy-bar svg {
  width: 200%;
  height: 100%;
  display: block;
}

.wave-fill {
  fill: #dfff06;
}

.wave-fill-back {
  fill: #e863a4;
}

.wave-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  fill: #e863a4;
  filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.3));
}

.wave-events {
  position: absolute;
  inset: 28px 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 36px;
  z-index: 6;
  pointer-events: none;
}

.event-card {
  pointer-events: auto;
  background: #fff;
  color: #1d1d1d;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
  display: grid;
  grid-template-columns: 92px 160px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  width: min(1120px, 100%);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #373737;
}

.event-month {
  font-size: 13px;
}

.event-day {
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.event-weekday {
  font-size: 13px;
}

.event-thumb {
  width: 150px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.event-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #292929;
}

.event-title {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.01em;
}

.event-desc {
  margin: 0;
  font-size: 18px;
  line-height: 1.42;
}

.event-meta {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  color: #4a4a4a;
}

.event-cta {
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  background: #364216;
  color: #f5f5f5;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.event-cta:hover {
  background: #43501b;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.26);
}

@media (max-width: 1180px) {
  .event-card {
    grid-template-columns: 88px 140px 1fr;
    padding: 10px;
    gap: 14px;
  }

  .event-title {
    font-size: 24px;
  }

  .event-desc {
    font-size: 17px;
  }
}

.content {
  max-width: 960px;
  width: 100%;
  text-align: center;
  margin-top: 140px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 6vw, 48px);
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 auto;
  max-width: 540px;
  line-height: 1.6;
  font-size: 18px;
}

@media (max-width: 720px) {

  .header-hero-photo {
    height: 360px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 55%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 55%, transparent 100%);
  }

  .wavy-bar {
    inset: auto 0 -30px 0;
    height: 200px;
  }

  .wave-text {
    font-size: 22px;
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.28));
  }

  .content {
    margin-top: 110px;
  }
}

@media (max-width: 453px) {
  .top-bar {
    padding: 8px 16px;
    gap: 8px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .top-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-left: 0;
    padding: 12px 0 0;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
  }

  .top-bar.menu-open .top-nav {
    display: flex;
    width: 90%;
  }

  .top-nav a {
    width: 90%;
    padding: 8px 18px;
  }

  .top-bar-link {
    display: none;
            width: 82%;
    margin: 0;
    text-align: center;
  }

  .top-bar.menu-open .top-bar-link {
    display: block;
  }

  .top-bar.menu-open {
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
    padding-bottom: 16px;
  }

.top-bar.menu-open .menu-toggle {
  align-self: flex-end;
}

}
