.page-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.page-background-video {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100vw;
  height: 100vh;
  max-width: none;
  object-fit: cover;
  opacity: 0.9;
}

.page-background-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 18%, rgba(43, 205, 168, 0.22), transparent 34%),
    linear-gradient(180deg, #08090d 0%, rgba(8, 9, 13, 0.54) 42%, #08090d 100%),
    linear-gradient(98deg, rgba(21, 43, 78, 0.64), rgba(101, 45, 78, 0.45));
}

.page-content {
  position: relative;
  z-index: 1;
}

.content-panel {
  padding: 0.7rem 0.85rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(180deg, rgba(16, 18, 24, 0.7), rgba(8, 10, 14, 0.64)),
    rgba(12, 12, 16, 0.62);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(3px) saturate(1.05);
}

.event-heading {
  margin-top: 0.4rem;
  margin-bottom: 0.45rem;
  font-size: clamp(1.75rem, 3.8vw, 3.2rem);
  line-height: 1.02;
  color: transparent;
  background: linear-gradient(92deg, #2bcda8, #f5f7ff, #b76cff, #2bcda8);
  background-size: 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  letter-spacing: 0;
  animation: icml-title-shift 8s ease-in-out infinite;
  text-shadow:
    0 0 18px rgba(43, 205, 168, 0.18),
    0 6px 26px rgba(0, 0, 0, 0.52);
}

.event-heading::after {
  content: "SlidesLive crew hub";
  display: block;
  margin-top: 0.28rem;
  color: rgba(239, 255, 251, 0.68);
  font-size: clamp(0.58rem, 1.15vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.content-panel > div {
  padding-inline: 0.22rem;
}

.content-panel .text-xl.font-bold.text-secondary {
  padding-bottom: 0.28rem;
  padding-left: 0.3rem;
  color: rgba(247, 247, 247, 0.9);
  font-size: 1rem;
  line-height: 1.25;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.46);
}

.link-card {
  min-height: 3.25rem;
  padding-block: 0.45rem;
  padding-inline: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.36);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.link-card .text-primary {
  font-size: 0.9rem;
  line-height: 1.15;
}

.link-card .text-sm {
  font-size: 0.76rem;
  line-height: 1.2;
}

.content-panel .grid {
  gap: 0.42rem;
}

.content-panel .my-1 {
  margin-top: 0.12rem;
  margin-bottom: 0.2rem;
}

.content-panel .h-\[40px\] {
  height: 34px;
}

.content-panel .w-10,
.content-panel .h-10 {
  width: 2.1rem;
  height: 2.1rem;
}

.content-panel .space-x-8 > :not([hidden]) ~ :not([hidden]) {
  margin-left: calc(1.45rem * calc(1 - var(--tw-space-x-reverse)));
}

.bg-background\/70 {
  padding: 0.85rem;
  background-color: rgba(15, 15, 20, 0.68);
}

.bg-background\/70 .text-xl {
  font-size: 1rem;
  line-height: 1.25;
}

.bg-background\/70 .text-sm {
  font-size: 0.78rem;
  line-height: 1.25;
}

.link-card:hover {
  transform: translateY(-1px);
  border-color: rgba(43, 205, 168, 0.32);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

@keyframes icml-title-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@media (max-width: 640px) {
  .page-background-video {
    opacity: 0.72;
  }

  .content-panel {
    padding: 0.65rem 0.6rem 0.75rem;
  }

  .event-heading::after {
    font-size: 0.64rem;
    letter-spacing: 0.1em;
  }
}


/* Smooth GPU-friendly crew marquee
   Replaces the old JavaScript-driven translate + DOM reordering animation. */
.people-section {
  --people-gap: 1.15rem;
  --people-marquee-duration: 78s;
}

.personnel-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 0.08rem;
  margin-bottom: 0.18rem;
  padding: 0.32rem 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(43, 205, 168, 0.08), rgba(183, 108, 255, 0.08)),
    rgba(0, 0, 0, 0.32);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  transform: translateZ(0);
}

.personnel-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: people-marquee var(--people-marquee-duration) linear infinite;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.personnel-marquee:hover .personnel-track {
  animation-play-state: paused;
}

.personnel-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--people-gap);
  padding-right: var(--people-gap);
}

.person-pill {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.55rem;
  min-width: max-content;
  padding: 0.1rem 0.7rem 0.1rem 0.12rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  transform: translateZ(0);
}

.person-avatar {
  width: 2.08rem;
  height: 2.08rem;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.person-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  text-align: left;
  line-height: 1.04;
}

.person-name {
  color: #2bcda8;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.person-position {
  margin-top: 0.12rem;
  color: rgba(203, 213, 225, 0.88);
  font-size: 0.67rem;
  font-weight: 500;
}

@keyframes people-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 640px) {
  .people-section {
    --people-gap: 0.85rem;
    --people-marquee-duration: 62s;
  }

  .personnel-marquee {
    border-radius: 1rem;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  }

  .person-avatar {
    width: 1.85rem;
    height: 1.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .personnel-marquee {
    border-radius: 0.9rem;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .personnel-track {
    width: 100%;
    animation: none;
  }

  .personnel-group {
    flex-wrap: wrap;
  }

  .personnel-group[aria-hidden="true"] {
    display: none;
  }
}
