:root { --primary: #F2C14E; --accent: #FFD36B; --btn-grad: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); --card-bg: #111111; --bg: #0A0A0A; --text-main: #FFF6D6; --border: #3A2A12; --glow: #FFD36B; --header-offset: 122px; } * { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); background-color: var(--bg); color: var(--text-main); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background-color: var(--bg); box-shadow: 0 4px 20px rgba(0,0,0,0.7); border-bottom: 1px solid var(--border); } .header-top { height: 68px; min-height: 68px; width: 100%; display: flex; align-items: center; overflow: hidden; background-color: var(--card-bg); box-sizing: border-box; } .header-container { width: 100%; max-width: 1200px; margin: 0 auto; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 30px; box-sizing: border-box; } .logo { display: inline-block; font-size: 28px; font-weight: 800; color: var(--primary); text-decoration: none; letter-spacing: 1px; text-shadow: 0 0 12px var(--glow); white-space: nowrap; } .desktop-nav-buttons { display: flex; align-items: center; gap: 12px; } .mobile-nav-buttons { display: none; min-height: 48px; width: 100%; box-sizing: border-box; } .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 22px; border-radius: 6px; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; border: none; background: var(--btn-grad); color: #1a1206; } .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(255,211,107,0.35); } .btn-primary { background: var(--btn-grad); color: #1a1206; } .btn-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); } .btn-outline:hover { background: rgba(242,193,78,0.12); } .main-nav { height: 52px; min-height: 52px; width: 100%; display: flex; align-items: center; overflow: hidden; background-color: #1a1408; border-top: 1px solid var(--border); box-sizing: border-box; } .nav-container { width: 100%; max-width: 1200px; margin: 0 auto; height: 100%; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; box-sizing: border-box; position: relative; } .nav-list { display: flex; flex-direction: row; justify-content: center; align-items: center; list-style: none; margin: 0; padding: 0; gap: 2px; flex-wrap: nowrap; } .nav-list li { margin: 0; } .nav-list a { display: block; padding: 8px 12px; color: var(--text-main); text-decoration: none; font-size: 14px; font-weight: 600; border-radius: 4px; white-space: nowrap; transition: color 0.2s ease, background-color 0.2s ease; } .nav-list a:hover, .nav-list a.active { color: var(--primary); background-color: rgba(242,193,78,0.1); } .hamburger-menu { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 40px; height: 40px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 1001; position: relative; } .hamburger-menu span { display: block; width: 24px; height: 2px; background-color: var(--primary); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; } .hamburger-menu.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); } .mobile-menu-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 999; opacity: 0; transition: opacity 0.3s ease; } .mobile-menu-overlay.active { display: block; opacity: 1; } .site-footer { background-color: var(--card-bg); color: var(--text-main); border-top: 1px solid var(--border); margin-top: 40px; } .footer-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 30px; box-sizing: border-box; } .footer-top { padding: 50px 0 30px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 26px; font-weight: 800; color: var(--primary); text-decoration: none; text-shadow: 0 0 10px var(--glow); margin-bottom: 15px; } .footer-description { font-size: 14px; line-height: 1.7; color: var(--text-main); opacity: 0.85; word-wrap: break-word; overflow-wrap: break-word; margin: 0; } .footer-heading { font-size: 16px; color: var(--primary); margin: 0 0 15px; font-weight: 700; } .footer-nav { list-style: none; margin: 0; padding: 0; } .footer-nav li { margin-bottom: 10px; } .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(--primary); opacity: 1; } .footer-mid { padding: 20px 0; border-top: 1px solid var(--border); } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .footer-bottom { padding: 20px 0; border-top: 1px solid var(--border); text-align: center; } .footer-copyright { margin: 0; font-size: 14px; color: var(--text-main); opacity: 0.8; } .footer-slot-anchor-inner { min-height: 0; } @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; height: 100%; box-sizing: border-box; } .logo { position: absolute !important; left: 50% !important; transform: translateX(-50%) !important; display: flex !important; align-items: center !important; justify-content: center !important; max-width: calc(100% - 100px); font-size: 24px; } .desktop-nav-buttons { display: none !important; } .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; min-height: 48px; 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; } .main-nav { height: 48px !important; min-height: 48px !important; display: flex; align-items: center; } .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: flex-start; } .hamburger-menu { display: flex; } .nav-list { display: none; flex-direction: column; position: fixed; top: var(--header-offset); left: 0; width: 280px; max-width: 85%; height: calc(100vh - var(--header-offset)); background-color: var(--card-bg); border-right: 1px solid var(--border); padding: 20px 0; margin: 0; gap: 0; overflow-y: auto; z-index: 1001; transform: translateX(-100%); transition: transform 0.3s ease; } .nav-list.active { display: flex; transform: translateX(0); } .nav-list li { width: 100%; margin: 0; } .nav-list a { padding: 14px 24px; border-radius: 0; font-size: 15px; border-bottom: 1px solid rgba(58,42,18,0.6); } .footer-top-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; } .footer-mid-grid { grid-template-columns: repeat(2, 1fr); } .footer-container { padding: 0 15px; } .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;
}
