/* ============================================
   Ad Placement Zones
   ============================================ */

.ad-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  overflow: hidden;
  position: relative;
}

/* Hide ads for premium users */
.is-premium .ad-zone {
  display: none;
}

/* ---- Banner (horizontal) ---- */
.ad-zone--banner {
  width: 100%;
  min-height: 50px;
  margin: var(--space-4) 0;
}

@media (min-width: 768px) {
  .ad-zone--banner {
    min-height: 90px;
  }
}

/* ---- Rectangle (sidebar) ---- */
.ad-zone--rectangle {
  width: 300px;
  min-height: 250px;
  margin: var(--space-4) auto;
}

/* ---- Interstitial (fullscreen overlay) ---- */
.ad-zone--interstitial {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(0, 0, 0, 0.85);
  border: none;
  border-radius: 0;
  flex-direction: column;
  gap: var(--space-4);
  display: none;
}

.ad-zone--interstitial.is-visible {
  display: flex;
}

.ad-zone__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ad-zone__close .icon {
  width: 16px;
  height: 16px;
}

.ad-zone__timer {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
}

/* ---- Label ---- */
.ad-zone__label {
  position: absolute;
  top: var(--space-1);
  left: var(--space-2);
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.5;
}
