/* =========================================================
   酷玩街机秀官网 · 游戏下载 download.html
   ========================================================= */

/* ---------------- Download hero ---------------- */
.download-hero-layout { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 20px; }
.download-copy { position: relative; z-index: 3; }
.version-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}
.version-pill b { color: #fff; }
.version-pill span { padding: 2px 7px; border-radius: 999px; background: #ffc845; color: #241500; font-size: 9px; font-weight: 800; }
.download-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.store-button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.store-button:hover { transform: translateY(-2px); background: rgba(255, 255, 255, 0.2); }
.store-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: #fff; color: #111; }
.store-button > span:last-child { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.store-button small { font-size: 9px; color: rgba(255, 255, 255, 0.6); }
.store-button b { font-size: 14px; }
.download-note { display: block; margin-top: 14px; font-size: 12px; color: rgba(255, 255, 255, 0.5); }

.download-visual { position: relative; height: 300px; align-self: flex-end; width: 100%; }
.download-logo { position: absolute; left: 0; top: 8%; width: 120px; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.3)); transform: rotate(-4deg); }
.phone { position: absolute; overflow: hidden; padding: 6px; border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 26px; background: linear-gradient(145deg, #303b4f, #07101c); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.phone--a { width: 130px; height: 260px; right: 44%; bottom: -20px; transform: rotate(-8deg); }
.phone--b { width: 142px; height: 280px; right: 2%; bottom: -14px; transform: rotate(7deg); z-index: 2; }

/* ---------------- Steps ---------------- */
.download-steps { background: transparent; }
.step-grid { display: grid; gap: 12px; max-width: var(--content); margin: 0 auto; padding: 0 var(--gutter); }
.step-grid article { position: relative; padding: 20px 16px; border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow); text-align: center; }
.step-grid article > span { position: absolute; right: 16px; top: 12px; color: rgba(90, 29, 240, 0.18); font-weight: 800; font-size: 18px; }
.step-icon { width: 50px; height: 50px; display: grid; place-items: center; margin: 0 auto 14px; border-radius: 16px; background: var(--primary-softer); color: var(--primary-2); font-size: 22px; font-weight: 700; }
.step-grid h3 { font-size: 16px; margin-bottom: 4px; }
.step-grid p { font-size: 12px; color: var(--ink-3); }

@media (min-width: 768px) {
  .download-hero-layout { flex-direction: row; align-items: center; gap: 40px; }
  .download-copy { flex: 1; }
  .download-visual { flex: 1; height: 380px; }
  .phone--a { width: 180px; height: 360px; right: 40%; }
  .phone--b { width: 195px; height: 385px; right: 4%; }
  .download-logo { width: 160px; }
  .step-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (min-width: 1200px) {
  .step-grid { padding: 0; }
}
