:root { --primary-color: #E53935; --secondary-color: #FF5A4F; --text-color: #333333; --bg-color: #F5F7FA; --card-bg: #FFFFFF; --border-color: #E0E0E0; --header-offset: 164px; --header-bg-top: #E53935; --header-bg-nav: #ffffff; --nav-text-color: #333333; --nav-text-hover: #E53935; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Arial, sans-serif; background-color: var(--bg-color); color: var(--text-color); line-height: 1.6; padding-top: var(--header-offset); margin: 0; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: #E53935; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); border-bottom: 3px solid #FF5A4F; }
.header-top { background: linear-gradient(135deg, #E53935 0%, #d32f2f 100%); width: 100%; border-bottom: 2px solid rgba(255, 255, 255, 0.1); }
.header-container { max-width: 1200px; margin: 0 auto; padding-left: 30px; padding-right: 30px; display: flex; justify-content: space-between; align-items: center; }
.header-top .header-container { min-height: 68px; }
.header-main .header-container { flex-direction: row; justify-content: space-between; align-items: center; gap: 20px; }
.logo { display: inline-block; font-size: 28px; font-weight: 800; color: #FFFFFF; text-transform: uppercase; letter-spacing: 1.5px; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); background: linear-gradient(135deg, #fff 0%, #ffccbc 50%, #fff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-style: italic; }
.logo:hover { opacity: 0.9; }
.mobile-logo { display: none; }
.header-main { width: 100%; background-color: #ffffff; border-bottom: 1px solid #E0E0E0; }
.hamburger-menu { display: none; background: none; border: none; cursor: pointer; padding: 10px; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; z-index: 1001; position: relative; }
.hamburger-menu span { display: block; width: 24px; height: 3px; background-color: #E53935; border-radius: 3px; transition: all 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; justify-content: flex-end; }
.mobile-nav-buttons { display: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 28px; border-radius: 50px; font-size: 14px; font-weight: 700; text-decoration: none; transition: all 0.3s ease; letter-spacing: 0.5px; }
.btn-register { background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); color: #FFFFFF; box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4); }
.btn-register:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(229, 57, 53, 0.5); }
.btn-login { background: #FFFFFF; color: #E53935; border: 2px solid #E53935; }
.btn-login:hover { background: #ffebee; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(229, 57, 53, 0.2); }
.main-nav { display: flex; flex-direction: row; position: static; background-color: #f9f9f9; width: 100%; }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 4px; padding: 10px 20px; flex-wrap: wrap; }
.nav-container a { color: var(--nav-text-color); font-size: 14px; font-weight: 600; text-align: center; padding: 8px 16px; border-radius: 20px; transition: all 0.3s ease; text-decoration: none; letter-spacing: 0.3px; }
.nav-container a:hover { background-color: #FF5A4F; color: #FFFFFF; }
.mobile-menu-overlay { display: none; }
body.no-scroll { overflow: hidden; }
.site-footer { background-color: #263238; color: #FFFFFF; padding-top: 60px; margin-top: 60px; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.footer-column h4 { font-size: 18px; margin-bottom: 20px; color: #FF5A4F; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.footer-logo { display: inline-block; font-size: 28px; font-weight: 800; color: #FFFFFF; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 15px; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); background: linear-gradient(135deg, #fff 0%, #ffccbc 50%, #fff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-style: italic; }
.footer-description { color: #B0BEC5; font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.footer-buttons .btn { padding: 10px 30px; font-size: 14px; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { color: #B0BEC5; text-decoration: none; font-size: 14px; transition: color 0.3s; }
.footer-nav a:hover { color: #FF5A4F; }
.footer-bottom { border-top: 1px solid #37474F; padding: 25px 0; text-align: center; margin-top: 40px; }
.footer-bottom p { font-size: 14px; color: #78909C; }
.page-content img { max-width: 100% !important; height: auto !important; display: block; }
.page-content { max-width: 1200px; margin: 0 auto; padding: 20px; overflow-x: hidden; }
@media (max-width: 768px) {
  :root { --header-offset: 146px; }
  .header-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; }
  .nav-container { width: 100%; max-width: none; padding-left: 15px; padding-right: 15px; }
  .header-top { min-height: 60px; }
  .header-top .header-container { min-height: 60px; }
  .site-header { border-bottom: 2px solid #FF5A4F; }
  .header-top .header-container { justify-content: space-between; }
  .header-top .desktop-nav-buttons { display: none; }
  .header-top .logo { display: none; }
  .header-main { display: block; background-color: #ffffff; border-bottom: 1px solid #E0E0E0; }
  .header-main .header-container { display: flex; flex-direction: row; align-items: center; justify-content: space-between; min-height: 48px; }
  .hamburger-menu { display: flex; order: 1; }
  .mobile-logo { display: inline-block; order: 2; font-size: 22px; flex: 1; text-align: center; margin: 0 10px; }
  .mobile-nav-buttons { display: flex; order: 3; gap: 8px; flex-shrink: 0; }
  .mobile-nav-buttons .btn { padding: 8px 16px; font-size: 13px; }
  .desktop-nav-buttons { display: none; }
  .main-nav { display: none; flex-direction: column; position: fixed; top: 108px; left: 0; width: 100%; background-color: #FFFFFF; transform: translateX(-100%); transition: transform 0.3s ease; z-index: 1001; height: auto; max-height: calc(100vh - 108px); overflow-y: auto; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); }
  .main-nav.active { display: block; transform: translateX(0); }
  .main-nav .nav-container { flex-direction: column; align-items: flex-start; padding: 16px 20px; width: 100%; }
  .main-nav .nav-container a { width: 100%; text-align: left; padding: 12px 8px; color: #333333; border-bottom: 1px solid #f0f0f0; font-size: 15px; font-weight: 500; border-radius: 0; }
  .main-nav .nav-container a:last-child { border-bottom: none; }
  .main-nav .nav-container a:hover { background-color: #f5f5f5; color: #E53935; }
  .mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 999; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
  .mobile-menu-overlay.active { opacity: 1; visibility: visible; }
  .mobile-nav-buttons { display: flex; }
  .logo { font-size: 22px; }
  .btn { padding: 8px 20px; font-size: 13px; }
  .btn-register, .btn-login { padding: 8px 18px; font-size: 13px; }
  .footer-container { grid-template-columns: 1fr; gap: 30px; text-align: left; }
  .footer-column { width: 100%; }
  .footer-logo { font-size: 24px; }
  .footer-bottom { margin-top: 30px; padding: 20px 0; }
  .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) {
  :root { --header-offset: 146px; }
  .mobile-nav-buttons { gap: 6px; }
  .mobile-nav-buttons .btn { padding: 6px 14px; font-size: 12px; }
  .mobile-logo { font-size: 20px; }
  .header-container { padding-left: 10px; padding-right: 10px; }
  .nav-container { padding-left: 10px; padding-right: 10px; }
  .main-nav { top: 108px; }
  .main-nav .nav-container { padding: 12px 15px; }
  .main-nav .nav-container a { padding: 10px 6px; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
}
