:root { --primary: #FF8C1A; --primary-light: #FFA53A; --gradient-btn: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); --bg-card: #17191F; --bg-site: #0D0E12; --text-main: #FFF3E6; --border-color: #A84F0C; --glow: #FFB04D; --deep-orange: #D96800; --header-offset: 122px; --header-offset-mobile: 110px; } * { margin: 0; padding: 0; box-sizing: border-box; } body { padding-top: var(--header-offset); background-color: var(--bg-site); font-family: 'Inter', 'Segoe UI', Tahoma, Arial, sans-serif; } a { text-decoration: none; } .site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: var(--bg-site); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6); } .site-header .header-top { width: 100%; background-color: #1A1C23; border-bottom: 2px solid var(--border-color); } .site-header .header-container { max-width: 1200px; margin: 0 auto; min-height: 68px; padding: 0 30px; display: flex; justify-content: space-between; align-items: center; } .site-header .logo { display: flex; align-items: center; min-height: 50px; font-size: 30px; font-weight: 900; color: var(--text-main); text-shadow: 0 0 12px rgba(255, 143, 26, 0.8); letter-spacing: 1px; padding: 6px 0; text-decoration: none; position: relative; z-index: 5; } @media (max-width: 768px) { .site-header .logo { font-size: 24px; } } .header-top .header-top-contact { display: flex; align-items: center; gap: 15px; margin-right: 30px; } .header-top-contact .header-phone { color: var(--text-main); font-size: 13px; display: flex; align-items: center; gap: 6px; } .site-header .header-top { position: relative; } .site-header .main-nav { width: 100%; min-height: 52px; background: #1E2027; border-bottom: 1px solid #2A2D36; display: flex; justify-content: center; align-items: center; transition: background 0.3s; } .site-header .main-nav .nav-container { max-width: 1200px; min-height: 50px; padding: 0 20px; width: 100%; } .site-header .nav-menu { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px; padding: 0; margin: 0; } .site-header .nav-menu li { position: relative; } .site-header .nav-menu li a { display: block; color: rgba(255, 243, 230, 0.9); font-size: 15px; font-weight: 600; padding: 12px 10px; text-transform: none; text-decoration: none; line-height: 1.4; transition: color 0.3s, text-shadow 0.3s; letter-spacing: 0.5px; } .site-header .nav-menu li a:hover { color: var(--primary-light); text-shadow: 0 0 10px rgba(255, 138, 0, 0.8); } .header-top .header-top-contact { display: flex; align-items: center; gap: 15px; margin-right: 30px; } .header-top-contact .header-phone { color: var(--text-main); font-size: 13px; display: flex; align-items: center; gap: 6px; } .desktop-nav-buttons { display: flex; align-items: center; justify-content: flex-end; gap: 10px; } .btn { text-decoration: none; border-radius: 40px; padding: 10px 22px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; letter-spacing: 0.3px; border: none; cursor: pointer; background: var(--primary-light); color: var(--bg-site); transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); text-decoration: none; min-height: 40px; } @media (max-width: 768px) { .btn { min-height: 40px; padding: 10px 16px; font-size: 13px; } } .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(217, 104, 0, 0.5); filter: brightness(1.1); } .btn-register { background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); color: #ffffff; } .btn-login { background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); color: #ffffff; } .btn-download { background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); color: #ffffff; } .mobile-nav-buttons { display: none; z-index: 998; } .hamburger-menu { display: none; } .hamburger-menu.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); } .mobile-menu-overlay { display: none; } @media (max-width: 768px) { :root { --header-offset: var(--header-offset-mobile); } body { padding-top: var(--header-offset); overflow-x: hidden; } .site-header .header-top { width: 100%; min-height: 60px; } .site-header .header-container { min-height: 60px; padding: 0 15px; } .site-header .header-container { display: flex; justify-content: space-between; align-items: center; } .site-header .logo { min-height: auto; font-size: 22px; } .header-top .header-top-contact { display: none; } .mobile-nav-buttons { display: flex; justify-content: center; align-items: center; gap: 10px; padding: 10px 16px; background-color: #15161B; border-bottom: 1px solid #2E2F37; width: 100%; } .hamburger-menu { display: flex; flex-direction: column; justify-content: center; gap: 5px; position: fixed; top: 15px; left: 16px; z-index: 1002; cursor: pointer; background: transparent; border: none; padding: 5px; min-width: 40px; min-height: 40px; align-items: center; margin: 0; aspect-ratio: 1/1; width: 34px; } .hamburger-menu span { display: block; width: 22px; border-top: 2px solid var(--text-main); transition: all 0.4s ease; margin: -1px 0; } .site-header .desktop-nav-buttons { display: none; } .site-header .main-nav { display: none; position: fixed; top: 0; left: 0; z-index: 1001; width: 250px; height: 100vh; min-height: 100vh; overflow-y: auto; padding-top: 70px; background-color: #1C1D24; box-shadow: 4px 0 15px rgba(0, 0, 0, 0.3); border-right: 1px solid #2A2D36; } .site-header .main-nav.active { display: block; transform: translateX(0); } .site-header .main-nav .nav-container { padding: 0; } .site-header .nav-menu { display: flex; flex-direction: column; width: 100%; gap: 0; } .site-header .nav-menu li { width: 100%; display: block; } .site-header .nav-menu li a { padding: 12px 24px; font-size: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); color: var(--text-main); } .mobile-menu-overlay.active { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 1000; } .header-container .logo { order: 2; } .header-top .header-container { display: flex; flex-direction: row; justify-content: center; gap: 10px; } .header-top { min-height: 60px; display: flex; align-items: center; } .header-container .logo { margin-left: auto; margin-right: auto; } .mobile-nav-buttons .btn { width: 100%; } .mobile-nav-buttons { gap: 10px; } .btn { justify-content: center; display: inline-flex; align-items: center; } .logout-button-mobile { color: var(--primary) !important; } .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } body { overflow-x: hidden; } } .site-footer { background: var(--bg-card); color: var(--text-main); padding: 60px 20px 20px; margin-top: 40px; width: 100%; border-top: 3px solid var(--border-color); font-size: 14px; } .site-footer a { color: var(--text-main); } .footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr; gap: 35px; } .footer-container, p { margin: 0; } .footer-brand .footer-logo { font-size: 25px; font-weight: 900; line-height: 1.3; display: block; color: var(--primary-light); } .footer-brand p { line-height: 1.7; opacity: 0.8; min-width: 200px; } .footer-links h3 { color: var(--primary-light); margin-bottom: 15px; font-size: 16px; } .footer-links ul { list-style: none; } .footer-links li { margin-bottom: 10px; } .footer-links li a { opacity: 0.8; } .footer-links li a:hover { color: var(--primary-light); opacity: 1; } .footer-contact h3 { color: var(--primary-light); margin-bottom: 15px; font-size: 16px; } .footer-contact p.contact-item { margin-bottom: 8px; display: flex; gap: 5px; align-items: center; } .footer-contact p { margin-bottom: 5px; opacity: 0.8; } .footer-contact p i { color: var(--primary-light); margin-right: 10px; } .footer-bottom { padding-top: 35px; margin-top: 30px; text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.15); } .footer-bottom p { font-size: 13px; opacity: 0.7; } @media (max-width: 768px) { .site-footer { padding: 40px 15px 15px; } .footer-container { grid-template-columns: 1fr; gap: 35px; } .footer-brand, .footer-links, .footer-contact { width: 100%; } .footer-brand p { min-width: auto; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
