:root { --header-offset: 166px; --primary: #F2C14E; --secondary: #FFD36B; --bg-dark: #0A0A0A; --card-bg: #111111; --text-main: #FFF6D6; --border-color: #3A2A12; --glow: #FFD36B; --btn-bg: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); } body { margin: 0; padding: 0; padding-top: var(--header-offset);; background-color: var(--bg-dark); font-family: 'Roboto', 'Arial', sans-serif; color: var(--text-main); overflow-x: hidden; } .site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: var(--bg-dark); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); border-bottom: 2px solid var(--border-color); } .marquee-section { background-color: var(--card-bg); color: var(--text-main); overflow: hidden; padding: 6px 0; border-bottom: 1px solid var(--border-color); } .marquee-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } .marquee-text { font-size: 13px; font-weight: 500; letter-spacing: 0.5px; animation: marquee-scroll 20s linear infinite; display: inline-block; white-space: nowrap; } @keyframes marquee-scroll { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } } .header-top { background-color: #0A0A0A; width: 100%; border-bottom: 1px solid var(--border-color); } .header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 8px 30px; gap: 20px; } .logo { display: inline-block; color: var(--primary); text-decoration: none; font-size: 28px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; text-shadow: 0 0 10px rgba(242, 193, 78, 0.4); white-space: nowrap; line-height: 1.4; } .logo:hover { color: var(--secondary); } .desktop-nav-buttons { display: flex; align-items: center; gap: 12px; } .btn { display: inline-block; padding: 10px 24px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 15px; transition: all 0.3s ease; background: var(--btn-bg); color: #212121; border: 1px solid rgba(255, 246, 214, 0.2); box-shadow: 0 0 10px rgba(255, 211, 107, 0.2); } .btn:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(242, 193, 78, 0.3); color: #111; } .btn-login { background: var(--btn-bg); color: #1a1200; } .btn-register { background: var(--btn-bg); color: #1a1200; } .btn-download { background: linear-gradient(180deg, #FFD86A 0%, #E5B52A 100%); color: #1a1200; } .hamburger-menu { display: none; background: none; border: none; cursor: pointer; padding: 10px; z-index: 1001; } .hamburger-menu .hamburger-line { display: block; width: 24px; height: 2px; background-color: var(--primary); margin: 5px 0; transition: transform 0.3s ease, opacity 0.3s ease; } .hamburger-menu.active .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); } .hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; } .hamburger-menu.active .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); } .main-nav { background-color: #1a1a1a; display: flex; width: 100%; border-bottom: 1px solid var(--border-color); } .nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; flex-wrap: wrap; padding: 6px 20px; gap: 4px; } .nav-link { display: inline-block; padding: 8px 14px; color: #fcf3d2; text-decoration: none; font-size: 14px; font-weight: 600; border-radius: 4px; white-space: nowrap; transition: all 0.2s ease; border-bottom: 2px solid transparent; } .nav-link:hover { color: #ffd36b; background: rgba(242, 193, 78, 0.08); } .nav-link.active { color: #ffd36b; border-bottom-color: var(--primary); } .mobile-menu-overlay { display: none; } .mobile-nav-buttons { display: none; } .site-footer { background: #111111; color: #FFF6D6; border-top: 2px solid #FFD36B; padding-top: 40px; margin-top: 20px; } .footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 30px; padding: 0 20px 20px; } .footer-brand .footer-logo { font-size: 24px; font-weight: 700; color: #FFD36B; text-decoration: none; } .site-footer .footer-title { font-size: 16px; font-weight: 600; color: #F2C14E; margin-bottom: 15px; } .footer-nav ul { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 8px; } .footer-nav a { color: #ccc; text-decoration: none; font-size: 14px; line-height: 1.6; } .footer-nav a:hover { color: #F2C14E; text-decoration: underline; } .footer-description { font-size: 13px; color: #999; line-height: 1.5; } .footer-hotline { font-size: 14px; color: #F2C14E; } .footer-bottom { border-top: 1px solid #333; padding: 15px; text-align: center; } .footer-copyright { font-size: 13px; color: #999; } .footer-legal { font-size: 12px; color: #999; } @media (max-width: 768px) { :root { --header-offset: 146px; } body { overflow-x: hidden; } .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; justify-content: space-between; padding: 10px 15px; } .header-container { justify-content: space-between; flex-wrap: nowrap; } .header-top { order: 1; } .main-nav { order: 2; } .logo { font-size: 24px; } .main-nav { display: none; flex-direction: column; position: fixed; top: 0; left: 0; width: 75%; max-width: 420px; height: 100vh; background-color: #0A0A0A; transform: translateX(-100%); transition: transform 0.3s ease; padding-top: 60px; overflow-y: auto; z-index: 100.5; box-shadow: 2px 0 20px rgba(0,0,0,0.5); } .main-nav.active { display: flex; transform: translateX(0); order: 1; } .main-nav.active { order: 0; } .nav-container { flex-direction: column; width: 100%; align-items: flex-start; padding: 10px 0; } .nav-link { padding: 12px 30px; width: 100%; box-sizing: border-box; } .desktop-nav-buttons { display: none; } .mobile-nav-buttons { display: flex !important; flex-direction: row; justify-content: center; padding: 8px 10px; background-color: #0A0A0A; gap: 8px; flex-wrap: wrap; order: 3; } .mobile-nav-buttons .btn { flex: 1; min-width: 90px; padding: 8px 4px; text-align: center; font-size: 13px; white-space: nowrap; } .hamburger-menu { display: block; order: -1; margin-left: 0; } .mobile-menu-overlay.active { display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); z-index: 999; } .nav-container { display: flex; } .site-footer { padding-top: 30px; } .footer-container { grid-template-columns: 1fr 1fr; } } @media (max-width: 768px) { .header-container { width: 100%; max-width: none; } .nav-container { width: 100%; max-width: none; } .hamburger-menu { display: block; } .main-nav { display: none; } .main-nav.active { display: flex; } .mobile-menu-overlay.active { display: block; } .mobile-nav-buttons { display: flex; } .footer-container { grid-template-columns: 1fr; }}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
