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