/* ==========================================================================
   抖遇官网 douyusm.com 样式表
   品牌色：#875af2 主紫 / #ae69ee→#875af2 渐变 / #ff604f 点缀
   ========================================================================== */

:root {
  --primary: #875af2;
  --primary-2: #ae69ee;
  --primary-dark: #6a3fd8;
  --gradient: linear-gradient(135deg, #ae69ee 0%, #875af2 100%);
  --accent: #ff604f;
  --bg: #ffffff;
  --bg-light: #f7f5ff;
  --text: #26262e;
  --muted: #6b6b7b;
  --border: #e8e4f5;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(135, 90, 242, .10);
  --shadow-lg: 0 12px 40px rgba(90, 47, 208, .18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: none; opacity: .9; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 860px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 22px; border-radius: 999px; font-size: 15px; font-weight: 600;
  border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s, opacity .15s;
  white-space: nowrap;
}
.btn-lg { padding: 14px 34px; font-size: 16px; }
.btn-sm { padding: 7px 16px; font-size: 14px; }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.btn-block { display: flex; width: 100%; }
.btn-disabled { background: #eee; color: #999; cursor: not-allowed; }
.btn-disabled:hover { transform: none; box-shadow: none; }

/* ---------- 头部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--text); }
.brand img { border-radius: 10px; }
.brand-name { background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.main-nav { flex: 1; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: 999px; color: var(--text); font-size: 15px; font-weight: 500;
}
.main-nav a:hover { color: var(--primary); background: var(--bg-light); }
.main-nav a.active { color: #fff; background: var(--gradient); }
.nav-cta { margin-left: auto; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--text); border-radius: 2px; }
.nav-toggle span:nth-child(1) { top: 12px; } .nav-toggle span:nth-child(2) { top: 19px; } .nav-toggle span:nth-child(3) { top: 26px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--gradient);
  color: #fff; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 85% 20%, rgba(255,255,255,.16), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-content { padding: 84px 0 76px; max-width: 720px; }
.hero-title { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.25; font-weight: 800; letter-spacing: 1px; }
.hero-sub { margin-top: 18px; font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,.92); }
.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art { position: absolute; right: 0; top: 0; bottom: 0; width: 46%; opacity: .9; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero-slider { min-height: 420px; }
.slider-viewport { position: relative; }
.slide { display: none; position: relative; }
.slide.active { display: block; animation: fadeIn .6s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: none;} }
.slider-dots { position: absolute; left: 20px; bottom: 22px; display: flex; gap: 8px; z-index: 2; }
.slider-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; }
.slider-dots button.active { background: #fff; width: 22px; border-radius: 6px; }

/* ---------- 区块通用 ---------- */
.section { padding: 64px 0; }
.section-title { font-size: clamp(24px, 3vw, 32px); font-weight: 800; text-align: center; margin-bottom: 34px; letter-spacing: .5px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.section-head .section-title { margin-bottom: 0; text-align: left; }
.link-more { color: var(--primary); font-weight: 600; }
.brand-intro { background: var(--bg-light); }
.lead { font-size: 18px; color: var(--muted); text-align: center; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-4, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* ---------- 功能/生态/价值观卡片 ---------- */
.feature-card, .eco-card, .value-card { text-align: left; }
.feature-card h3, .eco-card h3, .value-card h3 {
  font-size: 19px; margin-bottom: 10px; color: var(--primary-dark); font-weight: 700;
}
.feature-card p, .eco-card p, .value-card p { color: var(--muted); font-size: 15px; }
.value-card { background: var(--bg-light); border-color: #efe9ff; text-align: center; }
.value-card h3 { font-size: 22px; }

/* ---------- 文章卡片 ---------- */
.article-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card-cover img { width: 100%; height: 170px; object-fit: cover; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.tag {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  background: #f0eaff; color: var(--primary-dark); font-size: 12.5px; font-weight: 600;
}
.card-title { font-size: 17.5px; line-height: 1.5; font-weight: 700; }
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--primary); }
.card-summary { color: var(--muted); font-size: 14.5px; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-more { margin-top: auto; padding-top: 12px; font-weight: 600; font-size: 14px; }

/* ---------- 布局：侧栏 ---------- */
.layout-with-side { display: grid; grid-template-columns: 1fr 300px; gap: 28px; padding-top: 28px; padding-bottom: 56px; align-items: start; }
@media (max-width: 860px) { .layout-with-side { grid-template-columns: 1fr; } }
.main-col { min-width: 0; }
.sidebar { position: sticky; top: 88px; }
.side-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 18px; }
.side-card h3 { font-size: 16px; margin-bottom: 12px; color: var(--primary-dark); }
.side-list li { border-bottom: 1px dashed #efeafb; }
.side-list li:last-child { border-bottom: 0; }
.side-list a { display: block; padding: 9px 0; color: var(--text); font-size: 14.5px; }
.side-list a:hover { color: var(--primary); }
.side-list li.active a { color: var(--primary); font-weight: 700; }
.side-cta p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }

/* ---------- 面包屑 ---------- */
.breadcrumb { padding: 18px 0 4px; font-size: 14px; color: var(--muted); }
.breadcrumb .sep { margin: 0 8px; color: #c9c4dd; }
.breadcrumb a { color: var(--muted); }
.breadcrumb .current { color: var(--text); font-weight: 600; }

/* ---------- 页头 ---------- */
.page-head { background: var(--gradient); color: #fff; padding: 46px 0 40px; }
.page-head h1 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.page-head p { margin-top: 8px; color: rgba(255,255,255,.9); }

/* ---------- 文章详情 ---------- */
.detail { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.detail-head h1 { font-size: clamp(22px, 3vw, 30px); line-height: 1.4; font-weight: 800; }
.detail-meta { display: flex; align-items: center; gap: 12px; margin: 14px 0 20px; color: var(--muted); font-size: 14px; }
.detail-cover { width: 100%; max-height: 380px; object-fit: cover; border-radius: 12px; margin-bottom: 24px; }
.detail-content { font-size: 16.5px; color: #3b3b47; }
.detail-content h2 { font-size: 22px; margin: 28px 0 14px; color: var(--primary-dark); font-weight: 800; }
.detail-content h3 { font-size: 19px; margin: 24px 0 12px; color: var(--primary-dark); font-weight: 700; }
.detail-content p { margin: 12px 0; }
.detail-content ul, .detail-content ol { margin: 12px 0; padding-left: 24px; }
.detail-content ul { list-style: disc; }
.detail-content ol { list-style: decimal; }
.detail-content li { margin: 6px 0; }
.detail-content a { text-decoration: underline; }
.detail-content blockquote { border-left: 4px solid var(--primary); background: var(--bg-light); padding: 12px 16px; border-radius: 0 10px 10px 0; color: var(--muted); margin: 16px 0; }
.detail-content img { border-radius: 12px; margin: 14px 0; }
.detail-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.detail-content th, .detail-content td { border: 1px solid var(--border); padding: 8px 12px; }
.detail-content th { background: var(--bg-light); }
.detail-content pre, .detail-content code { background: #f4f2fb; border-radius: 6px; font-size: 14px; }
.detail-content pre { padding: 14px; overflow-x: auto; }
.detail-content code { padding: 2px 6px; }
.detail-tags { margin-top: 26px; display: flex; gap: 8px; flex-wrap: wrap; }
.related { margin-top: 26px; }
.related .section-title { font-size: 20px; text-align: left; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; background: none; border: 0; cursor: pointer; text-align: left;
  font-size: 16px; font-weight: 600; color: var(--text); font-family: inherit;
}
.faq-q i { position: relative; width: 14px; height: 14px; flex: none; }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; background: var(--primary); border-radius: 2px; }
.faq-q i::before { top: 6px; left: 0; width: 14px; height: 2px; }
.faq-q i::after { top: 0; left: 6px; width: 2px; height: 14px; transition: transform .2s; }
.faq-q[aria-expanded="true"] i::after { transform: rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a > p, .faq-a > div { padding: 0 18px 16px; color: var(--muted); font-size: 15px; }
.faq-a.open { max-height: 600px; }
.faq-answer p { margin: 8px 0; }

/* ---------- 下载卡片 ---------- */
.download-card { text-align: center; }
.dl-icon {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 16px;
  background: var(--gradient); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; overflow: hidden;
}
.dl-icon img { width: 100%; height: 100%; object-fit: cover; }
.download-card h3 { font-size: 18px; margin-bottom: 8px; }
.download-card p { color: var(--muted); font-size: 14px; margin-bottom: 14px; min-height: 44px; }

/* ---------- 目标人群 / 列表 ---------- */
.target-list li {
  position: relative; padding: 12px 0 12px 26px; border-bottom: 1px dashed #efeafb;
  font-size: 16px; color: #3b3b47;
}
.target-list li::before {
  content: ""; position: absolute; left: 0; top: 20px; width: 12px; height: 12px;
  background: var(--gradient); border-radius: 50%;
}
.plain-list li { padding: 6px 0; font-size: 15px; color: #3b3b47; }
.prose-card p { margin: 10px 0; color: #3b3b47; }
.muted { color: var(--muted); font-size: 14px; margin-top: 14px !important; }
.empty { text-align: center; color: var(--muted); padding: 48px 20px; }

/* ---------- CTA 条 ---------- */
.cta-strip { background: var(--gradient); color: #fff; text-align: center; }
.cta-strip h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.cta-strip p { margin-top: 12px; color: rgba(255,255,255,.9); }
.cta-strip .hero-actions { justify-content: center; }
.notice-inline { font-size: 13px; color: rgba(255,255,255,.75); margin-top: 22px; }

/* ---------- 分页 ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.page-btn {
  padding: 8px 14px; border: 1px solid var(--border); border-radius: 999px;
  color: var(--text); font-size: 14px; background: #fff;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.current { background: var(--gradient); color: #fff; border-color: transparent; }

/* ---------- 页脚 ---------- */
.site-footer { background: #3d2277; color: rgba(255,255,255,.85); padding: 54px 0 26px; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 28px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.14); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { font-size: 12px; overflow-wrap: anywhere; padding-left: 6px; padding-right: 6px; }
}
.footer-logo { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; }
.footer-logo img { border-radius: 8px; }
.footer-slogan { margin-top: 12px; font-size: 14.5px; color: rgba(255,255,255,.7); }
.footer-col h3 { font-size: 15px; margin-bottom: 12px; color: #fff; }
.footer-col li { padding: 4px 0; font-size: 14px; }
.channel-name { color: #fff; font-weight: 600; }
.notice-text { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.8; }
.footer-links { padding-top: 16px; text-align: center; font-size: 13px; color: rgba(255,255,255,.55); }
.footer-links a { color: rgba(255,255,255,.75); }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-links .sep { margin: 0 8px; opacity: .6; }
.footer-bottom { padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: rgba(255,255,255,.6); }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- 关于抖遇图文 ---------- */
.about-block { border-bottom: 1px solid #f0ecfb; }
.about-block:last-of-type { border-bottom: 0; }
.about-figure { margin: 0 auto 20px; max-width: 640px; }
.about-figure img { width: 100%; border-radius: 14px; box-shadow: var(--shadow); }
.about-prose { padding: 22px 26px; }
.about-prose h2, .about-prose h3 { color: var(--primary-dark); margin: 14px 0 8px; }
.about-prose ul { list-style: disc; padding-left: 22px; margin: 10px 0; }
.about-prose ol { list-style: decimal; padding-left: 22px; margin: 10px 0; }
.about-prose li { margin: 5px 0; }
.about-prose blockquote { border-left: 4px solid var(--primary); background: var(--bg-light); padding: 10px 14px; border-radius: 0 10px 10px 0; color: var(--muted); margin: 12px 0; }
.about-prose img { border-radius: 10px; margin: 10px 0; }

/* ---------- 前台弹窗（官方充值 / 联系我们） ---------- */
.dy-modal-mask {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(38, 20, 66, .55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.dy-modal {
  width: 100%; max-width: 420px; max-height: 88vh; overflow-y: auto;
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
  animation: dy-pop .18s ease-out;
}
@keyframes dy-pop { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
.dy-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  background: var(--gradient); color: #fff; border-radius: 18px 18px 0 0;
}
.dy-modal-head h3 { font-size: 17px; font-weight: 700; }
.dy-modal-close {
  border: 0; background: rgba(255,255,255,.18); color: #fff; width: 28px; height: 28px;
  border-radius: 50%; font-size: 16px; line-height: 1; cursor: pointer;
}
.dy-modal-close:hover { background: rgba(255,255,255,.32); }
.dy-modal-body { padding: 20px; }
.dy-modal-tip { font-size: 13px; color: var(--muted); margin-bottom: 14px; line-height: 1.7; }
.dy-form { display: flex; flex-direction: column; gap: 14px; }
.dy-field span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.dy-field input, .dy-custom input {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 15px; outline: none; transition: border-color .15s;
}
.dy-field input:focus, .dy-custom input:focus { border-color: var(--primary); }
.dy-code-row { display: flex; gap: 10px; }
.dy-code-row input { flex: 1; }
.dy-code-row .btn { flex: none; }
.dy-check { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.dy-check input { margin-top: 3px; accent-color: var(--primary); }
.dy-form-msg { font-size: 13px; color: #e5484d; min-height: 18px; }

/* 充值弹窗 */
.dy-recharge-user { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.dy-r-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--bg-light); }
.dy-r-info { flex: 1; }
.dy-r-info strong { display: block; font-size: 15px; }
.dy-r-info span { font-size: 12.5px; color: var(--muted); }
.dy-r-balance { font-size: 13.5px; color: var(--muted); }
.dy-r-balance b { color: var(--primary-dark); font-size: 16px; }
.dy-r-title { font-size: 14px; font-weight: 700; margin: 4px 0 10px; color: var(--text); }
.dy-amount-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.dy-amount-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px; border: 1px solid var(--border); border-radius: 12px;
  background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s;
  font-family: inherit;
}
.dy-amount-item:hover { border-color: var(--primary); }
.dy-amount-item.active { border-color: var(--primary); box-shadow: var(--shadow); background: var(--bg-light); }
.dy-amt-left { font-weight: 700; font-size: 15px; color: var(--primary-dark); }
.dy-amt-right { font-size: 13.5px; color: var(--muted); }
.dy-custom { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.dy-custom input { flex: 1; }
.dy-custom span { font-size: 13px; color: var(--muted); white-space: nowrap; }
.dy-pay-row { display: flex; gap: 12px; margin-bottom: 12px; }
.dy-pay-item {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px; border: 1px solid var(--border); border-radius: 12px; cursor: pointer;
  background: #fff; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--text);
  transition: border-color .15s;
}
.dy-pay-item.active { border-color: var(--primary); background: var(--bg-light); color: var(--primary-dark); }
.dy-loading, .dy-empty { text-align: center; color: var(--muted); font-size: 13.5px; padding: 10px 0; grid-column: 1/-1; }

/* 微信支付二维码 */
.dy-qr-body { text-align: center; }
.dy-qr-box { display: inline-block; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.dy-qr-box img { width: 220px; height: 220px; }
.dy-qr-link { margin-top: 6px; color: var(--primary); background: var(--bg-light); }

/* 联系我们渠道 */
.dy-contact-list { display: flex; flex-direction: column; gap: 10px; }
.dy-contact-item {
  display: flex; align-items: center; gap: 12px; padding: 13px 15px;
  border: 1px solid var(--border); border-radius: 12px; cursor: pointer; color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.dy-contact-item:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.dy-contact-icon {
  width: 42px; height: 42px; border-radius: 12px; background: var(--bg-light);
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex: none;
}
.dy-contact-body { flex: 1; }
.dy-contact-body strong { display: block; font-size: 15px; }
.dy-contact-body em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.dy-contact-arrow { color: #c9c4dd; font-size: 20px; }
.dy-wx-tip {
  margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--bg-light);
  font-size: 13px; color: var(--text); line-height: 1.8;
}
.dy-wx-tip a { word-break: break-all; }
.dy-wx-qr { width: 140px; height: 140px; margin: 10px auto 0; border-radius: 10px; }

/* 联系我们：后台配置图片直接弹出大图（居中展示） */
.dy-img-body { text-align: center; display: flex; flex-direction: column; align-items: center; }
.dy-img-body img { max-width: 300px; width: 100%; border-radius: 12px; border: 1px solid var(--border); margin: 0 auto 12px; display: block; }

/* 登录成年确认行（红色，独立一行） */
.dy-adult-warn {
  color: #d93025; font-size: 12px; line-height: 1.6;
  margin: 4px 0 2px; text-align: left;
}

/* 登录协议/隐私按钮 */
.dy-agree-btn {
  display: inline-block; padding: 1px 8px; margin: 0 2px;
  border: 1px solid var(--primary); border-radius: 5px;
  color: var(--primary); font-size: inherit; line-height: 1.6;
  background: transparent; text-decoration: none; cursor: pointer;
  user-select: none; white-space: nowrap;
}
.dy-agree-btn:hover { background: rgba(124, 58, 237, 0.08); }

/* 下载弹窗（PC 二维码 / 微信·QQ 跳浏览器提示） */
.dy-dl-body { text-align: center; }
.dy-dl-qr-grid { display: flex; gap: 20px; justify-content: center; align-items: flex-start; flex-wrap: wrap; }
.dy-dl-qr-col { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.dy-dl-qr-label { font-size: 14px; font-weight: 600; color: var(--text); }
.dy-dl-qr-box {
  display: inline-block; background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 12px; margin-bottom: 14px;
}
.dy-dl-qr { width: 150px; height: 150px; }
.dy-dl-empty {
  min-width: 150px; max-width: 150px; min-height: 120px; display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 13px; padding: 12px; line-height: 1.7;
}
.dy-dl-note { font-size: 12px; color: #9a96ad; margin-top: 10px; }
.dy-copy-row { display: flex; gap: 10px; align-items: center; }
.dy-copy-row input {
  flex: 1; padding: 9px 12px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 13px; color: var(--muted); background: var(--bg-light); outline: none;
}
.dy-copy-row .btn { flex: none; }

/* ============ 官网化 UI 精修（2026-09） ============ */

/* Logo：官方圆形图标，不再切角 */
.brand img { border-radius: 0; }
.footer-logo img { border-radius: 0; }

/* 头部：更精致的官网质感 */
.site-header { box-shadow: 0 1px 0 rgba(135,90,242,.06), 0 8px 24px rgba(60,30,140,.04); }
.header-inner { height: 72px; }
.brand { gap: 12px; letter-spacing: .3px; }
.brand-name { font-size: 21px; font-weight: 800; }
.main-nav a { transition: color .18s ease, background .18s ease; }
.main-nav a:hover { transform: translateY(-1px); }

/* Hero：渐变与光晕更柔和精致 */
.hero { background: linear-gradient(135deg, #9d6bf0 0%, #7c4df0 55%, #6a3fd8 100%); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(560px 260px at 12% 0%, rgba(255,255,255,.18), transparent 55%),
    radial-gradient(420px 220px at 95% 100%, rgba(255,255,255,.12), transparent 60%);
  pointer-events: none;
}
.hero-title { letter-spacing: 1.5px; }
.hero-sub { color: rgba(255,255,255,.94); }
.hero-actions .btn-ghost { border-color: rgba(255,255,255,.6); }

/* 按钮：官网质感 hover */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform .55s ease;
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary:active { transform: translateY(0) scale(.98); }

/* Section 标题：渐变装饰线 */
.section-title { position: relative; padding-bottom: 14px; }
.section-title::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 44px; height: 4px; border-radius: 4px;
  background: var(--gradient);
}
.section-head .section-title::after { left: 0; transform: none; }

/* 卡片：更细腻的边界与悬浮 */
.card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.card:hover { border-color: #dcd4f7; box-shadow: 0 14px 34px rgba(90,47,208,.13); }
.feature-card h3, .eco-card h3 {
  background: var(--gradient); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.feature-card { border-top: 3px solid transparent; }
.feature-card:hover { border-top-color: var(--primary); }

/* 值卡片：更素雅的底色 */
.value-card { background: linear-gradient(180deg, #fbf9ff 0%, #f4efff 100%); border-color: #ece4ff; }

/* 文章卡片封面微调 */
.card-cover img { transition: transform .3s ease; }
.article-card:hover .card-cover img { transform: scale(1.03); }
.card-cover { overflow: hidden; }

/* 页脚：官网式深紫底 + 精致分隔 */
.site-footer { background: linear-gradient(180deg, #452694 0%, #351a6e 100%); }
.footer-grid { border-bottom: 1px solid rgba(255,255,255,.16); }
.footer-col h3 { position: relative; padding-bottom: 8px; }
.footer-col h3::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 26px; height: 2.5px; border-radius: 3px; background: var(--accent);
}
.footer-col li { transition: transform .15s ease; }
.footer-col li:hover { transform: translateX(3px); }
.footer-bottom { padding-top: 22px; justify-content: center; }

/* 面包屑 / 分页：统一过渡 */
.breadcrumb a { transition: color .15s; }
.page-btn { transition: all .18s ease; }
.page-btn:hover { transform: translateY(-1px); }

/* 页头（内页标题带）：更柔和的渐变 */
.page-head { background: linear-gradient(135deg, #9d6bf0 0%, #7c4df0 60%, #6a3fd8 100%); padding: 52px 0 44px; }

/* 弹窗：圆角与阴影更高级 */
.dy-modal { border-radius: 20px; box-shadow: 0 24px 60px rgba(60,30,140,.28); }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .main-nav { display: none; }
  .main-nav.open { display: block; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 10px 20px 16px; }
  .main-nav.open ul { flex-direction: column; gap: 2px; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-cta { display: none; }
  .hero-art { display: none; }
  .section { padding: 44px 0; }
  .dy-amount-list { grid-template-columns: 1fr; }
}


/* ============ 首页全屏海报 Hero（线上官网同款） ============ */
.hero-home { min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(160deg, #1b0b33 0%, #33155c 45%, #55278f 78%, #6f3cb0 100%); }
.hero-home .slider-viewport { position: static; }
.hero-home .slide { position: static; }
.hero-home .container { position: static; }
.hero-home .hero-content { position: relative; z-index: 2; }
.hero-home .hero-art { position: absolute; inset: 0; width: 100%; opacity: 1;
  background-size: cover; background-position: center center; }
.hero-home .slide.active { animation: none; }
.hero-home::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(15,6,32,.4), rgba(15,6,32,.02) 42%, rgba(15,6,32,.06) 62%, rgba(15,6,32,.3));
}
.hero-home::after { background: transparent; }
.hero-home .hero-content { max-width: 920px; margin: 0 auto; padding: 112px 0 96px; text-align: center; }
.hero-home .hero-title { text-shadow: 0 2px 18px rgba(0,0,0,.3); }
.hero-home .hero-sub { color: rgba(255,255,255,.96); text-shadow: 0 1px 14px rgba(0,0,0,.35); }
.hero-home .hero-actions { justify-content: center; }


/* 下载按钮（与 BDSM属性测试一致的 ghost 描边样式） */
.btn-ghost .st-caption { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.22; }
.btn-ghost .st-top { font-size: 10.5px; letter-spacing: .4px; opacity: .85; }
.btn-ghost .st-main { font-size: 16px; font-weight: 700; }

/* 首页透明悬浮导航 */
.header-transparent {
  position: absolute; top: 0; left: 0; right: 0; z-index: 100;
  background: linear-gradient(180deg, rgba(10,4,24,.52), rgba(10,4,24,0));
  border-bottom: 0; box-shadow: none;
}
.header-transparent .brand-name { background: none; -webkit-text-fill-color: #fff; }
.header-transparent .main-nav a { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.header-transparent .main-nav a:hover { background: rgba(255,255,255,.16); color: #fff; transform: none; }
.header-transparent .main-nav a.active { background: rgba(255,255,255,.24); }
.header-transparent .nav-toggle span { background: #fff; }

/* 平台式下载按钮 */
.btn-store { display: inline-flex; padding: 0; background: transparent; border: 0; line-height: 0; transition: transform .18s ease; }
.btn-store .store-img { display: block; width: 198px; height: auto; border-radius: 14px; box-shadow: 0 10px 30px rgba(20,8,50,.42); }
.btn-store:hover { transform: translateY(-2px); }

@media (max-width: 760px) {
  .hero-home { min-height: 92svh; }
  .hero-home .hero-content { padding: 104px 0 76px; }
  .hero-home .hero-art { display: block; }
  .hero-home .hero-title { text-shadow: 0 2px 14px rgba(0,0,0,.35); }
  .hero-home .hero-actions { flex-direction: column; align-items: center; }
  .hero-home .hero-actions .btn { width: min(320px, 88%); min-height: 64px; justify-content: center; }
  .hero-home .btn-ghost .st-caption { align-items: center; text-align: center; }
  .btn-store .store-img { width: 168px; border-radius: 12px; }
}


/* ============ 全站视觉统一（与首页全屏海报风格呼应） ============ */

/* 二级页面页头：深紫渐变 + 顶部光晕 + 暖色点缀（呼应海报暖金） */
.page-head {
  position: relative; overflow: hidden;
  background:
    radial-gradient(760px 340px at 82% -30%, rgba(255,214,150,.28), transparent 62%),
    radial-gradient(560px 300px at 8% 120%, rgba(174,105,238,.32), transparent 60%),
    linear-gradient(135deg, #8f5ff0 0%, #7442e6 55%, #5f2fd6 100%);
}
.page-head::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 420px at 50% -40%, rgba(255,255,255,.16), transparent 55%);
  pointer-events: none;
}
.page-head .container { position: relative; z-index: 1; }
.page-head h1 { letter-spacing: 1.5px; text-shadow: 0 2px 16px rgba(30,10,80,.28); }
.page-head p { color: rgba(255,255,255,.92); }
.breadcrumb a:hover { color: var(--primary); }

/* 区块标题：渐变装饰线，与 hero-title 呼应 */
.section-title { position: relative; padding-bottom: 14px; }
.section-title::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 56px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, #ae69ee, #875af2 60%, rgba(255,214,150,.85));
}
.section-head .section-title::after { left: 0; transform: none; }

/* 卡片：更圆润的官网质感 */
.card, .side-card, .faq-item { border-radius: 18px; }
.card { border-color: #ede9fb; box-shadow: 0 2px 10px rgba(135,90,242,.05); }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.article-card .card-cover img { transition: transform .5s ease; }
.article-card:hover .card-cover img { transform: scale(1.045); }
.card-cover { overflow: hidden; }
.article-card:hover .card-title a { color: var(--primary); }

/* 主按钮：圆角与平台下载按钮一致 */
.btn-primary { border-radius: 14px; }
.btn-ghost { border-radius: 14px; }
.nav-cta.btn { border-radius: 999px; }
.btn-store { box-shadow: 0 10px 30px rgba(20,8,50,.35); }

/* 内容卡片内标题 */
.feature-card h3, .eco-card h3, .value-card h3 { position: relative; }
.value-card { background: linear-gradient(180deg, #faf7ff, #f3eeff); }

/* 页脚：深紫黑（与首页透明导航深色渐变呼应）+ 顶部光晕分隔 */
.site-footer {
  background: linear-gradient(180deg, #241040 0%, #1b0c33 100%);
  border-top: 1px solid rgba(174,105,238,.25);
  box-shadow: inset 0 12px 30px rgba(0,0,0,.18);
}
.site-footer::before {
  content: ""; display: block; height: 3px; border-radius: 3px; margin-bottom: 0;
  background: linear-gradient(90deg, rgba(174,105,238,.0), #ae69ee 30%, #875af2 60%, rgba(255,214,150,.7), rgba(174,105,238,0));
}
.footer-grid { padding-top: 26px; }

/* 品牌徽标圆角与新图标适配 */
.brand img, .footer-logo img { border-radius: 12px; box-shadow: 0 2px 8px rgba(90,47,208,.22); }
.header-transparent .brand img, .header-transparent .footer-logo img { box-shadow: 0 2px 10px rgba(0,0,0,.3); }

/* 详情页 / 侧栏 / FAQ 圆角统一 */
.detail { border-radius: 18px; }
.side-card { box-shadow: 0 2px 10px rgba(135,90,242,.05); }
.faq-item { box-shadow: 0 2px 10px rgba(135,90,242,.05); }
.faq-q:hover { background: var(--bg-light); }

/* 分页按钮 hover 上浮 */
.page-btn { transition: transform .15s, box-shadow .15s, border-color .15s; }
.page-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

/* 下载弹窗单码模式：单列居中 */
.dy-dl-single { grid-template-columns: minmax(0, 220px); justify-content: center; }
.dy-modal-dual .dy-modal { max-width: 520px; }
.dy-dl-grid-dual { flex-wrap: nowrap !important; gap: 24px; }
.dy-dl-grid-dual .dy-dl-qr { width: 180px !important; height: 180px !important; max-width: 180px !important; max-height: 180px !important; object-fit: contain; }
.dy-dl-grid-dual .dy-dl-qr-box img { width: 180px !important; height: 180px !important; max-width: 180px !important; max-height: 180px !important; object-fit: contain; }
.dy-dl-grid-dual .dy-dl-qr-box { padding: 10px; }
.dy-dl-grid-dual .dy-dl-empty { min-width: 180px; max-width: 180px; min-height: 180px; }
@media (max-width: 480px) {
  .page-head { padding: 40px 0 34px; }
  .section { padding: 48px 0; }
}

/* H5 汉堡展开面板：首页透明导航下恢复深色文字（置于文件末尾确保覆盖） */
@media (max-width: 860px) {
  .header-transparent .main-nav.open a { color: #2a1a4a; text-shadow: none; }
  .header-transparent .main-nav.open a:hover { background: #f3eeff; color: #7442e6; transform: none; }
  .header-transparent .main-nav.open a.active { background: var(--gradient); color: #fff; }
}

/* H5：联系我们 / 字母圈知识 独立按钮（PC 隐藏，移动端显示，样式与三主按钮一致） */
.hero-extra { display: none; }
@media (max-width: 760px) {
  .hero-extra { display: inline-flex; }
}

/* H5：联系我们 / 字母圈知识 独立按钮（PC 隐藏，移动端显示，样式与三主按钮一致） */
.hero-extra { display: none; }
@media (max-width: 760px) {
  .hero-extra { display: inline-flex; }
}

/* H5：字母圈知识 / 联系我们 从汉堡菜单独立到首页 hero 按钮（PC 顶部导航保留） */
@media (max-width: 860px) {
  .main-nav li.nav-hide-mobile { display: none; }
}

/* H5：隐藏 产品生态 / 最新内容 / 我们的价值观 / 页脚快速入口（PC 端正常显示） */
@media (max-width: 860px) {
  .section.ecosystem,
  .section.articles,
  .section.values,
  .footer-quick { display: none; }
}

/* H5：隐藏 页脚官方渠道（PC 端正常显示） */
@media (max-width: 860px) {
  .footer-official { display: none; }
}

/* H5：温馨提示自动换行，避免窄屏显示不全 */
@media (max-width: 860px) {
  .footer-notice .notice-text { white-space: normal; word-break: break-word; overflow-wrap: anywhere; }
}

/* H5：相关站点四个链接 2x2 两行排列 */
@media (max-width: 860px) {
  .footer-links { display: grid; grid-template-columns: auto auto; justify-content: center; justify-items: start; gap: 4px 14px; }
  .footer-links > span { grid-column: 1 / -1; justify-self: center; }
  .footer-links .sep { display: none; }
}

/* H5 隐藏首页海报背景图（防竖屏拉伸变形），仅保留紫色渐变 */
@media (max-width: 860px) {
  .hero-home .hero-art { display: none; }
}

/* H5 海报背景（与 PC 海报分离，后台分别上传） */
.hero-home .hero-art-h5 { position: absolute; inset: 0; width: 100%; display: none;
  background-size: cover; background-position: center center; }
@media (max-width: 860px) {
  .hero-home .hero-art-h5 { display: block; }
}

/* 高分辨率大屏（2K/4K）：hero 内容等比放大，避免相对屏宽显小 */
@media (min-width: 1920px) {
  .hero-home .container { max-width: 1440px; }
  .hero-home .hero-content { max-width: 1240px; padding: 150px 0 130px; }
  .hero-home .hero-title { font-size: clamp(44px, 3.2vw, 80px); }
  .hero-home .hero-sub { font-size: clamp(20px, 1.5vw, 34px); margin-top: 26px; }
  .hero-home .hero-actions { gap: 24px; margin-top: 44px; }
  .hero-home .hero-actions .btn-lg { min-height: 78px; padding: 0 48px; font-size: 21px; border-radius: 14px; }
  .hero-home .hero-actions .btn-lg svg { width: 30px; height: 30px; }
}

/* 高分辨率大屏（2K/4K）：顶部导航栏同步放大 */
@media (min-width: 1920px) {
  .site-header .header-inner { height: 88px; gap: 34px; }
  .site-header .brand { font-size: 27px; gap: 14px; }
  .site-header .brand img { width: 46px; height: 46px; border-radius: 13px; }
  .site-header .main-nav ul { gap: 10px; }
  .site-header .main-nav a { font-size: 19px; padding: 11px 22px; }
  .site-header .nav-cta { font-size: 19px; padding: 12px 34px; }
}
