/* ============================================================
   AA 国际娱乐 - 落地页样式
   主题色：深蓝紫 #111b31 / 金色 #ffd657 / 蓝紫渐变
   ============================================================ */

/* ---------- CSS 变量 ---------- */
:root {
  --page-bg:      #0d1228;
  --surface-1:    rgba(255, 255, 255, 0.055);
  --surface-2:    rgba(255, 255, 255, 0.08);
  --border-glow:  rgba(80, 140, 255, 0.28);
  --gold:         #ffd657;
  --gold-light:   #ffe896;
  --text-primary: #f0f2ff;
  --text-muted:   rgba(200, 210, 240, 0.65);
  --radius-lg:    18px;
  --radius-md:    12px;
  --radius-sm:    8px;

  /* 安卓绿 */
  --android-accent: #3ddc84;
  --android-glow:   rgba(61, 220, 132, 0.22);

  /* 苹果银 */
  --ios-accent:   #a8c0ff;
  --ios-glow:     rgba(120, 160, 255, 0.22);
}

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

html, body {
  min-height: 100%;
  font-family: 'Noto Sans SC', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--page-bg);
  color: var(--text-primary);
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

img { display: block; }
a   { text-decoration: none; color: inherit; }
ol, ul { list-style: none; padding: 0; }

/* ---------- 页面容器 ---------- */
.page {
  position: relative;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ---------- 背景光效 ---------- */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  animation: floatGlow 8s ease-in-out infinite alternate;
}
.bg-glow--1 {
  width: 340px; height: 340px;
  top: -80px; left: -60px;
  background: radial-gradient(circle, rgba(100, 60, 220, 0.35) 0%, transparent 70%);
  animation-duration: 9s;
}
.bg-glow--2 {
  width: 280px; height: 280px;
  top: 20%; right: -80px;
  background: radial-gradient(circle, rgba(255, 180, 40, 0.18) 0%, transparent 70%);
  animation-duration: 12s;
  animation-delay: -3s;
}
.bg-glow--3 {
  width: 320px; height: 320px;
  bottom: 10%; left: -40px;
  background: radial-gradient(circle, rgba(40, 120, 255, 0.22) 0%, transparent 70%);
  animation-duration: 10s;
  animation-delay: -6s;
}
@keyframes floatGlow {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(20px, 30px) scale(1.08); }
}

/* ---------- 头部 ---------- */
.header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 20px 0;
}
.header__logo {
  width: 200px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(255, 180, 30, 0.40));
  animation: logoPulse 4s ease-in-out infinite alternate;
}
@keyframes logoPulse {
  from { filter: drop-shadow(0 4px 20px rgba(255, 180, 30, 0.40)); }
  to   { filter: drop-shadow(0 4px 36px rgba(255, 200, 60, 0.70)); }
}

/* ---------- 主体 ---------- */
.main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
  gap: 24px;
}

/* ---------- 英雄区 ---------- */
.hero {
  width: 100%;
  text-align: center;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(255, 214, 87, 0.12);
  border: 1px solid rgba(255, 214, 87, 0.35);
  border-radius: 100px;
  padding: 5px 14px;
}

.hero__title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.3px;
  background: linear-gradient(135deg, #ffffff 0%, #c8d8ff 50%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* 特性标签 */
.features {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: rgba(180, 200, 255, 0.85);
  background: rgba(255,255,255, 0.07);
  border: 1px solid rgba(255,255,255, 0.12);
  border-radius: 100px;
  padding: 4px 12px;
}
.feature-tag__icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ---------- 手机模型 ---------- */
.phone-mockup {
  position: relative;
  width: 160px;
  flex-shrink: 0;
}
.phone-mockup__frame {
  position: relative;
  width: 160px;
  height: 290px;
  background: linear-gradient(160deg, rgba(40,50,90,0.9) 0%, rgba(15,20,50,0.95) 100%);
  border-radius: 32px;
  border: 2px solid rgba(120, 150, 255, 0.35);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 20px 60px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.1);
  overflow: hidden;
  animation: phoneFloat 5s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.phone-mockup__screen {
  position: absolute;
  inset: 10px;
  border-radius: 24px;
  overflow: hidden;
}
.pm-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.phone-mockup__notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 14px;
  background: rgba(255,255,255,0.06);
  border-radius: 0 0 10px 10px;
  backdrop-filter: blur(4px);
}
.phone-mockup__btn {
  position: absolute;
  background: rgba(120, 150, 255, 0.4);
  border-radius: 2px;
}
.phone-mockup__btn--vol {
  left: -4px; top: 70px;
  width: 4px; height: 40px;
}
.phone-mockup__btn--power {
  right: -4px; top: 90px;
  width: 4px; height: 28px;
}
.phone-mockup__glow {
  position: absolute;
  bottom: -20px; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 30px;
  background: rgba(80, 100, 255, 0.25);
  filter: blur(16px);
  border-radius: 50%;
}

/* ---------- 下载区 ---------- */
.download-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.download-section__title {
  font-size: 15px;
  font-weight: 600;
  color: rgba(200, 220, 255, 0.85);
  letter-spacing: 0.3px;
  text-align: center;
}

/* --- 下载卡片 --- */
.dl-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glow);
  background:
    linear-gradient(160deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 50%),
    var(--surface-1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-shadow:
    0 4px 28px rgba(0,0,0,0.40),
    inset 0 1px 0 rgba(255,255,255,0.07);
  text-decoration: none;
  color: var(--text-primary);
}
.dl-card:active { transform: scale(0.97); }

/* 安卓卡片悬停 */
.dl-card--android:hover {
  transform: translateY(-3px);
  border-color: rgba(61, 220, 132, 0.50);
  box-shadow:
    0 12px 40px rgba(61, 220, 132, 0.18),
    0 4px 16px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.1);
}
/* iOS 卡片悬停 */
.dl-card--ios:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 192, 255, 0.50);
  box-shadow:
    0 12px 40px rgba(120, 160, 255, 0.20),
    0 4px 16px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

/* 图标容器 */
.dl-card__icon-wrap {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dl-card--android .dl-card__icon-wrap {
  background: radial-gradient(circle at 30% 30%, rgba(61,220,132,0.28), rgba(20,80,40,0.35));
  border: 1px solid rgba(61,220,132,0.30);
}
.dl-card--ios .dl-card__icon-wrap {
  background: radial-gradient(circle at 30% 30%, rgba(168,192,255,0.28), rgba(40,60,140,0.35));
  border: 1px solid rgba(168,192,255,0.30);
}
.dl-card__icon {
  width: 32px; height: 32px;
}
.dl-card--android .dl-card__icon { color: var(--android-accent); }
.dl-card--ios     .dl-card__icon { color: var(--ios-accent); }

/* 文字信息 */
.dl-card__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.dl-card__platform {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.2px;
}
.dl-card--android .dl-card__platform { color: var(--android-accent); }
.dl-card--ios     .dl-card__platform { color: var(--ios-accent); }

.dl-card__desc {
  font-size: 12px;
  color: rgba(200, 215, 255, 0.75);
}
.dl-card__size {
  font-size: 11px;
  color: rgba(160, 175, 220, 0.50);
}

/* 按钮 */
.dl-card__btn-wrap {
  flex-shrink: 0;
}
.dl-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 9px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.dl-card--android .dl-card__btn {
  background: linear-gradient(135deg, rgba(61,220,132,0.28) 0%, rgba(20,100,50,0.40) 100%);
  border: 1px solid rgba(61,220,132,0.45);
  color: #7fffc4;
  box-shadow: 0 0 16px rgba(61,220,132,0.18);
}
.dl-card--ios .dl-card__btn {
  background: linear-gradient(135deg, rgba(168,192,255,0.25) 0%, rgba(60,80,200,0.35) 100%);
  border: 1px solid rgba(168,192,255,0.40);
  color: #ccdeff;
  box-shadow: 0 0 16px rgba(120,160,255,0.18);
}

/* 卡片闪光效果 */
.dl-card__shimmer {
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  pointer-events: none;
  animation: shimmer 4s ease-in-out infinite;
}
.dl-card--ios .dl-card__shimmer { animation-delay: -2s; }
@keyframes shimmer {
  0%   { left: -80%; }
  60%, 100% { left: 120%; }
}

/* ---------- iOS 安装说明卡片 ---------- */
.guide-card {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 214, 87, 0.22);
  background: rgba(255, 214, 87, 0.05);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.guide-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
}
.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-reset: step;
}
.guide-steps li {
  counter-increment: step;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(210, 225, 255, 0.80);
  line-height: 1.6;
  padding-left: 2px;
}
.guide-steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(255, 214, 87, 0.18);
  border: 1px solid rgba(255, 214, 87, 0.35);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.guide-steps strong {
  color: rgba(230, 245, 255, 0.95);
  font-weight: 600;
}

/* ---------- 推广特性宫格 ---------- */
.promo-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.promo-item {
  border-radius: var(--radius-md);
  border: 1px solid rgba(80,140,255,0.20);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.065) 0%, rgba(255,255,255,0) 60%),
    var(--surface-1);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.promo-item:hover {
  transform: translateY(-2px);
  border-color: rgba(80,140,255,0.40);
}
.promo-item__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
}
.promo-item__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.promo-item__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.promo-item__desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------- 底部 ---------- */
.footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 20px 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 8px;
}
.footer__logo {
  width: 120px;
  height: auto;
  opacity: 0.55;
  filter: grayscale(0.3);
}
.footer__copy {
  font-size: 11px;
  color: rgba(180,195,230,0.40);
  text-align: center;
  line-height: 1.6;
}

/* ---------- 响应式 ---------- */
@media (max-width: 380px) {
  .hero__title { font-size: 22px; }
  .dl-card__btn { padding: 8px 12px; font-size: 12px; }
  .dl-card__platform { font-size: 15px; }
}
