body.df-download-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 15%, rgba(56, 189, 248, 0.12), transparent 42%),
    radial-gradient(circle at 85% 20%, rgba(99, 102, 241, 0.14), transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(14, 116, 144, 0.18), transparent 50%),
    #0b1220;
  color: #e5e7eb;
}

body.df-download-shell::before,
body.df-download-shell::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

body.df-download-shell::before {
  width: 360px;
  height: 360px;
  top: -120px;
  right: -120px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.28), transparent 70%);
}

body.df-download-shell::after {
  width: 420px;
  height: 420px;
  bottom: -180px;
  left: -180px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.28), transparent 70%);
}

body.df-download-shell {
  --df-accent: #60a5fa;
  --df-accent-strong: #3b82f6;
  --df-accent-soft: rgba(96, 165, 250, 0.22);
}

body.df-download-shell[data-platform="windows"] {
  --df-accent: #60a5fa;
  --df-accent-strong: #2563eb;
  --df-accent-soft: rgba(59, 130, 246, 0.22);
}

body.df-download-shell[data-platform="macos"] {
  --df-accent: #38bdf8;
  --df-accent-strong: #0ea5e9;
  --df-accent-soft: rgba(56, 189, 248, 0.22);
}

body.df-download-shell[data-platform="linux"] {
  --df-accent: #f59e0b;
  --df-accent-strong: #d97706;
  --df-accent-soft: rgba(245, 158, 11, 0.2);
}

.df-header.df-header-download {
  position: relative;
  background: transparent;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  backdrop-filter: blur(18px);
}

.df-download-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.df-download-main {
  position: relative;
  z-index: 1;
  padding: 2.8rem 0 4rem;
}

.df-download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: start;
}

.df-download-card {
  border-radius: 24px;
  padding: 1.8rem;
  background: linear-gradient(155deg, rgba(16, 24, 40, 0.95), rgba(11, 18, 32, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.38),
    0 18px 32px rgba(15, 23, 42, 0.3);
}

.df-download-card.df-download-primary {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.df-download-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.df-download-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
  background: linear-gradient(140deg, var(--df-accent), rgba(94, 234, 212, 0.8));
  box-shadow: 0 12px 26px var(--df-accent-soft);
}

.df-download-platform {
  margin: 0;
  font-weight: 600;
  font-size: 1rem;
  color: #f9fafb;
}

.df-download-variant {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  color: #a5b4fc;
}

.df-download-platform-note {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
}

.df-download-primary h1 {
  margin: 0;
  font-size: 1.8rem;
  color: #f8fafc;
}

.df-download-subtitle {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.5;
}

.df-download-status {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 0.9rem;
  color: #e2e8f0;
}

.df-download-ring {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 3px solid rgba(148, 163, 184, 0.35);
  border-top-color: var(--df-accent);
  animation: df-download-spin 1.1s linear infinite;
}

.df-download-auto {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
}

.df-download-manual {
  padding: 1.1rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.22);
  background: rgba(15, 23, 42, 0.65);
  display: grid;
  gap: 0.5rem;
}

.df-download-manual h2 {
  margin: 0;
  font-size: 1rem;
  color: #f9fafb;
}

.df-download-manual p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.92rem;
}

.df-download-manual .df-btn {
  align-self: flex-start;
}

.df-download-security {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.df-download-security-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--df-accent);
  box-shadow: 0 0 10px var(--df-accent);
}

.df-download-side h2 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  color: #f8fafc;
}

.df-download-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.6rem;
}

.df-download-steps li {
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #cbd5e1;
  font-size: 0.9rem;
}

.df-download-help {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  display: grid;
  gap: 0.4rem;
}

.df-download-help h3 {
  margin: 0;
  font-size: 1rem;
  color: #f8fafc;
}

.df-download-help p {
  margin: 0;
  font-size: 0.9rem;
  color: #94a3b8;
}

.df-download-link-disabled {
  pointer-events: none;
  opacity: 0.6;
}

@keyframes df-download-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .df-download-layout {
    grid-template-columns: 1fr;
  }

  .df-download-main {
    padding-top: 2rem;
  }

  .df-download-card {
    padding: 1.5rem;
  }
}

@media (max-width: 640px) {
  .df-download-header-actions {
    flex-direction: column;
    align-items: flex-end;
  }

  .df-download-primary h1 {
    font-size: 1.5rem;
  }
}
