/* ==========================================================================
   ALEXA GAME: ADMOB 100 BANNERS & CINEMATIC VIDEO (CSS MODULE: ADMOB)
   Better Ads Standards Compliant • Zero Brutal Overlays
   ========================================================================== */
.ad-catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
}

@media (min-width: 600px) {
  .ad-catalog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.admob-banner-unit {
  position: relative;
  background: #0B1019;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.admob-banner-unit:hover {
  border-color: rgba(0, 245, 155, 0.25);
}

.ad-unit-tag-pill {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #94A3B8;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.ad-unit-body {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ad-unit-icon {
  font-size: 24px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
}

.ad-unit-info {
  flex: 1;
  min-width: 0;
}

.ad-unit-brand {
  font-size: 12px;
  font-weight: 800;
  color: #FFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ad-unit-desc {
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ad-unit-cta {
  background: var(--primary);
  color: #000;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

/* Modal Engine Video AdMob */
#ad-engine-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px;
}

.ad-video-container {
  width: 100%;
  max-width: 440px;
  background: #0B1019;
  border: 1px solid var(--border-focus);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 245, 155, 0.2);
}

.ad-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #0E1522;
  border-bottom: 1px solid var(--border-subtle);
}

.ad-timer-pill {
  background: rgba(255, 202, 40, 0.15);
  color: var(--gold);
  border: 1px solid var(--border-gold);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  font-family: var(--font-mono);
}

.ad-video-stage {
  position: relative;
  width: 100%;
  background: #000;
  aspect-ratio: 16 / 9;
}

#ad-canvas-player {
  width: 100%;
  height: 100%;
  display: block;
}

.ad-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.ad-progress-bar {
  height: 100%;
  background: var(--primary);
  width: 0%;
  transition: width 0.2s linear;
}
