:root { --primary: #11A84E; --secondary: #22C768; --card-bg: #11271B; --bg: #08160F; --text-main: #F2FFF6; --text-secondary: #A7D9B8; --border: #2E7A4E; --glow: #57E38D; --gold: #F2C14E; --divider: #1E3A2A; --deep-green: #0A4B2C; --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); --header-offset: 122px; --header-top-height: 68px; --main-nav-height: 52px; } * { box-sizing: border-box; } body { margin: 0; padding-top: var(--header-offset); background-color: var(--bg); color: var(--text-main); font-family: 'Segoe UI', Arial, sans-serif; overflow-x: hidden; } .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.6); background-color: var(--card-bg); } .header-top { width: 100%; height: var(--header-top-height); min-height: var(--header-top-height); display: flex; align-items: center; overflow: hidden; background-color: var(--deep-green); border-bottom: 1px solid var(--border); } .header-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; display: flex; align-items: center; justify-content: space-between; } .hamburger-menu { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 8px; background: transparent; border: 1px solid var(--border); border-radius: 6px; cursor: pointer; z-index: 1001; } .hamburger-menu span { display: block; width: 100%; height: 2px; background-color: var(--text-main); 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); } .logo { display: inline-block; font-size: 30px; font-weight: 900; letter-spacing: 1px; color: var(--gold); text-decoration: none; text-shadow: 0 0 10px rgba(242,193,78,0.4); } .logo img { display: block; max-height: 60px; height: auto; width: auto; max-width: 280px; object-fit: contain; } .desktop-nav-buttons { display: flex; align-items: center; gap: 12px; } .mobile-nav-buttons { display: none; min-height: 48px; box-sizing: border-box; } .btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: none; border-radius: 8px; padding: 10px 20px; font-size: 14px; font-weight: 700; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; white-space: nowrap; } .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(87,227,141,0.35); } .btn-login { background: transparent; color: var(--text-main); border: 2px solid var(--secondary); } .btn-login:hover { background-color: rgba(34,199,104,0.15); } .btn-register { background: var(--btn-gradient); color: #08160F; } .main-nav { width: 100%; height: var(--main-nav-height); min-height: var(--main-nav-height); display: flex; align-items: center; overflow: hidden; background-color: var(--card-bg); border-bottom: 1px solid var(--border); } .nav-container { width: 100%; height: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 4px; } .nav-link { display: inline-block; padding: 8px 12px; color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 600; border-radius: 6px; white-space: nowrap; transition: color 0.2s ease, background-color 0.2s ease; } .nav-link:hover, .nav-link.active { color: var(--glow); background-color: rgba(87,227,141,0.1); } .nav-overlay { display: none; } .site-footer { background-color: var(--card-bg); border-top: 3px solid var(--secondary); color: var(--text-main); margin-top: 60px; } .footer-top-row { max-width: 1200px; margin: 0 auto; padding: 0 20px; } .footer-top-grid { max-width: 1200px; margin: 0 auto; padding: 40px 20px 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; } .footer-col { min-width: 0; } .footer-logo { display: inline-block; font-size: 28px; font-weight: 900; color: var(--gold); text-decoration: none; margin-bottom: 14px; text-shadow: 0 0 10px rgba(242,193,78,0.35); } .footer-description { color: var(--text-secondary); font-size: 14px; line-height: 1.7; margin: 0 0 12px; word-wrap: break-word; overflow-wrap: break-word; } .footer-heading { color: var(--glow); font-size: 16px; 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: 8px; } .footer-nav a { color: var(--text-secondary); text-decoration: none; font-size: 14px; transition: color 0.2s ease, padding-left 0.2s ease; } .footer-nav a:hover { color: var(--glow); padding-left: 4px; } .footer-dynamic-col { min-height: 20px; } .footer-mid-section { max-width: 1200px; margin: 0 auto; padding: 10px 20px; display: flex; gap: 20px; flex-wrap: wrap; } .footer-mid-item { flex: 1; min-width: 0; } .footer-mid-grid { max-width: 1200px; margin: 0 auto; padding: 10px 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; } .footer-mid-cell { min-width: 0; } .footer-bottom-anchor { max-width: 1200px; margin: 0 auto; padding: 0 20px; } .footer-bottom { text-align: center; padding: 20px; border-top: 1px solid var(--divider); color: var(--text-secondary); font-size: 13px; } .footer-bottom p { margin: 0; } .footer-slot-anchor-inner { width: 100%; } @media (max-width: 768px) { :root { --header-offset: 110px; --header-top-height: 60px; --main-nav-height: 48px; } .header-top { height: 60px !important; min-height: 60px !important; } .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; position: relative; } .hamburger-menu { display: flex; position: relative; z-index: 1002; } .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% - 120px); font-size: 26px; } .logo img { display: block !important; max-width: 100%; height: auto; max-height: 56px; } .desktop-nav-buttons { display: none !important; } .mobile-nav-buttons { display: flex !important; align-items: center; justify-content: center; width: 100%; max-width: 100%; min-height: 48px; padding: 6px 15px; gap: 10px; flex-wrap: nowrap; overflow: hidden; background-color: var(--deep-green); border-bottom: 1px solid var(--border); } .mobile-nav-buttons .btn { flex: 1; min-width: 0; max-width: calc(50% - 5px); 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: none; position: fixed; top: var(--header-offset); left: 0; width: 100%; max-width: 320px; flex-direction: column; align-items: stretch; justify-content: flex-start; overflow-y: auto; padding: 10px 0; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; background-color: var(--card-bg); border-right: 1px solid var(--border); border-bottom: none; box-shadow: 4px 0 24px rgba(0,0,0,0.6); } .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: 2px; } .nav-link { padding: 12px 16px; font-size: 15px; border-bottom: 1px solid var(--divider); border-radius: 0; } .nav-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0,0,0,0.6); z-index: 1000; } .nav-overlay.active { display: block; } .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 25px; padding: 30px 15px 15px; } .footer-mid-grid { grid-template-columns: 1fr 1fr; } .footer-mid-section { flex-direction: column; gap: 10px; padding: 10px 15px; } .footer-top-row, .footer-bottom-anchor { padding: 0 15px; } .footer-bottom { padding: 16px 15px; } body.no-scroll { overflow: hidden; } .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;
}
