:root { --header-offset: 122px; --primary: #FF8C1A; --secondary: #FFA53A; --btn-gradient: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); --card-bg: #17191F; --bg-color: #0D0E12; --text-main: #FFF3E6; --border: #A84F0C; --glow: #FFB04D; --deep-orange: #D96800; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: var(--bg-color); color: var(--text-main); padding-top: var(--header-offset); margin: 0; min-height: 100vh; }
img { max-width: 100%; }
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,0.3); background-color: var(--bg-color); }
.header-top { width: 100%; background-color: #17191F; border-bottom: 2px solid var(--border); }
.header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; min-height: 68px; }
.logo { font-size: 28px; font-weight: 800; color: var(--primary); text-decoration: none; letter-spacing: 0.5px; text-shadow: 0 0 10px rgba(255, 140, 26, 0.3); display: inline-block; }
.logo:hover { color: var(--secondary); text-shadow: 0 0 15px rgba(255, 165, 58, 0.5); }
.desktop-nav-buttons { display: flex; gap: 10px; align-items: center; }
.btn { display: inline-block; padding: 10px 22px; border-radius: 6px; font-weight: 600; font-size: 14px; text-decoration: none; text-align: center; border: none; cursor: pointer; transition: all 0.3s ease; line-height: 1.4; }
.btn-register { background: var(--btn-gradient); color: var(--text-main); }
.btn-register:hover { box-shadow: 0 0 20px rgba(255, 165, 58, 0.4); transform: translateY(-2px); }
.btn-login { background: transparent; color: var(--text-main); border: 2px solid var(--primary); }
.btn-login:hover { background: rgba(255, 140, 26, 0.15); box-shadow: 0 0 15px rgba(255, 140, 26, 0.3); }
.btn-download { background: var(--btn-gradient); color: var(--text-main); }
.btn-download:hover { box-shadow: 0 0 20px rgba(255, 165, 58, 0.4); transform: translateY(-2px); }
.main-nav { width: 100%; display: flex; background-color: #0D0E12; border-bottom: 1px solid var(--border); min-height: 52px; }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: center; padding: 6px 20px; width: 100%; position: relative; }
.nav-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; align-items: center; }
.nav-menu > li { margin: 0; padding: 0; }
.nav-menu > li > a { display: block; padding: 8px 12px; color: var(--text-main); text-decoration: none; font-size: 14px; font-weight: 500; border-radius: 4px; transition: all 0.3s ease; position: relative; }
.nav-menu > li > a:hover { color: var(--primary); background: rgba(255, 140, 26, 0.1); }
.nav-menu > li > a.active { color: var(--primary); background: rgba(255, 140, 26, 0.1); font-weight: 600; }
.nav-menu > li > a.active::after { content: ''; position: absolute; bottom: 2px; left: 12px; right: 12px; height: 2px; background: var(--primary); }
.hamburger-menu { display: none; background: none; border: none; cursor: pointer; width: 36px; height: 36px; padding: 8px; flex-direction: column; justify-content: space-around; align-items: center; margin-right: 8px; z-index: 1001; }
.hamburger-menu span { display: block; width: 22px; height: 2px; background: var(--primary); transition: all 0.3s ease; }
.hamburger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
.btn-mobile { display: none !important; }
.mobile-menu-overlay { display: none; }
.site-footer { background-color: #17191F; color: var(--text-main); padding: 40px 20px 0; border-top: 2px solid var(--border); }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 30px; padding-bottom: 30px; }
.footer-column h3 { font-size: 16px; margin-bottom: 15px; color: var(--primary); }
.footer-logo { font-size: 22px; font-weight: 700; color: var(--primary); text-decoration: none; display: inline-block; margin-bottom: 12px; }
.footer-about p { font-size: 13px; line-height: 1.6; color: rgba(255, 243, 230, 0.7); }
.footer-links ul { list-style: none; padding: 0; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links ul li a { color: rgba(255, 243, 230, 0.8); text-decoration: none; font-size: 13px; transition: all 0.3s ease; }
.footer-links ul li a:hover { color: var(--primary); }
.footer-contact p { font-size: 13px; margin-bottom: 10px; color: rgba(255, 243, 230, 0.8); }
.footer-contact .btn { margin-top: 10px; }
.footer-bottom { border-top: 1px solid rgba(168, 79, 12, 0.3); padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 12px; color: rgba(255, 243, 230, 0.5); margin-bottom: 5px; }
@media (max-width: 768px) {
  :root { --header-offset: 110px; }
  body { overflow-x: hidden; }
  .header-container { width: 100%; max-width: none; padding: 10px 15px; min-height: 60px; }
  .header-top { border-bottom-width: 1px; }
  .desktop-nav-buttons { display: none !important; }
  .logo { font-size: 22px; flex: 1; text-align: center; }
  .main-nav { background-color: #0D0E12; min-height: 48px; }
  .nav-container { width: 100%; max-width: none; justify-content: space-between; padding: 5px 15px; }
  .nav-menu { display: none; position: fixed; top: 0; left: 0; width: 85%; max-width: 320px; height: 100vh; background-color: #17191F; flex-direction: column; padding-top: 80px; z-index: 1002; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; align-items: flex-start; gap: 0; }
  .nav-menu > li { width: 100%; border-bottom: 1px solid rgba(168, 79, 12, 0.2); }
  .nav-menu > li > a { padding: 14px 20px; font-size: 16px; }
  .nav-menu.active { display: flex; transform: translateX(0); }
  .nav-menu > li > a.active { background: rgba(255, 140, 26, 0.15); }
  .hamburger-menu { display: flex; flex-shrink: 0; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); }
  .btn-mobile { display: inline-flex !important; padding: 8px 14px; font-size: 13px; flex-shrink: 0; }
  .nav-container .btn-mobile { margin-left: 5px; }
  .nav-container > .btn-mobile:nth-of-type(3) { margin-left: auto; }
  .mobile-menu-overlay { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 1001; visibility: hidden; opacity: 0; transition: opacity 0.3s ease; }
  .mobile-menu-overlay.active { visibility: visible; opacity: 1; }
  .site-footer { padding: 30px 15px 0; }
  .footer-container { width: 100%; max-width: none; grid-template-columns: 1fr; gap: 25px; padding-bottom: 20px; }
  .footer-column { text-align: center; }
  .footer-links h3, .footer-contact h3 { text-align: center; }
  .footer-links ul { display: flex; flex-direction: column; align-items: center; }
  .page-content img { max-width: 100% !important; height: auto !important; display: block; }
  .page-content { overflow-x: hidden; max-width: 100%; }
}
@media (min-width: 768px) {
  .nav-menu { display: flex !important; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
