.meeting-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(64, 234, 245, 0.72);
  color: #eaffff;
  background: linear-gradient(115deg, rgba(0, 187, 178, 0.2), rgba(64, 234, 245, 0.08), rgba(0, 187, 178, 0.2));
  background-size: 220% 100%;
  box-shadow: 0 0 24px rgba(64, 234, 245, 0.14);
  animation: meetingGlow 2.5s ease-in-out infinite, meetingShift 5s linear infinite;
}

.meeting-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 25%, rgba(255, 255, 255, 0.22) 50%, transparent 75%);
  transform: translateX(-125%);
  animation: meetingSweep 3.4s ease-in-out infinite;
}

.meeting-button:hover,
.meeting-button:focus-visible {
  color: #fff;
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.3), 0 0 28px rgba(64, 234, 245, 0.28);
  outline: none;
}

.meeting-camera {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  color: #03111f;
  background: var(--cyan);
  font-size: 10px;
  box-shadow: 0 0 0 0 rgba(64, 234, 245, 0.5);
  animation: meetingPulse 2s ease-out infinite;
}

.meeting-button b {
  color: var(--gold);
}

.pacer-nav {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  padding: 10px 14px;
  border: 1px solid rgba(64, 234, 245, 0.56);
  border-radius: 999px;
  color: #eaffff !important;
  background: linear-gradient(110deg, rgba(64, 234, 245, 0.11), rgba(231, 184, 91, 0.11));
  box-shadow: 0 0 18px rgba(64, 234, 245, 0.1);
  animation: pacerGlow 3s ease-in-out infinite;
}

.pacer-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: translateX(-130%);
  animation: pacerSweep 4s ease-in-out infinite;
}

.pacer-nav:hover,
.pacer-nav:focus-visible {
  color: #fff !important;
  border-color: var(--gold);
  transform: translateY(-2px);
  outline: none;
}

.pacer-nav > span,
.pacer-nav > b {
  color: var(--gold);
}

.internal-ticket {
  margin-top: 12px;
  border-color: rgba(64, 234, 245, 0.55);
  background: linear-gradient(115deg, rgba(64, 234, 245, 0.12), rgba(5, 34, 55, 0.92));
  animation: internalTicketGlow 3s ease-in-out infinite;
}

.internal-ticket::after {
  content: "INTERNAL";
  position: absolute;
  right: 42px;
  top: 7px;
  color: var(--cyan);
  font: 700 7px "Space Grotesk", sans-serif;
  letter-spacing: 0.16em;
}

.project-portal {
  margin-top: 12px;
  border-color: rgba(231, 184, 91, 0.62);
  background: linear-gradient(115deg, rgba(231, 184, 91, 0.15), rgba(5, 34, 55, 0.94), rgba(64, 234, 245, 0.1));
  background-size: 220% 100%;
  animation: projectPortalGlow 3.2s ease-in-out infinite, projectPortalShift 6s linear infinite;
}

.portal-grid-icon {
  display: grid;
  grid-template-columns: repeat(2, 7px);
  gap: 3px;
  flex: 0 0 auto;
  padding: 7px;
  border: 1px solid var(--gold);
  border-radius: 7px;
  background: rgba(231, 184, 91, 0.08);
}

.portal-grid-icon i {
  width: 7px;
  height: 7px;
  border: 1px solid var(--cyan);
  background: rgba(64, 234, 245, 0.16);
  animation: portalCell 2.4s ease-in-out infinite;
}

.portal-grid-icon i:nth-child(2) { animation-delay: 0.3s; }
.portal-grid-icon i:nth-child(3) { animation-delay: 0.6s; }
.portal-grid-icon i:nth-child(4) { animation-delay: 0.9s; }

@keyframes meetingGlow {
  50% { box-shadow: 0 0 36px rgba(64, 234, 245, 0.34); }
}

@keyframes meetingShift {
  to { background-position: 220% 0; }
}

@keyframes meetingSweep {
  0%, 36% { transform: translateX(-125%); }
  76%, 100% { transform: translateX(125%); }
}

@keyframes meetingPulse {
  72%, 100% { box-shadow: 0 0 0 12px rgba(64, 234, 245, 0); }
}

@keyframes internalTicketGlow {
  50% { box-shadow: 0 0 34px rgba(64, 234, 245, 0.24); }
}

@keyframes pacerGlow {
  50% { box-shadow: 0 0 27px rgba(64, 234, 245, 0.25); }
}

@keyframes pacerSweep {
  0%, 42% { transform: translateX(-130%); }
  78%, 100% { transform: translateX(130%); }
}

@keyframes projectPortalGlow {
  50% { box-shadow: 0 0 36px rgba(231, 184, 91, 0.24); }
}

@keyframes projectPortalShift {
  to { background-position: 220% 0; }
}

@keyframes portalCell {
  50% {
    border-color: var(--gold);
    background: rgba(231, 184, 91, 0.48);
    box-shadow: 0 0 8px rgba(231, 184, 91, 0.5);
  }
}

@media (prefers-reduced-motion: reduce) {
  .meeting-button,
  .meeting-button::before,
  .meeting-camera,
  .internal-ticket,
  .project-portal,
  .portal-grid-icon i,
  .pacer-nav,
  .pacer-nav::before {
    animation: none;
  }
}

@media (max-width: 600px) {
  .meeting-button {
    width: 100%;
  }
}
