/* ==========================================================================
   Download Page Styles - GBA-Gen1Recomp
   ========================================================================== */

.dl-hero-section {
  padding: 1.25rem 0 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dl-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--accent-mint);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.dl-pill-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-mint);
}
.dl-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 auto 0.75rem;
  letter-spacing: -0.5px;
  line-height: 1.15;
  text-align: center;
}
.dl-subtitle {
  font-size: 1.05rem;
  color: #9ca3af;
  max-width: 760px;
  line-height: 1.55;
  margin: 0 auto 0.5rem;
  text-align: center;
}
.dl-updated-date {
  font-size: 0.85rem;
  color: #6b7280;
  text-align: center;
}

/* Base App Download Layout */
.dl-layout-wrapper {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1.75rem;
  align-items: start;
  margin-bottom: 3rem;
}
@media (max-width: 1024px) {
  .dl-layout-wrapper {
    grid-template-columns: 1fr;
  }
}

.dl-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.25rem;
}
.dl-section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-mint);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}
.dl-section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.35rem;
}
.dl-section-desc {
  font-size: 0.9rem;
  color: #9ca3af;
}
.dl-header-link {
  color: #60a5fa;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.dl-header-link:hover {
  text-decoration: underline;
}

/* Download Cards Grid (2 columns inside main) */
.dl-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 640px) {
  .dl-grid-2col {
    grid-template-columns: 1fr;
  }
}

.dl-card {
  background: #111713;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: border-color 0.2s, transform 0.2s;
}
.dl-card:hover {
  border-color: rgba(34, 197, 94, 0.35);
  transform: translateY(-2px);
}
.dl-card-icon {
  width: 42px;
  height: 42px;
  background: #17241a;
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-mint);
  flex-shrink: 0;
}
.dl-card-body {
  flex: 1;
}
.dl-card-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}
.dl-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.75rem;
}
.dl-btn {
  background: #16241a;
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: var(--accent-mint);
  font-size: 0.825rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s;
}
.dl-btn:hover {
  background: #1e3324;
  border-color: var(--accent-mint);
  color: #ffffff;
}

/* VoxelMod Callout Section */
.voxelmod-dl-block {
  background: linear-gradient(180deg, #121c15 0%, #0d140f 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2.5rem 0;
}
.voxelmod-dl-card {
  background: #101712;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* Requirements & Content Blocks */
.dl-content-block {
  margin-bottom: 2.5rem;
}
.dl-content-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}
.dl-content-p {
  font-size: 0.95rem;
  color: #d1d5db;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.dl-bullets-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 1rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.dl-bullets-list li {
  color: #d1d5db;
  font-size: 0.925rem;
  line-height: 1.55;
}
.dl-bullets-list strong {
  color: #ffffff;
}

/* Advertisement Placeholder Blocks */
.ad-banner-placeholder {
  width: 100%;
  height: 90px;
  background: #0d120e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin: 1.5rem 0 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar-ad-placeholder {
  width: 100%;
  height: 520px;
  background: #0d120e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: sticky;
  top: 90px;
}

.ad-placeholder-box {
  width: 100%;
  height: 140px;
  background: #0d120e;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 2rem 0;
}
