/* ============================================
   AdCloaker Styles
   Minimal, generic styles that work for both
   safe page and BH page.
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f5f5f5;
  min-height: 100vh;
}

/* Loading state */
.loading-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e0e0e0;
  border-top-color: #3498db;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Content wrapper */
.content-wrapper {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Typography */
h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #222;
}

h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

p {
  margin-bottom: 12px;
  color: #555;
}

a {
  color: #3498db;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Cards */
.card {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.card ul {
  padding-left: 20px;
}

.card li {
  margin-bottom: 6px;
  color: #555;
}

/* Footer */
footer {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #e0e0e0;
  font-size: 0.85rem;
  text-align: center;
  color: #999;
}

/* ============================================
   BH Page Specific
   ============================================ */

.bh-page {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.bh-page h1 {
  color: #fff;
  text-align: center;
}

.bh-page .card {
  color: #333;
}

.bh-page .card.highlight {
  border: 2px solid #f39c12;
  text-align: center;
}

.offer-banner {
  text-align: center;
  margin-bottom: 20px;
}

.countdown {
  display: inline-block;
  background: #e74c3c;
  color: #fff;
  padding: 8px 24px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.95rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  color: #27ae60;
  margin: 8px 0;
}

.original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 1rem;
}

.cta-button {
  display: inline-block;
  background: #e74c3c;
  color: #fff;
  border: none;
  padding: 14px 48px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.2s;
}

.cta-button:hover {
  background: #c0392b;
}

.testimonials {
  margin-top: 20px;
}

.testimonials .card {
  background: rgba(255, 255, 255, 0.95);
}

.author {
  font-size: 0.85rem;
  color: #999;
  margin-top: 4px;
}

/* ============================================
   Safe Page Specific
   ============================================ */

.safe-page .content-wrapper {
  padding-top: 60px;
}

.safe-page footer {
  margin-top: 40px;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 480px) {
  .content-wrapper {
    padding: 20px 16px;
  }

  h1 {
    font-size: 1.5rem;
  }

  .price {
    font-size: 2rem;
  }

  .cta-button {
    padding: 12px 32px;
    width: 100%;
  }
}
