:root { --primary: #C91F17; --secondary: #E53935; --card-bg: #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; } body { padding-top: var(--header-offset); margin: 0; font-family: 'Segoe UI', Roboto, Arial, sans-serif; background-color: var(--bg-main); color: var(--text-main); } .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.5); background-color: var(--deep-red); } .header-top { box-sizing: border-box; min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--deep-red); width: 100%; border-bottom: 1px solid rgba(244, 211, 77, 0.2); } .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; position: relative; } .logo { font-size: 28px; font-weight: 800; color: var(--gold); text-decoration: none; letter-spacing: 1px; text-transform: uppercase; display: inline-block; text-shadow: 0 2px 4px rgba(0,0,0,0.3); } .logo:hover { color: var(--glow); } .logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; } .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; border-radius: 6px; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; border: none; line-height: 1.3; text-align: center; } .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.4); } .btn-login { background: transparent; color: var(--gold); border: 1.5px solid var(--border-color); } .btn-login:hover { background: rgba(244, 211, 77, 0.1); } .btn-register { background: var(--btn-gradient); color: #4a0d0a; box-shadow: 0 4px 10px rgba(230, 184, 0, 0.35); } .btn-register:hover { box-shadow: 0 6px 18px rgba(230, 184, 0, 0.5); } .hamburger-menu { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1001; flex-direction: column; justify-content: space-around; width: 40px; height: 40px; } .hamburger-menu span { display: block; width: 26px; height: 3px; background-color: var(--gold); border-radius: 2px; transition: all 0.3s ease; } .hamburger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); } .main-nav { box-sizing: border-box; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--card-bg); width: 100%; border-bottom: 2px solid var(--border-color); } .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; gap: 4px; } .nav-link { color: var(--text-main); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 4px; transition: background 0.2s ease, color 0.2s ease; white-space: nowrap; } .nav-link:hover { color: var(--gold); background-color: rgba(0,0,0,0.25); } .nav-link.active { color: var(--gold); background-color: rgba(0,0,0,0.35); } .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-color: var(--deep-red); color: var(--text-main); font-size: 15px; line-height: 1.7; margin-top: 40px; border-top: 3px solid var(--border-color); } .footer-container { max-width: 1200px; margin: 0 auto; padding: 40px 30px 20px; box-sizing: border-box; } .footer-top-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 24px; } .footer-col { min-width: 0; } .footer-logo { font-size: 26px; font-weight: 800; color: var(--gold); text-decoration: none; display: inline-block; margin-bottom: 12px; letter-spacing: 1px; text-transform: uppercase; } .footer-logo:hover { color: var(--glow); } .footer-description { color: rgba(255, 245, 225, 0.85); font-size: 14px; margin: 0; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { color: var(--gold); font-size: 16px; font-weight: 700; margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.5px; } .footer-nav { list-style: none; padding: 0; margin: 0; } .footer-nav li { margin-bottom: 8px; } .footer-nav a { color: rgba(255, 245, 225, 0.85); text-decoration: none; font-size: 14px; transition: color 0.2s ease; } .footer-nav a:hover { color: var(--gold); } .footer-dynamic-col { min-width: 0; } .footer-slot-anchor-inner { display: block; min-height: 1px; } .footer-mid-section { margin: 10px 0; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .footer-bottom { border-top: 1px solid rgba(242, 181, 68, 0.3); padding-top: 20px; margin-top: 20px; text-align: center; } .footer-bottom .copyright { color: rgba(255, 245, 225, 0.7); font-size: 13px; margin: 0; } .footer-bottom a { display: none; } @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; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 22px; } .logo img { max-height: 56px !important; } .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; } .hamburger-menu { display: flex; position: relative; z-index: 2; } .main-nav { min-height: 48px !important; height: 48px !important; display: none; flex-direction: column; position: fixed; top: var(--header-offset); left: 0; width: 280px; max-width: 80%; height: auto !important; max-height: calc(100vh - var(--header-offset)); overflow-y: auto; background-color: var(--card-bg); z-index: 1001; transform: translateX(-100%); transition: transform 0.3s ease; border-bottom: none; border-right: 2px solid var(--border-color); box-shadow: 4px 0 20px rgba(0,0,0,0.5); } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { flex-direction: column; width: 100%; max-width: none; height: auto; padding: 15px; gap: 2px; justify-content: flex-start; align-items: stretch; } .nav-link { padding: 12px 16px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); border-radius: 4px; } .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 20px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; } .footer-container { padding: 30px 15px 15px; } .footer-logo { font-size: 22px; } } @media (max-width: 480px) { .footer-top-grid { grid-template-columns: 1fr; } .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; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
