/* ============================================
   PREMIUM STREAM LAUNCH ADVERTISEMENT MODAL STYLES
   Professional Broadcast Quality (DAZN / ESPN / F1 TV)
   ============================================ */

/* Backdrop Overlay */
.stream-launch-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 4, 6, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms cubic-bezier(0.16, 1, 0.3, 1), visibility 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.stream-launch-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.stream-launch-backdrop.fade-out {
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}

/* Centered Modal Card */
.stream-launch-modal {
  background: #11131a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 45, 61, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 360px;
  max-width: 90vw;
  box-sizing: border-box;
  transform: scale(0.95);
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

.stream-launch-backdrop.active .stream-launch-modal {
  transform: scale(1);
}

/* 300x250 Centered Advertisement Container */
.ad-modal-frame {
  width: 300px;
  height: 250px;
  min-width: 300px;
  min-height: 250px;
  max-width: 300px;
  max-height: 250px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
  margin-bottom: 2rem; /* Large spacing between ad and countdown */
  box-sizing: border-box;
}

.ad-modal-frame iframe {
  width: 300px !important;
  height: 250px !important;
  border: none !important;
  display: block !important;
  margin: 0 auto !important;
}

/* Countdown Label & Huge Red Number */
.countdown-modal-label {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  opacity: 0.95;
}

.countdown-modal-number {
  color: #ff2d3d; /* Very large, bold, red */
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1;
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  text-shadow: 0 0 25px rgba(255, 45, 61, 0.5);
  transition: transform 150ms ease, opacity 150ms ease;
}

.countdown-modal-number.pulse {
  transform: scale(1.1);
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
  .stream-launch-modal {
    width: 320px;
    padding: 1.75rem 1rem;
  }
  .ad-modal-frame {
    width: 300px;
    height: 250px;
    margin-bottom: 1.5rem;
  }
  .countdown-modal-number {
    font-size: 3.2rem;
  }
}
