:root { --primary: #F2C14E; --secondary: #FFD36B; --bg-main: #0A0A0A; --card-bg: #111111; --text-main: #FFF6D6; --border-color: #3A2A12; --glow: #FFD36B; --btn-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); --header-offset: 122px; } * { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); background-color: var(--bg-main); color: var(--text-main); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; overflow-x: hidden; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; background-color: var(--card-bg); box-shadow: 0 4px 20px rgba(0,0,0,0.7); border-bottom: 1px solid var(--border-color); overflow-x: hidden; } .header-top { width: 100%; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #0F0F0F; border-bottom: 2px solid var(--primary); box-sizing: border-box; } .header-container { 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; box-sizing: border-box; position: relative; } .logo { display: inline-block; font-size: 26px; font-weight: 800; letter-spacing: 1px; color: var(--primary); text-decoration: none; text-transform: lowercase; white-space: nowrap; text-shadow: 0 0 10px rgba(242,193,78,0.35); } .logo:hover { color: var(--secondary); text-decoration: none; } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .mobile-nav-buttons { display: none; min-height: 48px; box-sizing: border-box; } .btn { display: inline-block; text-decoration: none; text-align: center; font-weight: 700; border-radius: 6px; padding: 10px 22px; font-size: 15px; line-height: 1.2; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; border: 1px solid rgba(255,255,255,0.15); white-space: nowrap; } .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(242,193,78,0.4); } .btn-login { background: transparent; color: var(--text-main); border: 1px solid var(--primary); } .btn-login:hover { background: rgba(242,193,78,0.12); } .btn-register { background: var(--btn-gradient); color: #1A1200; border: none; box-shadow: 0 4px 12px rgba(221,161,29,0.35); } .btn-register:hover { box-shadow: 0 8px 22px rgba(255,211,107,0.55); } .hamburger-menu { display: none; background: transparent; border: none; cursor: pointer; padding: 8px; z-index: 1001; position: absolute; right: 15px; top: 50%; transform: translateY(-50%); } .hamburger-menu span { display: block; width: 26px; height: 3px; margin: 5px 0; 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(8px) rotate(45deg); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } .main-nav { width: 100%; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #1A1A1A; box-sizing: border-box; } .nav-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 0 20px; gap: 6px; box-sizing: border-box; } .nav-link { display: inline-block; color: var(--text-main); text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: 4px; transition: color 0.2s ease, background-color 0.2s ease; white-space: nowrap; } .nav-link:hover, .nav-link.active { color: #1A1200; background: var(--btn-gradient); } .menu-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.65); z-index: 999; } .menu-overlay.active { display: block; } .site-footer { background-color: var(--card-bg); border-top: 3px solid var(--primary); color: var(--text-main); padding: 40px 20px 0; margin-top: 40px; } .footer-top-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-bottom: 30px; } .footer-col { min-width: 0; } .footer-about .footer-logo { display: inline-block; font-size: 24px; font-weight: 800; color: var(--primary); text-decoration: none; margin-bottom: 12px; } .footer-about .footer-logo:hover { color: var(--secondary); } .footer-description { font-size: 14px; line-height: 1.7; color: var(--text-main); opacity: 0.85; margin: 0; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { font-size: 16px; color: var(--primary); margin: 0 0 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; } .footer-nav { list-style: none; margin: 0; padding: 0; } .footer-nav li { margin-bottom: 8px; } .footer-nav li 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 li a:hover { color: var(--secondary); opacity: 1; } .footer-dynamic-col { min-width: 0; } .footer-slot-anchor-inner { min-height: 1px; } .footer-mid-area { max-width: 1200px; margin: 0 auto; padding: 20px 0; border-top: 1px solid var(--border-color); } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; } .footer-bottom { max-width: 1200px; margin: 0 auto; padding: 20px 0; border-top: 1px solid var(--border-color); text-align: center; } .footer-copyright { margin: 0; font-size: 13px; color: var(--text-main); opacity: 0.75; } @media (max-width: 768px) { :root { --header-offset: 110px; } body { padding-top: var(--header-offset); overflow-x: hidden; } .header-top { height: 60px !important; min-height: 60px !important; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; justify-content: center; } .logo { font-size: 22px; z-index: 2; } .desktop-nav-buttons { display: none !important; } .hamburger-menu { display: block; right: 12px; } .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; box-sizing: border-box; padding: 6px 15px; overflow: hidden; gap: 10px; flex-wrap: nowrap; background-color: #0F0F0F; border-bottom: 1px solid var(--border-color); } .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: nowrap; overflow: hidden; text-overflow: ellipsis; } .main-nav { height: 48px !important; min-height: 48px !important; display: none; position: fixed; top: 0; left: 0; width: 260px; max-width: 80%; height: 100vh !important; min-height: 100vh !important; flex-direction: column; align-items: flex-start; justify-content: flex-start; background-color: #1A1A1A; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1000; padding-top: 80px; overflow-y: auto; } .main-nav.active { display: flex; transform: translateX(0); } .nav-container { width: 100%; max-width: none; height: auto; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 0 10px; gap: 4px; } .nav-link { display: block; width: 100%; padding: 12px 16px; font-size: 15px; box-sizing: border-box; border-bottom: 1px solid rgba(255,255,255,0.06); } .menu-overlay { display: none; } .menu-overlay.active { display: block; } .footer-top-grid { grid-template-columns: 1fr; gap: 20px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; } .page-content img { max-width: 100% !important; height: auto !important; display: block; } .page-content { overflow-x: hidden; max-width: 100%; } } @media (min-width: 769px) and (max-width: 1024px) { .nav-link { font-size: 13px; padding: 8px 8px; } .header-container { padding-left: 20px; padding-right: 20px; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
