:root { --primary-color: #F2C14E; --secondary-color: #FFD36B; --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); --card-bg: #111111; --page-bg: #0A0A0A; --text-main-color: #FFF6D6; --border-color: #3A2A12; --glow-color: #FFD36B; --header-offset: 122px; } body { font-family: Arial, sans-serif; margin: 0; padding-top: var(--header-offset); background-color: var(--page-bg); color: var(--text-main-color); overflow-x: hidden; } .site-header { background-color: var(--page-bg); width: 100%; position: fixed; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); min-height: 60px; display: flex; align-items: center; border-bottom: 1px solid var(--border-color); } .header-container { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; padding: 10px 30px; width: 100%; } .logo { flex-shrink: 0; font-size: 28px; font-weight: bold; color: var(--primary-color); text-decoration: none; padding: 5px 0; text-transform: uppercase; letter-spacing: 1px; } .main-nav { flex: 1; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 25px; padding: 0 20px; } .nav-link { color: var(--text-main-color); text-decoration: none; font-size: 16px; padding: 10px 0; transition: color 0.3s ease, transform 0.3s ease; position: relative; } .nav-link:hover { color: var(--primary-color); transform: translateY(-2px); } .nav-link::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background-color: var(--primary-color); transform: scaleX(0); transition: transform 0.3s ease; } .nav-link:hover::after { transform: scaleX(1); } .desktop-nav-buttons { flex-shrink: 0; margin-left: auto; display: flex; gap: 10px; } .mobile-nav-buttons { display: none !important; } .btn { background: var(--button-gradient); color: #333333; padding: 10px 20px; border-radius: 25px; text-decoration: none; font-weight: bold; font-size: 15px; transition: transform 0.2s ease, box-shadow 0.2s ease; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; } .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color); } .hamburger-menu { display: none; background: none; border: none; font-size: 30px; color: var(--primary-color); cursor: pointer; padding: 5px; z-index: 1001; line-height: 1; flex-shrink: 0; } .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: 998; opacity: 0; transition: opacity 0.3s ease; } .mobile-menu-overlay.active { display: block; opacity: 1; } .site-footer { background-color: var(--card-bg); padding: 40px 0 20px; color: var(--text-main-color); border-top: 1px solid var(--border-color); } .site-footer .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; } .footer-col { padding: 10px 0; } .footer-logo { font-size: 24px; font-weight: bold; color: var(--primary-color); text-decoration: none; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 15px; } .footer-description { font-size: 14px; line-height: 1.6; margin-bottom: 20px; word-wrap: break-word; overflow-wrap: break-word; } .site-footer h3 { color: var(--secondary-color); font-size: 18px; margin-bottom: 20px; text-transform: uppercase; } .site-footer ul { list-style: none; padding: 0; margin: 0; } .site-footer ul li { margin-bottom: 10px; } .site-footer ul li a { color: var(--text-main-color); text-decoration: none; font-size: 14px; transition: color 0.3s ease; } .site-footer ul li a:hover { color: var(--primary-color); } .footer-bottom { border-top: 1px solid var(--border-color); margin-top: 40px; padding-top: 20px; text-align: center; font-size: 13px; color: rgba(255, 246, 214, 0.7); } .footer-bottom .footer-container { display: block; } .footer-slot-anchor-inner { min-height: 10px; } .footer-slot-anchor { min-height: 10px; } @media (max-width: 768px) { :root { --header-offset: 110px; } .header-container { width: 100%; max-width: none; padding: 10px 15px; justify-content: space-between; } .hamburger-menu { display: block; order: 0; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 24px; order: 1; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 40px; } .main-nav { display: none; flex-direction: column; position: fixed; top: var(--header-offset); left: 0; width: 280px; height: calc(100% - var(--header-offset)); background-color: var(--card-bg); padding: 20px; box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5); transform: translateX(-100%); transition: transform 0.3s ease; overflow-y: auto; z-index: 999; align-items: flex-start; } .main-nav.active { display: flex; transform: translateX(0); } .main-nav .nav-link { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border-color); font-size: 17px; } .main-nav .nav-link::after { display: none; } .desktop-nav-buttons { display: none !important; } .mobile-nav-buttons { display: flex !important; order: 2; gap: 8px; } .mobile-nav-buttons .btn { padding: 8px 15px; font-size: 14px; border-radius: 20px; } .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } body { overflow-x: hidden; } .site-footer .footer-container { grid-template-columns: 1fr; padding: 0 20px; } .site-footer h3 { margin-top: 20px; } .footer-bottom { margin-top: 30px; } } 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;
  }
}
