:root { --primary: #C91F17; --secondary: #E53935; --header-offset: 122px; --bg-main: #B71C1C; --bg-card: #D32F2F; --text-main: #FFF5E1; --border-color: #F2B544; --glow: #FFCC66; --gold: #F4D34D; --deep-red: #7A0E0E; } * { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } .site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5); background-color: var(--bg-main); overflow-x: hidden; } .header-top { box-sizing: border-box; min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(180deg, #7A0E0E 0%, #B71C1C 100%); width: 100%; border-bottom: 2px solid var(--border-color); } .header-container { box-sizing: border-box; width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding-left: 30px; padding-right: 30px; } .logo { font-size: 30px; font-weight: 800; color: #F4D34D; text-decoration: none; display: inline-block; letter-spacing: 1px; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); flex-shrink: 0; } .logo:hover { color: #FFF5E1; } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; flex-shrink: 0; } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; width: 100%; max-width: 100%; } .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; border-radius: 24px; font-size: 14px; font-weight: 700; text-decoration: none; text-align: center; cursor: pointer; border: 1px solid var(--border-color); transition: transform 0.2s ease, box-shadow 0.2s ease; line-height: 1.2; white-space: nowrap; } .btn:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(255, 204, 102, 0.5); } .btn-login { background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); color: #5a0a0a; border-color: #F4D34D; } .btn-register { background: linear-gradient(180deg, #E53935 0%, #C91F17 100%); color: #FFF5E1; border-color: #F4D34D; } .main-nav { box-sizing: border-box; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #7A0E0E; width: 100%; } .nav-container { box-sizing: border-box; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; width: 100%; } .nav-list { display: flex; flex-direction: row; justify-content: center; align-items: center; list-style: none; margin: 0; padding: 0; gap: 4px; flex-wrap: wrap; } .nav-link { display: block; padding: 8px 12px; color: #FFF5E1; text-decoration: none; font-size: 14px; font-weight: 600; border-radius: 4px; transition: background-color 0.2s ease, color 0.2s ease; white-space: nowrap; } .nav-link:hover { color: #F4D34D; background-color: rgba(255, 204, 102, 0.15); } .hamburger-menu { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; } .hamburger-line { display: block; width: 26px; height: 3px; background-color: #F4D34D; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; } .hamburger-menu.active .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); } .hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; } .hamburger-menu.active .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } .menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; } .menu-overlay.active { opacity: 1; visibility: visible; } .site-footer { background-color: var(--bg-main); color: var(--text-main); border-top: 3px solid var(--border-color); font-size: 14px; line-height: 1.6; } .footer-container { max-width: 1200px; margin: 0 auto; padding-left: 20px; padding-right: 20px; } .footer-top-area { padding: 40px 0 20px; background: linear-gradient(180deg, #7A0E0E 0%, #B71C1C 100%); } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 20px; } .footer-col { min-width: 0; } .footer-logo { font-size: 26px; font-weight: 800; color: #F4D34D; text-decoration: none; display: inline-block; margin-bottom: 12px; letter-spacing: 1px; } .footer-logo:hover { color: #FFF5E1; } .footer-description { color: #FFF5E1; font-size: 13px; word-wrap: break-word; overflow-wrap: break-word; margin: 0 0 12px; } .footer-col-title { font-size: 16px; font-weight: 700; color: #F4D34D; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 1px solid rgba(242, 181, 68, 0.4); } .footer-nav { list-style: none; margin: 0; padding: 0; } .footer-nav li { margin-bottom: 8px; } .footer-nav a { color: #FFF5E1; text-decoration: none; font-size: 13px; transition: color 0.2s ease, padding-left 0.2s ease; display: inline-block; } .footer-nav a:hover { color: #F4D34D; padding-left: 4px; } .footer-mid-area { padding: 20px 0; background-color: #7A0E0E; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; } .footer-bottom-anchor-area { background-color: #7A0E0E; padding: 10px 0; } .footer-bottom { background-color: #5a0a0a; padding: 18px 0; text-align: center; border-top: 1px solid rgba(242, 181, 68, 0.3); } .footer-copyright { margin: 0; color: #FFF5E1; font-size: 13px; text-align: center; } .footer-slot-anchor-inner { min-height: 1px; } @media (max-width: 768px) { :root { --header-offset: 110px; } .site-header { width: 100%; max-width: 100%; overflow-x: hidden; } .header-top { min-height: 60px !important; height: 60px !important; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: space-between; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 24px; } .desktop-nav-buttons { display: none !important; } .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; box-sizing: border-box; padding-left: 15px; padding-right: 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; } .mobile-nav-buttons .btn { flex: 1; min-width: 0; max-width: calc(50% - 5px); box-sizing: border-box; padding: 8px 12px; font-size: 13px; white-space: normal; word-wrap: break-word; overflow-wrap: break-word; } .main-nav { min-height: 48px !important; height: 48px !important; overflow: visible; } .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: flex-start; } .hamburger-menu { display: flex; } .nav-list { display: none; position: fixed; top: 0; left: 0; width: 280px; max-width: 80vw; height: 100vh; background-color: #7A0E0E; flex-direction: column; justify-content: flex-start; align-items: stretch; padding: 80px 20px 30px; gap: 6px; z-index: 1001; transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; flex-wrap: nowrap; } .nav-list.active { display: flex; transform: translateX(0); } .nav-list li { width: 100%; } .nav-link { padding: 12px 14px; font-size: 15px; border-bottom: 1px solid rgba(242, 181, 68, 0.2); border-radius: 0; } .menu-overlay { display: block; } .footer-top-grid { grid-template-columns: 1fr; gap: 20px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; } .footer-about { text-align: left; } .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } body { overflow-x: hidden; } } @media (min-width: 769px) and (max-width: 1024px) { .nav-link { font-size: 12px; padding: 6px 8px; } .footer-top-grid { grid-template-columns: repeat(2, 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;
}
