:root { --header-offset: 122px; --color-primary: #C91F17; --color-accent: #E53935; --color-button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); --color-card-bg: #D32F2F; --color-background: #B71C1C; --color-text-main: #FFF5E1; --color-border: #F2B544; --color-glow: #FFCC66; --color-gold: #F4D34D; --color-deep-red: #7A0E0E; } body { font-family: Arial, sans-serif; margin: 0; padding-top: var(--header-offset); color: var(--color-text-main); background-color: var(--color-background); line-height: 1.6; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } .header-top { box-sizing: border-box; min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden; background-color: var(--color-deep-red); width: 100%; } .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: 0 20px; } .logo { font-size: 28px; font-weight: bold; color: var(--color-gold); text-decoration: none; text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); white-space: nowrap; } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .btn { padding: 10px 20px; border-radius: 25px; text-decoration: none; font-weight: bold; text-align: center; white-space: nowrap; cursor: pointer; transition: all 0.3s ease; border: none; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2); color: #333; } .btn-primary { background: var(--color-button-gradient); color: #333333; } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 8px rgba(0, 0, 0, 0.3); } .btn-secondary { background-color: var(--color-primary); color: var(--color-text-main); } .btn-secondary:hover { background-color: var(--color-accent); transform: translateY(-2px); box-shadow: 0 5px 8px rgba(0, 0, 0, 0.3); } .mobile-nav-buttons { box-sizing: border-box; display: none; min-height: 48px; background-color: var(--color-primary); } .main-nav { box-sizing: border-box; min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden; background-color: var(--color-primary); width: 100%; position: relative; } .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: 20px; } .nav-item { color: var(--color-text-main); text-decoration: none; padding: 5px 0; font-weight: bold; white-space: nowrap; transition: color 0.3s ease; } .nav-item:hover { color: var(--color-gold); } .hamburger-menu { display: none; /* Hidden on desktop */ background: none; border: none; cursor: pointer; padding: 10px; z-index: 1001; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); } .hamburger-icon { display: block; width: 25px; height: 3px; background-color: var(--color-text-main); position: relative; transition: background-color 0.3s ease; } .hamburger-icon::before, .hamburger-icon::after { content: ''; display: block; width: 100%; height: 100%; background-color: var(--color-text-main); position: absolute; transition: transform 0.3s ease; } .hamburger-icon::before { top: -8px; } .hamburger-icon::after { bottom: -8px; } .hamburger-menu.active .hamburger-icon { background-color: transparent; } .hamburger-menu.active .hamburger-icon::before { transform: translateY(8px) rotate(45deg); } .hamburger-menu.active .hamburger-icon::after { transform: translateY(-8px) rotate(-45deg); } .mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 999; } .mobile-nav-drawer { display: none; position: fixed; top: 0; left: 0; height: 100%; width: 280px; background-color: var(--color-deep-red); z-index: 1000; transform: translateX(-100%); transition: transform 0.3s ease; padding-top: calc(var(--header-offset) + 10px); box-sizing: border-box; overflow-y: auto; } .mobile-nav-drawer.active { transform: translateX(0); } .mobile-nav-container { display: flex; flex-direction: column; padding: 20px; gap: 15px; } .mobile-nav-drawer .nav-item { width: 100%; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .mobile-nav-drawer .nav-item:last-child { border-bottom: none; } .site-footer { background-color: var(--color-background); padding: 40px 20px 20px; color: var(--color-text-main); font-size: 14px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto 30px; } .footer-col { display: flex; flex-direction: column; gap: 15px; } .footer-logo { font-size: 24px; font-weight: bold; color: var(--color-gold); text-decoration: none; text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); } .footer-description { font-size: 13px; line-height: 1.5; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { font-size: 16px; color: var(--color-gold); margin-bottom: 10px; } .footer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; } .footer-nav a { color: var(--color-text-main); text-decoration: none; transition: color 0.3s ease; } .footer-nav a:hover { color: var(--color-gold); } .footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; color: var(--color-text-main); } .footer-bottom a { color: inherit; text-decoration: none; } .footer-bottom a:hover { text-decoration: underline; } .footer-slot-anchor-inner { min-height: 1px; } @media (max-width: 768px) { :root { --header-offset: 110px; } body { overflow-x: hidden; } .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } .header-top { min-height: 60px !important; height: 60px !important; } .header-container { width: 100%; max-width: none; padding: 0 15px; 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; min-height: 48px; align-items: center; justify-content: center; width: 100%; max-width: 100%; box-sizing: border-box; padding: 0 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: var(--color-primary); } .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: none; /* Controlled by JS active class */ position: fixed; top: 0; left: 0; width: 100%; background-color: var(--color-deep-red); flex-direction: column; transform: translateX(-100%); transition: transform 0.3s ease; justify-content: flex-start; align-items: flex-start; z-index: 1000; padding-top: calc(var(--header-offset) + 10px); } .main-nav.active { display: block; /* Ensure visibility when active */ transform: translateX(0); } .nav-container { flex-direction: column; align-items: flex-start; padding: 20px; gap: 15px; width: 100%; max-width: none; } .nav-item { width: 100%; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .nav-item:last-child { border-bottom: none; } .hamburger-menu { display: block; } .mobile-menu-overlay.active { display: block; } .mobile-nav-drawer { display: block; } .footer-top-grid { grid-template-columns: 1fr; } .footer-col { margin-bottom: 20px; } .footer-col:last-child { margin-bottom: 0; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
