:root {
  --bg: #eef2fb;
  --surface: #ffffff;
  --text: #111a33;
  --muted: #66718e;
  --primary: #6b5cff;
  --secondary: #00c2ff;
  --accent: #ff6e9b;
  --line: #e4e9f7;
  --dark: #0c1227;
  --dark-soft: #151f3f;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

a {
  text-decoration: none;
}

.site-header {
  background: rgba(10, 16, 36, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #ffffff;
  font-weight: 700;
}

.brand-mark {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.45rem;
  display: inline-grid;
  place-items: center;
  font-size: 0.9rem;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  box-shadow: 0 8px 20px rgba(0, 194, 255, 0.35);
}

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

.navbar .nav-link {
  color: rgba(235, 241, 255, 0.85);
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.dropdown-menu {
  border: 1px solid rgba(30, 40, 80, 0.12);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(16, 24, 48, 0.16);
}

.dropdown-item {
  font-size: 0.93rem;
}

.page-start {
  padding-top: 76px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, rgba(8, 13, 31, 0.9), rgba(26, 34, 72, 0.72)), url('../images/72783.jpg') center/cover no-repeat;
  padding: 5.4rem 0 4rem;
  color: #ffffff;
}

.update-badge {
  display: inline-block;
  background: rgba(0, 194, 255, 0.2);
  border: 1px solid rgba(0, 194, 255, 0.45);
  color: #b7f2ff;
  border-radius: 999px;
  font-size: 0.82rem;
  padding: 0.32rem 0.8rem;
  margin-bottom: 1rem;
}

.hero-section h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.18;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.hero-section p {
  color: rgba(227, 235, 255, 0.9);
  max-width: 620px;
  margin-bottom: 1.2rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  padding: 0.36rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.btn-primary {
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: #5949f2;
  --bs-btn-hover-border-color: #5949f2;
  --bs-btn-active-bg: #4f3edf;
  --bs-btn-active-border-color: #4f3edf;
}

.search-panel {
  max-width: 640px;
  background: rgba(11, 18, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 0.8rem;
}

.search-panel .form-control,
.search-panel .form-select {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.94);
}

.advanced-toggle {
  display: inline-block;
  margin-top: 0.55rem;
  color: #b9d4ff;
  font-size: 0.85rem;
}

.filter-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 0.65rem;
}

.hero-collage {
  position: relative;
  min-height: 420px;
}

.card-shell {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35);
}

.card-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.collage-main {
  width: 68%;
  height: 410px;
  margin-left: auto;
}

.collage-small {
  position: absolute;
  width: 46%;
  height: 180px;
}

.collage-small.one {
  left: 2%;
  top: 36px;
}

.collage-small.two {
  left: 10%;
  bottom: 8px;
}

.stats-strip {
  margin-top: -1.7rem;
  position: relative;
  z-index: 2;
}

.stat-card {
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 1rem 0.75rem;
  box-shadow: 0 10px 26px rgba(31, 44, 92, 0.08);
}

.stat-card strong {
  display: block;
  font-size: 1.22rem;
  color: #1d2d64;
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

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

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 800;
  color: #14204a;
}

.section-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-more {
  font-size: 0.88rem;
  font-weight: 600;
  color: #3d4ecf;
}

.profile-card {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(26, 38, 80, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(24, 40, 90, 0.14);
}

.thumb-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

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

.badge-tag {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  background: linear-gradient(120deg, var(--accent), #ff8c66);
  color: #fff;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
}

.profile-body {
  padding: 0.78rem;
}

.profile-body h3 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: #13224f;
}

.profile-body p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  min-height: 2.5rem;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  margin: 0.6rem 0;
  font-size: 0.76rem;
  color: #7181a5;
}

.campaign-strip {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(125deg, #4f4ff4, #00b9ff 55%, #20dfca);
  color: #fff;
  padding: 1.9rem 1.4rem;
}

.campaign-strip::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  right: -80px;
  top: -90px;
}

.campaign-strip h3 {
  font-size: 1.4rem;
  margin-bottom: 0.45rem;
  font-weight: 800;
}

.campaign-strip p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.95);
}

.hot-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(22, 38, 80, 0.08);
}

.hot-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.hot-body {
  padding: 0.95rem;
}

.hot-top {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: baseline;
}

.hot-top h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: #16245a;
}

.hot-top span {
  font-size: 0.78rem;
  color: #7181a6;
}

.hot-body p {
  margin: 0.5rem 0 0.65rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.hot-body a {
  color: #4457e6;
  font-size: 0.86rem;
  font-weight: 600;
}

.topic-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  height: 100%;
  transition: all 0.2s ease;
}

.topic-card:hover {
  border-color: #cfd7f9;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(28, 45, 88, 0.08);
}

.topic-card h4 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  color: #1a2a60;
}

.topic-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.ranking-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(22, 34, 80, 0.08);
  padding: 0.95rem;
}

.ranking-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.8rem;
}

.ranking-head h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #13214e;
}

.ranking-head a {
  font-size: 0.77rem;
  color: #7382aa;
}

.ranking-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px dashed #edf1fa;
  padding: 0.48rem 0;
}

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

.ranking-list span {
  min-width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 0.76rem;
  font-weight: 700;
  color: #2f44b0;
  background: #ecf0ff;
}

.ranking-list a {
  color: #24315f;
  font-size: 0.9rem;
}

.friend-links-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

.friend-links-wrap a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #30408d;
  padding: 0.68rem 0.75rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.friend-links-wrap a:hover {
  border-color: #bfc9f7;
  background: #f6f8ff;
}

.faq-accordion .accordion-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.7rem;
}

.faq-accordion .accordion-button {
  font-weight: 600;
  color: #1a2a62;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: #1b2c68;
  background: #f2f5ff;
  box-shadow: none;
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
}

.site-footer {
  margin-top: 3rem;
  background: linear-gradient(180deg, #0a1022, #0b1126);
  color: #aeb9d7;
  padding-top: 2.8rem;
}

.site-footer h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

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

.site-footer li {
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
}

.site-footer a {
  color: #ced8f8;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 1.6rem;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.86rem;
}

.footer-bottom a {
  color: #dbe3ff;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(125deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 12px 24px rgba(67, 87, 199, 0.38);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.2s ease;
  z-index: 1050;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.modal-content {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
}

.modal-header {
  border-bottom: 1px solid var(--line);
}

.modal-footer {
  border-top: 1px solid var(--line);
}

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

  .hero-collage {
    min-height: 350px;
    margin-top: 0.5rem;
  }

  .collage-main {
    width: 72%;
    height: 330px;
  }

  .collage-small {
    height: 145px;
  }
}

@media (max-width: 767.98px) {
  .section-block {
    padding-top: 2.6rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .search-panel {
    padding: 0.65rem;
  }

  .hot-card img {
    height: 200px;
  }
}

@media (max-width: 575.98px) {
  .page-start {
    padding-top: 70px;
  }

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

  .section-head {
    align-items: center;
  }

  .section-more {
    display: none;
  }

  .profile-body h3 {
    font-size: 0.95rem;
  }
}