.free-video-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  margin-top: 17px;
  padding: 0 22px;
  border: 2px solid #fff;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #ff3f6c, #ff9f1c 45%, #ffd60a 72%, #2ec4b6 100%);
  box-shadow: 0 12px 34px rgba(221, 67, 100, 0.36);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  animation: free-video-pulse 2.4s ease-in-out infinite;
}

.free-video-button svg {
  width: 20px;
  height: 20px;
}

@keyframes free-video-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.035);
  }
}

.access-gate {
  margin-top: 20px;
  padding: 16px;
  border: 2px solid #e44a72;
  border-radius: 9px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 214, 10, 0.2), transparent 38%),
    linear-gradient(135deg, rgba(255, 77, 109, 0.09), rgba(58, 134, 255, 0.08));
}

.access-gate-heading {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.access-gate-heading > svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: #d42e62;
}

.access-gate-heading strong {
  display: block;
  color: #a81746;
  font-size: 13px;
}

.access-gate-heading p {
  margin: 5px 0 0;
  color: #67525c;
  font-size: 11px;
  line-height: 1.6;
}

.access-gate-heading code {
  padding: 2px 5px;
  border-radius: 4px;
  color: #fff;
  background: #d42e62;
  font-family: Consolas, monospace;
  font-weight: 800;
}

.access-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  margin-top: 13px;
}

.access-form input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #d5c6cf;
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
}

.video-room-section {
  padding: 8px 0 20px;
}

.room-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 21px;
}

.room-heading .eyebrow {
  margin-bottom: 7px;
}

.room-heading h1 {
  margin: 0;
  font-family: var(--display);
  font-size: 38px;
}

.room-heading > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  color: #0b7066;
  background: rgba(46, 196, 182, 0.14);
  font-size: 10px;
  font-weight: 800;
}

.room-heading > span svg {
  width: 15px;
  height: 15px;
}

.video-room {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.34fr) minmax(0, 1fr);
  align-items: center;
  gap: 15px;
}

.room-video-panel {
  overflow: hidden;
  border: 1px solid rgba(84, 60, 145, 0.14);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 20px 52px rgba(49, 36, 91, 0.14);
}

.room-video-label {
  padding: 9px 12px;
  color: #fff;
  background: var(--rainbow);
  font-size: 10px;
  font-weight: 900;
}

.room-video-panel video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #000;
}

.room-video-info {
  padding: 12px 14px 14px;
}

.room-video-info h2 {
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.room-video-info p {
  margin: 5px 0 0;
  color: #7b827e;
  font-size: 10px;
}

.room-center-popup {
  position: relative;
  z-index: 2;
  padding: 20px 17px;
  border: 2px solid transparent;
  border-radius: 12px;
  text-align: center;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--rainbow) border-box;
  box-shadow: 0 18px 48px rgba(83, 58, 143, 0.2);
  animation: center-popup-breathe 3s ease-in-out infinite;
}

@keyframes center-popup-breathe {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.room-popup-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  border-radius: 50%;
  color: #fff;
  background: var(--rainbow);
}

.room-popup-icon svg {
  width: 21px;
  height: 21px;
}

.room-center-popup h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
}

.room-center-popup p {
  margin: 10px 0 0;
  color: #2a3040;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.65;
}

.room-center-popup strong {
  color: #d42e62;
  font-size: 14px;
}

.room-center-popup small,
.room-notice-shell small {
  display: block;
  margin-top: 8px;
  color: #929894;
  font-size: 9px;
}

.room-center-popup button {
  width: 100%;
  min-height: 37px;
  margin-top: 13px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--rainbow);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.room-notice-dialog {
  width: min(430px, calc(100% - 28px));
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
}

.room-notice-dialog::backdrop {
  background: rgba(12, 9, 20, 0.72);
  backdrop-filter: blur(7px);
}

.room-notice-shell {
  position: relative;
  padding: 33px 27px 26px;
  border-radius: 12px;
  text-align: center;
  background: #fff;
  box-shadow: 0 30px 90px rgba(30, 16, 57, 0.34);
}

.room-notice-shell h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 28px;
}

.room-notice-shell p {
  margin: 14px 0 0;
  color: #242937;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

.room-notice-shell .primary-button {
  width: 100%;
  margin-top: 19px;
}

@media (max-width: 900px) {
  .video-room {
    grid-template-columns: 1fr;
  }

  .room-center-popup {
    max-width: 430px;
    width: 100%;
    margin: 0 auto;
  }
}

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

  .access-form {
    grid-template-columns: 1fr;
  }

  .room-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .room-heading h1 {
    font-size: 31px;
  }

  .room-video-panel video {
    aspect-ratio: 16 / 9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .free-video-button,
  .room-center-popup {
    animation: none;
  }
}
