:root {
  --primary: #0066ff;
  --primary-dark: #0054d6;
  --navy: #1e1b4b;
  --text: #1f2937;
  --muted: #64748b;
  --line: #e5e7eb;
  --soft: #f4f7fb;
  --white: #ffffff;
  --danger-soft: #fff5f5;
  --danger: #d92d20;
  --shadow: 0 16px 45px rgba(30, 27, 75, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--soft);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--primary);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid #f0f1f4;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(1280px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: auto;
  height: 48px;
}

.primary-nav {
  margin-left: auto;
}

.nav-list {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-list a {
  position: relative;
  display: inline-flex;
  padding: 25px 0 23px;
  color: #374151;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--primary);
}

.nav-list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}

.header-action {
  flex: 0 0 auto;
  padding: 10px 18px;
  border-radius: 9px;
  color: var(--white);
  background: var(--primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-action:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.menu-toggle {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav ul {
  width: min(100% - 32px, 720px);
  margin: 0 auto;
  padding: 10px 0 18px;
  list-style: none;
}

.mobile-nav a {
  display: block;
  padding: 11px 10px;
  border-radius: 7px;
  color: #374151;
  text-decoration: none;
}

.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  color: var(--primary);
  background: #f0f5ff;
}

.site-main {
  min-height: 62vh;
  padding: 42px 20px 80px;
}

.container {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.breadcrumbs {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs ol {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 8px;
  color: #a1a8b3;
}

.breadcrumbs a {
  color: var(--primary);
  text-decoration: none;
}

.about-wrap,
.collect-wrap,
.rule-wrap,
.privacy-wrap,
.safety-wrap,
.terms-wrap,
.news-wrap {
  padding: clamp(28px, 5vw, 62px);
  border: 1px solid #e9edf4;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.about-banner,
.rule-banner {
  margin-bottom: 48px;
  text-align: center;
}

.about-banner h1,
.rule-banner h1,
.collect-title,
.privacy-title,
.safety-title,
.terms-title,
.news-list-title,
.title {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.about-banner p,
.rule-banner p,
.collect-desc,
.privacy-desc,
.safety-desc,
.terms-desc,
.blog-desc {
  max-width: 850px;
  margin: 0 auto 44px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.about-banner p,
.rule-banner p {
  margin-bottom: 0;
}

.about-block,
.collect-block,
.rule-block,
.privacy-block,
.safety-block,
.terms-block {
  margin: 0 0 34px;
  padding: 0 0 30px;
  border-bottom: 1px solid var(--line);
}

.about-block:last-child,
.collect-block:last-child,
.rule-block:last-child,
.privacy-block:last-child,
.safety-block:last-child,
.terms-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.about-block h2,
.collect-block h2,
.rule-block h2,
.privacy-block h2,
.safety-block h2,
.terms-block h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.4;
}

.about-block p,
.collect-block p,
.rule-block p,
.privacy-block p,
.safety-block p,
.terms-block p {
  margin: 0 0 12px;
  color: #475569;
}

.about-feature {
  margin: 44px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.about-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdff;
}

.about-card h3 {
  margin: 14px 0 8px;
  color: var(--navy);
  font-size: 20px;
}

.about-card p {
  margin: 0;
  color: var(--muted);
}

.about-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef5ff;
}

.about-icon svg {
  width: 25px;
  height: 25px;
  fill: var(--primary);
}

.about-contact {
  margin-top: 44px;
  padding: 32px;
  border-radius: 14px;
  background: #f5f8ff;
}

.about-contact h2 {
  margin-top: 0;
  text-align: center;
}

.contact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-item {
  padding: 18px;
  border-radius: 10px;
  text-align: center;
  background: var(--white);
}

.contact-item h4 {
  margin: 0 0 6px;
  color: var(--navy);
}

.contact-item p {
  margin: 0;
  color: var(--muted);
}

.collect-ul,
.rule-list,
.privacy-ul,
.safety-ul,
.terms-ul {
  margin: 12px 0 0;
  padding-left: 22px;
  color: #475569;
}

.collect-ul li,
.rule-list li,
.privacy-ul li,
.safety-ul li,
.terms-ul li {
  margin: 8px 0;
}

.warn-box {
  margin: 18px 0;
  padding: 22px;
  border: 1px solid #fecaca;
  border-radius: 12px;
  background: var(--danger-soft);
}

.warn-box h3,
.warn-box h4 {
  margin: 0 0 10px;
  color: var(--danger);
}

.features {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 34px;
}

.features .left ul {
  position: sticky;
  top: 100px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.features .left a {
  display: block;
  padding: 13px 16px;
  border-radius: 9px;
  color: var(--muted);
  background: #f5f8ff;
  font-weight: 600;
  text-decoration: none;
}

.features .left a.active {
  color: var(--white);
  background: var(--primary);
}

.newsc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.newsc ul > li {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.newsc ul > li:last-child {
  border-bottom: 0;
}

.news-thumb {
  flex: 0 0 220px;
  overflow: hidden;
  border-radius: 10px;
  background: #eef2f8;
}

.news-thumb img {
  width: 100%;
  height: 150px;
  display: block;
  object-fit: cover;
}

.news-summary {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.newsc h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.45;
}

.newsc h3 a,
.newsc p a,
.article-nav a,
.blog-detail-back {
  color: var(--primary);
  text-decoration: none;
}

.newsc p {
  margin: 0;
  color: var(--muted);
}

.news-meta {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.news-date,
.post-time {
  color: #8a94a3;
  font-size: 14px;
}

.post-time {
  margin: 0 0 28px;
}

.content {
  color: #374151;
  line-height: 1.9;
}

.content img {
  height: auto;
  border-radius: 10px;
}

.article-nav {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.blog-detail-back {
  display: inline-block;
  margin-top: 12px;
}

.pages {
  margin-top: 34px;
  text-align: center;
}

.pages a,
.pages span {
  display: inline-block;
  margin: 3px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  text-decoration: none;
}

.site-footer {
  padding: 54px 20px 26px;
  color: #cbd5e1;
  background: #111827;
}

.footer-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.footer-grid {
  padding-bottom: 34px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.5fr;
  gap: 34px;
}

.footer-brand img {
  width: auto;
  height: 46px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--white);
}

.footer-brand p,
.footer-column p {
  margin: 12px 0 0;
  color: #94a3b8;
  font-size: 14px;
}

.footer-column h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 16px;
}

.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column li {
  margin: 8px 0;
}

.footer-column a {
  color: #cbd5e1;
  font-size: 14px;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid #273244;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #94a3b8;
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 980px) {
  .primary-nav,
  .header-action {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

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

  .features {
    grid-template-columns: 1fr;
  }

  .features .left ul {
    position: static;
  }
}

@media (max-width: 680px) {
  .header-inner {
    width: min(100% - 28px, 1280px);
    min-height: 66px;
  }

  .brand img {
    height: 42px;
  }

  .site-main {
    padding: 28px 14px 56px;
  }

  .about-wrap,
  .collect-wrap,
  .rule-wrap,
  .privacy-wrap,
  .safety-wrap,
  .terms-wrap,
  .news-wrap {
    padding: 24px 18px;
    border-radius: 13px;
  }

  .about-feature,
  .contact-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-block h2,
  .collect-block h2,
  .rule-block h2,
  .privacy-block h2,
  .safety-block h2,
  .terms-block h2 {
    font-size: 21px;
  }

  .newsc ul > li {
    flex-direction: column;
  }

  .news-thumb {
    width: 100%;
    flex-basis: auto;
  }

  .news-thumb img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
