.site-header { position: fixed; top: 0; width: 100%; z-index: 1000; background-color: #FFFFFF; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); min-height: 120px; }
.header-top { background-color: #FFFFFF; width: 100%; }
.header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 10px 30px; }
.logo { font-size: 2.2rem; font-weight: 900; color: #26A9E0; text-decoration: none; text-transform: uppercase; letter-spacing: 2px; display: inline-block; line-height: 1.3; transition: color 0.3s ease; }
.logo:hover { color: #1b84b1; }
.desktop-nav-buttons { display: flex; gap: 12px; }
.btn { display: inline-block; padding: 10px 24px; border-radius: 50px; font-weight: 600; font-size: 1rem; text-decoration: none; transition: all 0.3s ease; border: none; cursor: pointer; text-transform: uppercase; letter-spacing: 0.5px; }
.btn-login { background-color: #EA7C07; color: #FFFFFF; box-shadow: 0 4px 12px rgba(234, 124, 7, 0.35); }
.btn-login:hover { background-color: #d16b05; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(234, 124, 7, 0.4); }
.btn-register { background-color: #26A9E0; color: #FFFFFF; box-shadow: 0 4px 12px rgba(38, 169, 224, 0.35); }
.btn-register:hover { background-color: #1b84b1; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(38, 169, 224, 0.4); }
.main-nav { background-color: #26A9E0; width: 100%; display: flex; position: static; }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; padding: 12px 20px; flex-wrap: wrap; gap: 6px; }
.nav-link { color: #FFFFFF; text-decoration: none; font-size: 1rem; font-weight: 500; padding: 8px 14px; border-radius: 20px; transition: background-color 0.3s ease, color 0.3s ease; white-space: nowrap; }
.nav-link:hover { background-color: rgba(255, 255, 255, 0.2); color: #FFFFFF; }
.mobile-menu-overlay { display: none; }
.mobile-nav-buttons { display: none; }
.hamburger-menu { display: none; }
.site-footer { background-color: #1e1e2e; color: #c8c8d4; padding: 50px 20px 20px; margin-top: 60px; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 30px; }
.footer-logo { font-size: 2rem; font-weight: 900; color: #FFFFFF; text-decoration: none; text-transform: uppercase; letter-spacing: 2px; display: inline-block; margin-bottom: 15px; transition: color 0.3s ease; }
.footer-logo:hover { color: #26A9E0; }
.footer-description { font-size: 0.9rem; line-height: 1.6; opacity: 0.8; max-width: 320px; }
.footer-title { font-size: 1.1rem; font-weight: 600; color: #FFFFFF; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-link { color: #c8c8d4; text-decoration: none; font-size: 0.95rem; transition: color 0.3s ease, padding-left 0.3s ease; }
.footer-link:hover { color: #26A9E0; padding-left: 5px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 20px; text-align: center; font-size: 0.85rem; opacity: 0.7; }
:root { --header-offset: 122px; }
body { padding-top: var(--header-offset); overflow-x: hidden; }
@media (max-width: 768px) {
  :root { --header-offset: 158px; }
  .header-container { width: 100%; max-width: none; padding: 10px 15px; }
  .nav-container { width: 100%; max-width: none; padding: 15px; flex-direction: column; gap: 4px; }
  .main-nav { display: none; position: fixed; top: 0; right: 0; width: 280px; height: 100vh; background-color: #26A9E0; flex-direction: column; transform: translateX(100%); transition: transform 0.3s ease, display 0.3s ease; z-index: 1002; overflow-y: auto; box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2); }
  .main-nav.active { display: flex; transform: translateX(0); }
  .nav-link { color: #FFFFFF; font-size: 1rem; padding: 12px 20px; width: 100%; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0; }
  .nav-link:hover { background-color: rgba(255, 255, 255, 0.1); padding-left: 25px; }
  .mobile-nav-buttons { display: flex; justify-content: center; gap: 10px; position: fixed; top: 108px; left: 0; right: 0; z-index: 1000; background-color: #FFFFFF; padding: 8px 10px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); }
  .btn-login { order: 1; }
  .btn-register { order: 2; }
  .hamburger-menu { display: flex; flex-direction: column; justify-content: space-around; width: 32px; height: 32px; background: none; border: none; cursor: pointer; padding: 0; position: fixed; top: 15px; left: 15px; z-index: 1001; }
  .hamburger-line { width: 28px; height: 3px; background-color: #26A9E0; border-radius: 2px; transition: all 0.3s ease; display: block; }
  .hamburger-menu.active .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger-menu.active .hamburger-line:nth-child(2) { opacity: 0; }
  .hamburger-menu.active .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .mobile-menu-overlay { display: block; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.6); z-index: 999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
  .mobile-menu-overlay.active { opacity: 1; visibility: visible; }
  .header-top { position: relative; z-index: 1000; }
  .logo { font-size: 1.5rem; position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 1001; }
  .desktop-nav-buttons { display: none; }
  .site-footer { padding: 40px 20px 20px; }
  .footer-container { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .footer-description { max-width: 100%; margin: 0 auto; }
  .footer-title { margin-bottom: 12px; }
  .footer-nav { align-items: center; }
  .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;
}
