﻿:root {
  --bg: #08020f;
  --bg-soft: #120722;
  --panel: #180928;
  --panel-strong: #241036;
  --line: rgba(255, 213, 94, 0.28);
  --line-soft: rgba(167, 92, 255, 0.22);
  --gold: #ffe15a;
  --gold-deep: #b98912;
  --red: #e83b35;
  --violet: #8c3de0;
  --text: #fff7df;
  --muted: #bca5de;
  --dim: #8d78aa;
  --green: #61d394;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 4%, rgba(232, 59, 53, 0.2), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(140, 61, 224, 0.28), transparent 30rem),
    linear-gradient(180deg, #130719 0%, var(--bg) 44%, #050309 100%);
  font: 16px/1.8 "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}

a:hover {
  color: #fff3a8;
}

img,
video {
  max-width: 100%;
  height: auto;
}

.wrap {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(255,255,255,.16), transparent 16px), #10091c;
  border-bottom: 1px solid rgba(255, 225, 90, 0.16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .36);
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 0 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  max-width: calc(100% - 400px);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: #190807;
  font-size: 28px;
  font-weight: 900;
  background: radial-gradient(circle at 35% 28%, #fff19b 0, #d5a721 54%, #724308 100%);
  box-shadow: inset 0 0 16px rgba(255, 255, 255, .28), 0 0 20px rgba(255, 225, 90, .2);
}

.brand-logo-picture {
  display: block;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
}

.brand-logo {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.brand-copy {
  display: block;
  min-width: 0;
}

.brand-copy strong {
  display: block;
  color: var(--gold);
  font-family: Georgia, "Microsoft YaHei", serif;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 2px 0 #6a330a, 0 0 14px rgba(255, 225, 90, .32);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-search {
  position: relative;
  flex: 0 1 370px;
}

.site-search input {
  width: 100%;
  height: 52px;
  padding: 0 86px 0 22px;
  color: #fff6d8;
  background: rgba(11, 8, 15, .72);
  border: 1px solid rgba(255, 213, 94, .44);
  border-radius: 7px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 8px 22px rgba(0,0,0,.28);
}

.site-search input::placeholder {
  color: #bca977;
}

.site-search button {
  position: absolute;
  top: 8px;
  right: 8px;
  height: 36px;
  padding: 0 16px;
  color: #170511;
  font-weight: 700;
  background: linear-gradient(180deg, #ffe17a, #aa7812);
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}

.main-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .04);
  background:
    linear-gradient(135deg, rgba(255,255,255,.04) 25%, transparent 25%) 0 0 / 58px 58px,
    linear-gradient(90deg, rgba(176, 21, 23, .82), rgba(91, 29, 132, .92));
}

.main-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 10px;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  border-right: 1px solid rgba(255, 255, 255, .06);
  white-space: nowrap;
}

.main-nav a:first-child::before { content: "•"; margin-right: 8px; color: var(--gold); }
.main-nav a:nth-child(2)::before { content: "🔥"; margin-right: 8px; }
.main-nav a:nth-child(3)::before { content: "👑"; margin-right: 8px; }
.main-nav a:nth-child(4)::before { content: "▦"; margin-right: 8px; color: var(--gold); }
.main-nav a:nth-child(5)::before { content: "▤"; margin-right: 8px; color: #e8ddff; }
.main-nav a:nth-child(6)::before { content: "🔮"; margin-right: 8px; }

.main-nav a:hover,
.main-nav .current {
  color: var(--gold);
  background: rgba(18, 6, 24, .36);
}

.ad-embed-zone {
  width: min(1080px, calc(100% - 32px));
  margin: 22px auto 0;
  padding: 0;
  text-align: center;
  contain: layout paint;
}

.seo-isolated-ad {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  background: rgba(8, 2, 16, .72);
  border: 1px solid rgba(255, 213, 94, .28);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.site-shell {
  padding: 24px 0 54px;
}

.hero-panel,
.panel,
.post-card,
.single-post,
.site-sidebar .widget,
.error-page {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(88, 28, 137, .42), rgba(37, 7, 23, .78)),
    var(--panel);
  box-shadow: var(--shadow);
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 26px;
  min-height: 318px;
  padding: 34px 38px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(15, 3, 23, .94) 0%, rgba(20, 7, 31, .86) 42%, rgba(20, 7, 31, .54) 100%),
    linear-gradient(120deg, rgba(88, 28, 137, .35), rgba(37, 7, 23, .55)),
    url("../image/hero-moyu.webp") right center / cover no-repeat,
    var(--panel);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 92px;
  background: linear-gradient(90deg, rgba(255, 209, 61, .08), rgba(33, 113, 34, .2));
  pointer-events: none;
}

.hero-content,
.hero-stats {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  color: var(--gold);
  font-weight: 800;
  background: linear-gradient(90deg, #b32322, #5220a3);
  border-radius: 999px;
}

.hero-panel h1 {
  margin: 18px 0 10px;
  color: #ffe879;
  font-family: Georgia, "Microsoft YaHei", serif;
  font-size: 42px;
  line-height: 1.18;
  text-shadow: 0 3px 0 rgba(90, 36, 2, .8), 0 0 26px rgba(255, 225, 90, .28);
}

.hero-panel p {
  max-width: 720px;
  margin: 0;
  color: #c8b5f5;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 7px;
  font-weight: 900;
}

.btn-primary {
  color: #180516;
  background: linear-gradient(180deg, #ffeb75, #d39716);
  border: 1px solid rgba(255, 238, 130, .7);
}

.btn-download {
  position: relative;
  color: #07150b;
  background: linear-gradient(180deg, #71ff8e, #24c65d);
  border: 1px solid rgba(153, 255, 177, .82);
  box-shadow: 0 0 0 1px rgba(113, 255, 142, .12), 0 10px 28px rgba(36, 198, 93, .28);
}

.btn-download::before {
  content: "↓";
  margin-right: 8px;
  font-size: 20px;
  line-height: 1;
}

.btn-ghost {
  color: var(--gold);
  background: rgba(79, 26, 104, .56);
  border: 1px solid var(--line-soft);
}

.btn:hover,
.server-link:hover,
.read-more:hover {
  transform: translateY(-1px);
}

.hero-stats {
  align-self: end;
  display: grid;
  gap: 10px;
}

.hero-stats span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 16px;
  color: var(--muted);
  background: rgba(8, 2, 16, .54);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
}

.hero-stats strong {
  color: var(--gold);
  font-size: 20px;
}

.panel,
.article-layout {
  margin-top: 30px;
}

.article-layout {
  content-visibility: auto;
  contain-intrinsic-size: 640px;
}

.panel {
  padding: 24px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.section-title.compact {
  margin-bottom: 16px;
}

.section-title h2,
.archive-heading h1 {
  margin: 0;
  color: var(--gold);
  font-size: 25px;
  line-height: 1.3;
}

.section-title em {
  color: var(--gold);
  font-style: normal;
  font-weight: 800;
}

.title-icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: #130311;
  background: linear-gradient(180deg, #ffec72, #c08d16);
  border-radius: 5px;
  box-shadow: 0 0 16px rgba(255, 225, 90, .22);
}

.server-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.server-card {
  display: grid;
  min-height: 188px;
  padding: 20px;
  border: 1px solid var(--line-soft);
  border-top: 4px solid var(--violet);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(35, 12, 58, .96), rgba(47, 9, 44, .94));
}

.server-card.featured {
  border-top-color: var(--gold);
}

.server-card.wide {
  grid-column: 1 / -1;
  border-top-color: var(--red);
}

.server-card h3 {
  margin: 0;
  color: #fff;
  font-size: 21px;
}

.server-card.wide h3 {
  color: var(--gold);
}

.server-card p {
  margin: 4px 0 14px;
  color: var(--muted);
}

.server-status {
  font-weight: 900;
}

.status-hot {
  color: #ff5a42;
}

.status-steady {
  color: #66b7ff;
}

.status-preview {
  color: #a89bb8;
}

.server-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.server-tags span,
.table-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 12px;
  color: #fff7df;
  font-weight: 900;
  line-height: 1.2;
  background: linear-gradient(180deg, rgba(255, 225, 90, .18), rgba(255, 225, 90, .08));
  border: 1px solid rgba(255, 225, 90, .4);
  border-radius: 999px;
}

.server-tags .tag-hot {
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 82, 63, .92), rgba(170, 35, 28, .84));
  border-color: rgba(255, 111, 88, .7);
}

.server-tags .tag-green {
  color: #06150a;
  background: linear-gradient(180deg, #75ff93, #2ace64);
  border-color: rgba(153, 255, 177, .76);
}

.table-tag.status-hot {
  color: #fff;
  background: rgba(255, 82, 63, .16);
  border-color: rgba(255, 82, 63, .52);
}

.table-tag.status-steady {
  color: #bfe1ff;
  background: rgba(102, 183, 255, .14);
  border-color: rgba(102, 183, 255, .5);
}

.table-tag.status-preview {
  color: #d4c9dd;
  background: rgba(168, 155, 184, .14);
  border-color: rgba(168, 155, 184, .38);
}

.server-card dl {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr;
  gap: 8px 10px;
  margin: 0 0 18px;
}

.server-card dt {
  color: var(--muted);
}

.server-card dd {
  margin: 0;
  color: #fff;
  font-weight: 800;
}

.server-card .hot {
  color: #ff574c;
}

.server-link,
.read-more {
  align-self: end;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  color: #170511;
  font-weight: 900;
  background: linear-gradient(180deg, #ffea6c, #c98e16);
  border-radius: 5px;
}

.server-table-wrap {
  overflow-x: auto;
}

.server-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.server-table th,
.server-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.server-table th {
  color: var(--gold);
  background: rgba(82, 30, 130, .42);
  font-size: 18px;
}

.server-table td {
  color: #f8efff;
  font-weight: 700;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.article-column {
  min-width: 0;
}

.post-card {
  position: relative;
  margin-bottom: 18px;
  padding: 24px;
}

.post-card::before,
.single-post::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 38px;
  background: linear-gradient(180deg, #ffef71, #a8740c);
  border-radius: 8px 0 8px 0;
}

.post-title {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.35;
}

.post-title a {
  color: #fff8ce;
}

.post-title a:hover {
  color: var(--gold);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 16px;
  padding: 0;
  color: var(--dim);
  font-size: 14px;
  list-style: none;
}

.post-meta a {
  color: var(--muted);
}

.post-content {
  color: #eadfff;
  line-height: 1.95;
  word-break: break-word;
}

.post-excerpt {
  margin-bottom: 18px;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  color: var(--gold);
  line-height: 1.45;
}

.post-content p {
  margin: 0 0 1.1em;
}

.post-content a {
  border-bottom: 1px solid rgba(255, 225, 90, .35);
}

.post-content blockquote {
  margin: 1.5em 0;
  padding: 14px 18px;
  color: #fff2b4;
  background: rgba(255, 225, 90, .08);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
}

.post-content pre,
.post-content code {
  color: #fff;
  background: rgba(0, 0, 0, .38);
  border-radius: 5px;
}

.post-content pre {
  overflow: auto;
  padding: 14px;
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
}

.post-content th,
.post-content td {
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.12);
}

.post-content th {
  color: var(--gold);
  background: rgba(82, 30, 130, .4);
}

.single-post {
  position: relative;
  padding: 34px;
}

.single-kicker,
.archive-heading span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.single-post .post-title {
  font-size: 40px;
}

.tags {
  margin: 24px 0 0;
  padding-top: 18px;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,.08);
}

.post-near {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.post-near li {
  padding: 14px 18px;
  color: var(--muted);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 7px;
}

.archive-heading,
.empty-card {
  margin-bottom: 18px;
}

.archive-heading {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 7, 33, .86);
}

.site-sidebar {
  display: grid;
  gap: 18px;
}

.site-sidebar .widget {
  padding: 20px;
}

.widget-title {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 20px;
}

.widget-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.widget-list li {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

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

.widget-list a {
  color: #eadfff;
}

.widget-list a:hover {
  color: var(--gold);
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.keyword-cloud a {
  display: inline-flex;
  padding: 6px 10px;
  color: #180516;
  font-size: 14px;
  font-weight: 900;
  background: linear-gradient(180deg, #ffea70, #bf8716);
  border-radius: 999px;
}

.page-navigator {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.page-navigator a,
.page-navigator span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  color: #fff;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 5px;
}

.page-navigator .current a,
.page-navigator a:hover {
  color: #190511;
  background: var(--gold);
}

.comments {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(20, 7, 33, .78);
}

.respond input,
.respond textarea,
.error-search input {
  width: 100%;
  padding: 12px 14px;
  color: #fff;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 6px;
  outline: none;
}

.respond textarea {
  resize: vertical;
}

.respond label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
}

.error-page {
  max-width: 760px;
  margin: 40px auto;
  padding: 38px;
  text-align: center;
}

.error-page h1 {
  margin: 0 0 8px;
  color: var(--gold);
}

.error-page p {
  margin: 0 0 22px;
  color: var(--muted);
}

.error-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.site-footer {
  padding: 30px 0 42px;
  color: var(--dim);
  text-align: center;
  background: #050309;
  border-top: 1px solid rgba(255, 225, 90, .12);
}

.site-footer p {
  margin: 4px 0;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .brand-row,
  .hero-panel,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .brand-copy strong {
    font-size: 34px;
  }

  .hero-panel h1 {
    font-size: 38px;
  }

  .single-post .post-title {
    font-size: 34px;
  }

  .brand-row {
    align-items: stretch;
    flex-direction: column;
  }

  .brand {
    max-width: 100%;
  }

  .site-search {
    flex-basis: auto;
  }

  .main-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .wrap {
    width: min(100% - 20px, 1080px);
  }

  .ad-embed-zone {
    width: min(100% - 20px, 1080px);
  }

  .brand-row {
    padding: 14px 0 10px;
    gap: 12px;
  }

  .brand {
    gap: 10px;
    max-width: 100%;
  }

  .brand-mark {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .brand-logo-picture,
  .brand-logo {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .brand-copy strong {
    font-size: 24px;
  }

  .site-search input {
    height: 46px;
    padding-right: 76px;
  }

  .site-search button {
    top: 6px;
    right: 6px;
    height: 34px;
  }

  .main-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-nav a {
    min-height: 48px;
    font-size: 15px;
  }

  .site-shell {
    padding: 22px 0 34px;
  }

  .hero-panel,
  .panel,
  .post-card,
  .single-post,
  .site-sidebar .widget,
  .error-page {
    padding: 18px;
  }

  .hero-panel {
    min-height: auto;
  }

  .hero-panel h1 {
    font-size: 30px;
  }

  .hero-panel p {
    font-size: 16px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .server-grid,
  .server-card dl {
    grid-template-columns: 1fr;
  }

  .server-card.wide {
    grid-column: auto;
  }

  .server-link,
  .read-more {
    justify-self: stretch;
    justify-content: center;
  }

  .post-title {
    font-size: 21px;
  }

  .single-post .post-title {
    font-size: 28px;
  }

  .error-search {
    grid-template-columns: 1fr;
  }
}
