:root { --header-offset: 166px; --primary: #F2C14E; --secondary: #FFD36B; --btn-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); --card-bg: #111111; --bg-dark: #0A0A0A; --text-main: #FFF6D6; --border-color: #3A2A12; --glow: #FFD36B; } * { margin: 0; padding: 0; box-sizing: border-box; } body { padding-top: var(--header-offset); background-color: var(--bg-dark); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; overflow-x: hidden; } body.no-scroll { overflow: hidden; } a { text-decoration: none; } .site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 2000; background-color: var(--bg-dark); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 2px 10px rgba(242, 193, 78, 0.15); border-bottom: 2px solid var(--border-color); min-height: auto; } .header-top { background-color: #141414; width: 100%; border-bottom: 1px solid var(--border-color); } .header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 12px 30px; min-height: 68px; gap: 10px; } .logo { display: inline-block; color: var(--primary); font-size: 2.2rem; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase; text-shadow: 0 0 15px rgba(242, 193, 78, 0.5); line-height: 1.2; white-space: nowrap; } .logo:hover { color: var(--secondary); text-shadow: 0 0 25px rgba(255, 211, 107, 0.8); } .desktop-nav-buttons { display: flex; align-items: center; gap: 12px; } .btn { display: inline-block; padding: 12px 28px; border-radius: 50px; font-weight: 800; font-size: 1rem; letter-spacing: 0.5px; transition: transform 0.3s ease, box-shadow 0.3s ease; text-align: center; cursor: pointer; border: 2px solid rgba(255, 216, 106, 0.4); text-decoration: none; } .btn:hover { transform: translateY(-3px) scale(1.03); } .btn-register { background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); color: #111111; box-shadow: 0 0 20px rgba(242, 193, 78, 0.3); } .btn-register:hover { box-shadow: 0 0 30px rgba(242, 193, 78, 0.6); } .btn-login { background: transparent; color: var(--primary); border: 2px solid var(--primary); } .btn-login:hover { background: rgba(242, 193, 78, 0.15); color: var(--secondary); box-shadow: 0 0 15px rgba(242, 193, 78, 0.3); } .main-nav { background-color: #0f0f0f; width: 100%; display: flex; align-items: center; border-top: 1px solid rgba(242, 193, 78, 0.2); min-height: 52px; } .nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 8px 20px; gap: 0px; width: 100%; } .nav-container > a { display: block; color: #f8e9c9; font-size: 1rem; font-weight: 700; padding: 12px 18px; letter-spacing: 0.3px; border-radius: 30px; transition: all 0.3s ease; white-space: nowrap; text-decoration: none; } .nav-container > a:hover { color: var(--bg-dark); background-color: var(--primary); box-shadow: 0 0 25px rgba(242, 193, 78, 0.4); border-radius: 30px; transform: translateY(-2px); } .hamburger-menu { display: none; width: 44px; height: 44px; background: none; border: none; cursor: pointer; z-index: 2200; flex-shrink: 0; position: relative; padding: 8px; background-color: transparent; } .hamburger-menu span { display: block; width: 26px; height: 3px; margin: 5px auto; background: var(--primary); border-radius: 3px; transition: transform 0.4s ease, opacity 0.4s ease; box-shadow: 0 0 6px rgba(242, 193, 78, 0.6); } .hamburger-menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); background: var(--secondary); } .hamburger-menu.active span:nth-child(2) { opacity: 0; } .hamburger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background: var(--secondary); } .mobile-nav-buttons { display: none; background-color: #1a1202; width: 100%; padding: 12px 15px; border-bottom: 1px solid var(--border-color); gap: 10px; } .mobile-nav-buttons .btn { flex: 1; max-width: 200px; padding: 12px 18px; font-size: 0.95rem; } .mobile-menu-overlay { display: none; } @media (max-width: 768px) { :root { --header-offset: 146px; } .header-container { width: 100%; max-width: none; min-height: 60px; padding: 8px 15px; gap: 8px; } .desktop-nav-buttons { display: none; } .hamburger-menu { display: block; order: 0; } .logo { order: 1; flex: 1; text-align: center; font-size: 1.7rem; margin-right: 44px; } .mobile-nav-buttons { display: flex; justify-content: center; align-items: center; min-height: 48px; } .main-nav { display: none; flex-direction: column; position: fixed; top: 0; left: 0; bottom: 0; width: 85%; max-width: 360px; background-color: #1a140a; padding-top: 90px; padding-bottom: 30px; justify-content: flex-start; overflow-y: auto; transform: translateX(-100%); transition: transform 0.35s ease-in-out; border-right: 2px solid var(--primary); box-shadow: 4px 0 30px rgba(0, 0, 0, 0.8); min-height: 100vh; z-index: 2100; } .main-nav.active { display: block; transform: translateX(0); } .nav-container { width: 100%; max-width: none; flex-direction: column; align-items: stretch; padding: 10px 15px; gap: 4px; } .nav-container > a { padding: 14px 18px; border-radius: 10px; font-size: 1.05rem; border-left: 3px solid transparent; white-space: normal; } .nav-container > a:hover { background: linear-gradient(135deg, rgba(242, 193, 78, 0.2), rgba(255, 211, 107, 0.1)); color: var(--primary); border-left-color: var(--primary); transform: translateX(5px); border-radius: 10px; box-shadow: none; } .mobile-menu-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.7); z-index: 1000; display: block; opacity: 0; visibility: hidden; transition: opacity 0.3s ease; backdrop-filter: blur(2px); } .mobile-menu-overlay.active { opacity: 1; visibility: visible; } .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 { background-color: var(--card-bg); border-top: 3px solid var(--border-color); padding: 50px 20px 20px; margin-top: 40px; } .footer-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; gap: 50px; padding: 0 20px; } .footer-column { flex: 1; } .footer-brand { max-width: 400px; } .footer-logo { font-size: 2rem; font-weight: 900; color: var(--primary); display: inline-block; margin-bottom: 20px; letter-spacing: 1.5px; text-transform: uppercase; text-shadow: 0 0 12px rgba(242, 193, 78, 0.4); } .footer-brand p { line-height: 1.8; font-size: 1rem; color: #d4c9b0; text-align: left; } .footer-links h4 { color: var(--primary); font-size: 1.2rem; font-weight: 800; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1px; } .footer-nav { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; } .footer-nav li a { color: #c0b69e; font-size: 0.95rem; transition: color 0.3s ease; display: inline-block; padding: 4px 0; text-decoration: none; } .footer-nav li a:hover { color: var(--secondary); transform: translateX(4px); } .footer-bottom { border-top: 1px solid var(--border-color); max-width: 1200px; margin: 40px auto 0; padding-top: 20px; text-align: center; } .footer-bottom p { color: #999; font-size: 0.9rem; margin: 0; } @media (max-width: 768px) { .footer-container { flex-direction: column; gap: 35px; padding: 0; } .footer-brand { max-width: 100%; } .footer-links h4 { margin-bottom: 18px; } .footer-nav { grid-template-columns: 1fr 1fr; gap: 11px 15px; } .footer-bottom { margin-top: 30px; } } .site-footer a.btn, .site-footer .footer-nav a im { text-decoration: none; }
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
