/* download.css - platform download cards: 3D tilt + neon glow. */

.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.8rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.dl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  padding: 2.2rem 1.5rem;
  border-radius: 22px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  text-decoration: none;
  color: #e8e8f0;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), border-color .35s;
  transform-style: preserve-3d;
  will-change: transform;
  overflow: hidden;
}
.dl-card:hover {
  transform: translateY(-10px) scale(1.04);
  border-color: rgba(0,206,201,.5);
}

/* neon glow blob that grows on hover */
.dl-glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at center, rgba(108,92,231,.35), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  z-index: 0;
  pointer-events: none;
}
.dl-card:hover .dl-glow { opacity: 1; animation: glowSpin 6s linear infinite; }
@keyframes glowSpin { to { transform: rotate(360deg); } }

.dl-card > * { position: relative; z-index: 1; }
.dl-card h3 { font-size: 1.3rem; }
.dl-ver { color: #a0a0c0; font-size: .88rem; }
.dl-size { color: #707090; font-size: .78rem; margin-bottom: .8rem; }
.dl-card .btn { margin-top: auto; }

/* platform glyphs */
.dl-icon {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: .3rem;
  filter: drop-shadow(0 4px 12px rgba(108,92,231,.4));
  transition: transform .4s cubic-bezier(.68,-.55,.27,1.55);
}
.dl-card:hover .dl-icon { transform: scale(1.2) rotate(-8deg); }

.dl-icon.mac::after   { content: ""; }
.dl-icon.ios::after   { content: ""; }
/* apple glyph (no emoji reliable on all OSes) */
.dl-icon.mac, .dl-icon.ios {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg,#f5f5f7,#b0b0c0);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M16.4 12.6c0-2 1.6-3 1.7-3.1-1-1.4-2.4-1.6-2.9-1.6-1.2-.1-2.4.7-3 .7s-1.6-.7-2.6-.7c-1.3 0-2.6.8-3.2 2-1.4 2.4-.4 6 1 8 .6 1 1.4 2.1 2.4 2.1 1 0 1.3-.6 2.5-.6s1.5.6 2.5.6 1.7-1 2.3-2c.7-1.1 1-2.2 1-2.3-.1 0-2-.8-2-3zM14.5 6.5c.5-.7.9-1.6.8-2.5-.8 0-1.7.5-2.3 1.2-.5.6-.9 1.5-.8 2.4.9.1 1.7-.4 2.3-1.1z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M16.4 12.6c0-2 1.6-3 1.7-3.1-1-1.4-2.4-1.6-2.9-1.6-1.2-.1-2.4.7-3 .7s-1.6-.7-2.6-.7c-1.3 0-2.6.8-3.2 2-1.4 2.4-.4 6 1 8 .6 1 1.4 2.1 2.4 2.1 1 0 1.3-.6 2.5-.6s1.5.6 2.5.6 1.7-1 2.3-2c.7-1.1 1-2.2 1-2.3-.1 0-2-.8-2-3zM14.5 6.5c.5-.7.9-1.6.8-2.5-.8 0-1.7.5-2.3 1.2-.5.6-.9 1.5-.8 2.4.9.1 1.7-.4 2.3-1.1z'/></svg>") center/contain no-repeat;
}

/* system requirements table */
.req-section { max-width: 700px; margin: 3rem auto; padding: 0 1rem; }
.req-section h2 { text-align: center; margin-bottom: 1.5rem; }
.req-table { display: flex; flex-direction: column; gap: .6rem; }
.req-row {
  display: grid; grid-template-columns: 1fr 1fr 1.5fr;
  align-items: center; gap: 1rem;
  padding: .9rem 1.2rem;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  border-left: 3px solid transparent;
  transition: border-color .3s, transform .3s, background .3s;
}
.req-row:hover { border-left-color: #00cec9; transform: translateX(6px); background: rgba(0,206,201,.06); }
.req-row span { color: #a29bfe; font-weight: 600; }
.req-row b { color: #e8e8f0; }
.req-row i { color: #9090b0; font-style: normal; }
