/* Vaco TV — Download page (standalone styles) */

/* Reset global section padding on this page */
.download-page section {
  padding: 0;
}

.download-page main {
  overflow-x: hidden;
}

.download-glow {
  position: fixed;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 120vw);
  height: 500px;
  background: radial-gradient(ellipse, rgba(34, 158, 217, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ── Hero ── */
.dl-hero {
  padding: 2.5rem 0 3rem;
}

.dl-hero-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.dl-hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.dl-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fcd34d;
  font-size: 0.82rem;
  font-weight: 700;
}

.dl-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
  animation: dl-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes dl-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

.dl-title {
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  line-height: 1.2;
  margin: 0 0 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dl-subtitle {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 2.5vw, 1.08rem);
  line-height: 1.75;
  margin: 0 0 1.75rem;
  max-width: 54ch;
}

.dl-cta-block {
  margin-bottom: 1.25rem;
  width: 100%;
  max-width: 380px;
}

.btn-telegram {
  background: linear-gradient(135deg, #1a9fd8, #229ed9);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(34, 158, 217, 0.4);
  text-decoration: none;
}

.btn-telegram:hover {
  color: #fff !important;
  box-shadow: 0 12px 32px rgba(34, 158, 217, 0.55);
}

.btn-telegram-hero {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.5rem;
  width: 100%;
  font-size: 1rem;
  border-radius: 16px;
  animation: dl-cta-glow 3s ease-in-out infinite;
}

@keyframes dl-cta-glow {
  0%, 100% { box-shadow: 0 8px 28px rgba(34, 158, 217, 0.4); }
  50%       { box-shadow: 0 12px 40px rgba(34, 158, 217, 0.65); }
}

.btn-telegram-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.btn-telegram-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.3;
  text-align: start;
}

.btn-telegram-text small {
  font-size: 0.78rem;
  opacity: 0.85;
  font-weight: 600;
}

.dl-cta-hint {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.dl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dl-tag {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  color: var(--text-muted);
}

/* ── Visual card ── */
.dl-hero-visual {
  display: flex;
  justify-content: center;
  width: 100%;
}

.dl-visual-card {
  position: relative;
  width: 100%;
  max-width: 340px;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(12, 24, 48, 0.95), rgba(0, 89, 255, 0.08));
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: var(--shadow);
}

.dl-visual-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(34, 158, 217, 0.5), transparent 40%, rgba(0, 89, 255, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.dl-visual-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.dl-visual-top img {
  border-radius: 14px;
  flex-shrink: 0;
}

.dl-visual-top strong {
  display: block;
  font-size: 1.1rem;
}

.dl-visual-top span {
  display: block;
  font-size: 0.82rem;
  color: #f59e0b;
  font-weight: 600;
}

.dl-visual-stores {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.dl-store {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  font-size: 0.88rem;
  font-weight: 600;
}

.dl-store--off {
  opacity: 0.45;
  text-decoration: line-through;
  text-decoration-color: rgba(239, 68, 68, 0.6);
}

.dl-visual-arrow {
  text-align: center;
  font-size: 1.25rem;
  color: var(--text-muted);
  margin: 0.75rem 0;
}

.dl-visual-telegram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34, 158, 217, 0.25), rgba(34, 158, 217, 0.1));
  border: 1px solid rgba(34, 158, 217, 0.45);
  color: #7dd3fc;
  font-weight: 700;
  font-size: 0.95rem;
}

/* ── Benefits ── */
.dl-benefits-section {
  padding: 2rem 0 3rem;
}

.dl-section-head {
  text-align: center;
  margin-bottom: 2rem;
}

.dl-section-head h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  margin: 0 0 0.4rem;
  font-weight: 800;
}

.dl-section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.dl-benefits {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.dl-benefit {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.dl-benefit:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-3px);
}

.dl-benefit-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.dl-benefit-icon--blue  { background: rgba(59, 130, 246, 0.15); }
.dl-benefit-icon--green { background: rgba(34, 197, 94, 0.15); }
.dl-benefit-icon--gold  { background: rgba(245, 158, 11, 0.15); }

.dl-benefit h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.dl-benefit p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── Steps ── */
.dl-steps-section {
  padding: 1rem 0 3rem;
}

.dl-steps-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 89, 255, 0.1), rgba(99, 102, 241, 0.06));
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.dl-steps-head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.dl-steps-head h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 800;
}

.dl-steps-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.dl-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.dl-steps li {
  display: flex;
  gap: 0.85rem;
  padding: 1.15rem;
  border-radius: var(--radius);
  background: rgba(9, 15, 29, 0.5);
  border: 1px solid var(--surface-border);
}

.dl-step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-glow));
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
}

.dl-steps li strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.dl-steps li p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Footer actions ── */
.dl-footer-actions {
  padding: 0 0 4rem;
}

.dl-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ── Floating Telegram button ── */
.dl-fab {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-end: 1.25rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a9fd8, #229ed9);
  color: #fff;
  box-shadow: 0 8px 28px rgba(34, 158, 217, 0.55);
  transition: transform 0.2s ease;
  text-decoration: none;
}

.dl-fab:hover {
  color: #fff;
  transform: scale(1.08);
}

/* ── Responsive ── */
@media (min-width: 600px) {
  .dl-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .dl-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 900px) {
  .dl-hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .dl-benefits {
    grid-template-columns: repeat(3, 1fr);
  }

  .dl-fab {
    display: none;
  }
}

@media (max-width: 899px) {
  .dl-hero-content {
    align-items: center;
    text-align: center;
  }

  .dl-status {
    justify-content: center;
  }

  .dl-subtitle {
    max-width: 100%;
  }

  .dl-cta-block {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .btn-telegram-text {
    align-items: center;
    text-align: center;
  }

  .dl-tags {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .dl-hero {
    padding: 1.75rem 0 2rem;
  }

  .btn-telegram-hero {
    padding: 0.9rem 1.1rem;
    font-size: 0.92rem;
  }

  .btn-telegram-icon {
    width: 38px;
    height: 38px;
  }

  .dl-footer-actions {
    padding-bottom: 5.5rem;
  }

  .dl-visual-card {
    max-width: 100%;
  }
}
