/* Download Grid Container */
.vr-download-grid {
  width: 100%;
  margin: 3rem 0;
}

.vr-download-grid__header {
  margin-bottom: 2rem;
  text-align: center;
}

.vr-download-grid__title {
  font-family: var(--font-headline);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vr-download-grid__notice {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: rgba(156, 163, 175, 0.7);
  padding: 0.5rem 1rem;
  background-color: rgba(44, 47, 54, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.25rem;
}

/* Grid Layout */
.vr-download-grid__cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .vr-download-grid__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .vr-download-grid__cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .vr-download-grid__cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Download Card */
.vr-download-card {
  background-color: rgba(22, 22, 42, 0.5);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.2s ease;
  position: relative;
  min-height: 240px;
}

.vr-download-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background-color: rgba(22, 22, 42, 0.7);
  transform: translateY(-2px);
}

.vr-download-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.25rem;
}

.vr-download-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.vr-download-card__icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--secondary);
  stroke-width: 1.5;
}

.vr-download-card__badge {
  background-color: rgba(108, 117, 125, 0.3);
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vr-download-card__title {
  margin: 0 0 0.5rem 0;
  font-family: var(--font-headline);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--foreground);
  line-height: 1.3;
}

.vr-download-card__desc {
  margin: 0 0 auto 0;
  color: rgba(156, 163, 175, 0.8);
  font-size: 0.875rem;
  line-height: 1.5;
  flex-grow: 1;
}

.vr-download-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.5rem;
}

.vr-download-card__version {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--secondary);
  font-weight: 400;
}

.vr-download-card__size {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: rgba(156, 163, 175, 0.6);
  font-weight: 400;
}

.vr-download-card__link {
  display: inline-block;
  padding: 0.6rem 1.6rem;
  border: 2px solid #39FF14;
  border-radius: 6px;
  text-decoration: none;
  text-align: center;
  margin-top: 0.5rem;

  /* Typography */
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;

  /* Colors */
  color: var(--foreground);
  background: rgba(0, 0, 0, 0.35);

  /* Glow + smooth transition */
  box-shadow:
    0 0 6px #39FF14,
    inset 0 0 10px rgba(57, 255, 20, 0.15);
  transition:
    box-shadow 0.25s ease,
    transform 0.2s ease,
    background 0.2s ease;
  cursor: pointer;
}

/* Hover state - amplify the neon */
.vr-download-card__link:hover {
  background: rgba(57, 255, 20, 0.08);
  transform: translateY(-2px) scale(1.03);
  color: var(--foreground);
  text-decoration: none;

  box-shadow:
    0 0 12px #39FF14,
    0 0 24px rgba(57, 255, 20, 0.6),
    inset 0 0 14px rgba(57, 255, 20, 0.2);
}

/* Active click state */
.vr-download-card__link:active {
  transform: translateY(0) scale(0.98);
  box-shadow:
    0 0 5px #39FF14,
    inset 0 0 8px rgba(57, 255, 20, 0.35);
}