:root {
  --bg: #05091a;
  --bg-soft: #0c1634;
  --panel: rgba(10, 16, 42, 0.78);
  --panel-soft: rgba(13, 22, 58, 0.62);
  --line: rgba(132, 167, 255, 0.2);
  --line-strong: rgba(132, 167, 255, 0.34);
  --text: #edf4ff;
  --muted: #98a7d7;
  --cyan: #69e6ff;
  --blue: #64a6ff;
  --pink: #de74ff;
  --shadow: 0 24px 80px rgba(2, 8, 28, 0.5);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 16%, rgba(105, 230, 255, 0.18), transparent 24%),
    radial-gradient(circle at 84% 18%, rgba(222, 116, 255, 0.14), transparent 24%),
    radial-gradient(circle at 50% 90%, rgba(100, 166, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #061022 0%, #091229 40%, #060d1b 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 90%);
  opacity: 0.18;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(1400px, calc(100% - 24px));
  margin: 0 auto;
  padding: 24px 0 64px;
}

.nav {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 22px;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 13, 39, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__logo {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(150, 196, 255, 0.3);
  box-shadow: 0 0 18px rgba(92, 225, 255, 0.22);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
}

.brand strong,
.hero h1,
.panel-title,
.article-title,
.article-content h2,
.article-content h3 {
  font-family: "Orbitron", "Noto Sans SC", sans-serif;
}

.brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #c8d2ff;
  font-size: 0.96rem;
}

.nav__menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex: 1;
}

.nav__links a {
  position: relative;
  opacity: 0.88;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s ease;
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__contact {
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(10, 18, 56, 0.62);
  backdrop-filter: blur(12px);
  color: #cddcff;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__cta {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(154, 180, 255, 0.22);
  background: linear-gradient(90deg, rgba(189, 76, 255, 0.92), rgba(77, 190, 255, 0.92));
  box-shadow: 0 14px 40px rgba(120, 104, 255, 0.35);
  font-weight: 700;
}

.nav__toggle {
  display: none;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.nav__toggle img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav.nav--open .nav__toggle img {
  opacity: 0.92;
}

.hero {
  padding: 38px 0 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(142, 179, 255, 0.2);
  background: rgba(13, 20, 58, 0.55);
  color: #b7cafb;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  box-shadow: 0 0 14px rgba(105, 230, 255, 0.8);
}

.hero h1 {
  margin: 20px 0 12px;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.06;
}

.hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 1rem;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 22px;
  align-items: start;
}

.panel {
  padding: 28px 24px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(22, 34, 84, 0.76), rgba(10, 17, 46, 0.82)),
    rgba(10, 17, 46, 0.74);
  box-shadow: var(--shadow);
}

.panel-title {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
}

.panel-title::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  box-shadow: 0 0 14px rgba(105, 230, 255, 0.45);
}

.hot-list,
.latest-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hot-item {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(138, 172, 255, 0.16);
}

.hot-item:first-child {
  padding-top: 4px;
}

.hot-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hot-item__cover,
.article-hero__cover,
.article-cover-placeholder {
  width: 100%;
  height: 132px;
  border-radius: 16px;
  border: 1px solid rgba(150, 180, 255, 0.25);
  object-fit: cover;
  background:
    linear-gradient(145deg, rgba(86, 165, 255, 0.58), rgba(27, 42, 100, 0.9)),
    radial-gradient(circle at 70% 20%, rgba(105, 230, 255, 0.24), transparent 38%);
}

.article-cover-placeholder {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 14px;
  color: #f4f8ff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
}

.hot-item__body h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.5;
}

.hot-item__body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.hot-item__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: #9eb0e0;
  font-size: 0.9rem;
}

.latest-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(138, 172, 255, 0.16);
}

.latest-item:last-child {
  border-bottom: 0;
}

.latest-item a {
  flex: 1;
  line-height: 1.6;
}

.latest-item time {
  flex-shrink: 0;
  color: #9eb0e0;
  font-size: 0.86rem;
}

.panel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  min-width: 172px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid rgba(150, 178, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
}

.news-state {
  padding: 18px 0;
  color: var(--muted);
  line-height: 1.7;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.article-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(22, 34, 84, 0.76), rgba(10, 17, 46, 0.82)),
    rgba(10, 17, 46, 0.74);
  box-shadow: var(--shadow);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 14px 0 24px;
  color: #a6b5e0;
  font-size: 0.94rem;
}

.article-title {
  margin: 18px 0 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.14;
}

.article-summary {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.article-hero__cover {
  height: 340px;
  margin: 24px 0 28px;
}

.article-content {
  color: #edf2ff;
  line-height: 1.95;
  font-size: 1rem;
}

.article-content> :first-child {
  margin-top: 0;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

.article-content h2,
.article-content h3 {
  margin: 2.2em 0 0.8em;
  line-height: 1.35;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote {
  margin: 0 0 1.1em;
}

.article-content blockquote {
  padding: 16px 18px;
  border-left: 3px solid var(--cyan);
  border-radius: 0 14px 14px 0;
  background: rgba(255, 255, 255, 0.04);
  color: #d9e4ff;
}

.article-content a {
  color: var(--cyan);
  text-decoration: underline;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
}

.article-content table th,
.article-content table td {
  padding: 12px 14px;
  border: 1px solid rgba(138, 172, 255, 0.16);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #c7d8ff;
}

.error-card {
  margin-top: 28px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 124, 160, 0.26);
  background: rgba(55, 15, 34, 0.45);
  color: #ffd8e6;
}

.site-footer {
  margin-top: 34px;
  padding: 30px 0 22px;
  border-top: 1px solid rgba(136, 171, 255, 0.18);
  border-bottom: 1px solid rgba(136, 171, 255, 0.12);
  background:
    radial-gradient(circle at 14% 18%, rgba(92, 225, 255, 0.1), transparent 22%),
    radial-gradient(circle at 88% 20%, rgba(223, 99, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(14, 23, 62, 0.95), rgba(8, 13, 34, 0.98));
  box-shadow: var(--shadow);
}

.site-footer__inner {
  width: min(1400px, calc(100% - 24px));
  margin: 0 auto;
  padding: 0 28px;
}

.site-footer__body {
  display: grid;
  grid-template-columns: minmax(180px, 220px) repeat(4, minmax(0, 1fr)) minmax(240px, 300px);
  gap: 22px;
  align-items: start;
}

.site-footer__brand {
  text-align: center;
}

.site-footer__brand img {
  width: 122px;
  height: 122px;
  object-fit: cover;
  border: 1px solid rgba(165, 192, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 16px 34px rgba(4, 9, 30, 0.34);
  margin-left: 19%;
}

.site-footer__brand span {
  display: block;
  margin-top: 12px;
  color: #c9d8ff;
  font-size: 0.92rem;
}

.site-footer__group h3,
.site-footer__contact h3 {
  margin: 0 0 16px;
  font-size: 1rem;
  color: #f2f7ff;
}

.site-footer__group ul,
.site-footer__contact ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.site-footer__group a,
.site-footer__group li,
.site-footer__contact li,
.site-footer__contact a {
  color: #9fb0de;
  font-size: 0.94rem;
  line-height: 1.7;
}

.site-footer__group a:hover,
.site-footer__contact a:hover {
  color: #eef4ff;
}

.site-footer__contact strong {
  display: block;
  margin-bottom: 4px;
  color: #eff5ff;
  font-size: 0.96rem;
}

.site-footer__bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(136, 171, 255, 0.14);
  text-align: center;
  color: #94a4d8;
  font-size: 0.88rem;
  line-height: 1.7;
}

@media (max-width: 980px) {

  .layout,
  .article-shell {
    grid-template-columns: 1fr;
  }

  .hot-item {
    grid-template-columns: 1fr;
  }

  .site-footer__body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__brand,
  .site-footer__contact {
    grid-column: 1 / -1;
  }

  .site-footer__brand {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 18px, 1400px);
  }

  .nav {
    top: 8px;
    border-radius: 24px;
    padding: 14px 16px;
    gap: 14px;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav__menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    padding: 16px;
    border-radius: 24px;
    border: 1px solid rgba(129, 169, 255, 0.18);
    background: rgba(8, 13, 39, 0.96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: stretch;
  }

  .nav.nav--open .nav__menu {
    display: flex;
  }

  .nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .nav__contact,
  .nav__cta {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-top: 40px;
  }

  .article-card,
  .panel {
    padding: 22px 18px;
  }

  .site-footer {
    margin-top: 24px;
  }

  .site-footer__top,
  .site-footer__body {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .site-footer__brand {
    text-align: center;
  }

  .site-footer__brand img {
    width: 108px;
    height: 108px;
  }

  .site-footer__group h3,
  .site-footer__contact h3 {
    margin-bottom: 12px;
  }

  .article-hero__cover {
    height: 220px;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 22px 0 16px;
  }

  .site-footer__inner {
    width: min(100% - 14px, 1400px);
    padding: 0 16px;
  }

  .site-footer__feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 0.82rem;
  }

  .site-footer__group h3,
  .site-footer__contact h3 {
    font-size: 0.94rem;
  }

  .site-footer__group a,
  .site-footer__group li,
  .site-footer__contact li,
  .site-footer__contact a,
  .site-footer__bottom {
    font-size: 0.84rem;
  }
}