:root { --header-offset: 120px; --primary: #FF8C1A; --primary-light: #FFA53A; --deep-orange: #D96800; --card-bg: #17191F; --bg-dark: #0D0E12; --text-main: #FFF3E6; --border-color: #A84F0C; --glow: #FFB04D; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background-color: var(--bg-dark); color: var(--text-main); padding-top: var(--header-offset); line-height: 1.5; }
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: #12141A; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7), 0 0 12px rgba(255, 140, 26, 0.3); }
.header-top { background-color: #0B0C10; border-bottom: 2px solid var(--deep-orange); }
.header-container { max-width: 1260px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 12px 30px; gap: 20px; }
.logo { font-size: 2.2rem; font-weight: 900; text-decoration: none; color: var(--primary-light); text-shadow: 0 0 10px rgba(255, 165, 58, 0.7); animation: logoGlow 3s infinite alternate; font-family: 'Arial Black', Impact, sans-serif; }
.logo:hover { color: #ffbe6b; text-shadow: 0 0 20px #ffb347; }
@keyframes logoGlow { from { text-shadow: 0 0 5px #ff9d2e; } to { text-shadow: 0 0 20px #ffb04d; } }
.desktop-nav-buttons { display: flex; gap: 12px; align-items: center; }
.btn { display: inline-flex; text-decoration: none; font-weight: bold; border-radius: 30px; padding: 10px 20px; transition: all 0.2s ease; cursor: pointer; border: none; font-size: 0.95rem; line-height: 1.2; background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); color: #fff; box-shadow: 0 2px 8px rgba(255, 138, 0, 0.4); }
.btn:hover { transform: scale(1.03); filter: brightness(1.15); box-shadow: 0 0 15px rgba(255, 160, 0, 0.7); }
.btn-register, .btn-login, .btn-download { background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); }
.btn-login { background: #1f2128; border: 2px solid var(--primary); box-shadow: 0 0 8px rgba(255, 140, 26, 0.3); }
.btn-download { background: #d96800; }
.main-nav { background-color: #17191F; border-bottom: 1px solid var(--border-color); width: 100%; display: flex; }
.nav-container { max-width: 1260px; margin: 0 auto; display: flex; flex-direction: row; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px; padding: 6px 20px; }
.nav-link { color: #ffe6cc; text-decoration: none; padding: 10px 15px; font-size: 1rem; font-weight: 500; border-radius: 25px; transition: all 0.15s; white-space: nowrap; border-bottom: 2px solid transparent; }
.nav-link:hover, .nav-link.active { color: #fff; background-color: rgba(255, 140, 26, 0.15); text-shadow: 0 0 5px rgba(255, 166, 0, 0.5); }
.nav-link.active { border-bottom-color: var(--primary); }
.mobile-nav-buttons { display: none; }
.hamburger-menu { display: none; background: transparent; border: none; cursor: pointer; padding: 5px; }
.mobile-menu-overlay { display: none; }
.page-content { padding: 20px; }
@media (max-width: 768px) {
  :root { --header-offset: 108px; }
  body { padding-top: var(--header-offset); }
  .page-content img { max-width: 100% !important; height: auto !important; display: block; }
  .page-content { overflow-x: hidden; max-width: 100%; }
  body { overflow-x: hidden; }
  .header-container { width: 100%; max-width: none; padding: 8px 16px; gap: 10px; flex-wrap: wrap; }
  .header-top { border-bottom-width: 1px; }
  .logo { font-size: 1.6rem; order: 2; margin-right: auto; margin-left: auto; flex: 2; text-align: center; }
  .desktop-nav-buttons { display: none; }
  .hamburger-menu { display: flex; order: 1; flex-direction: column; gap: 5px; background: transparent; border: none; padding: 6px; z-index: 1003; align-items: center; justify-content: center; width: 44px; height: 40px; }
  .hamburger-line { width: 28px; height: 3px; background: linear-gradient(90deg, #FFA53A, #FF8C1A); border-radius: 3px; transition: all 0.3s ease; }
  .hamburger-menu.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(6px, 5px); }
  .hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; }
  .hamburger-menu.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(6px, -5px); }
  .main-nav { position: fixed; top: 0; left: 0; height: 100vh; height: 100dvh; width: 280px; max-width: 80%; background-color: #17191F; flex-direction: column; align-items: stretch; justify-content: flex-start; z-index: 1002; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; border-right: 2px solid var(--primary); box-shadow: 4px 0 15px rgba(0, 0, 0, 0.6); }
  .main-nav.active { transform: translateX(0); }
  .main-nav .nav-container { flex-direction: column; align-items: stretch; justify-content: flex-start; width: 100%; max-width: none; padding: 15px 8px; gap: 2px; }
  .nav-link { display: block; padding: 14px 20px; font-size: 1.1rem; border-radius: 8px; border-left: 4px solid transparent; }
  .nav-link:hover, .nav-link.active, .nav-link:focus { background-color: rgba(255, 140, 26, 0.2); border-left-color: var(--primary); }
  .mobile-nav-buttons { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: space-around; gap: 8px; padding: 8px 12px; background-color: #0f1014; border-bottom: 1px solid #343a44; order: 3; flex-basis: 100%; }
  .mobile-nav-buttons .btn { padding: 8px 12px; font-size: 0.85rem; margin: 0; flex: 1; min-width: 90px; justify-content: center; text-align: center; border-radius: 25px; }
  .mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 1001; }
  .mobile-menu-overlay.active { display: block; }
}
@media (min-width: 769px) { .mobile-nav-buttons { display: none; } }
.site-footer { background-color: #101116; color: #ccc; border-top: 2px solid var(--deep-orange); margin-top: 40px; padding: 40px 0 0; }
.footer-container { max-width: 1260px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1.5fr 1.2fr; gap: 40px; padding: 20px 30px 30px; }
.footer-brand .footer-logo { font-size: 2rem; font-weight: 900; color: var(--primary-light); text-decoration: none; text-shadow: 0 0 8px rgba(255, 166, 0, 0.6); }
.footer-description { color: #aab; margin-top: 15px; font-size: 0.95rem; }
.footer-heading { font-size: 1.1rem; color: var(--primary-light); margin-bottom: 20px; position: relative; padding-bottom: 8px; border-bottom: 2px solid var(--border-color); display: inline-block; }
.footer-links .footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: #ccc; text-decoration: none; transition: color 0.2s; font-size: 0.95rem; }
.footer-nav a:hover { color: var(--primary-light); text-decoration: underline; }
.footer-contact p { margin-bottom: 12px; font-size: 0.95rem; }
.footer-bottom { background-color: #08090b; border-top: 1px solid var(--border-color); text-align: center; padding: 15px 10px; font-size: 0.9rem; color: #999; }
.footer-bottom p { margin: 5px 0; }
@media (max-width: 768px) {
  .footer-container { grid-template-columns: 1fr; gap: 25px; padding: 20px 15px; text-align: left; }
  .footer-heading { font-size: 1rem; }
}
body.no-scroll { overflow: hidden; }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@media (max-width: 768px) {
  .page-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-content {
    overflow-x: hidden;
    max-width: 100%;
  }
  body {
    overflow-x: hidden;
  }
}
/* 内容保护（系统追加，请勿删除） */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input, textarea, select, [contenteditable="true"] {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}
