/* nado tv — صفحة التحميل (Buz Cup + nado مؤقتاً) */

.download-page section {
  padding: 0;
}

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

.download-glow {
  position: fixed;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 120vw);
  height: 480px;
  background: radial-gradient(ellipse, rgba(93, 212, 213, 0.22) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.download-glow--gold {
  top: auto;
  bottom: 10%;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.18) 0%, transparent 72%);
}

/* ── nado tv card ── */
.dl-hero--nado {
  padding: clamp(24px, 4vw, 40px) 0 clamp(16px, 3vw, 24px);
  position: relative;
  z-index: 1;
}

.dl-nado-card {
  padding: clamp(20px, 4vw, 32px);
  border-radius: clamp(18px, 3vw, 28px);
  background: rgba(6, 46, 47, 0.45);
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: var(--shadow);
}

.dl-nado-card__head {
  margin-bottom: 16px;
}

.dl-nado-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 16px;
}

.dl-nado-brand img {
  border-radius: 14px;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.dl-nado-meta {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: #fde68a;
  font-weight: 600;
}

.dl-store-row {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.dl-store-row--off {
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .dl-store-row--off {
    grid-template-columns: 1fr 1fr;
  }
}

.btn-telegram-compact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  width: 100%;
  justify-content: center;
}

@media (min-width: 520px) {
  .btn-telegram-compact {
    width: auto;
  }
}

/* ── Buz Cup hero ── */
.dl-hero--buzcup {
  padding: clamp(20px, 4vw, 32px) 0 clamp(32px, 5vw, 56px);
  position: relative;
  z-index: 1;
}

.dl-buzcup-inner {
  display: grid;
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  border-radius: clamp(20px, 3vw, 32px);
  background: linear-gradient(145deg, rgba(15, 74, 75, 0.85), rgba(27, 60, 115, 0.55));
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 24px 60px rgba(6, 46, 47, 0.45);
}

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

.dl-buzcup-title {
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 14px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.dl-buzcup-title em {
  font-style: normal;
  color: #f0d78c;
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.45);
}

.dl-subtitle--buzcup {
  margin-bottom: 20px;
}

.dl-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
  width: 100%;
}

.dl-feature-list li {
  position: relative;
  padding: 10px 14px 10px 36px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-soft);
}

.dl-feature-list li::before {
  content: "✓";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #4ade80;
  font-weight: 800;
}

/* ── Status badges ── */
.dl-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 16px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.dl-status--warn {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fde68a;
}

.dl-status--live {
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #86efac;
}

.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;
}

.dl-status-dot--green {
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

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

.dl-title {
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  line-height: 1.2;
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.dl-title em {
  font-style: normal;
  color: var(--bg-glow);
  text-shadow: 0 0 40px rgba(93, 212, 213, 0.5);
}

.dl-subtitle {
  color: var(--text-soft);
  font-size: clamp(0.92rem, 2.5vw, 1.05rem);
  line-height: 1.75;
  margin: 0;
  max-width: 60ch;
}

/* ── Google Play button ── */
.dl-cta-block {
  margin-bottom: 18px;
  width: 100%;
  max-width: 400px;
}

.btn-playstore {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  width: 100%;
  border-radius: 16px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff !important;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: dl-play-glow 3.5s ease-in-out infinite;
}

.btn-playstore:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 24px rgba(212, 175, 55, 0.2);
}

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

.btn-playstore__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
  text-align: right;
}

.btn-playstore__text small {
  font-size: 0.75rem;
  opacity: 0.8;
  font-weight: 500;
}

.btn-playstore__text strong {
  font-size: 1.15rem;
  font-weight: 800;
}

.btn-playstore--sm {
  width: auto;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  gap: 10px;
  animation: none;
}

@keyframes dl-play-glow {
  0%, 100% { box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35); }
  50%       { box-shadow: 0 14px 44px rgba(212, 175, 55, 0.25); }
}

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

.dl-cta-hint code {
  font-size: 0.75rem;
  color: var(--code);
  background: rgba(0, 0, 0, 0.25);
  padding: 2px 6px;
  border-radius: 6px;
}

.dl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dl-tag {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(6, 46, 47, 0.4);
  border: 1px solid var(--card-border);
  color: var(--text-soft);
}

.dl-tag--gold {
  background: rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.4);
  color: #f0d78c;
}

/* ── Buz Cup visual ── */
.dl-buzcup-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.dl-buzcup-phone {
  position: relative;
  width: min(100%, 280px);
}

.dl-buzcup-phone__glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 65%);
  pointer-events: none;
}

.dl-buzcup-phone__screen {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  border-radius: 28px;
  background: linear-gradient(160deg, #0f4a4b, #1b3c73);
  border: 2px solid rgba(212, 175, 55, 0.35);
  box-shadow: var(--shadow);
}

.dl-buzcup-phone__screen img {
  border-radius: 22px;
  margin-bottom: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.dl-buzcup-phone__screen strong {
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.dl-buzcup-phone__screen > span {
  font-size: 0.88rem;
  color: var(--text-soft);
  margin-bottom: 16px;
}

.dl-buzcup-badge {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #86efac;
  font-size: 0.82rem;
  font-weight: 700;
}

.dl-ios-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--card-border);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0.85;
  width: min(100%, 280px);
  justify-content: center;
}

/* ── Store chips ── */
.dl-store {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border);
  font-size: 0.88rem;
  font-weight: 600;
}

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

/* ── Telegram (shared) ── */
.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);
}

/* ── Benefits ── */
.dl-benefits-section {
  padding: 32px 0 48px;
  position: relative;
  z-index: 1;
}

.dl-section-head {
  text-align: center;
  margin-bottom: 32px;
}

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

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

.dl-benefits {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.dl-benefit {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(6, 46, 47, 0.35);
  border: 1px solid var(--card-border);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.dl-benefit:hover {
  border-color: rgba(212, 175, 55, 0.45);
  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: 14px;
}

.dl-benefit-icon--teal  { background: rgba(93, 212, 213, 0.2); }
.dl-benefit-icon--green { background: rgba(34, 197, 94, 0.2); }
.dl-benefit-icon--gold  { background: rgba(245, 158, 11, 0.2); }

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

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

/* ── Steps ── */
.dl-steps-section {
  padding: 16px 0 48px;
  position: relative;
  z-index: 1;
}

.dl-steps-card {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
  background: rgba(6, 46, 47, 0.4);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
}

.dl-steps-head {
  text-align: center;
  margin-bottom: 28px;
}

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

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

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

.dl-steps li {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-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, #d4af37, #b8962e);
  color: #1a1a2e;
  font-weight: 800;
  font-size: 0.95rem;
}

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

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

/* ── Footer actions ── */
.dl-footer-actions {
  padding: 0 0 64px;
  position: relative;
  z-index: 1;
}

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

/* ── Homepage warn banner ── */
.warn-banner {
  margin: 0 0 20px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  max-width: 100%;
}

.warn-banner p {
  margin: 0 0 14px;
  color: #fde68a;
  font-size: 0.92rem;
  line-height: 1.55;
}

.warn-banner .warn-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-telegram-sm {
  padding: 12px 20px;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-buzcup-sm {
  padding: 12px 20px;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #fff !important;
  border-radius: 14px;
  font-weight: 700;
}

.btn-buzcup-sm:hover {
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ── FAB ── */
.dl-fab {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left));
  z-index: 90;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
  text-decoration: none;
}

.dl-fab--play {
  background: linear-gradient(135deg, #1a1a2e, #0f3460);
  border: 1px solid rgba(212, 175, 55, 0.45);
}

.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: 20px;
  }
}

@media (min-width: 900px) {
  .dl-buzcup-inner {
    grid-template-columns: 1.1fr 0.9fr;
  }

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

  .dl-fab {
    display: none;
  }
}

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

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

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

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

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

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

  .dl-feature-list {
    text-align: right;
  }
}

@media (max-width: 480px) {
  .dl-footer-actions {
    padding-bottom: max(88px, calc(72px + env(safe-area-inset-bottom)));
  }

  .btn-playstore {
    padding: 14px 18px;
  }

  .btn-playstore__icon {
    width: 42px;
    height: 42px;
  }
}
