:root {
  --bg: #070b15;
  --bg-soft: #0d1426;
  --card: #111a31;
  --line: rgba(255, 255, 255, 0.12);
  --text: #e8edff;
  --muted: #98a5c7;
  --accent: #69e5ff;
  --accent-2: #a87bff;
  --glow: rgba(105, 229, 255, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% -10%, #1b2e58 0%, transparent 40%),
              radial-gradient(circle at 90% 10%, #2a1a47 0%, transparent 35%),
              var(--bg);
  line-height: 1.7;
}

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

.site-header {
  background: rgba(5, 9, 18, 0.62);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
  min-height: 72px;
}

.brand-mark,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04111f;
  font-size: 14px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);
}

.nav-link {
  color: #d6ddf3;
  font-size: 0.95rem;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--accent);
}

.btn-glow {
  border: 0;
  color: #081220;
  background: linear-gradient(135deg, var(--accent), #7ed1ff, var(--accent-2));
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(57, 186, 255, 0.25);
}

.btn-glow:hover {
  color: #03101c;
  filter: brightness(1.04);
}

.hero-section {
  position: relative;
  min-height: 96vh;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(8, 11, 20, 0.45), rgba(7, 11, 21, 0.9)), url('../images/wlv9b5.jpg') center/cover no-repeat;
  z-index: -2;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -20%, rgba(131, 220, 255, 0.3), transparent 45%);
  z-index: -1;
}

.hero-chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #def7ff;
  font-size: 0.82rem;
}

.hero-title {
  margin-top: 20px;
  font-size: clamp(2rem, 5.2vw, 4.1rem);
  line-height: 1.14;
  font-weight: 800;
  text-wrap: balance;
}

.hero-subtitle {
  margin: 18px auto 0;
  color: #d3dcf4;
  max-width: 760px;
}

.hero-search {
  max-width: 700px;
  margin-top: 28px;
}

.hero-search .form-control {
  border-radius: 999px 0 0 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 0;
}

.hero-search .btn {
  border-radius: 0 999px 999px 0;
}

.quick-tags .chip-tag {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.34);
  color: #eaf3ff;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.quick-tags .chip-tag:hover,
.quick-tags .chip-tag.active {
  border-color: rgba(105, 229, 255, 0.85);
  color: var(--accent);
  box-shadow: 0 0 0 4px rgba(105, 229, 255, 0.12);
}

.filter-panel {
  margin: 0 auto;
  max-width: 760px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  color: #d8e2ff;
  font-size: 0.9rem;
}

.stats-row {
  margin-top: 32px;
}

.stat-card {
  height: 100%;
  background: rgba(11, 18, 35, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 16px 10px;
}

.stat-card h3 {
  margin: 0;
  font-size: 1.45rem;
  color: #9beaff;
}

.stat-card p {
  margin: 4px 0 0;
  color: #c9d4ef;
  font-size: 0.88rem;
}

.section-space {
  padding: 84px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

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

.section-link {
  color: var(--accent);
  font-size: 0.92rem;
}

.poster-card {
  background: linear-gradient(180deg, #131d36, #0d1528);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

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

.poster-card .card-body {
  padding: 14px;
}

.poster-card .card-title {
  margin: 8px 0 6px;
  font-size: 1rem;
}

.poster-card .card-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.genre-tag {
  display: inline-block;
  font-size: 0.72rem;
  border: 1px solid rgba(105, 229, 255, 0.4);
  color: #b7f4ff;
  border-radius: 999px;
  padding: 3px 8px;
}

.poster-card .card-footer {
  padding: 11px 14px 14px;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.poster-card strong {
  color: #b6f8ff;
}

.category-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(17, 26, 49, 0.86);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.category-item span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(105, 229, 255, 0.15);
  border: 1px solid rgba(105, 229, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #98ecff;
  font-size: 0.85rem;
}

.category-item:hover {
  border-color: rgba(105, 229, 255, 0.5);
  transform: translateY(-2px);
}

.news-card {
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #13203c, #0f172b);
  border: 1px solid var(--line);
  height: 100%;
}

.news-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.news-body {
  padding: 16px;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #bfd4ff;
  margin-bottom: 8px;
}

.news-meta span {
  border: 1px solid rgba(168, 123, 255, 0.55);
  border-radius: 999px;
  padding: 2px 8px;
}

.news-body h3 {
  font-size: 1.02rem;
  line-height: 1.45;
  margin: 0 0 8px;
}

.news-body p {
  color: var(--muted);
  margin: 0;
  font-size: 0.9rem;
}

.review-card {
  background: rgba(16, 24, 43, 0.78);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}

.review-card h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.review-card p {
  margin: 0 0 10px;
  color: var(--muted);
}

.review-card small {
  color: #b4c5ea;
}

.creator-card {
  background: rgba(17, 26, 49, 0.78);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 12px;
}

.creator-card img {
  width: 100%;
  max-width: 110px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 12px;
  border: 3px solid rgba(111, 224, 255, 0.4);
}

.creator-card h3 {
  margin: 0;
  font-size: 1rem;
}

.creator-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.custom-accordion .accordion-item {
  margin-bottom: 10px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(17, 26, 49, 0.75);
}

.custom-accordion .accordion-button,
.custom-accordion .accordion-body {
  background: transparent;
  color: var(--text);
}

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

.custom-accordion .accordion-button:not(.collapsed) {
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  color: #b7efff;
}

.subscribe-box {
  background: linear-gradient(145deg, rgba(27, 42, 74, 0.85), rgba(26, 19, 48, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 34px;
}

.subscribe-box h2 {
  margin-top: 12px;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.subscribe-box p {
  color: #cfdbfa;
  margin: 10px 0 0;
}

.subscribe-box .form-control {
  min-height: 46px;
  border-radius: 999px 0 0 999px;
  border: 0;
}

.subscribe-box .btn {
  border-radius: 0 999px 999px 0;
}

.friend-link {
  display: block;
  text-align: center;
  background: rgba(17, 26, 49, 0.78);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 10px;
  color: #d7e6ff;
  transition: all 0.2s ease;
}

.friend-link:hover {
  border-color: rgba(105, 229, 255, 0.45);
  color: var(--accent);
  transform: translateY(-2px);
}

.site-footer {
  padding: 62px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #060a13;
}

.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: #aebcdf;
  font-size: 0.92rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.back-top {
  position: fixed;
  right: 18px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #03111f;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 24px var(--glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 999;
}

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

.modal-content {
  background: #0c1222;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.modal-header,
.modal-footer {
  border-color: rgba(255, 255, 255, 0.1);
}

.modal .form-control,
.modal textarea {
  background: #141d34;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e8edff;
}

.modal .form-control:focus,
.modal textarea:focus {
  border-color: rgba(105, 229, 255, 0.5);
  box-shadow: none;
}

@media (max-width: 991.98px) {
  .section-space {
    padding: 64px 0;
  }

  .hero-section {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.92rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .subscribe-box {
    padding: 24px 18px;
  }

  .poster-card img {
    height: 190px;
  }
}