/* ============================================================
 *  DOWNLOAD PAGE
 * ============================================================ */

.page-head {
  text-align: center; margin-bottom: 36px;
}
.page-head-desc {
  max-width: 600px; margin: 12px auto 0;
  color: var(--ranmelle-text-soft);
  font-size: 14px; line-height: 1.6;
}

/* ===== Download cards ===== */
.dl-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
.dl-card {
  position: relative;
  padding: 32px 28px;
  background: var(--panel-bg);
  border: 1.5px solid var(--panel-border);
  border-radius: 20px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: all .3s;
}
.dl-card:hover { transform: translateY(-4px); border-color: rgba(241, 185, 79, .45); }
.dl-card-main {
  border-color: var(--maple-orange);
  box-shadow: 0 0 0 1px rgba(241, 185, 79, .15), 0 12px 36px rgba(100, 148, 232, .15);
}
.dl-card-tag {
  position: absolute; top: 16px; right: 20px;
  padding: 5px 12px; border-radius: 999px;
  background: linear-gradient(180deg, var(--maple-orange) 0%, var(--maple-red) 100%);
  color: #fff; font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.dl-card-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.dl-icon-full {
  background: linear-gradient(135deg, var(--maple-orange) 0%, var(--maple-red) 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(100, 148, 232, .35);
}
.dl-icon-patch {
  background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
  color: #fff;
  box-shadow: 0 12px 28px rgba(88, 101, 242, .3);
}
.dl-card-title {
  font-family: 'Bungee', cursive;
  font-size: 24px; color: var(--cream);
  margin-bottom: 10px;
}
.dl-card-desc {
  font-size: 14px; line-height: 1.55;
  color: rgba(255, 244, 220, .7);
  margin-bottom: 20px;
}
.dl-card-meta {
  list-style: none;
  margin-bottom: 24px;
  padding: 16px 18px;
  background: rgba(11, 10, 35, .4);
  border-radius: 12px;
  font-size: 13px;
}
.dl-card-meta li {
  display: flex; justify-content: space-between;
  padding: 4px 0;
  color: var(--ranmelle-text-soft);
}
.dl-card-meta li strong { color: var(--cream); font-weight: 700; }

.dl-card-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
}
.btn-dl {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px;
  background: var(--ranmelle-panel);
  border: 1.5px solid rgba(255, 244, 220, .2);
  color: var(--cream);
  font-weight: 700; font-size: 13px;
  transition: all .25s;
}
.btn-dl:hover {
  border-color: var(--maple-gold);
  color: var(--maple-gold);
}
.btn-dl-primary {
  background: linear-gradient(180deg, var(--maple-orange) 0%, var(--maple-red) 100%);
  border-color: transparent; color: #fff;
  box-shadow: 0 8px 20px rgba(100, 148, 232, .35);
}
.btn-dl-primary:hover { transform: translateY(-2px); color: #fff; }

/* ===== System requirements ===== */
.sys-req { margin-bottom: 30px; }
.req-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.req-col {
  padding: 22px;
  background: rgba(11, 10, 35, .4);
  border: 1.5px solid rgba(255, 244, 220, .08);
  border-radius: 14px;
}
.req-col-title {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
  font-size: 13px; font-weight: 700;
  color: var(--ranmelle-text-soft);
}
.req-badge {
  padding: 4px 10px; border-radius: 6px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.req-min {
  background: rgba(96, 165, 250, .15); color: #93c5fd;
}
.req-rec {
  background: rgba(241, 185, 79, .15); color: var(--maple-orange);
}
.req-list { list-style: none; }
.req-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 244, 220, .06);
  font-size: 13px;
}
.req-list li:last-child { border-bottom: none; }
.req-list li span {
  color: var(--ranmelle-text-soft);
  font-weight: 600;
}
.req-list li strong { color: var(--cream); font-weight: 700; text-align: right; }

/* ===== Install steps ===== */
.install-steps { margin-bottom: 30px; }
.steps { list-style: none; }
.step {
  display: flex; gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 244, 220, .06);
}
.step:last-child { border-bottom: none; padding-bottom: 0; }
.step:first-child { padding-top: 0; }
.step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--maple-orange) 0%, var(--maple-red) 100%);
  color: #fff;
  font-family: 'Bungee', cursive;
  font-size: 18px;
  box-shadow: 0 6px 14px rgba(100, 148, 232, .35);
}
.step-body h4 {
  font-family: 'Quicksand', sans-serif;
  font-size: 16px; font-weight: 700;
  color: var(--cream);
  margin-bottom: 6px;
}
.step-body p {
  font-size: 13.5px; line-height: 1.55;
  color: var(--ranmelle-text-soft);
}
.step-body code {
  padding: 2px 7px; border-radius: 5px;
  background: rgba(0, 0, 0, .35);
  font-family: 'Press Start 2P', monospace;
  font-size: 10px; color: var(--maple-gold);
}
.step-body a { font-weight: 700; }

/* ===== FAQ / Troubleshoot ===== */
.troubleshoot { margin-bottom: 30px; }
.faq {
  padding: 14px 18px;
  background: rgba(11, 10, 35, .35);
  border: 1.5px solid rgba(255, 244, 220, .08);
  border-radius: 10px;
  margin-bottom: 8px;
  transition: border-color .25s;
}
.faq[open] { border-color: rgba(241, 185, 79, .3); }
.faq summary {
  cursor: pointer;
  font-weight: 700; font-size: 14px;
  color: var(--cream);
  user-select: none;
  list-style: none;
  display: flex; align-items: center; gap: 10px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: '+'; display: inline-block;
  width: 22px; height: 22px;
  border-radius: 6px;
  background: rgba(241, 185, 79, .12);
  color: var(--maple-gold);
  text-align: center; line-height: 22px;
  font-size: 16px; font-weight: 700;
  transition: transform .25s;
}
.faq[open] summary::before { content: '−'; transform: rotate(180deg); }
.faq p {
  margin-top: 10px;
  font-size: 13.5px; line-height: 1.55;
  color: var(--ranmelle-text-soft);
}
.faq p code {
  padding: 2px 6px; border-radius: 4px;
  background: rgba(0, 0, 0, .35);
  font-size: 12px; color: var(--maple-gold);
}

/* ===== Discord CTA ===== */
.dl-cta {
  background: linear-gradient(135deg, rgba(88, 101, 242, .15) 0%, rgba(100, 148, 232, .15) 100%);
  border: 1.5px solid rgba(88, 101, 242, .3);
  border-radius: 18px;
  padding: 28px;
}
.dl-cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.dl-cta h2 {
  font-family: 'Bungee', cursive;
  font-size: 24px;
  color: var(--cream); margin-bottom: 6px;
}
.dl-cta p {
  font-size: 14px;
  color: var(--ranmelle-text);
}

/* ===== Responsive ===== */
@media (max-width: 800px) {
  .dl-grid { grid-template-columns: 1fr; }
  .req-grid { grid-template-columns: 1fr; }
  .dl-cta-inner { flex-direction: column; text-align: center; }
}
