:root {
  --paper: #fff8fb;
  --paper-warm: #fff5ef;
  --blush: #f2d4df;
  --blush-strong: #e9b9cc;
  --cream: #fffaf0;
  --wine: #76002e;
  --wine-dark: #4c001e;
  --berry: #9b1745;
  --rose: #d84e7c;
  --gold: #ffd84a;
  --green: #2f7b60;
  --blue: #2d63c8;
  --ink: #2c1820;
  --text: #49313b;
  --muted: #7b6570;
  --line: rgba(118, 0, 46, 0.22);
  --shadow: 0 28px 80px rgba(118, 0, 46, 0.14);
  --shadow-soft: 0 14px 40px rgba(118, 0, 46, 0.08);
  --content: 1180px;
  --radius-xl: 34px;
  --radius: 22px;
  --radius-sm: 14px;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Inter", Arial, sans-serif;
  --display: "Arial Black", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", "Songti SC", serif;
  --mono: "SFMono-Regular", Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  background: var(--paper);
}

[id] {
  scroll-margin-top: 7.5rem;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(242, 212, 223, 0.78), rgba(255, 248, 251, 0.2) 420px),
    var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.78;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: var(--wine);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.06;
}

h1 {
  max-width: 900px;
  margin-bottom: 1rem;
  color: var(--wine);
  font-family: var(--display);
  font-size: clamp(3.2rem, 7.4vw, 6.8rem);
}

h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.75rem, 3.2vw, 3.1rem);
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.22rem;
}

p {
  margin-bottom: 1rem;
}

h1,
h2,
h3,
p,
li,
a,
span,
button,
code {
  overflow-wrap: anywhere;
}

.skip-button {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 80;
  min-height: 2.5rem;
  padding: 0 1rem;
  border: 2px solid var(--wine);
  border-radius: 999px;
  background: var(--cream);
  color: var(--wine);
  font-weight: 900;
}

.skip-button:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0.7rem 0;
  background: rgba(255, 248, 251, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.masthead {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  width: min(var(--content), calc(100% - 2rem));
  min-height: 3.5rem;
  margin: 0 auto;
  padding: 0.46rem 0.7rem;
  border-radius: 999px;
  background: var(--wine);
  color: #fff;
  box-shadow: 0 12px 32px rgba(118, 0, 46, 0.18);
}

.brand {
  display: inline-grid;
  min-width: 0;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-text {
  font-family: var(--display);
  font-size: clamp(1.1rem, 2vw, 1.65rem);
  font-weight: 950;
  line-height: 1;
}

.brand-subtitle {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav button,
.site-nav a,
.route-panel button {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav button,
.site-nav a {
  min-height: 2.35rem;
  padding: 0 0.78rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav button:hover,
.site-nav a:hover,
.site-nav button:focus-visible,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0 1.2rem;
  border: 2px solid var(--wine);
  border-radius: 999px;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.header-cta,
.button-primary {
  background: var(--gold);
  color: var(--wine-dark);
  box-shadow: 0 8px 0 rgba(76, 0, 30, 0.16);
}

.header-cta {
  min-height: 2.4rem;
  padding: 0 1rem;
  border-color: transparent;
  white-space: nowrap;
}

.button-secondary {
  background: #fff;
  color: var(--wine);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.56);
  color: var(--wine);
}

.header-cta:hover,
.button:hover,
.header-cta:focus-visible,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 13px 0 rgba(76, 0, 30, 0.14);
}

.section-block {
  width: min(var(--content), calc(100% - 2rem));
  margin-inline: auto;
}

.breadcrumb {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  padding: 1.2rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

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

.section-rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  color: var(--wine);
  font-size: 0.84rem;
  font-weight: 950;
  text-transform: uppercase;
}

.section-rule::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--wine);
  opacity: 0.18;
}

.latest-section {
  margin-top: 1.2rem;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border-radius: var(--radius-xl);
  background: var(--blush);
  box-shadow: var(--shadow);
}

.lead-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(290px, 0.84fr);
  gap: clamp(1.2rem, 3vw, 2.3rem);
  align-items: start;
}

.lead-story {
  min-width: 0;
}

.lead-image {
  position: relative;
  margin: 0 0 1.25rem;
  overflow: hidden;
  border: 6px solid #fff;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(118, 0, 46, 0.18);
}

.lead-image img {
  max-height: 500px;
  object-fit: cover;
  object-position: center;
}

.lead-image::after {
  content: "币安注册 / Binance Guide / CS7MMKK";
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  max-width: min(90%, 520px);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(118, 0, 46, 0.9);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 950;
}

.story-meta,
.eyebrow,
.meta-line {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.story-meta,
.eyebrow {
  margin-bottom: 0.45rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 820px;
  color: var(--text);
  font-size: clamp(1.06rem, 1.8vw, 1.32rem);
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 1.25rem 0;
}

.meta-line {
  margin: 0;
  color: var(--wine);
}

.story-grid,
.trend-grid,
.download-grid,
.info-grid,
.path-grid,
.service-grid {
  display: grid;
  gap: 1.1rem;
}

.story-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-card,
.trend-card,
.download-card,
.feature-card,
.path-grid article {
  min-width: 0;
  border: 1px solid rgba(118, 0, 46, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.story-card,
.trend-card {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding: 0.75rem;
}

.story-card img,
.trend-card img {
  aspect-ratio: 1.45;
  overflow: hidden;
  border-radius: 17px;
  background: var(--cream);
  object-fit: cover;
}

.story-card h2,
.trend-card h2 {
  margin: 0;
  color: var(--wine-dark);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.18;
}

.story-card button,
.trend-card button,
.route-panel button {
  width: fit-content;
  min-height: 2.3rem;
  padding: 0 0.88rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--wine);
  transition: background 180ms ease, transform 180ms ease;
}

.story-card button:hover,
.trend-card button:hover,
.route-panel button:hover,
.route-panel button.is-active {
  background: var(--gold);
  color: var(--wine-dark);
  transform: translateY(-1px);
}

.trends-section,
.category-section,
.black-panel,
.article-section,
.final-cta,
.page-hero,
.service-grid {
  margin-top: clamp(1.4rem, 4vw, 3.2rem);
}

.trend-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-section {
  padding: clamp(1.6rem, 4vw, 3rem) 0;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.category-section h2 {
  max-width: 1100px;
  margin: 0;
  color: var(--wine);
  font-family: var(--display);
  font-size: clamp(2.5rem, 6.4vw, 5.8rem);
  line-height: 1.04;
}

.black-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.4rem;
  align-items: center;
  padding: clamp(1.6rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  background: var(--wine-dark);
  color: #fff;
  box-shadow: var(--shadow);
}

.black-panel h2,
.black-panel p,
.black-panel .eyebrow {
  color: #fff;
}

.black-panel h2 {
  font-size: clamp(2rem, 4vw, 4.8rem);
}

.article-section {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
}

.route-panel {
  position: sticky;
  top: 6.2rem;
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.route-heading {
  display: grid;
  gap: 0.1rem;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.route-heading strong {
  color: var(--wine-dark);
  font-size: 1.15rem;
}

.route-panel button {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}

.article-body {
  display: grid;
  gap: 1.1rem;
  min-width: 0;
}

.content-panel,
.page-hero,
.final-cta,
.feature-card {
  border: 1px solid rgba(118, 0, 46, 0.14);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.content-panel {
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.content-panel p,
.content-panel li {
  font-size: 1.03rem;
}

.content-panel > p:not(.eyebrow) {
  max-width: 860px;
}

.summary-points,
.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.1rem;
}

.summary-points > div,
.info-grid > div {
  display: grid;
  gap: 0.35rem;
  min-height: 132px;
  padding: 1rem;
  border-radius: 20px;
  background: var(--cream);
  border: 1px solid rgba(118, 0, 46, 0.12);
}

.summary-points strong,
.info-grid strong {
  color: var(--wine);
  font-size: 1.05rem;
}

.summary-points span,
.info-grid span {
  color: var(--text);
}

.note-box {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.1rem;
  padding: 1.05rem 1.15rem;
  border-left: 7px solid var(--wine);
  border-radius: 0 20px 20px 0;
  background: #fff1c8;
  color: var(--wine-dark);
}

.note-box strong {
  font-size: 1.04rem;
}

.check-list,
.step-list,
.mini-guide ol {
  display: grid;
  gap: 0.7rem;
  padding-left: 1.25rem;
}

.check-list li::marker,
.step-list li::marker,
.mini-guide li::marker {
  color: var(--wine);
  font-weight: 900;
}

.step-list h3 {
  color: var(--wine);
}

.inline-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.1rem;
  padding: 1rem;
  border-radius: 22px;
  background: var(--blush);
}

.inline-cta > div {
  display: grid;
  gap: 0.25rem;
}

.download-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.download-card {
  padding: 1.2rem;
  background: var(--paper-warm);
}

.mini-guide {
  margin-top: 1.2rem;
}

.guide-visual {
  margin: 1.1rem 0;
  overflow: hidden;
  border-radius: 26px;
  background: var(--wine-dark);
}

.guide-visual img {
  aspect-ratio: 1.58;
  object-fit: cover;
}

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

.path-grid article {
  padding: 1.1rem;
  background: var(--cream);
}

.path-grid h3 {
  color: var(--wine);
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper-warm);
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.1rem;
  color: var(--wine-dark);
  font-weight: 950;
  cursor: pointer;
}

.faq-item p {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
}

.loading-text {
  color: var(--muted);
}

.final-cta,
.page-hero {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: clamp(1.6rem, 4vw, 3rem);
  background: var(--blush);
}

.final-cta {
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 3rem;
}

.page-hero h1 {
  max-width: 820px;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card {
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.9);
}

.feature-card h2 {
  color: var(--wine);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--wine-dark);
  font-weight: 950;
}

.site-footer {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(2rem, 5vw, 3.5rem) max(1rem, calc((100vw - var(--content)) / 2));
  background: var(--blush);
  color: var(--wine-dark);
}

.site-footer p {
  max-width: 560px;
  margin-bottom: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-end;
}

.site-footer a {
  color: var(--wine-dark);
  font-weight: 900;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44, 24, 32, 0.64);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border-radius: 28px;
  background: var(--paper-warm);
  color: var(--text);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.32);
}

.modal-card h2 {
  color: var(--wine);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  min-height: 2.35rem;
  padding: 0 0.8rem;
  border: 0;
  border-radius: 999px;
  background: var(--wine);
  color: #fff;
  font-weight: 900;
}

.copy-code {
  display: block;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  color: var(--wine-dark);
  font-family: var(--mono);
  font-size: 0.95rem;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.copy-status {
  min-height: 1.4rem;
  margin: 0.8rem 0 0;
  color: var(--green);
  font-weight: 900;
}

@media (max-width: 1080px) {
  .masthead {
    grid-template-columns: 1fr;
    border-radius: 28px;
  }

  .brand,
  .header-actions {
    justify-self: center;
  }

  .lead-layout,
  .article-section {
    grid-template-columns: 1fr;
  }

  .route-panel {
    position: relative;
    top: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-heading {
    grid-column: 1 / -1;
  }

  .trend-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .site-header {
    padding: 0.55rem 0;
  }

  .masthead {
    width: min(calc(100% - 1rem), var(--content));
    padding: 0.65rem;
  }

  .section-block {
    width: min(calc(100% - 1rem), var(--content));
  }

  .site-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .lead-image img {
    max-height: 360px;
  }

  .lead-image::after {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    text-align: center;
  }

  .story-grid,
  .trend-grid,
  .summary-points,
  .download-grid,
  .info-grid,
  .path-grid,
  .service-grid,
  .final-cta,
  .black-panel {
    grid-template-columns: 1fr;
  }

  .route-panel {
    grid-template-columns: 1fr;
  }

  .category-section h2 {
    font-size: clamp(2.25rem, 13vw, 4rem);
  }

  .site-footer {
    display: grid;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
