.gallery-hero {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 20px;
  background:
    linear-gradient(rgba(10, 5, 2, 0.72), rgba(10, 5, 2, 0.85)),
    radial-gradient(circle at center, rgba(212, 175, 55, 0.22), transparent 55%),
    #050302;
  color: #fff;
  text-align: center;
}

.gallery-hero-inner {
  max-width: 850px;
}

.gallery-kicker {
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
}

.gallery-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  margin: 10px 0;
  color: #f5d76e;
}

.gallery-hero p {
  font-size: 1.1rem;
  color: #f7ead0;
}

.gallery-section {
  padding: 70px 20px;
  background: #0b0604;
}

.gallery-panel {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

.gallery-panel h2 {
  color: #f5d76e;
  font-size: 2.3rem;
  margin-bottom: 8px;
}

.gallery-subtitle {
  color: #eadfc7;
  margin-bottom: 26px;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 35px;
}

.filter-btn {
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: transparent;
  color: #f5d76e;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

.filter-btn.active,
.filter-btn:hover {
  background: #d4af37;
  color: #140b04;
}

.event-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.event-gallery-card {
  overflow: hidden;
  border-radius: 22px;
  background: #160d08;
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
}

.event-gallery-thumb {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(0, 0, 0, 0.7)),
    #24150b;
  color: #f5d76e;
  font-weight: 800;
  text-align: center;
  padding: 20px;
}

.event-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-gallery-info {
  padding: 22px;
}

.event-gallery-info h3 {
  color: #fff;
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.event-gallery-info p {
  color: #e8dac2;
  margin: 0 0 12px;
}

.event-gallery-info span {
  color: #d4af37;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 1px;
}

@media (max-width: 700px) {
  .gallery-panel {
    padding: 26px 18px;
  }

  .gallery-hero {
    min-height: 340px;
  }
}

.event-gallery-card {
  text-decoration: none;
  color: inherit;
}

/* Smaller main gallery card */
.gallery-panel .event-gallery-grid {
  max-width: 360px;
  margin: 30px auto 0;
}

.gallery-panel .event-gallery-thumb {
  min-height: auto;
}

.gallery-panel .event-gallery-thumb img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: #070403;
}

.video-thumb video {
  width: 100%;
  max-height: 420px;
  border-radius: 16px;
  background: #000;
}

/* Compact event gallery carousel */
.compact-gallery-hero {
  min-height: 300px;
  padding: 60px 20px;
}

.compact-gallery-section {
  padding-top: 35px;
}

.carousel-panel {
  max-width: 900px;
}

.gallery-back-link {
  display: inline-block;
  color: #d4af37;
  text-decoration: none;
  font-weight: 800;
  margin-bottom: 22px;
}

.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
}

.gallery-tab {
  border: 1px solid rgba(212,175,55,.45);
  background: transparent;
  color: #d4af37;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 800;
  cursor: pointer;
}

.gallery-tab.active {
  background: #d4af37;
  color: #140b04;
}

.media-carousel {
  display: none;
  position: relative;
}

.media-carousel.active {
  display: block;
}

.carousel-track {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  background: #080504;
  border-radius: 24px;
  border: 1px solid rgba(212,175,55,.2);
  overflow: hidden;
}

.carousel-slide {
  display: none;
  width: 100%;
  height: 100%;
  place-items: center;
}

.carousel-slide.active {
  display: grid;
}

.carousel-slide img,
.carousel-slide video {
  max-width: 100%;
  max-height: 560px;
  object-fit: contain;
  border-radius: 18px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,.5);
  background: rgba(0,0,0,.65);
  color: #d4af37;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}

.carousel-arrow.prev {
  left: 16px;
}

.carousel-arrow.next {
  right: 16px;
}

.carousel-count {
  color: #d4af37;
  text-align: center;
  font-weight: 800;
  margin-top: 15px;
}

@media (max-width: 700px) {
  .carousel-track {
    min-height: 420px;
  }

  .carousel-slide img,
  .carousel-slide video {
    max-height: 420px;
  }

  .carousel-arrow {
    width: 42px;
    height: 42px;
    font-size: 2rem;
  }
}

.event-recap {
  max-width: 850px;
  margin: 25px auto 40px;
  text-align: center;
}

.event-recap h1 {
  color: #f5d76e;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 18px;
}

.event-recap p {
  color: #eadfc7;
  line-height: 1.8;
  margin-bottom: 16px;
}

.event-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.event-highlights span {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.3);
  color: #d4af37;
  font-weight: 800;
}

.event-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 35px auto 40px;
}

.event-stat-card {
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.04),
    rgba(212,175,55,0.08)
  );
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 20px;
  padding: 22px 16px;
  text-align: center;
}

.event-stat-card span {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.event-stat-card strong {
  display: block;
  color: #f5d76e;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.event-stat-card small {
  color: #eadfc7;
  font-size: .9rem;
}

@media (max-width: 900px) {
  .event-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.event-next-cta {
  max-width: 760px;
  margin: 45px auto 0;
  padding: 34px 24px;
  border-radius: 26px;
  text-align: center;
  background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(212,175,55,0.08));
  border: 1px solid rgba(212,175,55,0.28);
}

.event-next-cta h2 {
  color: #f5d76e;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.event-next-cta p {
  color: #eadfc7;
  margin-bottom: 22px;
}

.event-next-cta .membership-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 16px 34px;
  border-radius: 999px;
  background: #d4af37 !important;
  color: #120804 !important;
  text-decoration: none;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: .5px;
  box-shadow: 0 0 30px rgba(212,175,55,0.45);
  border: 2px solid #f5d76e;
}

.event-next-cta .membership-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(212,175,55,0.65);
}
