/* ASTRA MUSIC — página pública de download (mobile-first) */
:root {
  --dl-bg: #050806;
  --dl-bg2: #0a120e;
  --dl-text: #f2f7f4;
  --dl-muted: #8fa396;
  --dl-green: #1db954;
  --dl-green2: #2ef07a;
  --dl-font: "Manrope", system-ui, sans-serif;
  --dl-display: "Space Grotesk", "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--dl-bg);
  color: var(--dl-text);
  font-family: var(--dl-font);
  -webkit-font-smoothing: antialiased;
}

body.dl {
  min-height: 100dvh;
  overflow-x: hidden;
  position: relative;
}

a { color: inherit; text-decoration: none; }

.dl-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(29, 185, 84, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 80%, rgba(46, 240, 122, 0.08), transparent 50%),
    linear-gradient(180deg, var(--dl-bg2) 0%, var(--dl-bg) 55%, #030504 100%);
}

.dl-wrap {
  position: relative;
  z-index: 1;
  width: min(100%, 960px);
  margin: 0 auto;
  padding:
    max(20px, env(safe-area-inset-top))
    max(18px, env(safe-area-inset-right))
    max(28px, env(safe-area-inset-bottom))
    max(18px, env(safe-area-inset-left));
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 100dvh;
}

.dl-brand {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.dl-logo {
  width: min(220px, 58vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 28px rgba(29, 185, 84, 0.22));
}

.dl-main {
  display: grid;
  gap: 20px;
  align-items: center;
  flex: 1;
}

.dl-copy {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dl-kicker {
  margin: 0 0 8px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dl-green2);
}

.dl-title {
  margin: 0 0 10px;
  font-family: var(--dl-display);
  font-size: clamp(2rem, 9vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.dl-sub {
  margin: 0 0 18px;
  max-width: 28ch;
  color: var(--dl-muted);
  font-size: 1.02rem;
  line-height: 1.45;
  font-weight: 500;
}

.dl-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 18px;
}

.dl-meta span {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--dl-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.dl-msg {
  margin: 0 0 16px;
  max-width: 34ch;
  color: #c5e0d0;
  font-size: 0.9rem;
  line-height: 1.45;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 360px);
  min-height: 56px;
  padding: 14px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2ef07a 0%, #1db954 55%, #129a44 100%);
  color: #031109;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  box-shadow:
    0 14px 36px rgba(29, 185, 84, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.dl-btn:active {
  transform: scale(0.98);
}

.dl-btn:hover {
  box-shadow:
    0 18px 44px rgba(29, 185, 84, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.dl-hint {
  margin: 12px 0 0;
  max-width: 32ch;
  color: var(--dl-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.dl-hint b { color: #d4ebe0; font-weight: 700; }

.dl-off {
  width: min(100%, 360px);
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
}

.dl-off strong { display: block; margin-bottom: 6px; }
.dl-off p { margin: 0; color: var(--dl-muted); font-size: 0.9rem; }

.dl-art {
  display: flex;
  justify-content: center;
  order: -1;
  min-height: 180px;
}

.dl-mascot {
  width: min(58vw, 240px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
}

.dl-steps {
  margin-top: 4px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dl-steps h2 {
  margin: 0 0 14px;
  text-align: center;
  font-family: var(--dl-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.dl-steps ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.dl-steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.dl-steps li span {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(29, 185, 84, 0.14);
  color: var(--dl-green2);
  border: 1px solid rgba(29, 185, 84, 0.28);
  font-size: 0.78rem;
  font-weight: 800;
}

.dl-steps b {
  display: block;
  margin-bottom: 2px;
  font-size: 0.92rem;
}

.dl-steps p {
  margin: 0;
  color: var(--dl-muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.dl-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 8px;
  color: var(--dl-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.dl-foot img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: contain;
}

@media (min-width: 860px) {
  .dl-wrap {
    padding-top: 40px;
    padding-bottom: 40px;
    gap: 36px;
  }

  .dl-brand { justify-content: flex-start; }

  .dl-logo { width: 260px; margin: 0; }

  .dl-main {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    min-height: 52vh;
  }

  .dl-art {
    order: 0;
    min-height: 420px;
  }

  .dl-mascot { width: min(100%, 380px); }

  .dl-copy {
    text-align: left;
    align-items: flex-start;
  }

  .dl-sub { max-width: 34ch; }

  .dl-meta { justify-content: flex-start; }

  .dl-btn { width: auto; min-width: 280px; padding-inline: 28px; }

  .dl-hint { max-width: 36ch; }

  .dl-steps h2 { text-align: left; }

  .dl-steps ol {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .dl-steps li {
    flex-direction: column;
    min-height: 100%;
  }

  .dl-foot { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .dl-btn { transition: none; }
}
