/* CoinReels 官网 —— 暗金主题，零依赖。配色取自 App 的 colors.xml，与端上保持一致。 */
:root {
  --bg: #0d0a09;
  --bg-alt: #141010;
  --surface: #1b1614;
  --line: #2c2320;
  --text: #f6f3f1;
  --muted: #b3a9a3;
  --brand: #f36828;        /* brand_primary */
  --brand-bright: #ff730a; /* brand_primary_bright */
  --gold: #fa9f0d;         /* brand_gold */
  --radius: 16px;
  --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* height:auto 必须有：HTML 里给了 width/height 属性（防 CLS），只压 max-width 的话
   高度会停在属性值上、宽度被容器缩掉，图就纵向拉长了。 */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand); color: #161200; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(13, 10, 9, .82);
  backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 20px; min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; text-decoration: none; letter-spacing: -.2px; }
.brand img { border-radius: 9px; }
.brand b { color: var(--brand); font-weight: 700; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a:focus-visible { color: var(--text); }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  color: var(--text); font-size: 20px; line-height: 1; padding: 8px 12px; border-radius: 10px; cursor: pointer;
}

/* ---------- buttons ---------- */
.store-btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  background: linear-gradient(180deg, var(--brand-bright), var(--brand));
  color: #161200; padding: 11px 20px; border-radius: 999px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(243, 104, 40, .25);
}
.store-btn:hover { filter: brightness(1.06); }
.gp-icon { width: 22px; height: 22px; flex: none; }
.gp-text { display: grid; line-height: 1.12; text-align: left; }
.gp-text small { font-size: 10px; opacity: .78; text-transform: uppercase; letter-spacing: .6px; }
.gp-text strong { font-size: 15px; }
.header-cta { padding: 8px 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 999px; text-decoration: none; font-weight: 600;
}
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- hero ---------- */
.hero {
  padding: 84px 0 72px;
  background:
    radial-gradient(900px 480px at 78% 18%, rgba(243, 104, 40, .20), transparent 62%),
    radial-gradient(700px 420px at 12% 6%, rgba(250, 159, 13, .10), transparent 60%);
}
.hero .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 14px;
}
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.1; margin: 0 0 18px; letter-spacing: -1px; }
.accent { color: var(--brand); }
.lead { color: var(--muted); font-size: 17px; margin: 0 0 28px; max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { color: #8e837d; font-size: 13.5px; margin-top: 18px; }

/* 机身：纯 CSS 画边框，截图本身不带机壳，换图不用重做 */
.phone {
  background: linear-gradient(160deg, #3a302b, #1a1513);
  padding: 9px; border-radius: 34px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.phone .screen { border-radius: 26px; overflow: hidden; background: #000; }
.hero-visual { display: flex; justify-content: center; }
.hero-phone { width: min(320px, 82vw); }

/* ---------- sections ---------- */
.section { padding: 78px 0; }
.section.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin: 0 auto 46px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.18; margin: 0 0 12px; letter-spacing: -.6px; }
.section-head p { color: var(--muted); margin: 0; }

/* ---------- quick facts ---------- */
.facts { padding: 0; }
.facts .container { transform: translateY(-34px); }
.fact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.fact-grid > div { background: var(--surface); padding: 20px 22px; }
.fact-grid dt { font-size: 12px; letter-spacing: .8px; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.fact-grid dd { margin: 6px 0 0; font-size: 15px; color: var(--text); }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  transition: border-color .18s ease, transform .18s ease;
}
.feature:hover { border-color: rgba(243, 104, 40, .45); transform: translateY(-3px); }
.feature .ico { font-size: 26px; margin-bottom: 12px; }
.feature h3 { margin: 0 0 8px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.step .num {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, var(--brand-bright), var(--brand)); color: #161200;
  font-weight: 800; margin-bottom: 14px;
}
.step h3 { margin: 0 0 8px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- earn detail ---------- */
/* 提现国家表已下线，这里只剩一张卡：不再两栏，居中限宽，免得半幅卡孤零零挂在左边 */
.earn-detail { display: grid; gap: 20px; margin-top: 22px; max-width: 760px; margin-inline: auto; }
.earn-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.earn-card h3 { margin: 0 0 16px; font-size: 19px; }
.tick { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tick li { padding-left: 28px; position: relative; color: var(--muted); font-size: 15px; }
.tick li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 800; }
.tick strong { color: var(--text); }
.fineprint { color: #8e837d; font-size: 13px; margin: 16px 0 0; }


/* ---------- screenshots ---------- */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.shot { margin: 0; text-align: center; }
.shot .phone { border-radius: 26px; padding: 7px; }
.shot .phone .screen { border-radius: 20px; }
.shot figcaption { margin-top: 14px; color: var(--muted); font-size: 14px; }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { color: var(--brand); font-size: 20px; line-height: 1; flex: none; }
.faq details[open] .chev { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }

/* ---------- cta ---------- */
.cta-band {
  text-align: center; padding: 54px 28px; border-radius: 24px;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(243, 104, 40, .22), transparent 70%),
    var(--surface);
  border: 1px solid var(--line);
}
.cta-band h2 { font-size: clamp(24px, 3.2vw, 34px); margin: 0 0 10px; letter-spacing: -.5px; }
.cta-band p { color: var(--muted); margin: 0 0 24px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0 44px; background: var(--bg-alt); }
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; margin-left: auto; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.footer-links a:hover { color: var(--brand); }
.copyright { width: 100%; color: #7d736e; font-size: 13.5px; margin: 6px 0 0; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .features, .steps { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav {
    position: absolute; inset: 68px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 8px 20px 18px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav .header-cta { margin-top: 14px; justify-content: center; border-bottom: 0; }
  .nav-toggle { display: inline-block; }
  .hero { padding: 56px 0 48px; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .facts .container { transform: none; }
  .facts { padding: 0 0 8px; }
  .section { padding: 56px 0; }
  .site-footer .container { flex-direction: column; align-items: flex-start; }
  .footer-links { margin-left: 0; }
}

@media (max-width: 520px) {
  .features, .steps, .shots, .fact-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .feature { transition: none; }
}
