/* ===== Ad Container Styles ===== */

.ad-container {
  display: none !important; /* Temporarily hidden until AdSense is configured */
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-sm);
  margin: var(--space-lg) auto;
  overflow: hidden;
  position: relative;
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

/* Shimmer placeholder */
.ad-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-surface-hover) 50%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmer 2s infinite linear;
}

.ad-leaderboard {
  width: 100%;
  max-width: 728px;
  min-height: 90px;
}

.ad-rectangle {
  width: 100%;
  max-width: 300px;
  min-height: 250px;
}

.ad-in-content {
  width: 100%;
  max-width: 336px;
  min-height: 280px;
}

.ad-sticky-footer {
  display: none;
}

@media (max-width: 767px) {
  .ad-leaderboard {
    width: 320px;
    height: 100px;
  }

  .ad-sticky-footer {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 50px;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
  }

  body {
    padding-bottom: 60px;
  }
}
