/* ============================================================
   لمحة — Algeria short-drama app landing page
   Mobile-first, RTL, dark emerald + gold cinematic system.
   ============================================================ */

/* ---------- 本地字体：Cairo 正文字体，Tajawal 标题字体 ---------- */
@font-face {
  font-family: "Cairo";
  src: url("../assets/fonts/cairo-arabic.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 900;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+2E41, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: "Cairo";
  src: url("../assets/fonts/cairo-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 900;
  unicode-range: U+0000-00FF, U+0100-02BA, U+1E00-1EFF, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Tajawal";
  src: url("../assets/fonts/tajawal-arabic-400.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: "Tajawal";
  src: url("../assets/fonts/tajawal-arabic-700.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}
@font-face {
  font-family: "Tajawal";
  src: url("../assets/fonts/tajawal-arabic-800.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 800;
}

/* ---------- 设计令牌 ---------- */
:root {
  --bg: #080f0c;
  --bg-deep: #050c08;
  --bg-green: #10271b;
  --green: #006233;
  --green-button: #008c45;
  --green-bright: #19c76d;
  --gold: #ffd572;
  --gold-deep: #d4af37;
  --white: #ffffff;
  --muted: #b7cdbe;
  --muted-2: rgba(183, 205, 190, 0.66);
  --red: #d21034;
  --lang-purple: #3b145c;
  --lang-rose: #e1478d;
  --lang-plum: #25082f;
  --lang-light: #ffb9dd;
  --line-gold: rgba(212, 175, 55, 0.22);
  --line-green: rgba(25, 199, 109, 0.18);
  --card-green: rgba(16, 39, 27, 0.78);
  --font-body: "Cairo", "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
  --font-display: "Tajawal", "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
  --page-x: 18px;
  --max: 1180px;
  --header-h: 64px;
  --sticky-h: 74px;
  --radius: 20px;
  --ease: cubic-bezier(0.22, 0.8, 0.26, 1);
}

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px));
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(0, 98, 51, 0.16), transparent 60%),
    var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html.modal-open,
body.modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.modal-open {
  overscroll-behavior: none;
}

/* 首帧避免非阿拉伯语用户先看到 RTL 布局和阿拉伯语文字 */
html.i18n-booting body {
  visibility: hidden;
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

svg {
  display: inline-block;
}

::selection {
  background: rgba(212, 175, 55, 0.35);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.18em;
}

.skip-link {
  position: fixed;
  top: -80px;
  inset-inline-start: 16px;
  z-index: 1000;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--gold);
  color: #10271b;
  font-weight: 800;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- 通用按钮 ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  isolation: isolate;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s;
}

.btn .icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.btn-primary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 38%),
    linear-gradient(160deg, var(--green-bright) 0%, var(--green-button) 56%, #00713a 100%);
  border-color: rgba(120, 255, 185, 0.32);
  box-shadow:
    0 10px 26px rgba(0, 140, 69, 0.28),
    0 2px 0 rgba(255, 255, 255, 0.12) inset,
    0 -8px 22px rgba(0, 50, 26, 0.35) inset;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.16), transparent 30%, transparent 70%, rgba(255, 255, 255, 0.07));
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-header {
  min-height: 44px;
  padding: 0 15px;
  border-radius: 12px;
  font-size: 12.5px;
}

.btn-hero {
  display: flex;
  width: min(100%, 328px);
  margin-inline: auto;
  min-height: 58px;
  border-radius: 17px;
  font-size: 17px;
  letter-spacing: 0;
  animation: ctaBreathe 4.2s ease-in-out infinite;
}

.btn-hero .icon {
  width: 23px;
  height: 23px;
}

.btn-wide {
  width: min(100%, 390px);
  min-height: 54px;
  font-size: 15px;
}

.btn-final {
  width: min(100%, 380px);
  min-height: 56px;
  font-size: 15.5px;
}

.btn-sticky {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 13px;
}

/* ---------- 顶部品牌导航 ---------- */
.site-header {
  position: absolute;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  padding: max(12px, env(safe-area-inset-top)) var(--page-x) 0;
  pointer-events: none;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: var(--max);
  min-height: 62px;
  margin: 0 auto;
  padding: 8px 10px 8px 12px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 17px;
  background:
    linear-gradient(120deg, rgba(15, 37, 26, 0.88), rgba(5, 14, 10, 0.74)),
    rgba(5, 14, 10, 0.7);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  pointer-events: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 213, 114, 0.24);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.brand-copy strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

.brand-copy span {
  color: var(--muted-2);
  font-size: 9.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.bonus-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 213, 114, 0.3);
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(64, 47, 12, 0.55), rgba(10, 25, 17, 0.72));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07);
  white-space: nowrap;
}

.bonus-pill__label {
  color: rgba(255, 236, 185, 0.72);
  font-size: 8.5px;
  font-weight: 600;
}

.bonus-pill strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  direction: ltr;
  text-shadow: 0 0 12px rgba(255, 213, 114, 0.4);
}

.bonus-pill small {
  color: rgba(255, 213, 114, 0.68);
  font-size: 8px;
}

/* ---------- 语言切换：HikaZmira 深紫 / 玫红品牌色 ---------- */
.language-layer {
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 84px);
  left: 0;
  right: 0;
  z-index: 65;
  direction: ltr;
  pointer-events: none;
}

.language-inner {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--page-x);
}

.lang-switch {
  position: relative;
  pointer-events: auto;
}

.lang-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  max-width: calc(100vw - (2 * var(--page-x)));
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(255, 185, 221, 0.4);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.13), transparent 42%),
    linear-gradient(135deg, var(--lang-purple), #6c1d72 52%, var(--lang-rose));
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
  box-shadow:
    0 8px 22px rgba(37, 8, 47, 0.34),
    0 0 18px rgba(225, 71, 141, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
}

.lang-trigger:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 206, 233, 0.7);
  box-shadow:
    0 10px 26px rgba(37, 8, 47, 0.4),
    0 0 22px rgba(225, 71, 141, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.lang-trigger:active {
  transform: translateY(0) scale(0.98);
}

.lang-trigger .icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  stroke-width: 1.7;
}

.lang-trigger .lang-globe {
  opacity: 0.9;
}

.lang-trigger .lang-chevron {
  width: 11px;
  height: 11px;
  opacity: 0.75;
  transition: transform 0.2s var(--ease);
}

.lang-switch.is-open .lang-chevron {
  transform: rotate(180deg);
}

.lang-current {
  display: block;
  max-width: 86px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 4;
  width: min(224px, calc(100vw - (2 * var(--page-x))));
  padding: 6px;
  border: 1px solid rgba(255, 185, 221, 0.26);
  border-radius: 16px;
  background:
    radial-gradient(circle at 88% 0%, rgba(225, 71, 141, 0.25), transparent 52%),
    linear-gradient(160deg, rgba(37, 8, 47, 0.985), rgba(59, 20, 92, 0.985) 58%, rgba(75, 17, 71, 0.985));
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.48),
    0 0 30px rgba(225, 71, 141, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  pointer-events: none;
  transition:
    opacity 0.18s var(--ease),
    transform 0.18s var(--ease),
    visibility 0s linear 0.18s;
}

.lang-switch.is-open .lang-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  transition:
    opacity 0.18s var(--ease),
    transform 0.18s var(--ease),
    visibility 0s linear 0s;
}

.lang-options {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 244, 250, 0.78);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-align: start;
  transition: background 0.18s, color 0.18s;
}

.lang-option + .lang-option {
  margin-top: 2px;
}

.lang-option:hover,
.lang-option:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: 2px solid rgba(255, 185, 221, 0.8);
  outline-offset: -2px;
}

.lang-option[aria-selected="true"] {
  background:
    linear-gradient(135deg, rgba(108, 29, 114, 0.82), rgba(225, 71, 141, 0.42));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.lang-option-name {
  flex: 1;
  min-width: 0;
  text-align: start;
}

.lang-check {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  opacity: 0;
  color: var(--lang-light);
  transform: scale(0.75);
  transition: opacity 0.18s, transform 0.18s;
}

.lang-option[aria-selected="true"] .lang-check {
  opacity: 1;
  transform: scale(1);
}

.lang-menu-note {
  margin: 6px 2px 1px;
  padding: 7px 8px 2px;
  border-top: 1px solid rgba(255, 185, 221, 0.16);
  color: rgba(255, 219, 238, 0.58);
  font-family: var(--font-body);
  font-size: 8.5px;
  line-height: 1.55;
  text-align: start;
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: max(700px, 100svh);
  padding: 108px var(--page-x) 76px;
  overflow: hidden;
  isolation: isolate;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--bg);
}

.hero-city {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/hero-background.webp");
  background-position: center 35%;
  background-size: cover;
  opacity: 0.72;
  filter: saturate(0.94) brightness(0.74) contrast(1.05);
  transform: scale(1.04);
}

.hero-collage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-poster {
  position: absolute;
  width: clamp(128px, 16vw, 218px);
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(255, 213, 114, 0.42);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-green);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.55),
    0 0 0 4px rgba(5, 14, 10, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  opacity: 1;
  filter: saturate(1.03) brightness(1.24);
  will-change: transform;
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 8, 5, 0.1), transparent 40%, rgba(2, 8, 5, 0.32)),
    linear-gradient(90deg, rgba(2, 8, 5, 0.2), transparent 40%);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-poster--a {
  top: 12%;
  inset-inline-start: 1.5%;
  width: clamp(150px, 17vw, 224px);
  transform: rotate(-8deg);
}

.hero-poster--b {
  top: 44%;
  inset-inline-start: 9%;
  width: clamp(120px, 13vw, 178px);
  transform: rotate(5deg);
  opacity: 0.88;
}

.hero-poster--c {
  bottom: -5%;
  inset-inline-start: -3%;
  width: clamp(132px, 14vw, 188px);
  transform: rotate(9deg);
  opacity: 0.78;
}

.hero-poster--d {
  top: 9%;
  inset-inline-end: 1.5%;
  width: clamp(148px, 16vw, 214px);
  transform: rotate(8deg);
}

.hero-poster--e {
  top: 43%;
  inset-inline-end: 9%;
  width: clamp(120px, 13vw, 176px);
  transform: rotate(-5deg);
  opacity: 0.86;
}

.hero-poster--f {
  bottom: -7%;
  inset-inline-end: -3%;
  width: clamp(132px, 14vw, 188px);
  transform: rotate(-8deg);
  opacity: 0.76;
}

.hero-poster--g {
  top: 3%;
  inset-inline-start: 18%;
  width: clamp(100px, 11vw, 144px);
  transform: rotate(3deg);
  opacity: 0.6;
}

.hero-poster--h {
  top: 2%;
  inset-inline-end: 18%;
  width: clamp(100px, 11vw, 144px);
  transform: rotate(-3deg);
  opacity: 0.6;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 48% 54% at 50% 54%, rgba(8, 15, 12, 0.66) 0%, rgba(8, 15, 12, 0.5) 52%, rgba(8, 15, 12, 0.8) 100%),
    linear-gradient(180deg, rgba(8, 15, 12, 0.18) 0%, rgba(8, 15, 12, 0.02) 18%, rgba(8, 15, 12, 0.42) 60%, #080f0c 97%),
    linear-gradient(90deg, rgba(8, 15, 12, 0.22), transparent 18%, transparent 82%, rgba(8, 15, 12, 0.22));
}

.hero-glow {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(86vw, 720px);
  aspect-ratio: 1.45;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse at center, rgba(212, 175, 55, 0.13), transparent 54%),
    radial-gradient(ellipse at 40% 60%, rgba(0, 140, 69, 0.16), transparent 62%);
  filter: blur(28px);
  opacity: 0.9;
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  margin: 0 auto;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border: 1px solid rgba(255, 213, 114, 0.25);
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(44, 33, 11, 0.52), rgba(8, 23, 15, 0.68));
  color: #ffe9b4;
  font-size: 10.5px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22), inset 0 1px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-kicker .icon {
  width: 13px;
  height: 13px;
  color: var(--gold);
  fill: rgba(255, 213, 114, 0.12);
}

.hero h1 {
  margin: 13px 0 0;
  font-family: var(--font-display);
  font-size: clamp(52px, 8.6vw, 88px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.48), 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero h1 .hero-title__accent {
  position: relative;
  display: inline-block;
  background: linear-gradient(180deg, #fff6d2 0%, #ffd572 42%, #d4af37 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(255, 213, 114, 0.3));
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 .hero-title__accent {
    color: var(--gold);
  }
}

.hero-subtitle {
  max-width: 590px;
  margin: 10px auto 21px;
  color: rgba(246, 252, 248, 0.9);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 500;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.hero-rewards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 590px);
  margin: 0 auto;
}

.mini-reward {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  padding: 8px 6px;
  border: 1px solid rgba(255, 213, 114, 0.17);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    rgba(6, 22, 14, 0.74);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 8px 24px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mini-reward__icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--gold);
  margin-bottom: 1px;
}

.mini-reward__icon .icon {
  width: 17px;
  height: 17px;
}

.mini-reward strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(22px, 5.3vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  direction: ltr;
  text-shadow: 0 0 18px rgba(255, 213, 114, 0.25);
}

.mini-reward > span:last-child {
  color: rgba(222, 238, 227, 0.76);
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
}

.mini-reward--featured {
  border-color: rgba(255, 213, 114, 0.46);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 213, 114, 0.17), transparent 60%),
    linear-gradient(180deg, rgba(30, 54, 26, 0.52), rgba(6, 22, 14, 0.86));
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.09), inset 0 1px rgba(255, 255, 255, 0.08);
}

.btn-hero {
  margin-top: 22px;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
  color: rgba(222, 238, 227, 0.82);
  font-size: 11.5px;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-note .icon {
  width: 12px;
  height: 12px;
  color: rgba(255, 213, 114, 0.72);
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px 15px;
  margin-top: 15px;
  color: rgba(197, 218, 203, 0.72);
  font-size: 10px;
  font-weight: 600;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: relative;
}

.hero-trust li + li::before {
  content: "";
  position: absolute;
  inset-inline-start: -8px;
  top: 50%;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255, 213, 114, 0.4);
}

.hero-trust .icon {
  width: 12px;
  height: 12px;
  color: rgba(25, 199, 109, 0.75);
}

/* ---------- 内容区通用 ---------- */
.section-shell {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--page-x);
}

.content-section {
  position: relative;
  padding: 52px 0 12px;
}

.content-section--first {
  padding-top: 40px;
  background: linear-gradient(180deg, #080f0c 0%, #09150f 100%);
}

.content-section--last {
  padding-bottom: 58px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.section-head > div {
  min-width: 0;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 5px;
  color: rgba(255, 213, 114, 0.76);
  font-size: 9.5px;
  font-weight: 700;
}

.section-kicker > span {
  display: inline-block;
  width: 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-deep));
}

.section-kicker--gold {
  color: var(--gold);
}

.section-head h2,
.reward-heading h2,
.install-head h2,
.final-copy h2 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(23px, 4.8vw, 32px);
  font-weight: 800;
  line-height: 1.26;
  letter-spacing: 0;
}

.section-head h2 {
  position: relative;
  display: inline-block;
}

.section-sub {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 11.5px;
  line-height: 1.65;
}

.section-more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 999px;
  background: rgba(12, 31, 21, 0.52);
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s;
}

.section-more:hover {
  border-color: rgba(255, 213, 114, 0.5);
  background: rgba(30, 44, 22, 0.65);
}

.section-more .icon {
  width: 14px;
  height: 14px;
}

/* 海报网格：移动端 3 列，桌面端最多 6 列，与参考站的封面比例一致 */
.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.poster-rail {
  position: relative;
  overflow: hidden;
  margin-inline: calc(var(--page-x) * -1);
}

.rail-track {
  display: flex;
  gap: 10px;
  padding: 2px var(--page-x) 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.rail-track::-webkit-scrollbar {
  display: none;
}

.rail-track .poster-card {
  flex: 0 0 calc((100% - 20px) / 2.35);
  max-width: 178px;
  scroll-snap-align: start;
}

/* ---------- 影视封面卡片 ---------- */
.poster-card {
  display: block;
  width: 100%;
  padding: 0;
  color: #fff;
  text-align: start;
  border-radius: 14px;
  background: none;
}

.poster {
  position: relative;
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 14px;
  overflow: hidden;
  background: #10271b;
  background:
    radial-gradient(circle at 50% 18%, color-mix(in srgb, var(--accent, #2a8f74) 25%, transparent), transparent 65%),
    #10271b;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
  transform: translateZ(0);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s;
}

.poster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.poster-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease), filter 0.4s;
  filter: saturate(0.98) contrast(1.02);
}

.poster-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, transparent 32%, rgba(2, 8, 5, 0.18) 52%, rgba(4, 14, 9, 0.92) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent 38%);
  pointer-events: none;
}

.poster-genre {
  position: absolute;
  top: 7px;
  inset-inline-start: 7px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(3, 13, 8, 0.8);
  color: rgba(240, 250, 244, 0.92);
  font-size: 7.5px;
  font-weight: 700;
}

.poster-genre::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent, var(--gold));
}

.poster-play {
  position: absolute;
  top: 45%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(5, 18, 11, 0.68);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.16);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s;
}

.poster-play .icon {
  width: 16px;
  height: 16px;
  margin-inline-start: 2px;
  fill: currentColor;
  stroke-width: 1.4;
}

.poster-info {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px 8px 8px;
  pointer-events: none;
}

.poster-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(12px, 3.2vw, 15px);
  font-weight: 700;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
  word-break: break-word;
}

.poster-hint {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 3px;
  color: rgba(215, 234, 222, 0.72);
  font-size: 7.8px;
  line-height: 1.3;
  font-weight: 500;
}

.poster-hint .icon {
  width: 9px;
  height: 9px;
  color: rgba(255, 213, 114, 0.7);
}

.poster-card:hover .poster,
.poster-card:focus-visible .poster {
  border-color: rgba(255, 213, 114, 0.44);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(255, 213, 114, 0.08);
  transform: translateY(-4px);
}

.poster-card:hover .poster-media {
  transform: scale(1.045);
}

.poster-card:hover .poster-play {
  background: rgba(0, 140, 69, 0.72);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%) scale(1.06);
}

.poster-card:active .poster {
  transform: scale(0.985);
}

/* “查看更多”海报卡片 */
.poster-card--more {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  aspect-ratio: 2 / 3;
  min-height: 100%;
  padding: 16px 10px;
  border: 1px dashed rgba(212, 175, 55, 0.38);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 34%, rgba(25, 199, 109, 0.16), transparent 55%),
    linear-gradient(160deg, rgba(16, 39, 27, 0.78), rgba(6, 18, 12, 0.9));
  color: var(--gold);
  text-align: center;
  transition: border-color 0.25s, background 0.25s;
}

.poster-card--more .more-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 213, 114, 0.35);
  border-radius: 50%;
  background: rgba(8, 22, 14, 0.65);
}

.poster-card--more .more-icon .icon {
  width: 20px;
  height: 20px;
}

.poster-card--more strong {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
}

.poster-card--more span {
  color: var(--muted-2);
  font-size: 9px;
  line-height: 1.5;
}

.poster-card--more:hover {
  border-color: rgba(255, 213, 114, 0.62);
  background:
    radial-gradient(circle at 50% 34%, rgba(25, 199, 109, 0.22), transparent 55%),
    linear-gradient(160deg, rgba(21, 50, 33, 0.85), rgba(6, 18, 12, 0.92));
}

/* ---------- 新人奖励区 ---------- */
.reward-section {
  position: relative;
  margin-top: 32px;
  padding: 60px 0 52px;
  border-top: 1px solid rgba(212, 175, 55, 0.13);
  border-bottom: 1px solid rgba(212, 175, 55, 0.13);
  background:
    radial-gradient(ellipse 80% 84% at 82% 5%, rgba(0, 140, 69, 0.18), transparent 58%),
    radial-gradient(ellipse 50% 50% at 10% 90%, rgba(212, 175, 55, 0.08), transparent 60%),
    linear-gradient(160deg, #07130d 0%, #10271b 52%, #07130d 100%);
  overflow: hidden;
  isolation: isolate;
}

.reward-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.06;
  background-image: linear-gradient(rgba(255, 213, 114, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 213, 114, 0.35) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
}

.reward-aura {
  position: absolute;
  top: -140px;
  left: 50%;
  width: 620px;
  height: 360px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255, 213, 114, 0.12), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

.reward-heading {
  position: relative;
  max-width: 760px;
  margin-bottom: 26px;
}

.reward-heading__copy {
  position: relative;
  z-index: 1;
  max-width: 570px;
}

.reward-heading h2 {
  font-size: clamp(27px, 5.4vw, 40px);
  margin-bottom: 8px;
}

.reward-heading p:not(.section-kicker) {
  max-width: 530px;
  color: rgba(208, 228, 214, 0.74);
  font-size: 12.5px;
  line-height: 1.8;
}

.reward-gift {
  position: absolute;
  top: -62px;
  inset-inline-start: -12px;
  z-index: 0;
  width: clamp(150px, 20vw, 250px);
  height: auto;
  object-fit: contain;
  mix-blend-mode: screen;
  opacity: 0.9;
  filter: saturate(1.08) drop-shadow(0 16px 36px rgba(0, 0, 0, 0.3));
  pointer-events: none;
}

.reward-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.reward-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 112px;
  padding: 14px 13px;
  border: 1px solid rgba(25, 199, 109, 0.2);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 40%),
    rgba(9, 29, 19, 0.72);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22), inset 0 1px rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

.reward-card::after {
  content: "";
  position: absolute;
  inset-inline: 14px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(25, 199, 109, 0.36), transparent);
}

.reward-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid rgba(255, 213, 114, 0.28);
  border-radius: 15px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.2), transparent 45%),
    linear-gradient(145deg, rgba(0, 140, 69, 0.7), rgba(4, 24, 14, 0.9));
  color: var(--gold);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.12);
}

.reward-icon .icon {
  width: 22px;
  height: 22px;
}

.reward-card__body {
  flex: 1;
  min-width: 0;
}

.reward-card__label {
  color: rgba(255, 213, 114, 0.76);
  font-size: 8.5px;
  font-weight: 700;
}

.reward-card h3 {
  margin: 1px 0 2px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}

.reward-card__note {
  color: rgba(183, 205, 190, 0.62);
  font-size: 9px;
  line-height: 1.45;
}

.reward-amount {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 0 auto;
  min-width: 66px;
  text-align: left;
  direction: ltr;
}

.reward-amount strong {
  display: inline-block;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(31px, 9vw, 40px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  background: linear-gradient(100deg, #ffe9ad 10%, #fff9e8 30%, #ffd572 50%, #d4af37 76%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px rgba(255, 213, 114, 0.16));
  animation: goldFlow 7s linear infinite;
}

.reward-amount span {
  color: rgba(255, 213, 114, 0.58);
  font-size: 8px;
  font-weight: 600;
  direction: rtl;
  unicode-bidi: isolate;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .reward-amount strong,
  .mr-amount strong {
    background: none;
    color: var(--gold);
  }
}

.reward-card--featured {
  border-color: rgba(255, 213, 114, 0.42);
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 213, 114, 0.18), transparent 55%),
    linear-gradient(145deg, rgba(34, 52, 25, 0.72), rgba(7, 25, 15, 0.84));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28), 0 0 36px rgba(212, 175, 55, 0.07), inset 0 1px rgba(255, 255, 255, 0.07);
}

.reward-card--featured .reward-amount strong {
  font-size: clamp(35px, 10vw, 46px);
  filter: drop-shadow(0 0 20px rgba(255, 213, 114, 0.26));
}

.reward-card__flag {
  position: absolute;
  top: 8px;
  inset-inline-start: 10px;
  padding: 2px 6px;
  border-radius: 999px;
  background: linear-gradient(120deg, #ffe7a5, #d4af37);
  color: #2b1a00;
  font-size: 7px;
  font-weight: 800;
  line-height: 1.5;
}

.reward-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  text-align: center;
}

.fine-print {
  color: rgba(183, 205, 190, 0.54);
  font-size: 9px;
  line-height: 1.55;
}

.text-link {
  padding: 0;
  color: var(--gold);
  font-size: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(255, 213, 114, 0.4);
}

/* ---------- 安装说明 ---------- */
.install-section {
  padding: 52px 0 20px;
}

.install-panel {
  position: relative;
  padding: 24px 15px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 80% 60% at 90% 0%, rgba(0, 140, 69, 0.14), transparent 60%),
    linear-gradient(155deg, rgba(14, 36, 24, 0.9), rgba(6, 18, 12, 0.94));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.install-panel::before {
  content: "";
  position: absolute;
  top: -90px;
  inset-inline-end: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 213, 114, 0.1), transparent 65%);
  pointer-events: none;
}

.install-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.install-head h2 {
  font-size: clamp(24px, 5.2vw, 34px);
  margin-bottom: 5px;
}

.install-head p:not(.section-kicker) {
  max-width: 490px;
  color: var(--muted-2);
  font-size: 11.5px;
}

.install-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid rgba(25, 199, 109, 0.24);
  border-radius: 999px;
  background: rgba(5, 24, 14, 0.6);
  color: rgba(207, 238, 219, 0.8);
  font-size: 8.5px;
  font-weight: 600;
  white-space: nowrap;
}

.install-badge .icon {
  width: 12px;
  height: 12px;
  color: var(--green-bright);
}

.install-steps {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.install-step {
  position: relative;
  padding: 17px 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 17px;
  background: rgba(4, 19, 11, 0.48);
  overflow: hidden;
}

.step-number {
  position: absolute;
  top: -16px;
  inset-inline-start: 5px;
  color: transparent;
  font-family: var(--font-display);
  font-size: 68px;
  font-weight: 800;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(255, 213, 114, 0.17);
  pointer-events: none;
}

.step-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 213, 114, 0.25);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(0, 140, 69, 0.52), rgba(5, 24, 14, 0.8));
  color: var(--gold);
}

.step-icon .icon {
  width: 19px;
  height: 19px;
}

.install-step h3 {
  position: relative;
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 4px;
}

.install-step > p {
  position: relative;
  color: rgba(186, 208, 193, 0.72);
  font-size: 10.5px;
  line-height: 1.75;
}

.step-tip {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-top: 8px;
  padding: 7px 8px;
  border-inline-start: 2px solid rgba(255, 213, 114, 0.48);
  border-radius: 4px;
  background: rgba(255, 213, 114, 0.055);
  color: rgba(228, 219, 186, 0.7) !important;
  font-size: 9px !important;
  line-height: 1.65 !important;
}

.step-tip .icon {
  width: 12px;
  height: 12px;
  margin-top: 2px;
  color: var(--gold);
}

.step-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  margin-top: 9px;
  padding: 0 10px;
  border: 1px solid rgba(25, 199, 109, 0.35);
  border-radius: 9px;
  background: rgba(0, 140, 69, 0.16);
  color: #9af0c0;
  font-size: 9.5px;
  font-weight: 700;
}

.step-action .icon {
  width: 14px;
  height: 14px;
}

.safety-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 11px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 12px;
  background: rgba(255, 213, 114, 0.045);
}

.safety-note__icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  border-radius: 50%;
  background: rgba(255, 213, 114, 0.1);
  color: var(--gold);
}

.safety-note__icon .icon {
  width: 14px;
  height: 14px;
}

.safety-note p {
  color: rgba(222, 234, 225, 0.68);
  font-size: 9.5px;
  line-height: 1.7;
}

.safety-note strong {
  color: rgba(255, 228, 164, 0.92);
}

/* ---------- 底部转化区 ---------- */
.final-cta {
  padding: 34px 0 54px;
}

.final-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px 24px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 26px;
  background:
    radial-gradient(ellipse 70% 70% at 50% 0%, rgba(0, 140, 69, 0.26), transparent 62%),
    radial-gradient(ellipse 35% 35% at 80% 90%, rgba(212, 175, 55, 0.08), transparent 65%),
    linear-gradient(155deg, #143225, #08150e 68%);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.06);
  text-align: center;
  overflow: hidden;
}

.final-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 213, 114, 0.12) 0 1px, transparent 1.5px),
    radial-gradient(circle at 80% 40%, rgba(255, 213, 114, 0.1) 0 1px, transparent 1.5px);
  background-size: 64px 64px, 88px 88px;
  pointer-events: none;
}

.final-app-icon {
  position: relative;
  width: 78px;
  height: 78px;
  margin-bottom: 12px;
  border-radius: 22px;
  padding: 3px;
  background: linear-gradient(145deg, #ffe7a7, #a8862b 60%, #4f3d0f);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35), 0 0 26px rgba(255, 213, 114, 0.14);
}

.final-app-icon img {
  width: 100%;
  height: 100%;
  border-radius: 19px;
  object-fit: cover;
}

.final-copy {
  position: relative;
  max-width: 650px;
}

.final-copy .section-kicker {
  justify-content: center;
}

.final-copy h2 {
  margin-bottom: 6px;
  font-size: clamp(24px, 5.5vw, 36px);
}

.final-copy p:not(.section-kicker) {
  max-width: 500px;
  margin: 0 auto;
  color: rgba(208, 228, 214, 0.72);
  font-size: 11.5px;
  line-height: 1.8;
}

.btn-final {
  margin-top: 17px;
}

.final-note {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 9px;
  color: rgba(183, 205, 190, 0.55);
  font-size: 9px;
}

.final-note .icon {
  width: 11px;
  height: 11px;
  color: rgba(255, 213, 114, 0.62);
}

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  background: #060d09;
  padding: 28px 0 26px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 213, 114, 0.2);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.footer-brand p {
  color: var(--muted-2);
  font-size: 9.5px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
}

.footer-links button {
  padding: 2px 0;
  color: rgba(183, 205, 190, 0.68);
  font-size: 10.5px;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-links button:hover {
  color: var(--gold);
}

.footer-legal {
  padding-top: 15px;
}

.footer-legal p {
  margin-bottom: 7px;
  color: rgba(183, 205, 190, 0.42);
  font-size: 9px;
  line-height: 1.8;
}

.footer-legal .copyright {
  margin-top: 13px;
  margin-bottom: 0;
  color: rgba(183, 205, 190, 0.55);
  font-size: 9.5px;
}

.footer-review {
  margin-top: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(225, 71, 141, 0.25);
  border-radius: 10px;
  background: rgba(225, 71, 141, 0.055);
  color: rgba(255, 185, 221, 0.82) !important;
  font-size: 9px !important;
  line-height: 1.7 !important;
}

.footer-review[hidden] {
  display: none;
}

/* ---------- 底部固定下载栏 ---------- */
.sticky-download {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 90;
  padding: 7px 10px calc(7px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  background:
    linear-gradient(180deg, rgba(8, 24, 15, 0.96), rgba(4, 12, 8, 0.99)),
    rgba(5, 14, 10, 0.96);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s var(--ease);
}

body.modal-open .sticky-download {
  transform: translateY(115%);
}

.sticky-inner {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}

.sticky-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 213, 114, 0.25), 0 5px 12px rgba(0, 0, 0, 0.3);
}

.sticky-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.sticky-copy strong {
  overflow: hidden;
  color: #fff;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticky-copy span {
  overflow: hidden;
  color: rgba(255, 213, 114, 0.72);
  font-size: 8.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-sticky {
  flex: 0 0 auto;
}

/* ---------- 弹窗 ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top, 0px)) 12px max(12px, env(safe-area-inset-bottom, 0px));
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), visibility 0.28s;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 6, 3, 0.78);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.modal-shell {
  position: relative;
  z-index: 1;
  width: min(90vw, 380px);
  max-height: min(92dvh, 780px);
  border-radius: 20px;
  outline: none;
  transform: scale(0.9) translateY(10px);
  opacity: 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.modal.is-open .modal-shell {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-card {
  position: relative;
  max-height: min(92dvh, 780px);
  border: 1px solid rgba(255, 213, 114, 0.48);
  border-radius: 20px;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(255, 213, 114, 0.18), transparent 62%),
    radial-gradient(ellipse 80% 45% at 15% 35%, rgba(0, 140, 69, 0.2), transparent 70%),
    linear-gradient(160deg, #123023 0%, #0a1c13 45%, #06110b 100%);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(255, 213, 114, 0.08) inset,
    0 0 44px rgba(212, 175, 55, 0.08);
  overflow: hidden;
}

.modal-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.modal-scroll {
  position: relative;
  max-height: min(92dvh, 780px);
  padding: 12px 14px 13px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 213, 114, 0.35) transparent;
}

.modal-scroll::-webkit-scrollbar {
  width: 4px;
}

.modal-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 213, 114, 0.3);
}

.modal-close {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 213, 114, 0.26);
  border-radius: 50%;
  background: rgba(3, 13, 8, 0.72);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s, border-color 0.2s;
}

.modal-close .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.modal-close:hover {
  border-color: rgba(255, 213, 114, 0.58);
  background: rgba(18, 40, 25, 0.85);
}

.modal-visual {
  position: relative;
  display: grid;
  place-items: center;
  height: 150px;
  margin: 0 auto 2px;
  pointer-events: none;
}

.modal-halo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 180px;
  height: 150px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 213, 114, 0.22), transparent 56%),
    radial-gradient(circle at 35% 65%, rgba(25, 199, 109, 0.24), transparent 60%);
  filter: blur(15px);
}

.modal-visual img {
  position: relative;
  z-index: 1;
  width: 180px;
  height: 180px;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: saturate(1.08) drop-shadow(0 16px 22px rgba(0, 0, 0, 0.34));
  animation: giftFloat 4.6s ease-in-out infinite;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 46%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 50%, #000 46%, transparent 72%);
}

.spark {
  position: absolute;
  z-index: 2;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(255, 213, 114, 0.8);
  opacity: 0.8;
}

.spark--1 {
  top: 26%;
  left: 23%;
  animation: sparkle 3.4s ease-in-out infinite;
}

.spark--2 {
  top: 58%;
  right: 22%;
  width: 3px;
  height: 3px;
  animation: sparkle 4.1s 0.6s ease-in-out infinite;
}

.spark--3 {
  top: 16%;
  right: 30%;
  width: 3px;
  height: 3px;
  animation: sparkle 3.8s 1.2s ease-in-out infinite;
}

.modal-topline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: rgba(255, 213, 114, 0.72);
  font-size: 8px;
  font-weight: 700;
}

.modal-topline__line {
  width: 20px;
  height: 1px;
  flex: 0 1 20px;
  background: linear-gradient(90deg, transparent, rgba(255, 213, 114, 0.55));
}

.modal-topline__line:last-child {
  background: linear-gradient(90deg, rgba(255, 213, 114, 0.55), transparent);
}

.modal-topline__text {
  flex: 0 1 auto;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-card h2 {
  margin: 2px 0 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(26px, 7.8vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.modal-subtitle {
  margin-top: 1px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 0 16px rgba(255, 213, 114, 0.2);
}

.modal-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 3px;
  color: rgba(183, 205, 190, 0.64);
  font-size: 8.5px;
  text-align: center;
}

.modal-hint .icon {
  width: 10px;
  height: 10px;
  color: rgba(255, 213, 114, 0.7);
}

.modal-rewards {
  display: grid;
  gap: 6px;
  margin: 11px 0 10px;
}

.modal-reward {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 7px 8px;
  border: 1px solid rgba(255, 213, 114, 0.14);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 50%),
    rgba(5, 25, 15, 0.62);
}

.modal-reward--featured {
  border-color: rgba(255, 213, 114, 0.44);
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 213, 114, 0.17), transparent 58%),
    linear-gradient(145deg, rgba(32, 52, 24, 0.58), rgba(6, 23, 14, 0.8));
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16), inset 0 1px rgba(255, 255, 255, 0.05);
}

.mr-icon {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  flex: 0 0 33px;
  border: 1px solid rgba(255, 213, 114, 0.25);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(0, 140, 69, 0.6), rgba(4, 22, 13, 0.9));
  color: var(--gold);
}

.mr-icon .icon {
  width: 16px;
  height: 16px;
}

.mr-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}

.mr-copy strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
}

.mr-copy span {
  color: rgba(183, 205, 190, 0.58);
  font-size: 7.5px;
}

.mr-amount {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  min-width: 52px;
  text-align: left;
  direction: ltr;
}

.mr-amount strong {
  display: inline-block;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(100deg, #ffe9ad 10%, #fff9e8 34%, #ffd572 55%, #d4af37 80%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: goldFlow 6.5s linear infinite;
}

.mr-amount small {
  color: rgba(255, 213, 114, 0.52);
  font-size: 7px;
  font-weight: 600;
  direction: rtl;
  unicode-bidi: isolate;
}

.modal-reward--featured .mr-amount strong {
  font-size: 26px;
}

.mr-flag {
  position: absolute;
  top: -6px;
  inset-inline-start: 8px;
  padding: 1px 5px;
  border-radius: 999px;
  background: linear-gradient(120deg, #ffe7a5, #d4af37);
  color: #2b1a00;
  font-size: 6.5px;
  font-weight: 800;
  line-height: 1.6;
}

.modal-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 50px;
  padding: 0 12px;
  border: 1px solid rgba(120, 255, 185, 0.34);
  border-radius: 13px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 40%),
    linear-gradient(160deg, #19c76d, #008c45 60%, #00713a);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 10px 26px rgba(0, 140, 69, 0.32), inset 0 1px rgba(255, 255, 255, 0.18);
  overflow: hidden;
  animation: modalCtaBreathe 3.8s ease-in-out infinite;
}

.modal-cta .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.modal-cta__shine {
  position: absolute;
  top: -50%;
  bottom: -50%;
  width: 36%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-18deg);
  animation: ctaShine 5.5s ease-in-out infinite;
  pointer-events: none;
}

.modal-later {
  display: block;
  width: 100%;
  min-height: 38px;
  margin-top: 2px;
  color: rgba(214, 232, 220, 0.62);
  font-size: 10.5px;
  font-weight: 600;
}

.modal-later:hover {
  color: rgba(255, 255, 255, 0.8);
}

.modal-terms {
  color: rgba(183, 205, 190, 0.48);
  font-size: 8px;
  line-height: 1.6;
  text-align: center;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px) + 12px);
  z-index: 600;
  width: max-content;
  max-width: calc(100vw - 28px);
  padding: 10px 15px;
  border: 1px solid rgba(255, 213, 114, 0.35);
  border-radius: 12px;
  background: rgba(5, 21, 13, 0.96);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.55;
  text-align: center;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translate(-50%, 14px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

body.modal-open .toast {
  bottom: max(24px, env(safe-area-inset-bottom, 0px) + 18px);
}

.noscript-note {
  position: fixed;
  inset-inline: 12px;
  bottom: calc(var(--sticky-h) + 16px);
  z-index: 700;
  padding: 12px 16px;
  border: 1px solid var(--line-gold);
  border-radius: 12px;
  background: #10271b;
  color: #fff;
  font-size: 12px;
  text-align: center;
}

/* ---------- 滚动出现动画 ---------- */
.will-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.will-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.poster-card {
  animation: cardIn 0.45s var(--ease) both;
  animation-delay: calc(var(--card-index, 0) * 35ms);
}

html.i18n-switching .poster-card {
  animation: none !important;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes goldFlow {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: -100% 50%;
  }
}

@keyframes ctaBreathe {
  0%,
  100% {
    box-shadow: 0 10px 28px rgba(0, 140, 69, 0.28), 0 0 0 0 rgba(25, 199, 109, 0.16);
  }
  50% {
    box-shadow: 0 14px 36px rgba(0, 140, 69, 0.4), 0 0 0 7px rgba(25, 199, 109, 0);
  }
}

@keyframes modalCtaBreathe {
  0%,
  100% {
    box-shadow: 0 10px 26px rgba(0, 140, 69, 0.3), 0 0 0 0 rgba(25, 199, 109, 0.14);
  }
  50% {
    box-shadow: 0 12px 32px rgba(0, 140, 69, 0.42), 0 0 0 6px rgba(25, 199, 109, 0);
  }
}

@keyframes giftFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-7px) rotate(1.5deg);
  }
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0.28;
    transform: scale(0.8);
  }
  50% {
    opacity: 0.92;
    transform: scale(1.2);
  }
}

@keyframes ctaShine {
  0% {
    left: -52%;
  }
  45%,
  100% {
    left: 122%;
  }
}

/* ---------- 平板 ---------- */
@media (min-width: 560px) {
  :root {
    --page-x: 24px;
  }

  .header-shell {
    min-height: 68px;
    padding: 9px 12px 9px 14px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .brand-copy span {
    font-size: 10.5px;
  }

  .btn-header {
    min-height: 46px;
    padding: 0 18px;
    font-size: 13.5px;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-subtitle {
    font-size: 17.5px;
  }

  .mini-reward {
    min-height: 86px;
    padding: 10px 8px;
  }

  .mini-reward strong {
    font-size: 30px;
  }

  .mini-reward > span:last-child {
    font-size: 10px;
  }

  .poster-grid {
    gap: 13px;
  }

  .rail-track {
    gap: 13px;
  }

  .rail-track .poster-card {
    flex-basis: calc((100% - 39px) / 3.35);
    max-width: 190px;
  }

  .poster-genre {
    font-size: 8px;
    padding: 3px 7px;
  }

  .poster-play {
    width: 46px;
    height: 46px;
  }

  .poster-title {
    font-size: 14px;
  }

  .poster-hint {
    font-size: 8px;
  }

  .reward-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .reward-card {
    flex-wrap: wrap;
    align-items: flex-start;
    min-height: 196px;
    padding: 16px 14px;
  }

  .reward-card__body {
    flex-basis: calc(100% - 66px);
  }

  .reward-amount {
    width: 100%;
    margin-top: 6px;
    padding-top: 7px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .reward-amount strong {
    font-size: 38px;
  }

  .reward-card--featured .reward-amount strong {
    font-size: 44px;
  }

  .reward-heading h2 {
    font-size: 38px;
  }

  .install-panel {
    padding: 28px 22px;
  }

  .install-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .install-step {
    min-height: 230px;
  }

  .final-panel {
    padding: 36px 26px 30px;
  }

  .footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-links {
    justify-content: flex-end;
  }

  .sticky-inner {
    gap: 11px;
  }

  .sticky-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .sticky-copy strong {
    font-size: 14.5px;
  }

  .sticky-copy span {
    font-size: 9.5px;
  }

  .btn-sticky {
    min-height: 50px;
    padding: 0 22px;
    font-size: 13.5px;
  }
}

/* ---------- 桌面 ---------- */
@media (min-width: 900px) {
  :root {
    --page-x: 28px;
  }

  .site-header {
    padding-top: 18px;
  }

  .header-shell {
    min-height: 74px;
    padding: 10px 14px 10px 16px;
    border-radius: 20px;
  }

  .brand-mark {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .brand-copy strong {
    font-size: 20px;
  }

  .brand-copy span {
    font-size: 11px;
  }

  .bonus-pill {
    padding: 7px 13px;
  }

  .bonus-pill strong {
    font-size: 20px;
  }

  .btn-header {
    min-height: 48px;
    padding: 0 20px;
    font-size: 14px;
  }

  .hero {
    min-height: min(900px, max(780px, 100svh));
    padding: 138px var(--page-x) 90px;
  }

  .hero-poster {
    opacity: 0.92;
    filter: saturate(0.99) brightness(1);
  }

  .hero-poster--a {
    top: 16%;
    inset-inline-start: 2.5%;
  }

  .hero-poster--b {
    top: 49%;
    inset-inline-start: 11%;
  }

  .hero-poster--c {
    bottom: -4%;
    inset-inline-start: 1%;
  }

  .hero-poster--d {
    top: 12%;
    inset-inline-end: 2.5%;
  }

  .hero-poster--e {
    top: 47%;
    inset-inline-end: 11%;
  }

  .hero-poster--f {
    bottom: -5%;
    inset-inline-end: 1%;
  }

  .hero-poster--g,
  .hero-poster--h {
    opacity: 0.3;
  }

  .hero-content {
    max-width: 780px;
  }

  .hero h1 {
    font-size: clamp(70px, 7.6vw, 96px);
  }

  .hero-subtitle {
    max-width: 620px;
    font-size: 18px;
  }

  .hero-rewards {
    max-width: 630px;
    gap: 10px;
  }

  .mini-reward {
    min-height: 92px;
  }

  .mini-reward strong {
    font-size: 32px;
  }

  .mini-reward > span:last-child {
    font-size: 10.5px;
  }

  .btn-hero {
    min-height: 60px;
    font-size: 18px;
  }

  .hero-note {
    margin-top: 12px;
    font-size: 11.5px;
  }

  .hero-trust {
    gap: 0 20px;
    margin-top: 19px;
    font-size: 10px;
  }

  .content-section {
    padding-top: 64px;
  }

  .content-section--first {
    padding-top: 50px;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-head h2 {
    font-size: 32px;
  }

  .section-kicker {
    font-size: 10.5px;
    margin-bottom: 6px;
  }

  .section-sub {
    font-size: 12.5px;
  }

  .section-more {
    min-height: 38px;
    padding: 0 14px;
    font-size: 11.5px;
  }

  .poster-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
  }

  .poster-grid .poster-card--more {
    grid-column: span 1;
  }

  .rail-track {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    padding: 2px 0 10px;
    overflow: visible;
  }

  .rail-track .poster-card {
    max-width: none;
  }

  /* “发现更多”只有 4 张封面 + 1 张入口卡片，桌面端用 5 列填满整行 */
  #discover .rail-track {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .poster-title {
    font-size: 15px;
  }

  .poster-hint {
    font-size: 8.5px;
  }

  .poster-play {
    width: 50px;
    height: 50px;
  }

  .poster-play .icon {
    width: 18px;
    height: 18px;
  }

  .reward-section {
    margin-top: 42px;
    padding: 76px 0 66px;
  }

  .reward-heading {
    margin-bottom: 30px;
  }

  .reward-heading h2 {
    font-size: 44px;
  }

  .reward-heading p:not(.section-kicker) {
    font-size: 13.5px;
  }

  .reward-gift {
    top: -86px;
    inset-inline-start: 90px;
    width: 290px;
    opacity: 0.8;
  }

  .reward-grid {
    gap: 16px;
  }

  .reward-card {
    min-height: 216px;
    padding: 22px 20px;
    border-radius: 20px;
    transition: transform 0.3s var(--ease), border-color 0.3s;
  }

  .reward-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 213, 114, 0.4);
  }

  .reward-icon {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    border-radius: 16px;
  }

  .reward-icon .icon {
    width: 25px;
    height: 25px;
  }

  .reward-card h3 {
    font-size: 17px;
  }

  .reward-card__label {
    font-size: 9.5px;
  }

  .reward-card__note {
    font-size: 10px;
  }

  .reward-amount {
    min-width: 78px;
  }

  .reward-amount strong {
    font-size: 44px;
  }

  .reward-card--featured .reward-amount strong {
    font-size: 53px;
  }

  .reward-actions {
    margin-top: 30px;
  }

  .fine-print {
    font-size: 10px;
  }

  .install-section {
    padding-top: 66px;
  }

  .install-panel {
    padding: 34px 30px 30px;
    border-radius: 28px;
  }

  .install-head {
    margin-bottom: 28px;
  }

  .install-head h2 {
    font-size: 38px;
  }

  .install-head p:not(.section-kicker) {
    font-size: 12.5px;
  }

  .install-badge {
    padding: 7px 12px;
    font-size: 9.5px;
  }

  .install-steps {
    gap: 16px;
  }

  .install-step {
    min-height: 260px;
    padding: 22px 20px 18px;
  }

  .step-number {
    top: -22px;
    font-size: 92px;
  }

  .step-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 14px;
  }

  .step-icon .icon {
    width: 22px;
    height: 22px;
  }

  .install-step h3 {
    font-size: 16px;
  }

  .install-step > p {
    font-size: 11.5px;
  }

  .step-tip {
    font-size: 10px !important;
  }

  .step-action {
    min-height: 36px;
    padding: 0 13px;
    font-size: 10.5px;
  }

  .safety-note {
    margin-top: 18px;
    padding: 12px 14px;
  }

  .safety-note p {
    font-size: 10.5px;
  }

  .final-cta {
    padding: 40px 0 64px;
  }

  .final-panel {
    padding: 48px 36px 38px;
    border-radius: 30px;
  }

  .final-app-icon {
    width: 92px;
    height: 92px;
    margin-bottom: 16px;
    border-radius: 25px;
  }

  .final-app-icon img {
    border-radius: 22px;
  }

  .final-copy h2 {
    font-size: 40px;
  }

  .final-copy p:not(.section-kicker) {
    font-size: 13px;
  }

  .site-footer {
    padding: 38px 0 30px;
  }

  .footer-legal p {
    font-size: 9.5px;
  }

  .sticky-download {
    padding: 9px 18px calc(9px + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 1160px) {
  .sticky-inner {
    gap: 13px;
  }

  .btn-sticky {
    min-width: 168px;
  }
}

/* 小屏导航优先保证品牌与下载按钮完整显示，奖励胶囊留给更大屏幕 */
@media (max-width: 767px) {
  .bonus-pill {
    display: none;
  }
}

/* ---------- 小屏手机 ---------- */
@media (max-width: 380px) {
  :root {
    --page-x: 14px;
    --sticky-h: 70px;
  }

  .header-shell {
    gap: 7px;
    padding: 7px 8px;
    border-radius: 15px;
  }

  .brand {
    gap: 7px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 11px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy span {
    font-size: 8.5px;
  }

  .btn-header {
    min-height: 40px;
    padding: 0 11px;
    font-size: 11.5px;
  }

  .btn-header .icon {
    width: 17px;
    height: 17px;
  }

  .hero {
    min-height: max(670px, 100svh);
    padding: 99px var(--page-x) 68px;
  }

  .hero-poster {
    border-radius: 12px;
  }

  .hero-poster--g,
  .hero-poster--h {
    display: none;
  }

  .hero-kicker {
    padding: 5px 10px;
    font-size: 9.5px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-subtitle {
    margin-bottom: 17px;
    font-size: 13.5px;
    line-height: 1.7;
  }

  .hero-rewards {
    gap: 6px;
  }

  .mini-reward {
    min-height: 72px;
    padding: 7px 4px;
    border-radius: 12px;
  }

  .mini-reward strong {
    font-size: 22px;
  }

  .mini-reward > span:last-child {
    font-size: 8px;
  }

  .btn-hero {
    min-height: 54px;
    font-size: 15.5px;
    margin-top: 18px;
  }

  .hero-trust {
    gap: 4px 11px;
    font-size: 8.5px;
  }

  .hero-note {
    font-size: 10px;
  }

  .section-head {
    gap: 8px;
  }

  .section-head h2 {
    font-size: 21px;
  }

  .section-sub {
    display: none;
  }

  .section-more {
    min-height: 32px;
    padding: 0 8px;
    font-size: 9.5px;
  }

  .poster-grid {
    gap: 7px;
  }

  .poster {
    border-radius: 11px;
  }

  .poster-title {
    font-size: 12px;
  }

  .poster-hint {
    font-size: 7.2px;
  }

  .poster-play {
    width: 36px;
    height: 36px;
  }

  .poster-play .icon {
    width: 14px;
    height: 14px;
  }

  .poster-genre {
    top: 5px;
    inset-inline-start: 5px;
    font-size: 6.8px;
    padding: 2px 5px;
  }

  .reward-section {
    padding: 45px 0 40px;
  }

  .reward-heading h2 {
    font-size: 26px;
  }

  .reward-gift {
    width: 122px;
    top: -26px;
    inset-inline-start: -20px;
    opacity: 0.52;
  }

  .reward-card {
    min-height: 102px;
    padding: 12px 11px;
  }

  .reward-icon {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
    border-radius: 13px;
  }

  .reward-card h3 {
    font-size: 13.5px;
  }

  .reward-amount strong {
    font-size: 33px;
  }

  .reward-card--featured .reward-amount strong {
    font-size: 37px;
  }

  .reward-card__flag {
    font-size: 6.2px;
  }

  .install-panel {
    border-radius: 20px;
  }

  .install-head {
    display: block;
  }

  .install-badge {
    margin-top: 8px;
  }

  .install-step h3 {
    font-size: 13px;
  }

  .sticky-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .sticky-copy strong {
    font-size: 12.5px;
  }

  .sticky-copy span {
    font-size: 7.8px;
  }

  .btn-sticky {
    min-height: 43px;
    padding: 0 10px;
    font-size: 11px;
  }

  .btn-sticky .icon {
    width: 17px;
    height: 17px;
  }

  .modal-shell {
    width: min(90vw, 360px);
  }

  .modal-scroll {
    padding: 10px 11px 11px;
  }

  .modal-visual {
    height: 120px;
  }

  .modal-visual img {
    width: 146px;
    height: 146px;
  }

  .modal-card h2 {
    font-size: 26px;
  }

  .modal-reward {
    padding: 6px;
  }

  .mr-copy strong {
    font-size: 10px;
  }

  .mr-amount strong {
    font-size: 20px;
  }

  .modal-reward--featured .mr-amount strong {
    font-size: 23px;
  }

  .modal-cta {
    min-height: 46px;
    font-size: 12px;
  }
}

/* ---------- 低高度屏幕 / 横屏 ---------- */
@media (max-height: 650px) and (max-width: 899px) {
  .hero {
    min-height: 640px;
    padding-top: 92px;
    padding-bottom: 112px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-subtitle {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .hero-rewards {
    max-width: 530px;
  }

  .mini-reward {
    min-height: 68px;
  }

  .btn-hero {
    min-height: 50px;
    margin-top: 14px;
    font-size: 15px;
  }

  .hero-trust {
    display: none;
  }

  .modal-shell {
    max-height: 94dvh;
  }

  .modal-scroll {
    max-height: 94dvh;
    padding-top: 8px;
  }

  .modal-visual {
    height: 104px;
  }

  .modal-visual img {
    width: 126px;
    height: 126px;
  }

  .modal-card h2 {
    font-size: 24px;
  }

  .modal-reward {
    min-height: 46px;
    padding: 5px 7px;
  }

  .modal-rewards {
    margin: 7px 0;
  }

  .modal-cta {
    min-height: 44px;
  }
}

/* ---------- 多语言布局与语言控件响应式 ---------- */
@media (min-width: 560px) {
  .language-layer {
    top: calc(env(safe-area-inset-top, 0px) + 88px);
  }
}

@media (min-width: 900px) {
  .language-layer {
    top: calc(env(safe-area-inset-top, 0px) + 102px);
  }

  .lang-trigger {
    min-height: 44px;
    padding: 0 13px;
    gap: 8px;
    font-size: 12px;
  }

  .lang-trigger .icon {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
  }

  .lang-current {
    max-width: 104px;
  }
}

@media (max-width: 380px) {
  .lang-trigger {
    min-height: 44px;
    padding: 0 10px;
    gap: 5px;
    font-size: 11px;
  }

  .lang-trigger .icon {
    width: 13px;
    height: 13px;
    flex-basis: 13px;
  }

  .lang-current {
    max-width: 74px;
  }

  .lang-menu {
    width: min(214px, calc(100vw - 28px));
  }

  .lang-option {
    min-height: 44px;
    font-size: 11.5px;
  }
}

/* 拉丁文字语言：标题改为两行更舒展，避免法语的较长标题挤压 */
html[dir="ltr"] .hero h1 {
  font-size: clamp(40px, 6.2vw, 74px);
  font-family: var(--font-body);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

html[dir="ltr"] .hero h1 .hero-title__lead,
html[dir="ltr"] .hero h1 .hero-title__accent {
  display: block;
}

html[dir="ltr"] .hero h1 .hero-title__accent {
  margin-top: 1px;
}

html[dir="ltr"] .brand-copy strong,
html[dir="ltr"] .section-head h2,
html[dir="ltr"] .reward-heading h2,
html[dir="ltr"] .install-head h2,
html[dir="ltr"] .final-copy h2 {
  font-family: var(--font-body);
  letter-spacing: -0.02em;
}

html[dir="ltr"] .section-more .icon,
html[dir="ltr"] .poster-card--more .more-icon .icon {
  transform: rotate(180deg);
}

html[dir="ltr"] .reward-amount span,
html[dir="ltr"] .mr-amount small {
  direction: ltr;
}

@media (max-height: 650px) and (max-width: 899px) {
  html[dir="ltr"] .hero h1 {
    font-size: 34px;
  }
}

/* ---------- 减少动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .will-reveal {
    opacity: 1;
    transform: none;
  }

  .btn-hero,
  .modal-cta,
  .reward-amount strong,
  .mr-amount strong,
  .modal-visual img,
  .spark,
  .poster-card {
    animation: none !important;
  }
}
