/* Import shared/global styles (avoid duplicate body/footer/animations) */
@import "global.css";

/* Compact page-specific rules */

/* header uses shared .middle-screen, adjust padding smaller */
.middle-screen {
  padding: 20px 16px;
  min-height: auto;
}

/* Downloads container — narrower and tighter */
.downloads {
  max-width: 880px;
  margin: 28px auto;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 0 18px #00aaff20;
}

/* responsive grid: compact cards */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

/* compact card */
.download-item {
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  box-shadow: 0 4px 14px #00000030;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.download-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px #00aaff25, 0 0 30px #ff00ff18;
}

.download-item h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #00ccff;
  text-shadow: 0 0 8px #00aaff;
}

.download-item p {
  margin: 0 0 10px;
  color: #ccc;
  font-size: 0.92rem;
  line-height: 1.3;
}

/* smaller buttons */
.btn {
  padding: 8px 14px;
  font-size: 0.9rem;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(255, 0, 255, 0.35);
}

/* keep nav compact */
.nav {
  margin: 18px 0;
}


@media (max-height: 780px) {
  body {
    padding-bottom: 110px;
  }
}

/* small screen tweaks */
@media (max-width: 520px) {
  .download-item {
    padding: 10px;
  }
  .download-grid {
    gap: 10px;
  }
  .btn {
    padding: 8px 12px;
  }
}