/* ═══════════════════════════════════════════════
   DOWNLOAD PAGE — App Store Style
   ═══════════════════════════════════════════════ */

:root {
  --dp-bg: #060b2c;
  --dp-surface: #131044;
  --dp-surface-2: #29135a;
  --dp-border: #2b1747;
  --dp-text: #e2e8f0;
  --dp-text-muted: #b8accf;
  --dp-primary: #0b4dff;
  --dp-success: #7c3aed;
  --dp-success-light: #d332ff;
  --dp-gold: #f6c83f;
  --dp-radius: 16px;
}

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

body {
  font-family: "Outfit", sans-serif;
  background: var(--dp-bg);
  background-image:
    radial-gradient(circle at 12% 0%, rgba(11, 77, 255, 0.22), transparent 32rem),
    radial-gradient(circle at 92% 22%, rgba(124, 58, 237, 0.18), transparent 28rem);
  color: var(--dp-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Container ── */
.dp-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ── Breadcrumb ── */
.dp-breadcrumb {
  padding: 14px 0;
  font-size: 12.5px;
  color: var(--dp-text-muted);
}
.dp-breadcrumb a {
  color: var(--dp-primary);
}
.dp-breadcrumb a:hover {
  text-decoration: underline;
}

/* ── App Header ── */
.dp-header {
  display: flex;
  gap: 16px;
  padding: 20px 0 24px;
}
.dp-icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid var(--dp-border);
  flex-shrink: 0;
}
.dp-info {
  flex: 1;
  min-width: 0;
}
.dp-name {
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2px;
}
.dp-developer {
  font-size: 13px;
  color: var(--dp-primary);
  margin-bottom: 8px;
}
.dp-rating-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.dp-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
}
.dp-stars ion-icon {
  color: var(--dp-gold);
  font-size: 14px;
}
.dp-stars .count {
  color: var(--dp-text-muted);
  font-weight: 400;
  font-size: 12px;
}
.dp-downloads {
  font-size: 12px;
  color: var(--dp-text-muted);
}
.dp-downloads ion-icon {
  font-size: 13px;
  vertical-align: -2px;
  margin-right: 2px;
}

/* ── Install Button ── */
.dp-install-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--dp-success), #059669);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  text-decoration: none;
}
.dp-install-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
}
.dp-install-btn ion-icon {
  font-size: 20px;
}

.dp-install-note {
  text-align: center;
  font-size: 11.5px;
  color: var(--dp-text-muted);
  margin-top: 8px;
}
.dp-install-note ion-icon {
  font-size: 12px;
  vertical-align: -1px;
  color: var(--dp-success);
  margin-right: 2px;
}

/* ── Info Grid ── */
.dp-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--dp-border);
  border-radius: 12px;
  overflow: hidden;
  margin: 24px 0;
}
.dp-info-cell {
  background: var(--dp-surface);
  padding: 14px 8px;
  text-align: center;
}
.dp-info-label {
  font-size: 10.5px;
  color: var(--dp-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.dp-info-value {
  font-size: 14px;
  font-weight: 600;
}

/* ── Sections ── */
.dp-section {
  padding: 24px 0;
  border-top: 1px solid var(--dp-border);
}
.dp-section-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
}
.dp-section p {
  font-size: 14px;
  color: var(--dp-text-muted);
  line-height: 1.7;
}

.dp-section p strong {
  color: var(--dp-text);
}

/* ── Vegas X SEO landing page ── */
.dp-page-vegasx .dp-container {
  max-width: 800px;
}

.dp-page-vegasx .dp-header {
  align-items: center;
}

.dp-page-vegasx .dp-name {
  font-size: clamp(24px, 4vw, 34px);
  letter-spacing: -0.6px;
}

.dp-page-vegasx .dp-icon {
  border-color: rgba(246, 200, 63, 0.38);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(124, 58, 237, 0.18);
}

.dp-review-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  color: #e7dcff;
  background: rgba(124, 58, 237, 0.14);
  border: 1px solid rgba(211, 50, 255, 0.24);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
}

.dp-review-pill ion-icon {
  color: #c4b5fd;
  font-size: 13px;
}

.dp-status-summary {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  padding: 16px 18px;
  margin-bottom: 16px;
  background:
    linear-gradient(135deg, rgba(11, 77, 255, 0.13), rgba(124, 58, 237, 0.09)),
    var(--dp-surface);
  border: 1px solid rgba(89, 112, 255, 0.26);
  border-radius: 14px;
}

.dp-status-summary-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: linear-gradient(135deg, #0b4dff, #7c3aed);
  border-radius: 12px;
}

.dp-status-summary-icon ion-icon {
  font-size: 23px;
}

.dp-status-summary strong {
  display: block;
  margin-bottom: 3px;
  color: #fff;
  font-size: 14px;
}

.dp-status-summary p {
  color: var(--dp-text-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.dp-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.dp-page-vegasx .dp-install-btn {
  background: linear-gradient(135deg, #0b4dff, #6d28d9);
  box-shadow: 0 8px 24px rgba(11, 77, 255, 0.2);
}

.dp-page-vegasx .dp-install-btn:hover {
  box-shadow: 0 10px 28px rgba(11, 77, 255, 0.32);
}

.dp-secondary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  color: #f0eaff;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(220, 203, 255, 0.2);
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}

.dp-secondary-btn:hover {
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(196, 181, 253, 0.35);
  transform: translateY(-2px);
}

.dp-secondary-btn ion-icon {
  font-size: 19px;
}

.dp-section-kicker {
  display: block;
  margin-bottom: 4px;
  color: #a78bfa;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.dp-page-vegasx .dp-section-title {
  margin-bottom: 10px;
  font-size: clamp(19px, 3vw, 23px);
  letter-spacing: -0.25px;
}

.dp-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 17px;
}

.dp-platform-card {
  min-width: 0;
  padding: 16px;
  background: rgba(19, 16, 68, 0.74);
  border: 1px solid var(--dp-border);
  border-radius: 14px;
}

.dp-platform-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 11px;
}

.dp-platform-icon ion-icon {
  font-size: 22px;
}

.dp-platform-icon.android {
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
}

.dp-platform-icon.ios {
  color: #e2e8f0;
  background: rgba(226, 232, 240, 0.1);
}

.dp-platform-icon.web {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.12);
}

.dp-platform-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin-bottom: 8px;
}

.dp-platform-heading h3 {
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
}

.dp-platform-card p {
  color: var(--dp-text-muted);
  font-size: 12px;
  line-height: 1.55;
}

.dp-status-chip {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

.dp-status-chip.available {
  color: #86efac;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.dp-status-chip.caution {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.22);
}

.dp-findings {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.dp-finding {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  background: rgba(19, 16, 68, 0.64);
  border: 1px solid var(--dp-border);
  border-radius: 11px;
}

.dp-finding > ion-icon {
  margin-top: 1px;
  color: #a78bfa;
  font-size: 20px;
}

.dp-finding strong,
.dp-finding span {
  display: block;
}

.dp-finding strong {
  margin-bottom: 2px;
  color: var(--dp-text);
  font-size: 12.5px;
}

.dp-finding span {
  color: var(--dp-text-muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.dp-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 15px;
}

.dp-check-card {
  padding: 15px;
  background: rgba(19, 16, 68, 0.66);
  border: 1px solid var(--dp-border);
  border-radius: 13px;
}

.dp-check-card > ion-icon {
  margin-bottom: 8px;
  color: #c4b5fd;
  font-size: 22px;
}

.dp-check-card h3 {
  margin-bottom: 4px;
  color: #fff;
  font-size: 13px;
}

.dp-check-card p {
  color: var(--dp-text-muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.dp-trouble-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 15px;
}

.dp-trouble-list article {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  padding: 14px;
  background: rgba(19, 16, 68, 0.62);
  border: 1px solid var(--dp-border);
  border-radius: 12px;
}

.dp-trouble-list article > ion-icon {
  color: #93c5fd;
  font-size: 23px;
}

.dp-trouble-list h3 {
  margin-bottom: 3px;
  color: #fff;
  font-size: 12.5px;
}

.dp-trouble-list p {
  color: var(--dp-text-muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.dp-faq details {
  background: rgba(19, 16, 68, 0.6);
  border: 1px solid var(--dp-border);
  border-radius: 11px;
}

.dp-faq details + details {
  margin-top: 8px;
}

.dp-faq summary {
  position: relative;
  padding: 13px 42px 13px 14px;
  color: #f6f1ff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.dp-faq summary::-webkit-details-marker {
  display: none;
}

.dp-faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 15px;
  color: #a78bfa;
  font-size: 20px;
  font-weight: 400;
  transform: translateY(-50%);
}

.dp-faq details[open] summary::after {
  content: "−";
}

.dp-faq details p {
  padding: 0 14px 14px;
  color: var(--dp-text-muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.dp-source-list {
  display: grid;
  gap: 9px;
  margin-top: 15px;
  list-style: none;
}

.dp-source-list li {
  padding: 12px 14px;
  background: rgba(19, 16, 68, 0.6);
  border: 1px solid var(--dp-border);
  border-radius: 11px;
}

.dp-source-list a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #93c5fd;
  font-size: 12.5px;
  font-weight: 700;
}

.dp-source-list a:hover {
  text-decoration: underline;
}

.dp-source-list a ion-icon {
  font-size: 13px;
}

.dp-source-list span {
  display: block;
  margin-top: 3px;
  color: var(--dp-text-muted);
  font-size: 11px;
  line-height: 1.45;
}

.dp-reviewed-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: #c4b5fd;
  font-size: 11px;
}

.dp-reviewed-note ion-icon {
  flex: 0 0 auto;
  font-size: 15px;
}

.dp-related-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 15px;
}

.dp-related-links > a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 13px;
  background: rgba(19, 16, 68, 0.62);
  border: 1px solid var(--dp-border);
  border-radius: 12px;
  transition:
    background 0.15s,
    border-color 0.15s;
}

.dp-related-links > a:hover {
  background: rgba(41, 19, 90, 0.8);
  border-color: rgba(167, 139, 250, 0.35);
}

.dp-related-links > a > ion-icon {
  color: #a78bfa;
  font-size: 22px;
}

.dp-related-links strong,
.dp-related-links small {
  display: block;
}

.dp-related-links strong {
  color: #fff;
  font-size: 12px;
}

.dp-related-links small {
  margin-top: 2px;
  color: var(--dp-text-muted);
  font-size: 10px;
  line-height: 1.35;
}

/* ── Tags ── */
.dp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.dp-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: var(--dp-surface-2);
  border: 1px solid var(--dp-border);
  border-radius: 20px;
  font-size: 12px;
  color: var(--dp-text-muted);
}
.dp-tag ion-icon {
  font-size: 13px;
}

/* ── What's New ── */
.dp-changelog {
  list-style: none;
  padding: 0;
}
.dp-changelog li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  color: var(--dp-text-muted);
  margin-bottom: 6px;
}
.dp-changelog li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--dp-success);
  font-weight: 700;
}

/* ── How to Install ── */
.dp-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}
.dp-steps li {
  counter-increment: step;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: 14px;
  color: var(--dp-text-muted);
}
.dp-steps li + li {
  border-top: 1px solid var(--dp-border);
}
.dp-steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--dp-success), #059669);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}
.dp-steps li b {
  color: var(--dp-text);
}

/* ── Safety ── */
.dp-safety {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
.dp-safety-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--dp-surface);
  border: 1px solid var(--dp-border);
  border-radius: 10px;
  font-size: 12.5px;
  color: var(--dp-text-muted);
}
.dp-safety-badge ion-icon {
  font-size: 16px;
  color: var(--dp-success);
}

/* ── Sign Up CTA Banner ── */
.dp-signup-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.12),
    rgba(124, 58, 237, 0.05)
  );
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 14px;
  margin: 24px 0;
}
.dp-signup-banner-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dp-primary), #3d4dff);
  border-radius: 12px;
  flex-shrink: 0;
}
.dp-signup-banner-icon ion-icon {
  font-size: 22px;
  color: #fff;
}
.dp-signup-banner-text {
  flex: 1;
}
.dp-signup-banner-text strong {
  display: block;
  font-size: 14px;
  color: var(--dp-text);
  margin-bottom: 2px;
}
.dp-signup-banner-text span {
  font-size: 12px;
  color: var(--dp-text-muted);
}
.dp-signup-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--dp-primary), #3d4dff);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s;
}
.dp-signup-banner-btn:hover {
  transform: translateY(-1px);
}
.dp-signup-banner-btn ion-icon {
  font-size: 14px;
}

/* ── More Games ── */
.dp-more-games {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.dp-more-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--dp-surface);
  border: 1px solid var(--dp-border);
  border-radius: 12px;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.dp-more-card:hover {
  background: var(--dp-surface-2);
  border-color: var(--dp-success);
}
.dp-more-card img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}
.dp-more-card span {
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Footer ── */
.dp-footer {
  text-align: center;
  padding: 28px 0 40px;
  border-top: 1px solid var(--dp-border);
}
.dp-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--dp-primary);
  font-weight: 500;
}
.dp-back:hover {
  text-decoration: underline;
}
.dp-footer-note {
  font-size: 11px;
  color: var(--dp-text-muted);
  margin-top: 8px;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 600px) {
  .dp-header {
    gap: 12px;
    padding: 16px 0 20px;
  }
  .dp-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }
  .dp-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dp-signup-banner {
    flex-direction: column;
    text-align: center;
  }
  .dp-more-games {
    grid-template-columns: repeat(2, 1fr);
  }
  .dp-page-vegasx .dp-header {
    align-items: flex-start;
  }
  .dp-page-vegasx .dp-name {
    font-size: 23px;
  }
  .dp-action-row,
  .dp-platform-grid,
  .dp-check-grid,
  .dp-trouble-list,
  .dp-related-links {
    grid-template-columns: 1fr;
  }
  .dp-platform-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 11px;
  }
  .dp-platform-icon {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }
  .dp-platform-heading {
    align-self: center;
  }
  .dp-platform-card p {
    grid-column: 2;
  }
  .dp-status-summary {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 14px;
  }
  .dp-status-summary-icon {
    width: 38px;
    height: 38px;
  }
  .dp-status-summary-icon ion-icon {
    font-size: 20px;
  }
}

@media (max-width: 380px) {
  .dp-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
  }
  .dp-install-btn {
    font-size: 14px;
    padding: 12px;
  }
  .dp-info-cell {
    padding: 10px 6px;
  }
  .dp-info-value {
    font-size: 13px;
  }
  .dp-more-games {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .dp-page-vegasx .dp-name {
    font-size: 20px;
  }
  .dp-review-pill {
    display: none;
  }
  .dp-secondary-btn {
    padding: 12px;
    font-size: 13px;
  }
  .dp-status-summary {
    grid-template-columns: 1fr;
  }
  .dp-status-summary-icon {
    width: 34px;
    height: 34px;
  }
}
