:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --header-offset: 120px;
}
body {
  margin: 0;
  padding: 0;
  padding-top: var(--header-offset);
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #FFFFFF;
  color: #000000;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  min-height: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background-color: #FFFFFF;
  border-bottom: none;
}
.header-top {
  background-color: #26A9E0;
  width: 100%;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 24px;
  padding-right: 24px;
}
.logo {
  font-size: 32px;
  font-weight: 900;
  color: #FFFFFF;
  text-decoration: none;
  letter-spacing: -0.5px;
  display: inline-block;
  text-transform: lowercase;
  line-height: 1.2;
}
.logo:hover,
.logo:focus {
  color: #FFFFFF;
  text-decoration: none;
  opacity: 0.9;
}
.main-nav {
  background-color: #FFFFFF;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  border-top: 1px solid #E8F4FA;
  border-bottom: 1px solid #E0EEF5;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 20px;
  padding-right: 20px;
  gap: 4px;
}
.nav-link {
  color: #1a1a2e;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.nav-link:hover {
  color: #26A9E0;
  background-color: #F0F9FF;
  text-decoration: none;
}
.desktop-nav-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  line-height: 1;
}
.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}
.btn-login {
  background-color: #EA7C07;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(234, 124, 7, 0.3);
}
.btn-register {
  background-color: #26A9E0;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(38, 169, 224, 0.35);
}
.mobile-nav-buttons {
  display: none;
}
.hamburger-menu {
  display: none;
}
.mobile-menu-overlay {
  display: none;
}
@media (max-width: 768px) {
  :root {
    --header-offset: 108px;
  }
  .header-container {
    width: 100%;
    max-width: none;
    padding-left: 16px;
    padding-right: 16px;
  }
  .nav-container {
    width: 100%;
    max-width: none;
    padding: 10px 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 2px;
    overflow-y: auto;
    flex: 1;
  }
  .header-top {
    padding: 0;
  }
  .header-top .header-container {
    min-height: 60px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .main-nav {
    background-color: #FFFFFF;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    overflow-y: auto;
    padding-top: 70px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 1002;
    box-shadow: 4px 0 16px rgba(0, 0, 0, 0.2);
    border-top: none;
  }
  .main-nav.active {
    display: block;
    transform: translateX(0);
  }
  .main-nav .nav-container {
    width: 100%;
    max-width: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 10px 0;
    border-bottom: none;
  }
  .nav-link {
    font-size: 16px;
    padding: 14px 20px;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid #F0F8FC;
    color: #1a1a2e;
  }
  .mobile-nav-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background-color: #EAF7FD;
    border-bottom: 1px solid #D0EBF7;
  }
  .mobile-nav-buttons .btn {
    font-size: 13px;
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: 700;
    text-decoration: none;
    color: #FFFFFF;
    background-color: transparent;
  }
  .mobile-nav-buttons .btn-login {
    background-color: #EA7C07;
  }
  .mobile-nav-buttons .btn-register {
    background-color: #26A9E0;
  }
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1003;
    position: absolute;
    left: 10px;
    top: 58px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
  }
  .hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #26A9E0;
    border-radius: 3px;
    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);
  }
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    cursor: pointer;
  }
  .mobile-menu-overlay.active {
    display: block;
  }
  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;
  }
  .desktop-nav-buttons {
    display: none;
  }
  .footer-container {
    flex-direction: column;
    gap: 24px;
  }
  .header-container {
    justify-content: space-between;
  }
}
.site-footer {
  background-color: #1a1a2e;
  color: #E0E0E0;
  padding: 40px 20px 0;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 30px;
}
.footer-column {
  flex: 1;
  min-width: 200px;
}
.footer-brand {
  flex: 2;
  min-width: 260px;
}
.footer-logo {
  font-size: 30px;
  font-weight: 900;
  color: #FFFFFF;
  text-decoration: none;
  display: inline-block;
  text-transform: lowercase;
  letter-spacing: -0.5px;
}
.footer-logo:hover {
  color: #FFFFFF;
}
.footer-description {
  font-size: 14px;
  line-height: 1.6;
  color: #B0B0B0;
  margin-top: 12px;
  max-width: 320px;
}
.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 8px;
}
.footer-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: #26A9E0;
}
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav li {
  margin-bottom: 10px;
}
.footer-nav li a {
  color: #B0B0B0;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-nav li a:hover {
  color: #26A9E0;
}
.footer-bottom {
  border-top: 1px solid #2D2D44;
  padding: 16px 0;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  color: #888888;
  font-size: 13px;
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
