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