/* ============================================================
   comegame — Download / redirect interstitial page
   ============================================================ */
.dl-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 4rem));
  padding-bottom: clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(1000px 500px at 20% 0%, rgba(16,185,129,0.14), transparent 55%),
    radial-gradient(800px 500px at 90% 100%, rgba(6,95,70,0.3), transparent 55%),
    var(--bg-1);
}
.dl-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

/* Redirect status card */
.redirect-card {
  background: var(--grad-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-lg);
  max-width: 560px;
}
.redirect-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--emerald-bright);
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border-soft);
  background: var(--tint-emerald-08);
  border-radius: var(--r-pill);
  margin-bottom: 1.25rem;
}
.spinner {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border-mid);
  border-top-color: var(--emerald-bright);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.countdown {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--emerald-bright);
}
.progress-track {
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--surface-3);
  overflow: hidden;
  margin: 1.5rem 0;
}
.progress-fill {
  height: 100%;
  width: 0;
  border-radius: var(--r-pill);
  background: var(--grad-emerald);
  box-shadow: 0 0 12px var(--glow-emerald);
  transition: width 0.3s linear;
}
.redirect-card h1 { font-size: var(--fs-h2); margin-bottom: 0.75rem; }
.redirect-card p { color: var(--text-mid); margin-bottom: 1.25rem; }
.redirect-card__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.redirect-card__note {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-hair);
  font-size: var(--fs-xs);
  color: var(--text-low);
}

/* Download phone mockup */
.dl-mockup {
  position: relative;
  justify-self: center;
  width: min(320px, 74vw);
  animation: mockFloat 6s ease-in-out infinite;
}
.dl-mockup__glow {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,0.3), transparent 65%);
  filter: blur(45px);
  z-index: 0;
}

/* Steps / install guide */
.install-steps { counter-reset: dl; }

.dl-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

@media (max-width: 900px) {
  .dl-inner { grid-template-columns: 1fr; text-align: center; }
  .redirect-card { margin-inline: auto; text-align: left; }
  .dl-mockup { order: -1; }
  .redirect-card__actions { justify-content: flex-start; }
}
