:root {
  --bg: #090a0c;
  --panel: #111317;
  --panel-2: #16191e;
  --text: #f3f0eb;
  --muted: #9b9ba0;
  --line: rgba(255,255,255,.09);
  --red: #df2d22;
  --orange: #ff6a2a;
  --gold: #c8a56c;
  --shell: 1180px;
}

* { box-sizing: border-box; }
img { height: auto; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  height: 88px;
  z-index: 10;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(180deg, rgba(0,0,0,.7), transparent);
}
.nav-wrap {
  width: min(calc(100% - 40px), 1280px);
  height: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand img { width: 182px; height: auto; display: block; }
.main-nav { display: flex; justify-content: center; gap: 31px; height: 100%; align-items: center; }
.main-nav a {
  position: relative;
  color: #c8c7c5;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
  transition: color .2s ease;
}
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -34px;
  width: 28px; height: 2px;
  transform: translateX(-50%);
  background: var(--orange);
  box-shadow: 0 0 13px var(--orange);
}
.account-link { justify-self: end; display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; }
.account-icon { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; color: var(--orange); }
.menu-button { display: none; background: none; border: 0; padding: 8px; }
.menu-button span { display: block; width: 24px; height: 2px; background: white; margin: 5px 0; }

.hero {
  position: relative;
  min-height: 790px;
  overflow: hidden;
  background:
    radial-gradient(circle at 67% 44%, rgba(189,30,19,.18), transparent 32%),
    linear-gradient(90deg, rgba(5,5,6,.98) 0%, rgba(5,5,6,.82) 40%, rgba(5,5,6,.25) 68%, rgba(5,5,6,.65) 100%),
    url('../images/web_concept_BG_01.jpg') center 38% / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.2), transparent 50%, var(--bg));
}
.hero-glow { position: absolute; width: 460px; height: 460px; border-radius: 50%; right: 14%; top: 185px; background: rgba(226,36,22,.08); filter: blur(50px); }
.hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 55% 45%; align-items: center; min-height: 790px; padding-top: 85px; }
.hero-copy { padding: 70px 0 40px; }
.eyebrow, .section-kicker { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 11px; }
.eyebrow span { width: 34px; height: 1px; background: var(--gold); }
.hero h1 { margin: 17px 0 21px; max-width: 760px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(58px, 6vw, 88px); line-height: .96; font-weight: 500; letter-spacing: -.045em; text-transform: uppercase; }
.hero h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1px rgba(255,255,255,.62); }
.hero-copy > p { max-width: 570px; color: #b7b5b1; font-size: 17px; }
.hero-actions { display: flex; gap: 13px; margin-top: 32px; }
.button { min-width: 190px; padding: 15px 23px; border: 1px solid var(--line); display: inline-flex; justify-content: center; gap: 20px; align-items: center; font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.button.primary { background: linear-gradient(135deg, var(--red), var(--orange)); border-color: transparent; box-shadow: 0 10px 35px rgba(219,42,29,.24); }
.button.secondary { background: rgba(10,10,11,.5); backdrop-filter: blur(8px); }
.quick-stats { display: flex; gap: 0; margin-top: 45px; }
.quick-stats div { min-width: 145px; padding: 0 25px; border-left: 1px solid var(--line); }
.quick-stats div:first-child { padding-left: 0; border-left: 0; }
.quick-stats strong, .quick-stats span { display: block; }
.quick-stats strong { font-family: Georgia, serif; font-size: 22px; }
.quick-stats span { margin-top: 3px; color: #858488; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.hero-art { align-self: end; position: relative; min-height: 640px; display: flex; justify-content: center; align-items: flex-end; }
.hero-art img { position: relative; z-index: 2; width: min(520px, 100%); filter: drop-shadow(0 20px 40px #000); }
.hero-ring { position: absolute; z-index: 1; width: 490px; height: 490px; border: 1px solid rgba(229,68,37,.26); border-radius: 50%; bottom: 95px; box-shadow: inset 0 0 50px rgba(218,54,30,.08), 0 0 60px rgba(218,54,30,.06); }
.server-card { position: absolute; z-index: 3; right: 0; bottom: 90px; display: flex; align-items: center; gap: 12px; width: 230px; padding: 15px 17px; border: 1px solid rgba(255,255,255,.12); background: rgba(12,13,15,.87); backdrop-filter: blur(12px); box-shadow: 0 18px 55px #000; }
.online-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; background: #4bdd73; box-shadow: 0 0 10px #4bdd73; }
.server-card div { flex: 1; }
.server-card small, .server-card strong { display: block; }
.server-card small { color: #85858a; font-size: 9px; letter-spacing: .13em; }
.server-card strong { color: #68e58a; font-size: 13px; margin-top: 2px; }
.server-arrow { color: #85858a; }

.quick-links { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 0; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 25px 70px rgba(0,0,0,.38); }
.quick-card { min-height: 92px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 15px; padding: 18px 24px; border-right: 1px solid var(--line); transition: background .2s ease, transform .2s ease; }
.quick-card:last-child { border-right: 0; }
.quick-card:hover { background: #191c21; transform: translateY(-3px); }
.quick-card.red { background: linear-gradient(135deg, #b51d17, #e64a27); }
.quick-card.red:hover { background: linear-gradient(135deg, #c4241c, #f05b31); }
.quick-icon { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: #fff; font-size: 17px; }
.quick-card small, .quick-card strong { display: block; }
.quick-card small { color: rgba(255,255,255,.58); font-size: 9px; letter-spacing: .14em; }
.quick-card strong { font-family: Georgia, serif; font-size: 16px; margin-top: 3px; }
.quick-card b { font-size: 20px; font-weight: 400; }

.section { padding-block: 96px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 38px; }
.section-heading h2, .dark-section h2 { margin: 5px 0 0; font-family: Georgia, serif; font-size: 40px; font-weight: 500; }
.section-heading > a, .text-link { color: #bab9b7; border-bottom: 1px solid var(--line); padding-bottom: 5px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.section-heading > a span, .text-link span, .news-body a span { color: var(--orange); margin-left: 7px; }
.news-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; }
.featured-news, .news-list article { border: 1px solid var(--line); background: var(--panel); }
.featured-news { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 340px; }
.feature-image { position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 60% 40%, rgba(255,85,39,.5), transparent 38%), linear-gradient(135deg,#34120e,#0b0c0f 70%); }
.feature-image::before, .feature-image::after { content: ""; position: absolute; width: 210px; height: 340px; border: 1px solid rgba(255,106,42,.18); transform: rotate(35deg); }
.feature-image::after { transform: rotate(-15deg); left: -80px; }
.feature-mark { font-family: Georgia, serif; font-size: 70px; letter-spacing: -.12em; color: rgba(255,255,255,.05); text-shadow: 0 0 35px rgba(255,66,34,.3); }
.tag { position: absolute; z-index: 2; top: 17px; left: 17px; padding: 6px 9px; background: var(--red); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.news-body { padding: 36px 32px; display: flex; flex-direction: column; justify-content: center; }
.meta { display: flex; gap: 16px; align-items: center; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.meta span { color: var(--orange); }
.meta time { color: #6e6e73; }
.news-body h3 { margin: 14px 0 11px; font-family: Georgia, serif; font-size: 25px; line-height: 1.2; }
.news-body p { display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 13px; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.news-body a { margin-top: 16px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.news-list { display: grid; gap: 12px; }
.news-list article { display: grid; grid-template-columns: 66px 1fr 24px; align-items: center; min-height: 105px; padding: 15px 20px; }
.news-list time { border-right: 1px solid var(--line); }
.news-list time strong, .news-list time span { display: block; text-align: center; }
.news-list time strong { font-family: Georgia, serif; font-size: 25px; }
.news-list time span { color: #76767a; font-size: 9px; letter-spacing: .1em; }
.news-list article > div { padding-inline: 20px; }
.news-list article div > span { font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.news-list .notice { color: #dc5a4d; }.news-list .event { color: #d6ad69; }.news-list .update { color: #4da6dc; }
.news-list h3 { margin: 4px 0 2px; font-family: Georgia, serif; font-size: 16px; }
.news-list p { overflow: hidden; margin: 0; color: #77787d; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.news-list article > a { color: var(--orange); font-size: 17px; }

.dark-section { padding-block: 100px; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(9,10,12,.92),rgba(14,16,20,.9)), url('../images/bgSub09.jpg') center/cover; }
.split-layout { display: grid; grid-template-columns: 1fr 410px; gap: 100px; align-items: center; }
.section-copy { max-width: 520px; color: var(--muted); font-size: 14px; }
.tabs { display: flex; gap: 8px; margin: 27px 0 15px; }
.tabs button, .tabs a { color: #88898e; border: 1px solid var(--line); background: transparent; padding: 8px 16px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }
.tabs button.selected, .tabs a.selected { color: #fff; border-color: var(--red); background: rgba(205,44,31,.14); }
.ranking-list { list-style: none; margin: 0 0 23px; padding: 0; }
.ranking-list li { display: grid; grid-template-columns: 32px 40px 1fr auto; gap: 14px; align-items: center; padding: 13px 12px; border-bottom: 1px solid var(--line); }
.ranking-list li > b { color: var(--gold); font-family: Georgia, serif; font-size: 18px; text-align: center; }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg,#44251e,#17191d); color: #d48a66; font-size: 12px; font-weight: 800; }
.ranking-list strong, .ranking-list small { display: block; }
.ranking-list strong { font-size: 13px; }.ranking-list small { color: #75767b; font-size: 10px; }
.ranking-list em { color: #bdbbb7; font-size: 11px; font-style: normal; }
.server-panel { padding: 28px; border: 1px solid rgba(255,255,255,.12); background: rgba(16,18,22,.91); box-shadow: 0 25px 70px rgba(0,0,0,.3); }
.panel-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.panel-top div { display: flex; align-items: center; gap: 10px; color: #b7b8bc; font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.panel-top > strong { color: #61d87f; font-size: 10px; }
.server-panel h3 { font-family: Georgia, serif; font-size: 23px; font-weight: 500; }
.server-panel dl div { display: flex; justify-content: space-between; padding: 9px 0; }
.server-panel dt { color: #85868b; font-size: 12px; }.server-panel dd { margin: 0; font-family: Georgia, serif; font-size: 14px; }
.population { margin-top: 17px; }.population > span { height: 4px; display: block; background: #2b2d31; }.population i { display: block; width: 78%; height: 100%; background: linear-gradient(90deg,var(--red),var(--orange)); }
.population small { display: block; margin-top: 8px; color: #77787d; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }

.content-empty { display: flex; min-height: 105px; flex-direction: column; justify-content: center; padding: 24px; border: 1px solid var(--line); background: var(--panel); }
.content-empty strong { font-family: Georgia, serif; font-size: 18px; font-weight: 500; }
.content-empty span { margin-top: 5px; color: var(--muted); font-size: 12px; }
.content-empty a { margin-top: 18px; color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.content-empty-large { min-height: 240px; align-items: center; text-align: center; }
.ranking-empty { margin: 22px 0; background: rgba(17,19,23,.72); }
.is-offline .online-dot, .online-dot.is-offline { background: #db3d33; box-shadow: 0 0 10px #db3d33; }
.server-card.is-offline strong, .panel-top > strong.is-offline { color: #ee5b51; }
.panel-top > strong.is-online { color: #61d87f; }

.path-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.path-grid article { position: relative; min-height: 230px; padding: 30px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(145deg,#15171b,#0d0e11); }
.path-grid article > span { position: absolute; right: 16px; top: -21px; color: rgba(255,255,255,.025); font-family: Georgia,serif; font-size: 100px; }
.path-grid h3 { margin: 22px 0 10px; font-family: Georgia,serif; font-size: 21px; }.path-grid p { max-width: 270px; color: var(--muted); font-size: 13px; }.path-grid a { position: absolute; bottom: 27px; color: var(--orange); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }

footer { padding: 65px 0 20px; border-top: 1px solid var(--line); background: #070708; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 65px; }
.footer-brand img { width: 160px; }.footer-brand p { color: #68696d; font-size: 12px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 10px; }
.footer-grid strong { color: #c4c2bd; margin-bottom: 5px; font-size: 10px; letter-spacing: .13em; }.footer-grid a { color: #77787c; font-size: 12px; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 18px; border-top: 1px solid var(--line); color: #4f5054; font-size: 10px; }

@media (max-width: 980px) {
  .nav-wrap { grid-template-columns: 180px 1fr auto; }
  .account-link { display: none; }
  .main-nav { gap: 17px; }.main-nav a { font-size: 11px; }
  .hero-layout { grid-template-columns: 58% 42%; }
  .hero-ring { width: 380px; height: 380px; }
  .server-card { right: 0; }
  .news-grid { grid-template-columns: 1fr; }
  .split-layout { gap: 45px; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .site-header { height: 72px; }
  .nav-wrap { width: calc(100% - 28px); grid-template-columns: 1fr auto auto; }
  .header-tools { grid-column: 2; grid-row: 1; }
  .menu-button { grid-column: 3; grid-row: 1; }
  .lang-switch { margin-right: 0; }
  .brand img { width: 145px; }
  .menu-button { display: block; }
  .main-nav { position: absolute; display: none; inset: 72px 0 auto; height: auto; padding: 18px 22px 24px; align-items: stretch; flex-direction: column; background: rgba(8,9,11,.98); border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .main-nav a.active::after { display: none; }
  .hero { min-height: 850px; }
  .hero-layout { min-height: 850px; grid-template-columns: 1fr; align-content: start; padding-top: 130px; }
  .hero-copy { padding: 30px 0 40px; }
  .hero h1 { font-size: clamp(43px,13vw,62px); }
  .hero-copy > p { font-size: 14px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { min-width: 0; }
  .quick-stats { justify-content: space-between; }
  .quick-stats div { min-width: 0; padding: 0 12px; }.quick-stats strong { font-size: 17px; }.quick-stats span { font-size: 8px; }
  .hero-art { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 420px; min-height: 350px; opacity: .56; }
  .hero-art img { width: 350px; }.hero-ring { width: 330px; height: 330px; bottom: 10px; }.server-card { display: none; }
  .quick-links { grid-template-columns: 1fr; margin-top: 0; }.quick-card { border-right: 0; border-bottom: 1px solid var(--line); }.quick-card:last-child { border-bottom: 0; }
  .section { padding-block: 70px; }.section-heading { align-items: start; gap: 15px; }.section-heading h2, .dark-section h2 { font-size: 32px; }.section-heading > a { margin-top: 12px; font-size: 9px; white-space: nowrap; }
  .featured-news { grid-template-columns: 1fr; }.feature-image { min-height: 220px; }
  .news-list article { grid-template-columns: 55px 1fr 18px; padding: 13px 10px; }.news-list article > div { padding-inline: 12px; }.news-list p { display: none; }
  .dark-section { padding-block: 70px; }.split-layout { grid-template-columns: 1fr; gap: 45px; }
  .path-grid { grid-template-columns: 1fr; }.path-grid article { min-height: 205px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }.footer-brand { grid-column: 1 / -1; }.footer-bottom { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
/* Language switch in the header, and CJK-friendly fonts when the page is Traditional Chinese. */
.lang-switch { display:inline-flex; align-items:center; margin-right:14px; border:1px solid rgba(255,255,255,.18); border-radius:7px; overflow:hidden; font-size:12px; font-weight:700; }
.lang-switch a { padding:6px 10px; color:#c9c2bc; text-decoration:none; line-height:1.2; }
.lang-switch a:hover { color:#fff; background:rgba(255,255,255,.08); }
.lang-switch a.active { color:#fff; background:linear-gradient(110deg,#e33b1e,#ff6935); }
@media(max-width:900px) { .lang-switch { margin-right:8px; } }
html[lang='zh-Hant'] body { font-family:Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', 'Microsoft JhengHei', 'PingFang TC', 'Noto Sans TC', sans-serif; }
html[lang='zh-Hant'] h1, html[lang='zh-Hant'] h2, html[lang='zh-Hant'] h3 { letter-spacing:0; }
html[lang='zh-Hant'] .hero h1 { letter-spacing:0; line-height:1.15; font-size:clamp(44px,5vw,72px); }
.header-tools { justify-self: end; display: flex; align-items: center; gap: 4px; }
