:root {
  --bg: #090f1f;
  --bg-soft: #101a33;
  --panel: #151f3d;
  --panel-2: #1b2749;
  --text: #edf2ff;
  --muted: #a8b4d6;
  --accent: #35d6c5;
  --accent-2: #6d7bff;
  --line: rgba(148, 167, 210, 0.22);
  --shadow: 0 18px 45px rgba(1, 6, 20, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(63, 114, 255, 0.2), transparent 60%),
    radial-gradient(900px 450px at 90% 10%, rgba(53, 214, 197, 0.14), transparent 60%),
    var(--bg);
  line-height: 1.7;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.3;
  z-index: -1;
}

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

.site-navbar {
  padding: 0.85rem 0;
  transition: all 0.25s ease;
}

.site-navbar.is-scrolled {
  background: rgba(8, 14, 29, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.logo-mark {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #07101f;
  background: linear-gradient(140deg, var(--accent), #6ee3d6);
  font-size: 0.78rem;
  font-weight: 700;
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.navbar .nav-link {
  color: #d6def6;
  font-size: 0.95rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  transition: 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #ffffff;
  background: rgba(109, 123, 255, 0.2);
}

.mobile-drawer {
  background: linear-gradient(180deg, #111b35 0%, #0b1225 100%);
  border-left: 1px solid var(--line);
}

.btn-accent {
  background: linear-gradient(120deg, var(--accent), #7ee7dc);
  border: none;
  color: #031218;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.62rem 1.25rem;
}

.btn-accent:hover,
.btn-accent:focus {
  color: #031218;
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid rgba(141, 163, 221, 0.45);
  color: #dce6ff;
  background: rgba(17, 27, 52, 0.45);
  border-radius: 999px;
  padding: 0.62rem 1.25rem;
}

.btn-ghost:hover,
.btn-ghost:focus {
  color: #ffffff;
  background: rgba(109, 123, 255, 0.22);
  border-color: rgba(109, 123, 255, 0.55);
}

.hero-section {
  padding: 8.8rem 0 4.5rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  color: #d8e5ff;
  background: rgba(109, 123, 255, 0.2);
  border: 1px solid rgba(109, 123, 255, 0.45);
}

.hero-section h1 {
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 800;
}

.hero-section h1 span {
  color: var(--accent);
}

.hero-desc {
  color: var(--muted);
  max-width: 46rem;
}

.chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.chip {
  border-radius: 999px;
  padding: 0.28rem 0.72rem;
  font-size: 0.78rem;
  color: #d5ddfb;
  border: 1px solid rgba(161, 175, 221, 0.4);
  background: rgba(23, 34, 65, 0.7);
}

.insight-card {
  background: linear-gradient(160deg, rgba(22, 33, 63, 0.95), rgba(14, 21, 42, 0.95));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.insight-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}

.insight-sub {
  color: var(--muted);
  font-size: 0.85rem;
}

.pulse-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: #4de2d3;
  box-shadow: 0 0 0 0 rgba(77, 226, 211, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(77, 226, 211, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(77, 226, 211, 0);
  }
}

.ring-wrap {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.ring {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #ecfbf9;
  background: conic-gradient(var(--accent) 0 316deg, rgba(255, 255, 255, 0.12) 316deg 360deg);
  position: relative;
}

.ring::after {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: #111b35;
  border: 1px solid rgba(145, 165, 219, 0.25);
}

.ring {
  font-size: 1.1rem;
}

.ring,
.ring::after {
  display: grid;
  place-items: center;
}

.ring {
  isolation: isolate;
}

.ring::before {
  content: '88%';
  position: relative;
  z-index: 2;
  font-weight: 800;
}

.ring {
  color: transparent;
}

.stat-list {
  flex: 1;
}

.stat-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.22rem 0;
  border-bottom: 1px dashed rgba(154, 173, 223, 0.2);
  color: #dce6ff;
  font-size: 0.92rem;
}

.stat-list li:last-child {
  border-bottom: 0;
}

.stat-list strong {
  color: #f4f8ff;
  font-weight: 700;
}

.update-text {
  margin-top: 0.85rem;
  color: #9db0de;
  font-size: 0.78rem;
}

.section-block {
  padding: 4.8rem 0;
}

.section-head {
  margin-bottom: 2rem;
}

.section-title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.65rem, 3.2vw, 2.3rem);
  letter-spacing: 0.2px;
}

.section-sub {
  margin: 0.65rem auto 0;
  max-width: 44rem;
  color: var(--muted);
}

.feature-card {
  background: linear-gradient(160deg, rgba(23, 34, 66, 0.92), rgba(16, 24, 46, 0.92));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.3rem 1.25rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(53, 214, 197, 0.55);
}

.feature-icon {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  background: rgba(109, 123, 255, 0.2);
  border: 1px solid rgba(139, 152, 255, 0.45);
}

.feature-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.reel-card,
.news-card,
.form-panel,
.comment-panel {
  background: linear-gradient(170deg, rgba(22, 33, 63, 0.94), rgba(15, 22, 43, 0.94));
  border: 1px solid var(--line);
  border-radius: 18px;
}

.reel-card {
  overflow: hidden;
}

.reel-thumb {
  height: 150px;
  padding: 0.9rem;
  position: relative;
}

.tone-a { background: linear-gradient(140deg, #264d7b, #1d315b); }
.tone-b { background: linear-gradient(140deg, #4f3775, #2d2358); }
.tone-c { background: linear-gradient(140deg, #2f6c5e, #1f443e); }
.tone-d { background: linear-gradient(140deg, #66403b, #482522); }
.tone-e { background: linear-gradient(140deg, #5f4d7e, #30214e); }
.tone-f { background: linear-gradient(140deg, #2b587e, #1d3659); }

.type-badge,
.duration {
  position: absolute;
  font-size: 0.72rem;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  background: rgba(8, 13, 25, 0.55);
  border: 1px solid rgba(219, 232, 255, 0.2);
  color: #eaf1ff;
}

.type-badge {
  top: 0.8rem;
  left: 0.8rem;
}

.duration {
  right: 0.8rem;
  bottom: 0.8rem;
}

.play-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  position: absolute;
  inset: 0;
  margin: auto;
  display: grid;
  place-items: center;
  color: #082321;
  background: linear-gradient(130deg, var(--accent), #97efe6);
  font-weight: 800;
}

.reel-card h3,
.news-card h3 {
  font-size: 1.02rem;
  line-height: 1.45;
  margin-bottom: 0.5rem;
}

.reel-card p,
.news-card p {
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.meta-tags span {
  font-size: 0.72rem;
  border: 1px solid rgba(162, 178, 225, 0.45);
  color: #cfdbf9;
  border-radius: 999px;
  padding: 0.12rem 0.52rem;
}

.card-link {
  color: #9ef0e8;
  font-size: 0.86rem;
}

.card-link:hover {
  color: #c2fff8;
}

.news-card {
  padding: 1.1rem 1rem;
}

.news-card time {
  color: #86a4e8;
  font-size: 0.78rem;
  display: inline-block;
  margin-bottom: 0.55rem;
}

.custom-accordion .accordion-item {
  background: linear-gradient(165deg, rgba(22, 32, 62, 0.94), rgba(15, 22, 42, 0.94));
  border: 1px solid var(--line);
  margin-bottom: 0.8rem;
  border-radius: 14px;
  overflow: hidden;
}

.custom-accordion .accordion-button {
  background: transparent;
  color: #edf3ff;
  font-weight: 600;
  box-shadow: none;
}

.custom-accordion .accordion-button:not(.collapsed) {
  color: #c5fff7;
  background: rgba(53, 214, 197, 0.08);
}

.custom-accordion .accordion-button::after {
  filter: invert(1) brightness(1.25);
  opacity: 0.85;
}

.custom-accordion .accordion-body {
  color: var(--muted);
  padding-top: 0.35rem;
}

.form-panel,
.comment-panel {
  padding: 1.1rem;
}

.form-panel h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.form-label {
  font-size: 0.86rem;
  color: #bfd0f7;
}

.form-control {
  border-radius: 12px;
  border: 1px solid rgba(157, 177, 228, 0.35);
  background: rgba(13, 20, 39, 0.65);
  color: #e7eeff;
}

.form-control:focus {
  border-color: rgba(53, 214, 197, 0.8);
  box-shadow: 0 0 0 0.2rem rgba(53, 214, 197, 0.16);
  background: rgba(13, 20, 39, 0.8);
  color: #f3f7ff;
}

.form-control::placeholder {
  color: #7587b8;
}

.comment-list {
  max-height: 370px;
  overflow: auto;
  padding-right: 0.25rem;
}

.comment-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid rgba(152, 174, 229, 0.2);
  border-radius: 12px;
  background: rgba(17, 26, 49, 0.6);
  margin-bottom: 0.7rem;
}

.comment-item:last-child {
  margin-bottom: 0;
}

.comment-avatar {
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #05211f;
  font-weight: 700;
  background: linear-gradient(145deg, #62e8da, #30cdbb);
  flex: 0 0 auto;
}

.comment-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.18rem;
}

.comment-head strong {
  font-size: 0.93rem;
}

.comment-head span {
  color: #8ea4d7;
  font-size: 0.78rem;
}

.comment-body p {
  margin: 0;
  color: #c1cdee;
  font-size: 0.9rem;
}

.friend-links {
  padding-top: 3.6rem;
}

.friend-link {
  border-radius: 12px;
  border: 1px solid rgba(153, 173, 228, 0.32);
  background: rgba(15, 24, 48, 0.78);
  color: #d5e1ff;
  padding: 0.64rem 0.5rem;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.friend-link:hover {
  color: #031819;
  background: linear-gradient(130deg, var(--accent), #99efe7);
  border-color: transparent;
}

.site-footer {
  margin-top: 2.6rem;
  padding: 2.15rem 0;
  border-top: 1px solid rgba(150, 169, 223, 0.2);
  background: rgba(8, 13, 25, 0.7);
}

.footer-brand {
  font-weight: 700;
  font-size: 1.08rem;
  display: inline-block;
  margin-bottom: 0.35rem;
}

.site-footer p {
  color: #9db0da;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-links a {
  color: #c7d5fb;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #9ef0e8;
}

.copyright {
  color: #8fa4d4;
  font-size: 0.86rem;
}

@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 7.3rem;
  }

  .ring-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .comment-list {
    max-height: none;
  }
}

@media (max-width: 575.98px) {
  .section-block {
    padding: 3.85rem 0;
  }

  .hero-section h1 {
    font-size: 1.9rem;
  }

  .feature-card,
  .news-card,
  .form-panel,
  .comment-panel {
    border-radius: 16px;
  }
}