/*
 * BSV10 Banner Stylesheet
 * System Banner V10 (BSV10) official styles for mobile-first & responsive landing page integration
 */

#bsv10-banner-root {
  width: 100%;
  z-index: 999999;
  box-sizing: border-box;
  font-family: inherit;
}

#bsv10-banner-root.scrollable {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #25160C;
  overflow: hidden;
}

#bsv10-banner-root.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(37, 22, 12, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

.bsv10-banner-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}

.bsv10-banner-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bsv10-thumb-btn {
  position: absolute;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: #25D366;
  color: #FFFFFF;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  border: none;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: bsv10Pulse 2s infinite;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.bsv10-thumb-btn:hover {
  background: #1EBE5D;
}

.bsv10-scroll-hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.92;
  text-align: center;
  animation: bsv10Bounce 1.5s infinite;
  z-index: 10;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}

@keyframes bsv10Pulse {
  0% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.05); }
  100% { transform: translateX(-50%) scale(1); }
}

@keyframes bsv10Bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -6px); }
  60% { transform: translate(-50%, -3px); }
}

/* 
 * BSV10 Breakpoint Standard:
 * Responsive threshold: breakpoint 999.98px (mobile devices).
 * On desktop (>= 1000px), banner is hidden to comply with Google Ads standards,
 * unless .preview-desktop is active for local testing.
 */
@media (min-width: 1000px) {
  #bsv10-banner-root:not(.preview-desktop) {
    display: none !important;
  }
  #bsv10-banner-root.preview-desktop {
    max-height: 85vh;
  }
}
