/* Download Section */
.download-section {
  margin-top: 48px;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.download-section + .download-section {
  margin-top: 56px;
}

.download-section-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--md-sys-color-on-surface);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.download-section-title .material-icons {
  font-size: 24px;
  color: var(--md-sys-color-primary);
}

.version-badge {
  font-size: 12px;
  font-weight: 500;
  color: var(--md-sys-color-on-primary-container);
  background: var(--md-sys-color-primary-container);
  padding: 2px 10px;
  border-radius: 12px;
  margin-left: 4px;
}

/* Download Grid */
.download-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Download Card */
.download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--md-sys-color-surface-1);
  border-radius: 16px;
  box-shadow: var(--md-sys-elevation-1);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

a.download-card:hover {
  box-shadow: var(--md-sys-elevation-2);
  transform: translateY(-2px);
}

.download-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--md-sys-color-surface-variant);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.download-card-icon .material-icons {
  font-size: 24px;
  color: var(--md-sys-color-primary);
}

.download-card-info {
  flex: 1;
  min-width: 0;
}

.download-card-info h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--md-sys-color-on-surface);
  margin: 0 0 2px;
}

.download-card-info p {
  font-size: 13px;
  color: var(--md-sys-color-on-surface-variant);
  margin: 0;
}

.download-card-arrow {
  font-size: 18px;
  color: var(--md-sys-color-on-surface-variant);
  flex-shrink: 0;
}

/* Desktop file links */
.download-file-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.download-file-links a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--md-sys-color-surface-2);
  color: var(--md-sys-color-primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.download-file-links a:hover {
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
}

.download-file-links a .material-icons {
  font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .download-section {
    margin-top: 36px;
  }

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

  .download-file-links {
    flex-direction: column;
  }

  .download-file-links a {
    justify-content: center;
  }
}
