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

body {
  background: #000;
  font-family: 'Courier New', monospace;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.hero-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
}
/* Navigation styles are injected by shared-nav.js */
.page-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 72px;
  position: relative;
  z-index: 1;
}
.download-container {
  width: 480px;
  max-width: 92vw;
  padding: 40px 32px;
  background: rgba(10, 10, 20, 0.9);
  border: 1px solid rgba(0, 255, 255, 0.15);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.download-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 26px;
  font-weight: bold;
  color: #00ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  margin-bottom: 8px;
  text-decoration: none;
}
.download-title .logo-icon-img {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.download-subtitle {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 32px;
}

/* Loading state */
.download-loading {
  text-align: center;
  padding: 40px 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

.download-loading .spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(0, 255, 255, 0.2);
  border-top-color: #00ffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 12px;
}

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

/* Version info */
.download-version {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 20px;
}

/* Asset cards */
.download-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s, border-color 0.2s;
}

.download-card:hover {
  background: rgba(0, 255, 255, 0.08);
  border-color: rgba(0, 255, 255, 0.3);
}

.download-card-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.download-card-arch {
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.download-card-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}

.badge-recommended {
  font-size: 10px;
  font-weight: normal;
  padding: 2px 7px;
  border-radius: 10px;
  color: #00ffff;
  background: rgba(0, 255, 255, 0.12);
  border: 1px solid rgba(0, 255, 255, 0.25);
}

.download-card-icon {
  font-size: 20px;
  color: rgba(0, 255, 255, 0.6);
}

/* Fallback / empty state */
.download-empty {
  text-align: center;
  padding: 32px 0;
  color: rgba(255, 255, 255, 0.35);
  font-size: 13px;
  line-height: 1.6;
}

/* Requirements note */
.download-requirements {
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 24px;
  line-height: 1.5;
}

/* Footer link */
.download-footer {
  text-align: center;
}

.download-footer a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.2s;
}

.download-footer a:hover {
  color: #00ffff;
}

/* Error state */
.download-error {
  text-align: center;
  padding: 24px 0;
  color: #ff6b6b;
  font-size: 12px;
}

@media (max-width: 520px) {
  .download-container {
    padding: 32px 20px;
  }

  .download-card {
    padding: 14px 16px;
  }
}
