html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

/* 全局样式 */
:root {
  --color-main: #0f172a;
  --color-label: #fff;
  --color-highlight: #39ff14;
  --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --color-red-500: #ef4444;
  --color-amber-700: #b45309;
  --color-black: #000;
  --color-white: #fff;
  --spacing: .25rem;
  --container-3xl: 48rem;
  --text-sm: .875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --radius-md: .375rem;
  --radius-lg: .5rem;
  --radius-2xl: 1rem;
  --drop-shadow-lg: 0 4px 4px #00000026;
  --animate-pulse: pulse 2s cubic-bezier(.4,0,.6,1) infinite;
  --blur-lg: 16px;
  --default-transition-duration: .15s;
  --default-transition-timing-function: cubic-bezier(.4,0,.2,1);
  --default-font-family: var(--font-sans);
  --default-mono-font-family: var(--font-mono);
}

/* IE11 兼容性 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  :root {
    --color-red-500: #ef4444;
    --color-amber-700: #b45309;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 导航栏全局强制样式 */
nav, nav ul, nav li, nav a, nav button {
  box-sizing: border-box !important;
}

nav ul {
  display: flex !important;
  flex-direction: row !important;
}

nav li {
  display: inline-block !important;
}

nav a, nav button {
  display: inline-block !important;
}

html {
  background-color: var(--color-main);
  color: var(--color-label);
  scroll-behavior: smooth;
  font-family: var(--default-font-family);
  line-height: 1.5;
}

section {
  width: 100%;
 
  display: -ms-flexbox;
  display: flex;
}

/* 导航栏样式 */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 3.5rem;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-align: center;
  align-items: center;
  background-color: var(--color-main);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 999;
}

nav ul {
  display: -ms-flexbox;
  display: flex;
  flex-direction: row;
  -ms-flex-align: center;
  align-items: center;
  list-style: none;
}

nav li {
  margin: 0;
  position: relative;
  display: inline-block;
}

nav img {
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 1rem;
}

nav a, nav button {
  display: inline-block;
  height: 3rem;
  padding: 0.75rem 1.5rem;
  transition: all 0.15s ease;
  text-decoration: none;
  color: var(--color-label);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

nav a:hover, nav button:hover {
  background-color: var(--color-highlight);
  color: var(--color-main);
}

nav a.active, nav a:focus {
  background-color: rgba(57, 255, 20, 0.1);
  background-color: color-mix(in oklab, transparent 10%, var(--color-highlight));
  color: var(--color-main);
}

/* 导航栏响应式适配 */
@media (max-width: 768px) {
  nav {
    height: auto !important;
    min-height: 3.5rem;
    padding: 0.5rem 0;
  }
  
  nav ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0.25rem;
  }
  
  nav li {
    display: inline-block !important;
  }
  
  nav img {
    width: 1.25rem;
    height: 1.25rem;
    margin: 0 0.5rem;
  }
  
  nav a, nav button {
    display: inline-block !important;
    height: auto !important;
    padding: 0.4rem 0.6rem !important;
    font-size: 0.8125rem;
  }
}

@media (max-width: 480px) {
  nav a, nav button {
    padding: 0.35rem 0.5rem !important;
    font-size: 0.75rem;
  }
}

/* 用户菜单样式 */
.user-menu-container {
  position: relative;
}

.user-avatar-wrapper {
  cursor: pointer;
  position: relative;
}

.user-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 1rem;
  transition: all 0.15s ease;
}

.user-avatar:hover {
  border: 2px solid var(--color-highlight);
}

.user-menu-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--color-main);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  min-width: 120px;
  z-index: 1000;
  display: none;
  margin-top: 0.5rem;
}

.user-menu-container:hover .user-menu-dropdown {
  display: block;
}

.user-menu-dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  height: auto;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-menu-dropdown a:last-child {
  border-bottom: none;
}

.user-menu-dropdown a:hover {
  background-color: var(--color-highlight);
  color: var(--color-main);
}

/* 登录注册按钮样式已移至 login-btn.css */

/* 发布按钮样式 */
.publish-btn {
  background-color: var(--color-highlight);
  color: var(--color-main);
  border-radius: 4px;
  margin: 0 1rem;
}

.publish-btn:hover {
  background-color: rgba(57, 255, 20, 0.8);
}

/* 英雄区域样式 */
#hero {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column-reverse;
  flex-direction: column-reverse;
  -ms-flex-pack: center;
  justify-content: center;
  padding-top: 3rem;
}

@media (min-width: 1280px) {
  #hero {
    -ms-flex-direction: row;
    flex-direction: row;
  }
}

#hero svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
}

#hero .container {
  width: 100%;
  height: 100%;
  z-index: 10;
}

@media (min-width: 1280px) {
  #hero .container {
    width: 60%;
  }
}

#hero .content {
  position: relative;
  width: 100%;
  height: 50%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  z-index: 10;
}

@media (min-width: 1280px) {
  #hero .content {
    width: 40%;
    height: 100%;
    -ms-flex-align: start;
    align-items: flex-start;
  }
}

#hero .warning {
  position: absolute;
  top: 33.3333%;
  right: 16.6667%;
  transform: translateY(-50%);
  rotate: 15deg;
  font-size: 1.5rem;
  color: var(--color-red-500);
  font-weight: bold;
  font-family: var(--font-serif);
  animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite;
}

#hero h1 {
  font-weight: bold;
  background-image: linear-gradient(to bottom, #fff, var(--color-highlight));
  background-clip: text;
  color: transparent;
}

#hero h1 span {
  font-size: 1.25rem;
  font-family: var(--font-serif);
}

#hero p {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  font-size: 1.25rem;
}

/* IE11 gap 兼容性 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  #hero p {
    margin-right: -1rem;
  }
  #hero p span {
    margin-right: 1rem;
  }
}

#hero p span {
  text-shadow: 0 0 5px var(--color-highlight);
}

#hero .hero-link {
  width: fit-content;
  padding: 1rem 2rem;
  border: 1px solid var(--color-highlight);
  background-color: rgba(57, 255, 20, 0.1);
  background-color: color-mix(in oklab, var(--color-highlight) 10%, transparent);
  color: var(--color-label);
  text-decoration: none;
  border-radius: 9999px;
  transition: all 0.15s ease;
}

#hero .hero-link:hover {
  background-color: rgba(57, 255, 20, 0.5);
  background-color: color-mix(in oklab, var(--color-highlight) 50%, transparent);
}

/* 游戏特色样式 */
#features {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 0 4rem;
 
  margin-bottom: 2rem;
}

/* IE11 gap 兼容性 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  #features {
    margin-bottom: -2rem;
  }
  #features > * {
    margin-bottom: 2rem;
  }
}

#features svg {
  width: 1200px;
  height: 100px;
}

#features ul {
  width: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: distribute;
  justify-content: space-evenly;
  -ms-flex-align: center;
  align-items: center;
  list-style: none;
  margin-top: 0;
  margin-bottom: 0;
}

/* IE11 gap 兼容性 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  #features ul {
    margin-right: -5rem;
  }
  #features li {
    margin-right: 5rem;
  }
}

#features li {
  width: 35rem;
  height: 10rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border: 3px solid rgba(57, 255, 20, 0.4);
  border: 3px solid color-mix(in oklab, var(--color-highlight) 40%, transparent);
  border-radius: 10px;
  transition: all 0.15s ease-in-out;
}

#features li:hover {
  box-shadow: 0 0 50px 5px var(--color-highlight), 0 0 5px 1px var(--color-highlight) inset;
  border-color: var(--color-highlight);
  background-color: rgba(57, 255, 20, 0.1);
  background-color: color-mix(in oklab, var(--color-highlight) 10%, transparent);
}

#features li h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

#features li p {
  font-size: 1.125rem;
}

/* 实机演示样式 */
#screenshots {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
}

/* IE11 gap 兼容性 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  #screenshots {
    margin-bottom: -2rem;
  }
  #screenshots > * {
    margin-bottom: 2rem;
  }
}

#screenshots h2 {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-align: center;
  align-items: center;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

@media (min-width: 1280px) {
  #screenshots h2 {
    -ms-flex-direction: row;
    flex-direction: row;
  }
}

/* IE11 gap 兼容性 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  #screenshots h2 {
    margin-bottom: calc(1rem + 1rem);
  }
  #screenshots h2 > * {
    margin-bottom: 1rem;
  }
}

#screenshots h2 strong {
  font-size: 4.5rem;
  color: var(--color-highlight);
}

#screenshots .player-info {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 2rem;
  border: 1px solid var(--color-label);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 800px;
}

/* IE11 gap 兼容性 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  #screenshots .player-info {
    margin-right: -2rem;
  }
  #screenshots .player-info > * {
    margin-right: 2rem;
  }
}

#screenshots .player-info h3 {
  writing-mode: vertical-lr;
  letter-spacing: 0.5em;
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 8px var(--color-highlight);
  margin-right: 2rem;
}

#screenshots .player-info .avatar {
  width: 12rem;
  aspect-ratio: 4/5;
  border: 8px solid var(--color-amber-700);
  margin-right: 2rem;
}

#screenshots .player-info .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#screenshots .player-info ul {
  width: 21rem;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  list-style: none;
}

#screenshots .player-info li {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

#screenshots .player-info li:last-child {
  margin-bottom: 0;
}

/* IE11 gap 兼容性 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  #screenshots .player-info ul {
    margin-bottom: -2rem;
  }
  #screenshots .player-info li {
    margin-bottom: 2rem;
  }
  #screenshots .player-info li > * {
    margin-right: 0.5em;
  }
}

#screenshots a {
  padding: 0.5rem 2rem;
  border: 1px solid var(--color-highlight);
  color: var(--color-highlight);
  text-decoration: none;
  border-radius: 9999px;
  transition: all 0.15s ease;
  margin: 2rem 0;
  display: inline-block;
}

#screenshots a:hover {
  background-color: var(--color-highlight);
  color: var(--color-main);
}

#screenshots small {
  color: var(--color-highlight);
  font-weight: bold;
  animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite;
}

/* 系统要求样式 */
#requirements {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 4rem 0;
}

#requirements h2 {
  font-size: 3rem;
  font-weight: extrabold;
  color: var(--color-highlight);
  text-shadow: var(--drop-shadow-lg);
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
}

/* IE11 gap 兼容性 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  #requirements {
    margin-bottom: -3rem;
  }
  #requirements > * {
    margin-bottom: 3rem;
  }
  #requirements h2 {
    margin-right: -1rem;
  }
  #requirements h2 > * {
    margin-right: 1rem;
  }
}

#requirements h2 svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-highlight);
}

#requirements .table-container {
  width: 100%;
  max-width: 48rem;
  background-color: rgba(255, 255, 255, 0.05);
  background-color: color-mix(in oklab, var(--color-white) 5%, transparent);
  border-radius: var(--radius-2xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 现代浏览器支持 backdrop-filter */
@supports (backdrop-filter: blur(1px)) {
  #requirements .table-container {
    backdrop-filter: blur(var(--blur-lg));
  }
}

#requirements table {
  width: 100%;
  text-align: center;
  font-size: 1.125rem;
  color: var(--color-white);
}

#requirements table th {
  padding: 1rem 0.5rem;
  background-color: rgba(57, 255, 20, 0.2);
  background-color: color-mix(in oklab, var(--color-highlight) 20%, transparent);
}

#requirements table th:first-child {
  border-top-left-radius: var(--radius-2xl);
}

#requirements table th:last-child {
  border-top-right-radius: var(--radius-2xl);
}

#requirements table td {
  padding: 0.75rem 0.5rem;
}

#requirements table tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.05);
  background-color: color-mix(in oklab, var(--color-white) 5%, transparent);
}

#requirements small {
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin-top: 1rem;
  font-size: 1rem;
}

/* 常见问题样式 */
#faq {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 4rem 0;
}

/* IE11 gap 兼容性 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  #faq {
    margin-bottom: -1rem;
  }
  #faq > * {
    margin-bottom: 1rem;
  }
}

#faq h2 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

#faq p {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4rem;
}

@media (min-width: 1280px) {
  #faq p {
    margin-bottom: 0;
  }
}

#faq .faq-container {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: start;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  #faq .faq-container {
    -ms-flex-direction: row;
    flex-direction: row;
    gap: 6rem;
  }
}

/* IE11 gap 兼容性 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  #faq .faq-container {
    margin-right: -6rem;
  }
  #faq .faq-container > * {
    margin-right: 6rem;
  }
}

#faq dl {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: 3.5rem;
  font-family: var(--font-serif);
}

/* IE11 gap 兼容性 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  #faq dl {
    margin-bottom: -2rem;
  }
  #faq dt {
    margin-bottom: 2rem;
  }
}

#faq dt {
  padding-top: 2.5rem;
  border-top: 1px dashed var(--color-label);
  margin-bottom: 1rem;
}

#faq dt:first-child {
  padding-top: 0;
  border-top: none;
}

#faq dt::before {
  content: "Q: ";
  color: var(--color-label);
}

#faq dd {
  margin-bottom: 1.5rem;
}

#faq dd::before {
  content: "A: ";
  color: var(--color-label);
}

/* 页脚样式 */
footer {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

footer ul {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  list-style: none;
}

footer li {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
}

/* IE11 gap 兼容性 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  footer {
    margin-right: -4rem;
  }
  footer > * {
    margin-right: 4rem;
  }
  footer ul {
    margin-bottom: -1rem;
  }
  footer li {
    margin-bottom: 1rem;
  }
  footer li > * {
    margin-right: 0.5em;
  }
}

footer img {
  height: 1.5rem;
}

footer .miku {
  height: 8rem;
}

footer a {
  color: var(--color-label);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* 动画 */
@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}

/* 时间轴样式 */
#hero .container {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  width: 94%;
  height: 100%;
}

.timeline-container {
  flex: 0.3;
  padding: 2rem 1rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline {
  width: 100%;
  max-width: 300px;
}

.timeline-item {
  position: relative;
  padding: 1.2rem 0 1.2rem 3rem;
  border-left: 2px solid var(--color-highlight);
  margin-bottom: 1rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 2rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color-highlight);
  box-shadow: 0 0 10px var(--color-highlight);
}

.timeline-date {
  font-size: 0.875rem;
  color: var(--color-highlight);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.timeline-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-category {
  font-size: 0.75rem;
  color: var(--color-highlight);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 内容区域样式 */
#hero .content {
  flex: 0.4;
  position: relative;
  width: 100%;
  height: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  z-index: 10;
}

@media (min-width: 1280px) {
  #hero .content {
    width: 100%;
    height: 100%;
    -ms-flex-align: center;
    align-items: center;
  }
}

/* 最新文章列表样式 */
.latest-articles {
  flex: 0.3;
  padding: 2rem 1rem 2rem 0;
  margin-left: 2rem;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.latest-articles-list {
  list-style: none;
}

.latest-articles h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-highlight);
  text-shadow: 0 0 10px var(--color-highlight);
}

.latest-articles-list {
  list-style: none;
}

.latest-article-item {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.latest-article-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.latest-article-date {
  font-size: 0.75rem;
  color: var(--color-highlight);
  margin-bottom: 0.5rem;
}

.latest-article-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.latest-article-category {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

/* 响应式调整 */
@media (max-width: 1024px) {
  #hero .container {
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: center;
    align-items: center;
  }
  
  .timeline-container,
  .content,
  .latest-articles {
    flex: 1;
    width: 100%;
    max-width: 500px;
    margin-bottom: 2rem;
  }
  
  #features ul {
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: center;
    align-items: center;
  }
  
  #features li {
    width: 100%;
    max-width: 35rem;
  }
  
  #screenshots .player-info {
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
  }
  
  #screenshots .player-info h3 {
    writing-mode: horizontal-tb;
  }
  
  footer {
    -ms-flex-direction: column;
    flex-direction: column;
  }
  
  /* 时间轴响应式调整 */
  .timeline {
    padding: 1rem;
  }
  
  .timeline-item {
    padding-left: 2rem;
  }
}

/* 手机客户端响应式调整 */
@media (max-width: 768px) {
  /* 导航栏响应式 */
  nav {
    height: auto;
    padding: 0.5rem;
  }
  
  nav ul {
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: center;
    align-items: center;
    gap: 0.25rem;
  }
  
  nav li {
    margin: 0;
  }
  
  nav a, nav button {
    height: 2.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  nav img {
    margin: 0 0.5rem;
  }
  
  /* 时间轴响应式 */
  .timeline-container {
    padding: 1rem 0.5rem 1rem 0.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  
  .timeline {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 0.25rem !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  
  .timeline-item {
    padding: 0.8rem 0 0.8rem 1.5rem !important;
    margin-left: 0.25rem !important;
    box-sizing: border-box !important;
  }
  
  .timeline-item::before {
    left: -7px !important;
    top: 1.2rem !important;
    width: 12px !important;
    height: 12px !important;
  }
  
  .timeline-date {
    font-size: 0.75rem;
  }
  
  .timeline-title {
    font-size: 1rem;
  }
  
  .timeline-category {
    font-size: 0.625rem;
  }
  
  /* 手机端隐藏时间轴 */
  .timeline-container {
    display: none !important;
  }
  
  /* 英雄区域响应式 */
  #hero h1 {
    font-size: 2rem;
    text-align: center;
  }
  
  #hero h1 span {
    font-size: 0.875rem;
  }
  
  #hero p {
    font-size: 1rem;
    text-align: center;
  }
  
  #hero .hero-link {
    margin-top: 1.5rem;
  }
  
  /* 游戏特色响应式 */
  #features {
    padding: 0 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
  
  #features svg {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  
  #features li {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 1rem;
    margin: 0.75rem 0;
  }
  
  #features li h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  
  #features li p {
    font-size: 0.875rem;
  }
  
  /* 实机演示响应式 */
  #screenshots h2 {
    font-size: 1.5rem;
    text-align: center;
  }
  
  #screenshots h2 strong {
    font-size: 2rem;
  }
  
  #screenshots .player-info {
    padding: 1rem;
    width: 95%;
    margin: 0 auto;
  }
  
  #screenshots .player-info .avatar {
    width: 6rem;
    margin-right: 1rem;
  }
  
  #screenshots .player-info h3 {
    margin-right: 1rem;
    font-size: 1.25rem;
  }
  
  #screenshots .player-info ul {
    width: 100%;
  }
  
  #screenshots .player-info li {
    margin-bottom: 1rem;
  }
  
  #screenshots a {
    margin: 1.5rem 0;
  }
  
  /* 系统要求响应式 */
  #requirements h2 {
    font-size: 1.5rem;
    text-align: center;
  }
  
  #requirements .table-container {
    padding: 1rem;
    width: 95%;
    overflow-x: auto;
  }
  
  #requirements table {
    font-size: 0.875rem;
  }
  
  #requirements table th,
  #requirements table td {
    padding: 0.5rem;
  }
  
  #requirements small {
    font-size: 0.875rem;
  }
  
  /* 常见问题响应式 */
  #faq h2 {
    font-size: 1.5rem;
    text-align: center;
  }
  
  #faq p {
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  #faq .faq-container {
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 2rem;
    width: 95%;
  }
  
  #faq dl {
    margin-top: 2rem;
  }
  
  #faq dt {
    padding-top: 2rem;
    margin-bottom: 0.75rem;
  }
  
  #faq dd {
    margin-bottom: 1rem;
  }
  
  /* 百科页面响应式 */
  .encyclopedia-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    padding: 1rem !important;
  }
  
  .encyclopedia-item {
    height: auto !important;
    min-height: 250px;
    padding: 0.75rem !important;
  }
  
  .encyclopedia-item h3 {
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .encyclopedia-item p {
    font-size: 0.75rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .encyclopedia-item .date {
    font-size: 0.625rem !important;
  }
  
  /* 百科内容页响应式 */
  #encyclopedia-detail .container {
    max-width: 95% !important;
    padding: 1rem !important;
  }
  
  #encyclopedia-detail h2 {
    font-size: 1.5rem !important;
    text-align: center;
  }
  
  #encyclopedia-detail .container > div {
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 1rem !important;
  }
  
  #encyclopedia-detail .container > div > div:first-child {
    flex: 0 0 100% !important;
    margin-bottom: 1rem;
  }
  
  #encyclopedia-detail .container > div > div:first-child img {
    width: 100% !important;
    height: auto !important;
  }
  
  #encyclopedia-detail .container > div > div:last-child {
    flex: 1 !important;
  }
  
  #encyclopedia-detail .container > div > div:last-child p {
    font-size: 0.875rem !important;
  }
  
  /* 评论区域响应式 */
  #comments-section {
    padding: 1rem !important;
  }
  
  #comments-section h3 {
    font-size: 1.25rem !important;
  }
  
  .comment-item {
    padding: 0.75rem !important;
  }
  
  .comment-item .comment-content {
    font-size: 0.875rem !important;
  }
  
  .comment-item .comment-meta {
    font-size: 0.75rem !important;
  }
  
  #comment-form {
    padding: 1rem !important;
  }
  
  #comment-form textarea {
    width: 100% !important;
    font-size: 0.875rem !important;
  }
  
  #comment-form button {
    font-size: 0.875rem !important;
    padding: 0.75rem 1.5rem !important;
  }
  
  /* 后台管理页面响应式 */
  .header-nav {
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-align: center;
    align-items: center;
    padding: 1rem;
  }
  
  .header-nav a {
    margin: 0.25rem 0;
    font-size: 0.875rem;
  }
  
  .card {
    margin: 1rem;
    padding: 1rem;
  }
  
  .card h2 {
    font-size: 1.25rem;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-group label {
    font-size: 0.875rem;
  }
  
  .form-group input,
  .form-group textarea {
    font-size: 0.875rem;
  }
  
  .data-table {
    font-size: 0.75rem;
    overflow-x: auto;
  }
  
  .data-table th,
  .data-table td {
    padding: 0.5rem;
  }
  
  .btn {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }
  
  /* 评论管理模态框响应式 */
  #comments-modal > div {
    width: 95% !important;
    max-height: 90vh !important;
    padding: 1rem !important;
  }
  
  #comments-modal h3 {
    font-size: 1.25rem !important;
  }
  
  #comments-modal .data-table {
    font-size: 0.75rem !important;
  }
  
  #comments-modal .btn {
    font-size: 0.75rem !important;
    padding: 0.5rem 1rem !important;
  }
  /* 最新文章和时间轴响应式 */
  .timeline-container,
  .latest-articles {
    padding: 1rem;
    margin: 0;
    max-width: 100%;
    width: 100%;
  }
  
  .timeline {
    width: 100%;
  }
  
  .timeline-item {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .timeline-date {
    font-size: 0.75rem;
  }
  
  .timeline-title {
    font-size: 0.875rem;
  }
  
  .timeline-category {
    font-size: 0.625rem;
  }
  
  .latest-articles h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .latest-article-item {
    padding: 0.5rem 0;
    margin-bottom: 0.75rem;
  }
  
  .latest-article-date {
    font-size: 0.625rem;
  }
  
  .latest-article-title {
    font-size: 0.875rem;
  }
  
  .latest-article-category {
    font-size: 0.625rem;
  }
  
  /* 最新文章和时间轴响应式 */
  .timeline-container,
  .latest-articles {
    padding: 1rem;
    margin: 0;
    max-width: 100%;
  }
  
  .timeline {
    width: 100%;
  }
  
  .timeline-item {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .timeline-date {
    font-size: 0.75rem;
  }
  
  .timeline-title {
    font-size: 0.875rem;
  }
  
  .timeline-category {
    font-size: 0.625rem;
  }
  
  .latest-articles h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .latest-article-item {
    padding: 0.5rem 0;
    margin-bottom: 0.75rem;
  }
  
  .latest-article-date {
    font-size: 0.625rem;
  }
  
  .latest-article-title {
    font-size: 0.875rem;
  }
  
  .latest-article-category {
    font-size: 0.625rem;
  }
  
  /* 最新文章和时间轴响应式 */
  .timeline-container,
  .latest-articles {
    padding: 1rem;
    margin: 0;
    max-width: 100%;
  }
  
  .timeline {
    width: 100%;
  }
  
  .timeline-item {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .timeline-date {
    font-size: 0.75rem;
  }
  
  .timeline-title {
    font-size: 0.875rem;
  }
  
  .timeline-category {
    font-size: 0.625rem;
  }
  
  .latest-articles h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .latest-article-item {
    padding: 0.5rem 0;
    margin-bottom: 0.75rem;
  }
  
  .latest-article-date {
    font-size: 0.625rem;
  }
  
  .latest-article-title {
    font-size: 0.875rem;
  }
  
  .latest-article-category {
    font-size: 0.625rem;
  }
}

/* 小屏幕手机响应式调整 */
@media (max-width: 480px) {
  /* 全局字体大小调整 */
  html {
    font-size: 13px;
  }
  
  /* 导航栏调整 */
  nav {
    padding: 0.25rem;
  }
  
  nav img {
    margin: 0 0.25rem;
    width: 1.25rem;
    height: 1.25rem;
  }
  
  nav a, nav button {
    height: 2rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
  }
  
  /* 英雄区域调整 */
  #hero h1 {
    font-size: 1.5rem;
  }
  
  #hero h1 span {
    font-size: 0.75rem;
  }
  
  #hero p {
    font-size: 0.875rem;
  }
  
  #hero .hero-link {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
  
  /* 游戏特色调整 */
  #features {
    padding: 0 0.5rem;
  }
  
  #features li {
    padding: 0.75rem;
    margin: 0.5rem 0;
  }
  
  #features li h3 {
    font-size: 1.125rem;
  }
  
  #features li p {
    font-size: 0.75rem;
  }
  
  /* 实机演示调整 */
  #screenshots h2 {
    font-size: 1.25rem;
  }
  
  #screenshots h2 strong {
    font-size: 1.5rem;
  }
  
  #screenshots .player-info {
    padding: 0.75rem;
  }
  
  #screenshots .player-info .avatar {
    width: 5rem;
  }
  
  #screenshots .player-info h3 {
    font-size: 1rem;
  }
  
  #screenshots .player-info li {
    font-size: 0.75rem;
  }
  
  #screenshots a {
    padding: 0.25rem 1rem;
    font-size: 0.75rem;
  }
  
  /* 系统要求调整 */
  #requirements h2 {
    font-size: 1.25rem;
  }
  
  #requirements .table-container {
    padding: 0.75rem;
  }
  
  #requirements table {
    font-size: 0.75rem;
  }
  
  #requirements table th,
  #requirements table td {
    padding: 0.25rem;
  }
  
  /* 常见问题调整 */
  #faq h2 {
    font-size: 1.25rem;
  }
  
  #faq p {
    font-size: 0.75rem;
  }
  
  #faq .faq-container {
    gap: 1rem;
  }
  
  #faq dt {
    padding-top: 1.5rem;
  }
  
  #faq dt,
  #faq dd {
    font-size: 0.75rem;
  }
  
  /* 百科页面调整 */
  .encyclopedia-grid {
    gap: 0.75rem !important;
    padding: 0.75rem !important;
  }
  
  .encyclopedia-item {
    padding: 0.5rem !important;
    min-height: 200px;
  }
  
  .encyclopedia-item h3 {
    font-size: 0.875rem !important;
  }
  
  .encyclopedia-item p {
    font-size: 0.625rem !important;
  }
  
  /* 百科内容页调整 */
  #encyclopedia-detail h2 {
    font-size: 1.25rem !important;
  }
  
  #encyclopedia-detail .container {
    padding: 0.75rem !important;
  }
  
  #encyclopedia-detail .container > div {
    padding: 0.75rem !important;
  }
  
  #encyclopedia-detail .container > div > div:last-child p {
    font-size: 0.75rem !important;
  }
  
  /* 评论区域调整 */
  #comments-section {
    padding: 0.75rem !important;
  }
  
  #comments-section h3 {
    font-size: 1rem !important;
  }
  
  .comment-item {
    padding: 0.5rem !important;
  }
  
  .comment-item .comment-content {
    font-size: 0.75rem !important;
  }
  
  #comment-form {
    padding: 0.75rem !important;
  }
  
  #comment-form textarea {
    font-size: 0.75rem !important;
  }
  
  #comment-form button {
    font-size: 0.75rem !important;
    padding: 0.5rem 1rem !important;
  }
  
  /* 后台管理页面调整 */
  .header-nav {
    padding: 0.75rem;
  }
  
  .header-nav a {
    font-size: 0.75rem;
  }
  
  .card {
    margin: 0.75rem;
    padding: 0.75rem;
  }
  
  .card h2 {
    font-size: 1rem;
  }
  
  .form-group label {
    font-size: 0.75rem;
  }
  
  .form-group input,
  .form-group textarea {
    font-size: 0.75rem;
  }
  
  .data-table {
    font-size: 0.625rem;
  }
  
  .btn {
    font-size: 0.625rem;
    padding: 0.25rem 0.75rem;
  }
  
  /* 评论管理模态框调整 */
  #comments-modal > div {
    padding: 0.75rem !important;
  }
  
  #comments-modal h3 {
    font-size: 1rem !important;
  }
  
  #comments-modal .data-table {
    font-size: 0.625rem !important;
  }
  
  /* 最新文章和时间轴调整 */
  .timeline-container,
  .latest-articles {
    padding: 0.75rem;
    width: 100%;
  }
  
  .timeline-item {
    padding-left: 1.25rem;
  }
  
  .timeline-item::before {
    width: 12px;
    height: 12px;
    left: -6px;
  }
  
  /* 最新文章和时间轴调整 */
  .timeline-container,
  .latest-articles {
    padding: 0.75rem;
  }
  
  .timeline-item {
    padding-left: 1.25rem;
  }
  
  .timeline-item::before {
    width: 12px;
    height: 12px;
    left: -6px;
  }
  
  /* 最新文章和时间轴调整 */
  .timeline-container,
  .latest-articles {
    padding: 0.75rem;
  }
  
  .timeline-item {
    padding-left: 1.25rem;
  }
  
  .timeline-item::before {
    width: 12px;
    height: 12px;
    left: -6px;
  }
  
  .latest-articles h3 {
    font-size: 1rem;
  }
}

/* IE11 时间轴和最新文章兼容性 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  #hero .container {
    display: -ms-flexbox;
    -ms-flex-direction: row;
    -ms-flex-align: start;
    -ms-flex-pack: justify;
  }
  
  .timeline-container,
  .latest-articles {
    -ms-flex: 1;
  }
}

/* 重大事件时间轴样式 */
.timeline-container {
  flex: 1;
  min-width: 700px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: -50px;
  align-items: center;
}

.timeline-container h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-highlight);
  text-shadow: 0 0 10px var(--color-highlight);
  text-align: center;
  width: 100%;
}

.new-timeline {
  flex: 1;
  position: relative;
  padding: 20px 0;
  width: 100%;
}

.new-timeline .timeline-center-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0.3));
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-event {
  position: relative;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  width: 100%;
}

.timeline-event .timeline-left-content {
  flex: 1;
  padding-right: 180px;
  text-align: right;
  position: relative;
}

.timeline-event .timeline-right-content {
  flex: 1;
  padding-left: 180px;
  position: relative;
}

.timeline-event .timeline-content {
  background: transparent;
  border: 1px solid #fff;
  border-radius: 0;
  padding: 12px 15px;
  display: inline-block;
  text-align: left;
  max-width: 90%;
  min-width: 200px;
  /*min-height: 80px;*/
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.timeline-event .timeline-content:hover {
  border-color: var(--color-highlight);
}

.timeline-event .timeline-content h4 {
  margin: 0;
  font-size: 0.85rem;
  font-weight: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.timeline-event .timeline-content h4 a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.timeline-event .timeline-content h4 a:hover {
  color: var(--color-highlight);
}

.timeline-event .timeline-line {
  position: absolute;
  top: 50%;
  width: 90px;
  height: 2px;
  background: #fff;
  transform: translateY(-50%);
}

.timeline-event .timeline-left-content .timeline-line {
  right: 90px;
}

.timeline-event .timeline-right-content .timeline-line {
  left: 90px;
}

.timeline-event .timeline-dot {
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
}

.timeline-event .timeline-left-content .timeline-dot {
  right: 90px;
}

.timeline-event .timeline-right-content .timeline-dot {
  left: 90px;
}

.timeline-event .timeline-date {
  position: absolute;
  left: 50%;
  width: 80px;
  height: 40px;
  border-radius: 20px;
  background: transparent;
  transform: translateX(-50%);
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: normal;
  font-size: 0.7rem;
  transition: all 0.3s ease;
  z-index: 10;
}

.timeline-event .timeline-date:hover {
  border-color: var(--color-highlight);
  color: var(--color-highlight);
}

.timeline-event .timeline-date-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: #000;
  z-index: -1;
}

.timeline-more-events {
  text-align: center;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
}

.timeline-more-events a {
  padding: 0.4rem 1.5rem;
  border: 1px solid var(--color-highlight);
  color: var(--color-highlight);
  text-decoration: none;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.15s ease;
  margin: 1.5rem 0;
  display: inline-block;
  font-size: 0.8rem;
}

.timeline-more-events a:hover {
  background-color: var(--color-highlight);
  color: var(--color-main);
}

/* 最新文章列表样式 */
.latest-articles-container {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  /*background: rgba(0, 0, 0, 0.3); */
  margin-top: 1.5rem;
}

.latest-articles-container h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: var(--color-highlight);
  text-shadow: 0 0 10px var(--color-highlight);
  text-align: center;
  width: 100%;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
}

.article-item {
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.article-item:hover {
  border-color: var(--color-highlight);
  background: rgba(57, 255, 20, 0.1);
}

.article-item a {
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
}

.article-item a:hover {
  color: var(--color-highlight);
}

.articles-more {
  text-align: center;
  width: 100%;
  margin-top: 1rem;
}

.articles-more a {
  padding: 0.3rem 1rem;
  border: 1px solid var(--color-highlight);
  color: var(--color-highlight);
  text-decoration: none;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.15s ease;
  display: inline-block;
  font-size: 0.75rem;
}

.articles-more a:hover {
  background-color: var(--color-highlight);
  color: var(--color-main);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .latest-articles-container {
    min-width: 100%;
    padding: 1rem;
    margin-top: 1.5rem;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .article-item {
    padding: 0.7rem;
  }
  
  .article-item a {
    font-size: 0.8rem;
  }
}
