/* ── Video Event Card with Floating Typography (Reception) ── */
.event-video-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(25, 12, 18, 0.4), 0 0 0 1px rgba(212, 175, 55, 0.4);
  background-color: #0b0910;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.event-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.event-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(14, 8, 12, 0.65) 0%,
    rgba(14, 8, 12, 0.2) 18%,
    rgba(14, 8, 12, 0) 32%,
    rgba(14, 8, 12, 0) 65%,
    rgba(14, 8, 12, 0.35) 85%,
    rgba(14, 8, 12, 0.7) 100%
  );
}

/* All text accumulated inside the open blank sky band */
.event-floating-content {
  position: absolute;
  top: 20%;
  left: 6%;
  right: 6%;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Soft celestial glow behind text to float over starfield */
.event-floating-content::before {
  content: '';
  position: absolute;
  inset: -18px -20px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 65% 58% at 50% 50%,
    rgba(8, 6, 12, 0.65) 0%,
    rgba(8, 6, 12, 0.35) 55%,
    rgba(8, 6, 12, 0) 80%
  );
  border-radius: 50%;
}

.event-floating-title {
  font-family: 'Great Vibes', 'Pinyon Script', cursive;
  font-weight: 400;
  font-size: clamp(46px, 11.5cqw, 64px);
  line-height: 1.05;
  color: #fff6e8;
  margin: 0 0 6px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.5px;
}

.event-floating-date {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(20px, 4.6cqw, 24px);
  color: #f7e6cc;
  font-weight: 500;
  margin: 0 0 10px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

.event-floating-time {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(11px, 2.7cqw, 13px);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #e5c17d;
  margin: 0 0 10px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
}

.event-floating-rule {
  display: block;
  width: 55px;
  height: 1px;
  margin: 0 auto 14px;
  background: linear-gradient(90deg, transparent, #e5c17d, transparent);
}

.event-floating-venue {
  font-family: 'Bodoni Moda', 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(21px, 5.2cqw, 27px);
  line-height: 1.22;
  color: #ffffff;
  margin: 0 0 6px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.event-floating-addr {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-style: italic;
  font-size: clamp(15px, 3.8cqw, 18px);
  line-height: 1.35;
  color: rgba(255, 242, 225, 0.88);
  max-width: 88%;
  margin: 0 auto 16px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}

.event-floating-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 24px;
  border: 1px solid #d4af37;
  border-radius: 25px;
  background: rgba(28, 14, 18, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff3db;
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.event-floating-map:hover {
  background: rgba(212, 175, 55, 0.3);
  border-color: #fae4a8;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* ── Staggered Soft Entrance Animation ── */
.event-video-card .event-floating-title,
.event-video-card .event-floating-date,
.event-video-card .event-floating-time,
.event-video-card .event-floating-venue,
.event-video-card .event-floating-addr,
.event-video-card .event-floating-map {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(4px);
  will-change: opacity, transform, filter;
}

.event-video-card .event-floating-rule {
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0;
  will-change: transform, opacity;
}

.event-video-card.is-in .event-floating-title {
  animation: evFloatIn 1400ms cubic-bezier(0.16, 1, 0.3, 1) 300ms forwards;
}

.event-video-card.is-in .event-floating-date {
  animation: evFloatIn 1200ms cubic-bezier(0.16, 1, 0.3, 1) 700ms forwards;
}

.event-video-card.is-in .event-floating-time {
  animation: evFloatIn 1000ms cubic-bezier(0.16, 1, 0.3, 1) 1100ms forwards;
}

.event-video-card.is-in .event-floating-rule {
  animation: evDrawRule 1100ms cubic-bezier(0.16, 1, 0.3, 1) 1400ms forwards;
}

.event-video-card.is-in .event-floating-venue {
  animation: evFloatIn 1200ms cubic-bezier(0.16, 1, 0.3, 1) 1700ms forwards;
}

.event-video-card.is-in .event-floating-addr {
  animation: evFloatIn 1200ms cubic-bezier(0.16, 1, 0.3, 1) 2000ms forwards;
}

.event-video-card.is-in .event-floating-map {
  animation: evFloatIn 1100ms cubic-bezier(0.16, 1, 0.3, 1) 2300ms forwards;
}

@keyframes evFloatIn {
  0% {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes evDrawRule {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@media(prefers-reduced-motion:reduce){
  .event-video-card .event-floating-title,
  .event-video-card .event-floating-date,
  .event-video-card .event-floating-time,
  .event-video-card .event-floating-rule,
  .event-video-card .event-floating-venue,
  .event-video-card .event-floating-addr,
  .event-video-card .event-floating-map {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }
}
