/* ========================================================
   Winpot Ads & Bottom Sliding Popup
   ======================================================== */

/* Bottom Sliding Popup */
.winpot-bottom-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99990;
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.winpot-bottom-popup.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.winpot-bottom-popup.is-dismissed {
  transform: translateY(130%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.winpot-bottom-popup-inner {
  position: relative;
  background: rgba(18, 10, 32, 0.96);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.7), 0 0 24px rgba(124, 58, 237, 0.25);
  backdrop-filter: blur(8px);
  padding: 8px 14px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100vw;
  box-sizing: border-box;
}

.winpot-bottom-popup-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.winpot-bottom-popup-tag {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #f43f5e;
}

.winpot-bottom-popup-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}

.winpot-bottom-popup-close:hover {
  background: #e11d48;
  border-color: #e11d48;
  transform: scale(1.1);
}

.winpot-banner-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  max-width: 100%;
}

.winpot-banner-wrap iframe {
  display: block;
  border: 0;
  background: transparent;
  transform-origin: top center;
}

/* Embedded ad slot styling */
.winpot-ad-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 16px auto;
  padding: 8px;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.winpot-ad-box .winpot-ad-label {
  font-size: 9px;
  color: var(--muted, #888);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.winpot-ad-box iframe {
  max-width: 100%;
  border: 0;
  display: block;
  background: transparent;
}
