/* Reset & Base */
body {
  background-color: #1a1a1a;
  color: #e5e7eb;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
  background: #3b82f6;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2563eb;
}

/* Utility Classes for View Page */
.download-box {
  background: #252525;
  border: 1px solid #374151;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.btn-generate {
  background: linear-gradient(45deg, #2563eb, #3b82f6);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  display: inline-block;
}

.btn-generate:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-generate:disabled {
  background: #4b5563;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Mirror List Grid */
.mirror-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  display: none; /* Hidden by default until generated */
}

.mirror-btn {
  display: block;
  padding: 0.6rem;
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 0.375rem;
  text-align: center;
  font-size: 0.9rem;
  color: #9ca3af;
  transition: all 0.2s;
}

.mirror-btn:hover {
  background: #374151;
  color: white;
  border-color: #4b5563;
}

/* Ads Placeholders */
.ad-slot {
  display: none !important; /* Tambahkan baris ini untuk menyembunyikan */

  /* Properti di bawah ini akan diabaikan browser karena display: none */
  width: 100%;
  min-height: 100px;
  background: #111;
  /* display: flex;  <-- Hapus atau komentari baris ini karena bertabrakan */
  align-items: center;
  justify-content: center;
  color: #444;
  margin: 1rem 0;
  border-radius: 0.5rem;
  border: 1px dashed #333;
}
