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