/* ============================================================
   CROWN APP Download Landing Page
   ============================================================ */

.dl-body {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 100vh;
  background: #0B1620;
  color: #E6EDF3;
  font-family: 'neue-haas-grotesk-display', -apple-system, BlinkMacSystemFont,
               'Segoe UI', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ---------- 背景层 ---------- */
.dl-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.dl-bg__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.dl-bg__glow--top {
  top: -220px;
  left: 50%;
  width: 720px;
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(circle, #FFC531 0%, transparent 70%);
  opacity: .26;
}
.dl-bg__glow--bottom {
  bottom: -260px;
  right: -140px;
  width: 620px;
  height: 520px;
  background: radial-gradient(circle, #22D3EE 0%, transparent 70%);
  opacity: .16;
}
.dl-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}

/* ---------- 容器 ---------- */
.dl-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}

/* ---------- 顶部 ---------- */
.dl-header {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dl-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}
.dl-logo__crown {
  font-size: 24px;
  color: #FFC531;
  filter: drop-shadow(0 2px 6px rgba(255,168,0,.65));
}
.dl-logo__text {
  font-family: 'Orbitron', 'neue-haas-grotesk-display', sans-serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1.6px;
  background: linear-gradient(180deg, #FFF8CE 0%, #FFE680 40%, #FFC531 70%, #FF9500 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.dl-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #93A9B8;
  text-decoration: none;
  border: 1px solid #2F4553;
  border-radius: 999px;
  background: rgba(255,255,255,.02);
  transition: color .2s, border-color .2s, background .2s;
}
.dl-back:hover {
  color: #FFE680;
  border-color: rgba(255,197,49,.55);
  background: rgba(255,197,49,.06);
}

/* ---------- Hero ---------- */
.dl-hero {
  flex: 1;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ---------- App 图标 ---------- */
.dl-appicon-wrap {
  position: relative;
  margin-bottom: 28px;
  animation: dlFloat 4s ease-in-out infinite;
}
@keyframes dlFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.dl-appicon {
  position: relative;
  width: 128px;
  height: 128px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.14) 0%, transparent 45%),
    linear-gradient(160deg, #1F3544 0%, #142733 55%, #0D1C26 100%);
  border: 1.5px solid rgba(255,197,49,.55);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    inset 0 -4px 12px rgba(0,0,0,.5),
    0 20px 40px rgba(0,0,0,.55),
    0 0 60px rgba(255,197,49,.28),
    0 0 100px rgba(255,197,49,.14);
}
.dl-appicon__crown {
  position: relative;
  z-index: 2;
  font-size: 62px;
  line-height: 1;
  background: linear-gradient(180deg, #FFF8CE 0%, #FFE680 35%, #FFC531 65%, #FF9500 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter:
    drop-shadow(0 2px 0 #8A4B00)
    drop-shadow(0 4px 8px rgba(255,140,0,.6))
    drop-shadow(0 8px 16px rgba(0,0,0,.5));
}
.dl-appicon__shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%);
  animation: dlShine 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes dlShine {
  0%, 100% { transform: translate(-30%, -30%); }
  50%      { transform: translate(30%, 30%); }
}
.dl-appicon__reflection {
  position: absolute;
  bottom: -22px;
  left: 50%;
  width: 90px;
  height: 22px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255,197,49,.35) 0%, transparent 70%);
  filter: blur(6px);
}

/* ---------- 奖励徽章 ---------- */
.dl-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,197,49,.16) 0%, rgba(255,149,0,.10) 100%);
  border: 1px solid rgba(255,197,49,.38);
  box-shadow: 0 4px 20px rgba(255,168,0,.14);
}
.dl-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00E701;
  box-shadow: 0 0 10px #00E701;
  animation: dlPulse 1.8s ease-in-out infinite;
}
@keyframes dlPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.85); }
}
.dl-badge__text {
  font-size: 13px;
  font-weight: 700;
  color: #FFE680;
  letter-spacing: .3px;
}
.dl-badge__text strong {
  font-size: 15px;
  font-weight: 900;
  color: #FFFFFF;
  margin-left: 2px;
}

/* ---------- 标题 ---------- */
.dl-title {
  margin: 0 0 14px;
  font-size: 46px;
  font-weight: 900;
  letter-spacing: -.5px;
  line-height: 1.15;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFE680 60%, #FFC531 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter:
    drop-shadow(0 1px 0 rgba(138,75,0,.9))
    drop-shadow(0 3px 0 rgba(92,46,0,.7))
    drop-shadow(0 6px 14px rgba(0,0,0,.6));
}
.dl-sub {
  margin: 0 0 32px;
  font-size: 16px;
  font-weight: 500;
  color: #93A9B8;
  max-width: 460px;
  line-height: 1.6;
}

/* ---------- 下载按钮 ---------- */
.dl-stores {
  display: flex;
  gap: 14px;
  width: 100%;
  max-width: 480px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.dl-store {
  flex: 1 1 210px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.02) 100%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 8px 24px rgba(0,0,0,.35);
  transition: transform .2s cubic-bezier(.2,.9,.3,1.2),
              border-color .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}
.dl-store::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, currentColor 0%, transparent 65%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.dl-store:hover { transform: translateY(-3px); }
.dl-store:hover::before { opacity: .12; }

.dl-store--ios { color: #FFC531; }
.dl-store--ios:hover {
  border-color: rgba(255,197,49,.65);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 12px 32px rgba(0,0,0,.4),
    0 0 24px rgba(255,197,49,.30);
}

.dl-store--android { color: #22D3EE; }
.dl-store--android:hover {
  border-color: rgba(34,211,238,.65);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 12px 32px rgba(0,0,0,.4),
    0 0 24px rgba(34,211,238,.30);
}

/* 图标容器 */
.dl-store__icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.04) 100%);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  color: currentColor;
}
.dl-store__icon svg {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 0 8px currentColor);
}

/* 文字 */
.dl-store__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-align: left;
  color: #fff;
}
.dl-store__small {
  font-size: 11px;
  font-weight: 600;
  color: #93A9B8;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.dl-store__big {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .2px;
  margin-top: 2px;
}

/* ---------- 特性 ---------- */
.dl-features {
  width: 100%;
  max-width: 720px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.dl-feature {
  padding: 22px 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(26,44,56,.7) 0%, rgba(21,38,51,.7) 100%);
  border: 1px solid #2F4553;
  text-align: center;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.dl-feature:hover {
  border-color: rgba(255,197,49,.45);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}
.dl-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-bottom: 12px;
  font-size: 20px;
  background: linear-gradient(135deg, rgba(255,197,49,.18) 0%, rgba(255,149,0,.08) 100%);
  border: 1px solid rgba(255,197,49,.28);
}
.dl-feature h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  color: #FFE680;
}
.dl-feature p {
  margin: 0;
  font-size: 12.5px;
  color: #93A9B8;
  line-height: 1.55;
}

/* ---------- 安全提示 ---------- */
.dl-trust {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  font-size: 12.5px;
  color: #6B8494;
}
.dl-trust svg {
  flex: 0 0 auto;
  color: #22D3EE;
  opacity: .8;
}

/* ---------- 底部 ---------- */
.dl-footer {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 0 28px;
  text-align: center;
  font-size: 12px;
  color: #4F6B7C;
}

/* ---------- 响应式 ---------- */
@media (max-width: 767px) {
  .dl-header { padding: 18px 0; }
  .dl-logo__text { font-size: 18px; }
  .dl-back span { display: none; }
  .dl-back { padding: 8px; border-radius: 50%; }

  .dl-hero { padding: 14px 0 30px; }
  .dl-appicon { width: 104px; height: 104px; border-radius: 24px; }
  .dl-appicon__crown { font-size: 50px; }

  .dl-title { font-size: 32px; }
  .dl-sub { font-size: 14.5px; margin-bottom: 26px; }

  .dl-stores { gap: 12px; margin-bottom: 34px; }
  .dl-store { flex: 1 1 100%; }

  .dl-features { grid-template-columns: 1fr; gap: 10px; }
  .dl-feature {
    padding: 18px 16px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .dl-feature__icon { margin-bottom: 0; flex: 0 0 auto; }
  .dl-feature h3 { font-size: 14px; margin-bottom: 2px; }
  .dl-feature p { font-size: 12px; }
}

@media (max-width: 480px) {
  .dl-shell { padding: 0 14px; }
  .dl-title { font-size: 27px; }
  .dl-sub { font-size: 13.5px; }
  .dl-badge { padding: 7px 14px; }
  .dl-badge__text { font-size: 12px; }
  .dl-badge__text strong { font-size: 14px; }
  .dl-store { padding: 11px 14px; }
  .dl-store__big { font-size: 16px; }
}

@media (max-width: 375px) {
  .dl-appicon { width: 92px; height: 92px; border-radius: 22px; }
  .dl-appicon__crown { font-size: 44px; }
  .dl-title { font-size: 24px; }
  .dl-store__icon { width: 40px; height: 40px; }
  .dl-store__icon svg { width: 22px; height: 22px; }
  .dl-store__big { font-size: 15px; }
}