/* Liber Veda Live — download tiles (shell komt uit lv-shell.css) */
.downloads-layout,
.app-required-layout {
  max-width: none;
  width: 100%;
  margin: 0 auto;
}

.downloads-hero,
.app-required-hero {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 22px;
}

.downloads-hero h1,
.app-required-hero h1 {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  letter-spacing: -0.03em;
  margin: 4px 0 10px;
  line-height: 1.25;
}

.downloads-hero .muted,
.app-required-hero .muted {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.download-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
  margin: 0 auto;
  width: 100%;
}

.dl-tile {
  position: relative;
  flex: 1 1 260px;
  max-width: 320px;
  min-width: min(100%, 240px);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(13, 21, 39, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 230px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  box-sizing: border-box;
}

.dl-tile.is-ready:hover {
  border-color: rgba(249, 115, 22, 0.55);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.dl-tile.is-soon { opacity: 0.85; }

.dl-logo-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 14px;
  flex-shrink: 0;
}

.dl-logo {
  width: 36px;
  height: 36px;
  display: block;
  overflow: visible;
}

.dl-tile[data-platform="android"] .dl-logo-wrap {
  background: rgba(61, 220, 132, 0.14);
  border-color: rgba(61, 220, 132, 0.35);
}
.dl-tile[data-platform="windows"] .dl-logo-wrap {
  background: rgba(0, 164, 239, 0.12);
  border-color: rgba(0, 164, 239, 0.35);
}
.dl-tile[data-platform="linux"] .dl-logo-wrap {
  background: rgba(252, 198, 36, 0.12);
  border-color: rgba(252, 198, 36, 0.35);
}
.dl-tile[data-platform="macos"] .dl-logo-wrap,
.dl-tile[data-platform="ios"] .dl-logo-wrap {
  background: rgba(245, 245, 247, 0.08);
  border-color: rgba(245, 245, 247, 0.22);
}

.dl-tile h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}

.dl-blurb {
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 0 0 12px;
  line-height: 1.4;
}

.dl-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dl-ver,
.dl-size,
.dl-status {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 8px;
  border-radius: 999px;
}

.dl-ver { background: rgba(0, 210, 255, 0.12); color: #7dd3fc; }
.dl-size { background: rgba(255, 255, 255, 0.06); color: #cbd5e1; }
.dl-status.is-ready { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; }
.dl-status.is-soon { background: rgba(148, 163, 184, 0.15); color: #94a3b8; }

.dl-spacer { flex: 1; min-height: 14px; }

.dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  text-decoration: none;
  background: #f97316;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 12px;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.dl-btn:hover { background: #ea6a0c; }
.dl-btn-disabled {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  cursor: default;
}

@media (min-width: 980px) {
  .dl-tile {
    flex: 0 1 calc((100% - 32px) / 3);
    max-width: calc((100% - 32px) / 3);
  }
}

@media (max-width: 720px) {
  .download-grid { gap: 12px; }
  .dl-tile {
    flex: 1 1 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
  }
}
