/* events/css/events.css
   BraveLife Events — all styles for hub + detail pages.
   Design tokens match index.html (main site). */

/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Gilroy', 'Inter', -apple-system, sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ========== FONTS ========== */
@font-face { font-family: 'Gilroy'; src: local('Gilroy-Bold'); font-weight: 700; }
@font-face { font-family: 'Gilroy'; src: local('Gilroy-SemiBold'); font-weight: 600; }
@font-face { font-family: 'Gilroy'; src: local('Gilroy-Medium'); font-weight: 500; }
@font-face { font-family: 'Gilroy'; src: local('Gilroy-Regular'); font-weight: 400; }
@font-face { font-family: 'Gilroy'; src: local('Gilroy-Light'); font-weight: 300; }

/* ========== SHARED TOKENS ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: linear-gradient(152.57deg, #FF5C00 14.71%, #FF8A3D 53.35%, #FFB347 82.59%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
}

.section-label .label-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(152.57deg, #FF5C00 14.71%, #FF8A3D 53.35%, #FFB347 82.59%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(255,92,0,0.4);
}

.section-label .label-icon svg { width: 12px; height: 12px; }

.section-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  font-weight: 300;
  color: #D9D9D9;
  max-width: 700px;
  margin-bottom: 48px;
}

/* ========== GLASS CARD ========== */
.glass-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  box-shadow: 0px 4px 23.4px rgba(0,0,0,0.1), inset 0 1px 0 0 rgba(255,255,255,0.28);
}

.glass-border {
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(18,18,20,0.95), rgba(18,18,20,0.95)) padding-box,
    linear-gradient(160deg,
      rgba(255,255,255,0.38) 0%,
      rgba(255,255,255,0.25) 10%,
      rgba(255,255,255,0.03) 25%,
      rgba(255,255,255,0.0) 50%,
      rgba(255,255,255,0.03) 75%,
      rgba(255,255,255,0.22) 90%,
      rgba(255,255,255,0.32) 100%) border-box;
}

/* ========== HERO BANNER (Hub) ========== */
.events-hero {
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.events-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255,92,0,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.events-hero .section-title { font-size: 48px; }

/* ========== EVENT CARDS (Shared) ========== */
.event-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}

.event-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(255,92,0,0.15);
}

.event-card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, rgba(255,92,0,0.1) 0%, rgba(30,30,30,1) 100%);
}

.event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.25s ease-out;
}

.event-card:hover .event-card-image img {
  transform: scale(1.05);
}

.event-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

.event-card-badge.upcoming {
  background: linear-gradient(152.57deg, #FF5C00, #FF8A3D, #FFB347);
  color: #fff;
}

.event-card-badge.completed {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
}

.event-card-content {
  position: relative;
  padding: 56px 20px 20px;
  margin-top: -56px;
  background: linear-gradient(to top, rgba(17,17,17,1) 35%, rgba(17,17,17,0.85) 55%, transparent 100%);
  z-index: 1;
}

.event-card-title {
  font-family: 'Gilroy', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.event-card-location {
  font-size: 14px;
  color: #D9D9D9;
  font-weight: 300;
  margin-bottom: 12px;
}

.event-card-stats {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}

.event-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}

.event-card-cta.primary {
  background: linear-gradient(152.57deg, #FF5C00, #FF8A3D, #FFB347);
  color: #fff;
}

.event-card-cta.ghost {
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
}

.event-card-cta.ghost:hover {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

/* ========== UPCOMING EVENTS CAROUSEL ========== */
.upcoming-section {
  padding: 0 0 80px;
}

.upcoming-section .section-label,
.upcoming-section .section-title { text-align: left; }

.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-track .event-card {
  flex: 0 0 380px;
}

/* Adaptive: 1 event = full width hero card */
.upcoming-hero-single {
  display: block;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 400px;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(255,92,0,0.15) 0%, rgba(0,0,0,0.8) 100%);
}

.upcoming-hero-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.upcoming-hero-single .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
}

.upcoming-hero-single .overlay h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.upcoming-hero-single .overlay p {
  font-size: 16px;
  color: #D9D9D9;
  margin-bottom: 20px;
}

/* Adaptive: 2 events = side by side */
.upcoming-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Carousel nav arrows */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}

.carousel-nav:hover { background: rgba(255,255,255,0.2); }
.carousel-nav.prev { left: -20px; }
.carousel-nav.next { right: -20px; }
.carousel-nav svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2; }

/* Progress bar */
.carousel-progress {
  margin-top: 20px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.carousel-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #FF5C00, #FFB347);
  border-radius: 2px;
  transition: width 0.3s ease-out;
}

/* ========== PAST EVENTS GRID ========== */
.past-section {
  padding: 0 0 80px;
}

.past-events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.past-events-grid .event-card-image img {
  filter: saturate(0.85) brightness(0.9);
  transition: filter 0.25s ease-out, transform 0.25s ease-out;
}

.past-events-grid .event-card:hover .event-card-image img {
  filter: saturate(1) brightness(1);
}

/* ========== NO UPCOMING EVENTS EMPTY STATE ========== */
.no-upcoming {
  text-align: center;
  padding: 48px 32px;
}

.no-upcoming p {
  font-size: 16px;
  color: #D9D9D9;
  margin-bottom: 20px;
}

/* ========== MEXICO CUSTOM HERO ========== */
.mexico-hero {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  max-height: 85vh;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
}
.mexico-hero .mexico-hero-bg {
  position: absolute;
  inset: 0;
}
.mexico-hero .mexico-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.mexico-hero .mexico-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, transparent 30%, transparent 65%, rgba(0,0,0,0.7) 85%, #000 100%);
}
.mexico-hero .back-link {
  position: absolute;
  top: 100px;
  left: 40px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
  transition: color 0.2s;
}
.mexico-hero .back-link:hover { color: #fff; }
.mexico-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.mexico-hero-title {
  font-family: 'Anton', 'Impact', sans-serif;
  font-size: clamp(80px, 22vw, 200px);
  line-height: 0.85;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
  margin-top: clamp(80px, 12%, 140px);
  transform: skewX(-6deg);
  letter-spacing: -2px;
}
.mexico-hero-title .green {
  background: linear-gradient(180deg, #006747 0%, #00cd8d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mexico-hero-title .white { color: #fff; }
.mexico-hero-title .red { color: #cd1127; }
.mexico-hero-crusade {
  text-align: center;
  transform: skewX(-6deg);
  margin-top: 8px;
}
.mexico-hero-crusade h2 {
  font-family: 'Anton', 'Impact', sans-serif;
  font-size: clamp(24px, 7vw, 60px);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1;
  background: linear-gradient(180deg, #fff 50%, #c2c2c2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}
.mexico-hero-crusade p {
  font-family: 'Anton', 'Impact', sans-serif;
  font-size: clamp(14px, 3.5vw, 32px);
  font-weight: 400;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.4;
}
.mexico-hero-badge {
  position: absolute;
  right: clamp(20px, 5%, 80px);
  top: 52%;
  text-align: center;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  padding: 12px 20px;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
  transform: skewX(-6deg);
  z-index: 6;
}
.mexico-hero-badge .label {
  font-family: 'Anton', 'Impact', sans-serif;
  font-size: clamp(11px, 2vw, 18px);
  text-transform: uppercase;
  color: #ffcc00;
  letter-spacing: 2px;
  line-height: 1.2;
}
.mexico-hero-badge .names {
  font-family: 'Anton', 'Impact', sans-serif;
  font-size: clamp(13px, 2.8vw, 24px);
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}
.mexico-hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #000;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  border-radius: 0 0 20px 20px;
}
.mexico-hero-bottom p {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(12px, 2vw, 18px);
  color: #fff;
  margin: 0;
}
.mexico-hero-bottom .highlight { color: #ffcc00; }
.mexico-hero-bottom .hero-logo { height: 24px; width: auto; }

@media (max-width: 768px) {
  .mexico-hero { max-height: none; }
  .mexico-hero .back-link { top: 80px; left: 24px; }
  .mexico-hero-badge { padding: 8px 14px; }
}

/* ========== HARLINGEN HERO (custom HTML/CSS, no composite image) ========== */
.harlingen-hero {
  position: relative;
  width: calc(100% - 48px);
  max-width: 900px;
  aspect-ratio: 16 / 9;
  max-height: 520px;
  min-height: 340px;
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

.harlingen-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  z-index: -3;
}

.harlingen-hero-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px 7px;
  font-family: 'Anton', sans-serif;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: #0a0a0a;
  background: linear-gradient(135deg, #C4F04C, #9DD827);
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(157, 216, 39, 0.35);
  z-index: 10;
}
.harlingen-hero-badge svg { width: 14px; height: 14px; }

.harlingen-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 55% at 50% 48%, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.35) 95%),
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.25) 100%);
}

/* Glass card sitting behind Troy & Sarah — matches Figma glass-card component */
/* Figma double-ring circle — sits between background photo and cutout of subjects */
.harlingen-hero-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 88%;
  aspect-ratio: 1 / 1;
  max-width: 88%;
  z-index: -1;
  pointer-events: none;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.35));
}

/* Transparent cutout of Troy & Sarah layered on top — aligned to background photo */
.harlingen-hero-cutout {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  z-index: 1;
  pointer-events: none;
}

/* Reusable breadcrumb above event detail heroes */
.event-breadcrumb {
  width: calc(100% - 48px);
  max-width: 1200px;
  margin: 100px auto 14px;
  padding: 0 4px;
}
.event-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.event-breadcrumb a:hover { color: #fff; }
.event-breadcrumb svg { opacity: 0.75; }

/* Evangelists glass circle badge — top right of hero */
.harlingen-hero-evangelists {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 8px 28px rgba(0,0,0,0.35), inset 0 1px 0 0 rgba(255,255,255,0.3);
  z-index: 10;
}
.harlingen-hero-evangelists .label {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}
.harlingen-hero-evangelists .names {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.25;
  color: #fff;
}

.harlingen-hero-title-wrap {
  text-align: center;
  position: absolute;
  top: 14%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.harlingen-hero-subtitle { display: inline-block; }

/* ========== HARLINGEN SCHEDULE (below hero, transparent over page bg) ========== */
.harlingen-schedule {
  padding: 56px 0 72px;
}
.harlingen-schedule .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.harlingen-hero-title {
  font-family: 'Allura', cursive;
  font-size: clamp(72px, 11vw, 140px);
  line-height: 0.85;
  font-weight: 400;
  margin: 0;
  transform: translateX(-60px);
  background: linear-gradient(135deg, #FFB347 0%, #FF6BAD 35%, #C04BFF 70%, #6C4BFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.45));
  padding-bottom: 0.12em;
}

.harlingen-hero-subtitle {
  font-family: 'Anton', sans-serif;
  font-size: clamp(13px, 1.6vw, 18px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin: -0.1em 0 0;
  transform: translateX(120px);
  color: #fff;
  padding: 7px 20px 6px;
  border: 1.5px solid rgba(255,255,255,0.85);
  border-radius: 9999px;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.harlingen-hero-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 960px;
  margin-bottom: 32px;
}

.hh-card {
  position: relative;
  padding: 26px 22px 24px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.04) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-top-color: rgba(255, 255, 255, 0.55);
  border-left-color: rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.55),
    inset 0 2px 0 0 rgba(255, 255, 255, 0.65),
    inset 2px 0 0 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.5);
}

.hh-card-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.92);
  line-height: 1.3;
  padding-bottom: 14px;
  margin-bottom: 14px;
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px dashed rgba(255,255,255,0.4);
}

.hh-card-date {
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.hh-card-time {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.82);
}

.harlingen-hero-venue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 0 4px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 28px;
  width: 100%;
  max-width: 640px;
  position: relative;
}
.harlingen-hero-venue::before,
.harlingen-hero-venue::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
}
.hh-venue-label {
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  letter-spacing: 0.28em;
}
.hh-venue-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.25); }
.hh-venue-pin { width: 18px; height: 18px; color: #9DD827; flex-shrink: 0; }
.hh-venue-name {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.12em;
  color: #fff;
}

.harlingen-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  background: linear-gradient(152deg, #FF5C00, #FF8A3D, #FFB347);
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 2;
}
.harlingen-hero-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 24px rgba(255,92,0,0.45);
}

@media (max-width: 768px) {
  .harlingen-hero {
    width: calc(100% - 24px);
    padding: 80px 16px 36px;
    aspect-ratio: 4 / 3;
    max-height: none;
    border-radius: 20px;
  }
  .event-breadcrumb { width: calc(100% - 24px); margin: 90px auto 10px; }
  .harlingen-hero-badge { top: 14px; left: 14px; font-size: 12px; padding: 6px 11px 5px; }
  .harlingen-hero-evangelists { top: 14px; right: 14px; width: 96px; height: 96px; padding: 10px; }
  .harlingen-hero-evangelists .names { font-size: 9px; }
  .harlingen-hero-evangelists .label { font-size: 7px; margin-bottom: 4px; }
  .harlingen-schedule { padding: 40px 0 56px; }
  .harlingen-hero-cards {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 360px;
  }
  .hh-card { padding: 16px 14px; }
  .hh-card-title { min-height: 0; padding-bottom: 10px; margin-bottom: 10px; }
  .hh-card-date { font-size: 24px; }
  .harlingen-hero-venue { font-size: 11px; padding: 10px 0 4px; }
}

@media (max-width: 400px) {
  .harlingen-hero { padding: 76px 14px 28px; }
  .harlingen-hero-title { font-size: clamp(64px, 18vw, 96px); }
  .harlingen-hero-subtitle { font-size: clamp(18px, 5vw, 24px); }
  .harlingen-hero-evangelists .names { font-size: 12px; }
}

/* ========== DETAIL: CINEMATIC HERO ========== */
.detail-hero {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
}

.detail-hero img {
  width: 100%;
  height: auto;
  display: block;
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%),
              linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%),
                      linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-composite: source-in;
}

.detail-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 60px;
}

.detail-hero .back-link {
  position: absolute;
  top: 100px;
  left: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  z-index: 10;
  transition: color 0.2s;
}

.detail-hero .back-link:hover { color: #fff; }

.detail-hero .status-badge {
  display: inline-flex;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
  width: fit-content;
}

.detail-hero .status-badge.upcoming {
  background: linear-gradient(152.57deg, #FF5C00, #FF8A3D, #FFB347);
}

.detail-hero .status-badge.completed {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
}

.detail-hero h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 12px;
}

.detail-hero .meta {
  font-size: 18px;
  color: #D9D9D9;
  font-weight: 300;
  margin-bottom: 24px;
}

.detail-hero .hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 600;
  background: linear-gradient(152.57deg, #FF5C00, #FF8A3D, #FFB347);
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}

.detail-hero .hero-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 24px rgba(255,92,0,0.4);
}

/* ========== STICKY REGISTRATION BAR ========== */
.sticky-bar {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  height: 56px;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 49;
  transform: translateY(-100%);
  transition: transform 0.25s ease-out;
}

.sticky-bar.visible { transform: translateY(0); }

.sticky-bar-title {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}

.sticky-bar .btn-register {
  padding: 6px 20px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  background: linear-gradient(152.57deg, #FF5C00, #FF8A3D, #FFB347);
  color: #fff;
  cursor: pointer;
  border: none;
  transition: transform 0.1s;
}

.sticky-bar .btn-register:active { transform: scale(0.97); }

/* ========== IMPACT STATS ========== */
.stats-section {
  padding: 60px 0;
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Gilroy', sans-serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  font-weight: 400;
  color: #D9D9D9;
}

/* ========== DESCRIPTION ========== */
.description-section {
  padding: 60px 0;
  max-width: 720px;
  margin: 0 auto;
}

.description-section p {
  font-size: 16px;
  font-weight: 300;
  color: #D9D9D9;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ========== MEDIA GALLERY ========== */
.gallery-section {
  padding: 60px 0;
}

.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.gallery-count {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

/* Shared media card styles (day cards + session cards) */
.day-card,
.session-card {
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}
.day-card:hover,
.session-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(255,92,0,0.15);
}

.day-card-image,
.session-card-image {
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  aspect-ratio: 4 / 3;
}
.day-card-image img,
.session-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.25s ease-out;
}
.day-card:hover .day-card-image img,
.session-card:hover .session-card-image img {
  transform: scale(1.05);
}

/* Day cards grid */
.day-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.day-card-content { padding: 20px; }
.day-card-title {
  font-family: 'Gilroy', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}
.day-card-date {
  font-size: 14px;
  color: #D9D9D9;
  font-weight: 300;
  margin: 0 0 8px;
}
.day-card-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.day-card-pill {
  padding: 4px 12px;
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap;
}
.day-card-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

/* Session panel + grid */
.session-panel { animation: fadeSlideIn 0.3s ease-out; }

.session-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.session-card-content {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.session-card-title {
  font-family: 'Gilroy', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
.session-card-count {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

/* Active session card */
.session-card.active {
  border-color: rgba(255,138,61,0.4);
  box-shadow: 0 0 20px rgba(255,92,0,0.12);
  transform: none;
}

/* Inline gallery */
.inline-gallery {
  grid-column: 1 / -1;
  padding: 8px 0;
  animation: fadeSlideIn 0.3s ease-out;
}

/* Back button */
.panel-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-bottom: 24px;
  transition: color 0.2s;
}
.panel-back:hover { color: #fff; }
.panel-back svg { stroke: currentColor; fill: none; }

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease-out;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
}

.gallery-item .play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item .play-btn svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  margin-left: 3px;
}

.gallery-expand-btn {
  display: block;
  margin: 24px auto 0;
  padding: 10px 28px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.gallery-expand-btn:hover {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

/* ========== MAC GALLERY ========== */
.mac-gallery {
  background: rgba(255,255,255,0.03);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}

.mac-gallery-stage {
  position: relative;
  background: #0a0a0a;
  overflow: hidden;
}

.gallery-blur-bg {
  position: absolute;
  inset: -40px;
  background-size: cover;
  background-position: center;
  filter: blur(40px) saturate(0.7) brightness(0.45);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.gallery-blur-bg.visible {
  opacity: 1;
}

.mac-gallery-featured {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  min-height: 300px;
}

.mac-gallery-featured img {
  max-width: 100%;
  max-height: 80vh;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.mac-gallery-featured iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 80vh;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.mac-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s, transform 0.1s;
  opacity: 0;
}

.mac-gallery:hover .mac-gallery-nav { opacity: 1; }
.mac-gallery-nav:hover { background: rgba(0,0,0,0.7); }
.mac-gallery-nav:active { transform: translateY(-50%) scale(0.95); }
.mac-gallery-nav.prev { left: 16px; }
.mac-gallery-nav.next { right: 16px; }
.mac-gallery-nav svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; }

.mac-gallery-counter {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 8px;
  z-index: 2;
}

/* Thumbnail strip */
.mac-gallery-strip-wrap {
  padding: 20px 0 24px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  perspective: 600px;
}

.mac-gallery-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 40px 16px;
  align-items: center;
}

.mac-gallery-strip::-webkit-scrollbar { display: none; }

.mac-gallery-thumb {
  flex: 0 0 auto;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  transform: scale(0.9);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  background: #111;
}

.mac-gallery-thumb:hover {
  opacity: 0.8;
  transform: scale(0.95) translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.mac-gallery-thumb.active {
  opacity: 1;
  transform: scale(1.05) translateY(-4px);
  border-color: #FF5C00;
  box-shadow: 0 8px 28px rgba(255,92,0,0.25), 0 4px 12px rgba(0,0,0,0.4);
  z-index: 2;
}

.mac-gallery-thumb img {
  height: 100%;
  width: auto;
  display: block;
}

.mac-gallery-thumb .thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
}

.mac-gallery-thumb .thumb-play svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .mac-gallery-nav { opacity: 1; width: 36px; height: 36px; }
  .mac-gallery-nav.prev { left: 8px; }
  .mac-gallery-nav.next { right: 8px; }
  .mac-gallery-thumb { flex: 0 0 auto; height: 68px; border-radius: 8px; }
}

/* ========== LIGHTBOX ========== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}

.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-close svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; }

.lightbox-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(90vw, 1100px);
  height: calc(100vh - 160px);
}

.lightbox-content img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-content iframe {
  width: 80vw;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 8px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }
.lightbox-nav svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; }

.lightbox-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  overflow-x: auto;
  max-width: 90vw;
  padding: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}
.lightbox-thumbs::-webkit-scrollbar { height: 4px; }
.lightbox-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 2px; }

.lightbox-thumb {
  width: auto;
  height: 54px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s, border-color 0.2s;
  flex-shrink: 0;
  border: 2px solid transparent;
  background: #111;
}

.lightbox-thumb.active {
  opacity: 1;
  border-color: #FF5C00;
}

.lightbox-thumb img {
  height: 100%;
  width: auto;
  display: block;
}

/* ========== REGISTRATION FORM ========== */
.registration-section {
  padding: 80px 0;
}

.registration-form-container {
  max-width: 560px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 16px;
}

.registration-form-container h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.registration-form-container .form-subtitle {
  font-size: 14px;
  color: #D9D9D9;
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

.form-group input {
  height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group input:focus {
  border-color: rgba(255,138,61,0.4);
  box-shadow: 0 0 12px rgba(255,138,61,0.08);
}

.form-group input.error {
  border-color: rgba(255,59,48,0.6);
  box-shadow: 0 0 12px rgba(255,59,48,0.08);
}

.form-error {
  font-size: 12px;
  color: #FF3B30;
  margin-top: 4px;
  display: none;
}

.form-group input.error + .form-error { display: block; }

.form-submit {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 9999px;
  background: linear-gradient(152.57deg, #FF5C00, #FF8A3D, #FFB347);
  color: #fff;
  font-family: 'Gilroy', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 24px;
  transition: transform 0.1s, box-shadow 0.2s;
}

.form-submit:hover {
  box-shadow: 0 4px 24px rgba(255,92,0,0.4);
}

.form-submit:active { transform: scale(0.97); }

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 40px 0;
  display: none;
}

.form-success.visible { display: block; }

.form-success .checkmark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(152.57deg, #FF5C00, #FF8A3D, #FFB347);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success .checkmark svg { width: 32px; height: 32px; stroke: #fff; fill: none; stroke-width: 2.5; }

.form-success h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-success p {
  font-size: 14px;
  color: #D9D9D9;
  margin-bottom: 20px;
}

.calendar-links {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.calendar-links a {
  padding: 8px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: border-color 0.2s;
}

.calendar-links a:hover {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

/* ========== EVENT SESSIONS / SCHEDULE ========== */
.sessions-section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sessions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.session-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-radius: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.session-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.session-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.session-date {
  font-size: 12px;
  font-weight: 500;
  color: #FF8A3D;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.session-title {
  font-size: 18px;
  font-weight: 600;
}

.session-time {
  font-size: 13px;
  font-weight: 400;
  color: #999;
}

.session-sermon-link {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 12px;
  background: rgba(255,92,0,0.08);
  border: 1px solid rgba(255,92,0,0.15);
  transition: background 0.2s, border-color 0.2s;
}

.session-sermon-link:hover {
  background: rgba(255,92,0,0.15);
  border-color: rgba(255,92,0,0.3);
}

.session-sermon-title {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.session-sermon-cta {
  font-size: 12px;
  font-weight: 500;
  color: #FF8A3D;
}

@media (max-width: 768px) {
  .session-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .session-sermon-link {
    align-items: flex-start;
    width: 100%;
  }
}

/* ========== RELATED EVENTS ========== */
.related-section {
  padding: 80px 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ========== SCROLL ANIMATIONS ========== */
/* Intentionally no-op: never hide content with opacity:0. */
.fade-up,
.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ========== LOADING SKELETON ========== */
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 12px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ========== EVENT SPEAKERS (compact cards) ========== */
.event-speakers-section {
  padding: 60px 0 40px;
}
.event-speakers-section .section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 32px;
}
.event-speakers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}
.event-speaker-card {
  background: #060608;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.event-speaker-photo {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.event-speaker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}
.event-speaker-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65%;
  background: linear-gradient(to top, rgba(6,6,8,1) 0%, rgba(6,6,8,0.9) 15%, rgba(6,6,8,0.6) 35%, rgba(6,6,8,0.15) 65%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
.event-speaker-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 12px 10px;
  text-align: center;
  z-index: 2;
}
.event-speaker-first {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.event-speaker-last {
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: 18px;
  font-weight: 400;
  background: linear-gradient(-20deg, rgb(169, 32, 38) 4%, rgb(242, 192, 58) 54%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.event-speaker-preview {
  padding: 10px 12px 14px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,0.5);
  text-align: center;
  background: #060608;
}

@media (max-width: 768px) {
  .event-speakers-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
  .event-speakers-grid { grid-template-columns: 1fr; max-width: 280px; }
}

/* ========== PAID REGISTRATION ========== */
.paid-tier-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.paid-tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  color: #fff;
  font-family: inherit;
  font-size: inherit;
}
.paid-tier:hover {
  border-color: rgba(255,92,0,0.4);
  background: rgba(255,92,0,0.06);
}
.paid-tier.active {
  border-color: #FF5C00;
  background: rgba(255,92,0,0.12);
  box-shadow: 0 0 16px rgba(255,92,0,0.15);
}
.paid-tier-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}
.paid-tier-price {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.paid-tier-save {
  font-size: 11px;
  font-weight: 600;
  color: #FF5C00;
  letter-spacing: 0.03em;
}
.payment-message {
  padding: 12px 16px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: rgba(255,68,68,0.1);
  border: 1px solid rgba(255,68,68,0.2);
  color: #ff6b6b;
  font-size: 14px;
}

.skeleton-card { height: 340px; }
.skeleton-hero { height: 70vh; min-height: 500px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .day-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .past-events-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .detail-hero h1 { font-size: 42px; }
  .upcoming-duo { grid-template-columns: 1fr; }
  .carousel-track .event-card { flex: 0 0 320px; }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-cta { display: none; }
  .events-hero { padding: 40px 0; }
  .events-hero .section-title { font-size: 32px; }
  .day-cards-grid { grid-template-columns: 1fr; }
  .session-grid { grid-template-columns: 1fr; }
  .past-events-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr; }
  .stats-grid { flex-direction: column; gap: 32px; }
  .stat-number { font-size: 40px; }
  .detail-hero { height: 60vh; min-height: 400px; }
  .detail-hero h1 { font-size: 32px; }
  .detail-hero .overlay { padding: 30px 24px; }
  .detail-hero .back-link { top: 80px; left: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .lightbox-thumbs { display: none; }
  .carousel-track .event-card { flex: 0 0 calc(100vw - 72px); }

  /* Mobile: bottom sticky bar instead of top */
  .sticky-bar {
    top: auto;
    bottom: 0;
    transform: translateY(100%);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: none;
  }
  .sticky-bar.visible { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  .carousel-track { transition: none; }
  .lightbox { transition: none; }
  .skeleton { animation: none; }
}

/* ========== FIND MY PHOTOS ========== */

.find-my-photos-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(152.57deg, #FF5C00 14.71%, #FF8A3D 53.35%, #FFB347 82.59%);
  color: #fff;
  font-family: 'Gilroy', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}

.find-my-photos-btn:hover { opacity: 0.9; transform: scale(1.02); }
.find-my-photos-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.find-my-photos-btn svg { flex-shrink: 0; }

.find-my-photos-btn.my-photos {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,138,61,0.4);
}
.find-my-photos-btn.my-photos.active {
  background: linear-gradient(152.57deg, #FF5C00 14.71%, #FF8A3D 53.35%, #FFB347 82.59%);
  border-color: transparent;
}

.find-photos-loading {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.find-photos-post-search {
  margin-bottom: 20px;
}

.find-photos-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.result-count {
  font-weight: 600;
  font-size: 16px;
  color: #FF8A3D;
}

.show-all-btn {
  padding: 8px 16px;
  background: rgba(255,255,255,0.08);
  color: #D9D9D9;
  font-family: 'Gilroy', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s;
}
.show-all-btn:hover { background: rgba(255,255,255,0.12); }

.save-prompt {
  padding: 20px;
  margin-top: 12px;
  border-radius: 16px;
}

.save-prompt p {
  color: #D9D9D9;
  font-size: 14px;
  margin-bottom: 12px;
}

.save-form {
  display: flex;
  gap: 8px;
}

.save-email-input {
  flex: 1;
  padding: 10px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.save-email-input:focus { border-color: #FF8A3D; }
.save-email-input::placeholder { color: rgba(255,255,255,0.3); }

.save-btn {
  padding: 10px 20px;
  background: linear-gradient(152.57deg, #FF5C00 14.71%, #FF8A3D 53.35%, #FFB347 82.59%);
  color: #fff;
  font-family: 'Gilroy', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.save-btn:hover { opacity: 0.9; }
.save-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.save-note {
  color: #FF5C00;
  font-size: 12px;
  margin-top: 8px;
}

.save-success {
  display: flex;
  align-items: center;
  gap: 12px;
}
.save-success p { color: #4CAF50; margin: 0; }

.find-photos-no-match {
  padding: 12px 20px;
  margin-top: 8px;
  background: rgba(255,92,0,0.1);
  border: 1px solid rgba(255,92,0,0.2);
  border-radius: 12px;
  animation: fadeInOut 5s ease forwards;
}
.find-photos-no-match p { color: #D9D9D9; font-size: 14px; margin: 0; }

@keyframes fadeInOut {
  0% { opacity: 0; transform: translateY(-8px); }
  10% { opacity: 1; transform: translateY(0); }
  80% { opacity: 1; }
  100% { opacity: 0; }
}

/* Results photo grid */
.find-photos-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.find-photos-result-thumb {
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.find-photos-result-thumb:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(255, 92, 0, 0.3);
}
.find-photos-result-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .save-form { flex-direction: column; }
  .find-photos-result { flex-direction: column; align-items: flex-start; }
  .gallery-header { flex-wrap: wrap; gap: 12px; }
  .find-photos-results-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}

/* ========== FIND MY PHOTOS — HUB STRIP ========== */

.fmp-hub-section {
  padding: 32px 0 48px;
}

.fmp-hub-card {
  position: relative;
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(145deg, rgba(255,138,61,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,138,61,0.24);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  min-height: 100px;
}

.fmp-hub-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 50%, rgba(255,92,0,0.14), transparent 55%);
  pointer-events: none;
}

.fmp-hub-card > * { position: relative; }

/* Small avatar-style drop target */
.fmp-dropzone {
  position: relative;
  width: 64px;
  height: 76px;
  flex-shrink: 0;
  cursor: pointer;
  border: 0;
  padding: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fmp-dropzone:hover { transform: translateY(-4px); }
.fmp-dropzone:focus-visible { outline: 2px solid #FF8A3D; outline-offset: 8px; border-radius: 12px; }

.fmp-dropzone-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.fmp-dropzone-outline {
  fill: rgba(255,138,61,0.08);
  stroke: rgba(255,138,61,0.72);
  stroke-width: 5;
  stroke-dasharray: 12 8;
  transition: stroke 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), fill 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), stroke-dasharray 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), stroke-width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
  animation: fmpBreathe 3s ease-in-out infinite;
}

@keyframes fmpBreathe {
  0%, 100% { stroke-opacity: 0.65; }
  50% { stroke-opacity: 0.92; }
}

.fmp-dropzone:hover .fmp-dropzone-outline,
.fmp-dropzone.drag-over .fmp-dropzone-outline {
  stroke: #FF8A3D;
  fill: rgba(255,138,61,0.14);
  stroke-dasharray: 0;
  animation: none;
}
.fmp-dropzone.drag-over .fmp-dropzone-outline {
  stroke-width: 6;
  fill: rgba(255,138,61,0.24);
  filter: drop-shadow(0 0 10px rgba(255,138,61,0.6));
}

.fmp-dropzone-icon {
  position: absolute;
  top: 36%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255,138,61,0.85);
  transition: color 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  pointer-events: none;
}

.fmp-dropzone:hover .fmp-dropzone-icon {
  color: #FF8A3D;
  transform: translate(-50%, -56%);
}

.fmp-dropzone-status {
  font-size: 12.5px;
  font-weight: 500;
  color: #FF8A3D;
  line-height: 1.3;
  height: 0;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
}
.fmp-dropzone-status.active {
  opacity: 1;
  transform: translateY(0);
  height: auto;
  margin-top: 2px;
}

/* Selfie preview (after upload) — clipped to silhouette */
.fmp-dropzone-preview {
  position: absolute;
  inset: 0;
  clip-path: url(#fmpSilhouetteClip);
  -webkit-clip-path: url(#fmpSilhouetteClip);
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fmp-dropzone.has-image .fmp-dropzone-preview {
  opacity: 1;
  transform: scale(1);
}
.fmp-dropzone.has-image .fmp-dropzone-icon { opacity: 0; }
.fmp-dropzone-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Scanning line — sweeps through the silhouette during search */
.fmp-dropzone-scan {
  position: absolute;
  inset: 0;
  clip-path: url(#fmpSilhouetteClip);
  -webkit-clip-path: url(#fmpSilhouetteClip);
  background: linear-gradient(to bottom,
    transparent 0%,
    transparent 44%,
    rgba(255,138,61,0.85) 49%,
    rgba(255,255,255,0.95) 50%,
    rgba(255,138,61,0.85) 51%,
    transparent 56%,
    transparent 100%);
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  transform: translateY(-100%);
}
.fmp-dropzone.loading .fmp-dropzone-scan {
  opacity: 1;
  animation: fmpScan 1.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes fmpScan {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* Loading state — solidifies the outline + keeps breath going */
.fmp-dropzone.loading .fmp-dropzone-outline {
  stroke: #FF8A3D;
  stroke-dasharray: 0;
  stroke-width: 5;
  animation: fmpLoadPulse 1.6s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(255,138,61,0.45));
}
@keyframes fmpLoadPulse {
  0%, 100% { stroke-width: 5; filter: drop-shadow(0 0 5px rgba(255,138,61,0.35)); }
  50%      { stroke-width: 7; filter: drop-shadow(0 0 10px rgba(255,138,61,0.75)); }
}

/* Lock beat — on successful match */
.fmp-dropzone.locked .fmp-dropzone-outline {
  animation: fmpLock 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes fmpLock {
  0%   { stroke-width: 5; filter: drop-shadow(0 0 6px rgba(255,138,61,0.45)); }
  40%  { stroke-width: 9; filter: drop-shadow(0 0 14px rgba(255,138,61,1)); }
  100% { stroke-width: 5; filter: drop-shadow(0 0 5px rgba(255,138,61,0.4)); }
}
.fmp-dropzone.locked::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255,138,61,0.9);
  animation: fmpRing 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  pointer-events: none;
}
@keyframes fmpRing {
  0%   { transform: scale(0.82); opacity: 0.9; }
  100% { transform: scale(1.25); opacity: 0;   }
}

/* Copy block — inline between avatar + CTA */
.fmp-hub-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fmp-hub-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0;
}

.fmp-hub-subtitle {
  font-size: 13px;
  line-height: 1.4;
  color: #A8A8A8;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fmp-hub-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: linear-gradient(152.57deg, #FF5C00 14.71%, #FF8A3D 53.35%, #FFB347 82.59%);
  color: #fff;
  font-family: 'Gilroy', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255,92,0,0.24);
  transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.1), box-shadow 0.3s ease, filter 0.3s ease;
}
.fmp-hub-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(255,92,0,0.38);
  filter: brightness(1.06);
}
.fmp-hub-cta:disabled { opacity: 0.7; cursor: not-allowed; transform: none; box-shadow: none; filter: none; }

/* Results container (full width, below banner) */
.fmp-hub-results {
  max-width: 1100px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

@keyframes fmpRise {
  from { transform: translateY(16px) scale(0.985); filter: blur(8px); }
  to   { transform: translateY(0) scale(1); filter: blur(0); }
}

.fmp-hub-results-header {
  text-align: center;
  margin-bottom: 4px;
  animation: fmpRise 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.1) both;
}
.fmp-hub-results-header h3 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 6px;
}
.fmp-hub-results-header p {
  font-size: 14px;
  color: #9a9a9a;
  margin: 0;
}

.fmp-hub-event-group {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 20px 24px;
  animation: fmpRise 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.1) both;
}
.fmp-hub-event-group:nth-child(2) { animation-delay: 0.08s; }
.fmp-hub-event-group:nth-child(3) { animation-delay: 0.16s; }
.fmp-hub-event-group:nth-child(4) { animation-delay: 0.24s; }
.fmp-hub-event-group:nth-child(5) { animation-delay: 0.32s; }
.fmp-hub-event-group:nth-child(n+6) { animation-delay: 0.4s; }

.fmp-hub-event-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}
.fmp-hub-event-head h4 {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
.fmp-hub-event-meta {
  font-size: 12px;
  color: #9a9a9a;
}
.fmp-hub-event-count {
  padding: 4px 12px;
  background: rgba(255,138,61,0.15);
  color: #FF8A3D;
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
  white-space: nowrap;
}

.fmp-hub-event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
}

.fmp-hub-event-thumb {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(0,0,0,0.3);
  transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.1), box-shadow 0.28s ease;
}
.fmp-hub-event-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 22px rgba(255,92,0,0.38);
}
.fmp-hub-event-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Save prompt */
.fmp-hub-save {
  max-width: 560px;
  margin: 32px auto 0;
  padding: 28px 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,138,61,0.28);
  border-radius: 20px;
  text-align: center;
  animation: fmpRise 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.1) 0.35s both;
}
.fmp-hub-save h4 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 8px;
}
.fmp-hub-save p {
  font-size: 14px;
  color: #B9B9B9;
  line-height: 1.5;
  margin: 0 0 18px;
}
.fmp-hub-save-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
}
.fmp-hub-save-form input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.fmp-hub-save-form input:focus { border-color: #FF8A3D; }
.fmp-hub-save-form input::placeholder { color: rgba(255,255,255,0.3); }
.fmp-hub-save-form button {
  padding: 12px 22px;
  background: linear-gradient(152.57deg, #FF5C00 14.71%, #FF8A3D 53.35%, #FFB347 82.59%);
  color: #fff;
  font-family: 'Gilroy', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.fmp-hub-save-form button:hover { opacity: 0.9; }
.fmp-hub-save-form button:disabled { opacity: 0.6; cursor: not-allowed; }
.fmp-hub-save-status {
  margin-top: 10px;
  font-size: 12px;
  color: #FF5C00;
}
.fmp-hub-save.success {
  border-color: rgba(76,175,80,0.35);
  background: rgba(76,175,80,0.06);
}
.fmp-hub-save.success h4,
.fmp-hub-save.success p { color: #D9D9D9; }

.fmp-hub-no-match {
  max-width: 560px;
  margin: 24px auto 0;
  padding: 16px 20px;
  text-align: center;
  background: rgba(255,92,0,0.08);
  border: 1px solid rgba(255,92,0,0.2);
  border-radius: 12px;
  color: #D9D9D9;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 720px) {
  .fmp-hub-card {
    padding: 14px 18px;
    gap: 14px;
  }
  .fmp-hub-title { font-size: 16px; }
  .fmp-hub-subtitle { display: none; }
  .fmp-dropzone { width: 56px; height: 66px; }
  .fmp-hub-cta { padding: 10px 16px; font-size: 12.5px; }
  .fmp-hub-cta svg { display: none; }
}

@media (max-width: 480px) {
  .fmp-hub-section { padding: 24px 0 36px; }
  .fmp-hub-card { padding: 12px 14px; gap: 10px; border-radius: 14px; min-height: 76px; }
  .fmp-dropzone { width: 48px; height: 56px; }
  .fmp-hub-title { font-size: 14px; }
  .fmp-hub-cta { padding: 9px 14px; font-size: 12px; }
  .fmp-hub-save { padding: 22px; }
  .fmp-hub-save-form { flex-direction: column; }
  .fmp-hub-event-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
}

/* Reduced motion — kill all keyframe animations, keep states static */
@media (prefers-reduced-motion: reduce) {
  .fmp-dropzone-outline,
  .fmp-dropzone.loading .fmp-dropzone-outline,
  .fmp-dropzone.locked .fmp-dropzone-outline,
  .fmp-dropzone.loading .fmp-dropzone-scan,
  .fmp-hub-results-header,
  .fmp-hub-event-group,
  .fmp-hub-save {
    animation: none !important;
  }
  .fmp-dropzone.locked::before { display: none; }
  .fmp-dropzone-preview,
  .fmp-dropzone { transition-duration: 0.01s !important; }
}

/* ========== MY PHOTOS PAGE ========== */

.my-photos-hero {
  padding: 120px 0 40px;
}

.my-photos-hero h1 {
  font-size: 48px;
  font-weight: 700;
}

.my-photos-event {
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 16px;
}

.my-photos-event-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.my-photos-event-header:hover { opacity: 0.8; }

.my-photos-event-header h3 {
  font-size: 18px;
  font-weight: 600;
}

.event-thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.my-photos-event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

.my-photo-item {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
}
.my-photo-item:hover { transform: scale(1.03); }
.my-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .my-photos-hero h1 { font-size: 32px; }
  .my-photos-event-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
}
