:root { --primary: #F2C14E; --secondary: #FFD36B; --bg: #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); color: var(--text-main); font-family: Arial, Helvetica, sans-serif; } .site-header { position: fixed; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,0.7); } .header-top { box-sizing: border-box; height: 68px; min-height: 68px; display: flex; align-items: center; overflow: hidden; background-color: #1A1305; width: 100%; border-bottom: 1px solid var(--border-color); } .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-left: 25px; padding-right: 25px; } .logo { display: inline-block; font-size: 30px; font-weight: 800; letter-spacing: 1px; text-decoration: none; color: var(--primary); text-shadow: 0 0 12px rgba(255,211,107,0.5); } .logo:hover { color: var(--secondary); } .hamburger-menu { display: none; background: none; border: none; cursor: pointer; padding: 8px; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; } .hamburger-menu span { display: block; width: 26px; height: 3px; 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); } .desktop-nav-buttons { display: flex; gap: 12px; align-items: center; } .mobile-nav-buttons { display: none; min-height: 48px; } .btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; border-radius: 6px; font-weight: 700; cursor: pointer; transition: all 0.25s ease; border: none; white-space: nowrap; } .btn-login { background: transparent; color: var(--primary); border: 2px solid var(--primary); padding: 9px 20px; font-size: 14px; } .btn-login:hover { background: rgba(242,193,78,0.15); color: var(--secondary); } .btn-register { background: var(--btn-gradient); color: #1A1305; padding: 11px 22px; font-size: 14px; box-shadow: 0 3px 12px rgba(221,161,29,0.45); } .btn-register:hover { filter: brightness(1.1); transform: translateY(-1px); } .main-nav { box-sizing: border-box; height: 52px; min-height: 52px; display: flex; align-items: center; overflow: hidden; background-color: #0F0B04; width: 100%; border-bottom: 1px solid var(--border-color); } .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; } .nav-menu { display: flex; flex-direction: row; list-style: none; margin: 0; padding: 0; gap: 22px; align-items: center; } .nav-menu li { margin: 0; padding: 0; } .nav-menu a { display: inline-block; text-decoration: none; color: var(--text-main); font-size: 14px; font-weight: 600; padding: 6px 2px; transition: color 0.2s ease; white-space: nowrap; } .nav-menu a:hover { color: var(--primary); } .nav-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.65); z-index: 999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; } .nav-overlay.active { opacity: 1; visibility: visible; } body.no-scroll { overflow: hidden; } .site-footer { background-color: var(--card-bg); border-top: 1px solid var(--border-color); padding: 40px 0 0; margin-top: 40px; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 25px; } .footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-bottom: 30px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 28px; font-weight: 800; letter-spacing: 1px; text-decoration: none; color: var(--primary); margin-bottom: 12px; text-shadow: 0 0 10px rgba(255,211,107,0.4); } .footer-logo:hover { color: var(--secondary); } .footer-description { color: var(--text-main); font-size: 13.5px; line-height: 1.7; margin: 0 0 10px; opacity: 0.85; overflow-wrap: break-word; word-wrap: break-word; } .footer-title { color: var(--primary); font-size: 15px; font-weight: 700; margin: 0 0 14px; text-transform: uppercase; letter-spacing: 0.5px; } .footer-nav { list-style: none; margin: 0; padding: 0; } .footer-nav li { margin-bottom: 9px; } .footer-nav a { text-decoration: none; color: var(--text-main); font-size: 13.5px; opacity: 0.85; transition: color 0.2s ease, opacity 0.2s ease; } .footer-nav a:hover { color: var(--primary); opacity: 1; } .footer-mid-area { padding: 10px 0 20px; } .footer-mid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .footer-bottom { border-top: 1px solid var(--border-color); padding: 18px 0; text-align: center; } .footer-bottom p { margin: 0; color: var(--text-main); font-size: 13px; opacity: 0.75; } .footer-slot-anchor-inner:empty { min-height: 1px; } @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; } .hamburger-menu { display: flex; z-index: 1002; } .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 25px; text-align: center; } .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-left: 15px; padding-right: 15px; gap: 10px; flex-wrap: nowrap; overflow: hidden; background-color: #1A1305; 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: normal; word-wrap: break-word; overflow-wrap: break-word; } .main-nav { display: none; position: fixed; top: 0; left: 0; height: 100vh !important; min-height: 100vh !important; width: 78%; max-width: 320px; flex-direction: column; background-color: #0F0B04; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; overflow-y: auto; padding-top: 20px; align-items: flex-start; border-right: 1px solid var(--border-color); } .main-nav.active { display: block; transform: translateX(0); } .nav-container { width: 100%; max-width: none; height: auto; flex-direction: column; align-items: stretch; padding: 10px 0; } .nav-menu { flex-direction: column; gap: 0; width: 100%; align-items: stretch; } .nav-menu li { border-bottom: 1px solid rgba(58,42,18,0.6); } .nav-menu a { display: block; width: 100%; padding: 14px 22px; font-size: 15px; } .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 24px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; gap: 16px; } .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: 480px) { .footer-top-grid { grid-template-columns: 1fr; } .footer-mid-grid { grid-template-columns: 1fr; } }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
