.iframe-area {
  width: 100%;
  margin: 0 auto;
  padding: 40px 0px;
  box-sizing: border-box;
}

/* 체류 시간 경고 팝업 */
.stay-warning-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-in-out;
}

.stay-warning-popup.active {
  display: flex;
}

.stay-warning-content {
  background: var(--popup-bg);
  padding: 50px 40px;
  border-radius: 24px;
  text-align: center;
  max-width: 460px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stay-warning-content p {
  font-size: 17px;
  color: var(--popup-text);
  margin-bottom: 30px;
  line-height: 1.7;
  font-weight: bold;
}

.login-box {
  list-style: none;
  display: flex;
  gap: 15px;
  flex-direction: row;
  margin-top: 25px;
}

.login-box li {
  flex: 1;
}

.login-box a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 30px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.login-box a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.login-box a:hover::before {
  left: 100%;
}

.sports-stream-login-btn {
  background: linear-gradient(135deg, #ffa500 0%, #ffa500 100%);
}

.sports-stream-login-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.sports-stream-signup-btn {
  background: linear-gradient(135deg, #5c41f4 0%, #5c41f4 100%);
}

.sports-stream-signup-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(29, 209, 161, 0.4);
}

.login-box a img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.close-popup {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 32px;
  color: var(--wt);
  /* Explicitly set color for visibility in dark mode */
}

.images-box {
  margin: 20px 0;
}

.image-banner {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  /* animation: pulse 2s infinite; */
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px) scale(0.9);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

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

/* 반응형 디자인 */
@media (max-width: 480px) {
  .stay-warning-content {
    padding: 40px 25px;
  }

  .stay-warning-content p {
    font-size: 15px;
  }

  .login-box a {
    font-size: 14px;
    padding: 14px 25px;
  }
}