:root {
  --bg: #090d1b;
  --bg-soft: #121a34;
  --card: #171f3f;
  --card-2: #1d2850;
  --text: #edf1ff;
  --muted: #9ca8ca;
  --accent: #4de3c3;
  --accent-2: #ffb04d;
  --stroke: rgba(255, 255, 255, 0.1);
  --shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 5%, rgba(255, 176, 77, 0.16), transparent 30%),
    radial-gradient(circle at 85% 0%, rgba(77, 227, 195, 0.14), transparent 35%),
    var(--bg);
  line-height: 1.65;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 0.7px, transparent 0.7px);
  background-size: 3px 3px;
  opacity: 0.2;
  z-index: -1;
}

.site-header {
  background: rgba(10, 14, 30, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stroke);
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--accent-2), var(--accent));
  box-shadow: 0 8px 20px rgba(77, 227, 195, 0.35);
}

.logo-play {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #0a1324;
  margin-left: 2px;
}

.navbar .nav-link {
  color: var(--muted);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  transition: all 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost {
  border: 1px solid var(--stroke);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  color: #081121;
  background: var(--accent);
  border-color: var(--accent);
}

.mobile-cat-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.mobile-cat-box a {
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--stroke);
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
}

.hero-content {
  background: linear-gradient(160deg, rgba(77, 227, 195, 0.09), rgba(255, 176, 77, 0.04));
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.kicker {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  color: #101932;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-weight: 600;
}

.hero-content h1 {
  margin-top: 0.9rem;
  margin-bottom: 0.8rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.2;
}

.hero-content p {
  color: var(--muted);
  margin-bottom: 0;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.pill {
  font-size: 0.75rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  color: #dbe4ff;
  background: rgba(255, 255, 255, 0.03);
}

.notice-box {
  border: 1px dashed rgba(255, 176, 77, 0.5);
  background: rgba(255, 176, 77, 0.08);
  border-radius: 12px;
  padding: 0.75rem;
  color: #ffd8a5;
  font-size: 0.9rem;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  margin: 0;
  height: 100%;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 210px;
}

.hero-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 0.85rem;
  font-size: 0.85rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
}

.section-block {
  padding: 1.2rem 0 1.8rem;
}

.section-head h2 {
  font-size: 1.35rem;
  margin: 0;
}

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

.media-card {
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.media-card .card-img-top {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.media-card .card-title,
.media-card .h6 {
  margin-bottom: 0.35rem;
}

.media-card .card-text {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
}

.card-meta,
.card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #bcc8ec;
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #081221;
  border: none;
  font-weight: 600;
}

.btn-accent:hover {
  color: #081221;
  filter: brightness(1.05);
}

.btn-outline-accent {
  border: 1px solid rgba(77, 227, 195, 0.55);
  color: var(--accent);
  background: transparent;
}

.btn-outline-accent:hover {
  color: #081221;
  background: var(--accent);
  border-color: var(--accent);
}

.topic-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  min-height: 330px;
}

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

.topic-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.08));
}

.topic-overlay h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.topic-overlay p {
  color: #cfd8f6;
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
}

.panel-box {
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: linear-gradient(180deg, #141c3a, #111832);
  padding: 1rem;
}

.panel-box h2 {
  font-size: 1.25rem;
  margin: 0;
}

.news-list {
  display: grid;
  gap: 0.7rem;
}

.news-item {
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 0.6rem;
  background: rgba(255, 255, 255, 0.02);
}

.news-thumb {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--stroke);
  flex-shrink: 0;
}

.news-item p {
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.news-item small {
  color: #bfd0f1;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tag-chip {
  text-decoration: none;
  color: #e6edff;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
  transition: all 0.2s ease;
}

.tag-chip:hover {
  color: #081221;
  background: var(--accent);
  border-color: var(--accent);
}

.accordion-item {
  border: 1px solid var(--stroke);
  border-radius: 12px !important;
  background: #141d3b;
  overflow: hidden;
  margin-bottom: 0.6rem;
}

.accordion-button {
  background: #141d3b;
  color: var(--text);
  font-weight: 600;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: #071321;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.accordion-body {
  color: #c9d4f4;
  background: #101733;
}

.partner-section .partner-link {
  display: block;
  text-align: center;
  text-decoration: none;
  color: #ecf1ff;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 0.85rem 0.6rem;
  background: linear-gradient(135deg, rgba(77, 227, 195, 0.08), rgba(255, 176, 77, 0.06));
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.partner-section .partner-link:hover {
  transform: translateY(-2px);
  border-color: rgba(77, 227, 195, 0.6);
}

.site-footer {
  margin-top: 1.2rem;
  border-top: 1px solid var(--stroke);
  background: #0a1128;
  padding: 1.2rem 0 1.8rem;
}

.footer-brand {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.footer-links a,
.footer-bottom a {
  color: #bdcaf0;
  text-decoration: none;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--accent);
}

.footer-bottom small {
  color: #9faad0;
}

.back-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 42px;
  height: 42px;
  border: 1px solid var(--stroke);
  border-radius: 50%;
  background: #182245;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1050;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
}

.modal-dark {
  background: #101733;
  border: 1px solid var(--stroke);
  color: var(--text);
}

.trailer-list {
  padding-left: 1rem;
  margin-bottom: 0.8rem;
}

.trailer-list li {
  margin-bottom: 0.35rem;
  color: #d3dcfb;
}

@media (max-width: 991.98px) {
  .hero-content {
    padding: 1.1rem;
  }

  .hero-card img {
    min-height: 180px;
  }

  .topic-card {
    min-height: 260px;
  }
}

@media (max-width: 767.98px) {
  .section-block {
    padding: 1rem 0 1.4rem;
  }

  .hero-content h1 {
    font-size: 1.55rem;
  }

  .news-thumb {
    width: 84px;
    height: 64px;
  }

  .card-foot {
    gap: 0.5rem;
  }
}