body { font-family: 'Arial', sans-serif; margin: 0; padding: 0; color: #333; line-height: 1.6; padding-top: 75px; /* Compensate for fixed header height */ }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* Header Styles */
.site-header {
  background-color: #0A192F;
  color: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  position: fixed; /* Make it sticky */
  top: 0;
  width: 100%;
  z-index: 1000;
}
.site-header .container { display: flex; justify-content: space-between; align-items: center; }
.site-header .logo { color: #FFD700; font-size: 28px; font-weight: bold; text-decoration: none; text-transform: lowercase; letter-spacing: 1px; }
.site-header .main-nav {
  flex-grow: 1; /* Allows it to take up available space */
  margin-left: 20px; /* Space from logo */
}
.site-header .main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: flex-end; /* Push items to the right */ }
.site-header .main-nav li { margin-left: 25px; }
.site-header .main-nav a { color: #fff; text-decoration: none; font-size: 16px; padding: 5px 0; transition: color 0.3s ease; white-space: nowrap; }
.site-header .main-nav a:hover, .site-header .main-nav a.active { color: #FFD700; }

/* Auth Buttons Styles */
.site-header .auth-buttons {
  display: flex; /* Show on desktop */
  gap: 10px;
  margin-left: 20px; /* Space from main-nav */
}
.site-header .auth-buttons .btn {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
.site-header .auth-buttons .btn-register {
  background-color: #FFD700; /* Gold */
  color: #0A192F; /* Dark blue */
  border: 1px solid #FFD700;
}
.site-header .auth-buttons .btn-register:hover {
  background-color: #e6c200;
  color: #0A192F;
}
.site-header .auth-buttons .btn-login {
  background-color: transparent;
  color: #FFD700;
  border: 1px solid #FFD700;
}
.site-header .auth-buttons .btn-login:hover {
  background-color: #FFD700;
  color: #0A192F;
}

.site-header .hamburger-menu { display: none; cursor: pointer; background: none; border: none; padding: 10px; position: relative; z-index: 1000; }
.site-header .hamburger-menu span { display: block; width: 25px; height: 3px; background-color: #FFD700; margin: 5px 0; transition: all 0.3s ease; }

/* Footer Styles */
.site-footer { background-color: #0A192F; color: #ccc; padding: 40px 0 20px; font-size: 14px; }
.site-footer h3 { color: #FFD700; font-size: 18px; margin-bottom: 15px; font-weight: bold; }
.site-footer .footer-columns { display: flex; flex-wrap: wrap; justify-content: space-between; margin-bottom: 30px; }
.site-footer .footer-col { flex: 1; min-width: 200px; margin-right: 20px; margin-bottom: 20px; }
.site-footer .footer-col:last-child { margin-right: 0; }
.site-footer p { line-height: 1.6; margin-bottom: 10px; }
.site-footer a { color: #fff; text-decoration: none; transition: color 0.3s ease; }
.site-footer a:hover { color: #FFD700; }
.site-footer .footer-nav ul { list-style: none; margin: 0; padding: 0; }
.site-footer .footer-nav li { margin-bottom: 8px; }
.site-footer .footer-bottom { text-align: center; border-top: 1px solid #22374e; padding-top: 20px; margin-top: 20px; }
.site-footer .footer-bottom p { margin: 0; }

.no-scroll { overflow: hidden; }

/* Responsive Styles */
@media (max-width: 768px) {
  .site-header {
    padding: 0; /* Container will handle padding on mobile */
    height: auto; /* Allow header height to adjust based on content */
  }
  .site-header .container {
    flex-wrap: wrap; /* Allow items to wrap into multiple rows */
    justify-content: center; /* Center items on the main axis (horizontally) */
    padding: 15px; /* Adjust container padding for mobile */
  }

  /* LOGO居中，面包屑按钮要和LOGO放在同一栏 */
  .site-header .logo {
    order: 1; /* First item */
    width: 100%; /* Take full width to allow text-align: center */
    text-align: center; /* Center the logo text */
    margin-right: 0; /* Reset desktop margin */
    margin-left: 0; /* Reset desktop margin */
  }

  .site-header .hamburger-menu {
    order: 2; /* Second item */
    display: block; /* Show hamburger */
    position: absolute; /* Position it relative to the header */
    right: 15px; /* Align to the right of the header */
    top: 15px; /* Align to the top of the header */
    margin-left: auto; /* Fallback for pushing to right if not absolute */
  }

  /* 按钮并排呈现在LOGO下面的独立区域中间位置 */
  .site-header .auth-buttons {
    order: 3; /* Third item, below logo/hamburger row */
    display: flex; /* Ensure buttons are visible and side-by-side */
    justify-content: center; /* Center the buttons */
    width: 100%; /* Take full width */
    margin-top: 10px; /* Space from logo/hamburger row */
    margin-bottom: 15px; /* Space before navigation */
    margin-left: 0; /* Reset desktop margin */
  }

  .site-header .main-nav {
    order: 4; /* Fourth item, below buttons */
    display: none; /* Hide nav by default on mobile */
    position: absolute; /* Position relative to header */
    top: 100%; /* Below the header */
    left: 0;
    width: 100%;
    background-color: #0A192F;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    z-index: 999;
    margin-left: 0; /* Reset desktop margin */
  }
  .site-header .main-nav.active {
    display: block; /* Show nav when active */
  }
  .site-header .main-nav ul {
    flex-direction: column;
    padding: 20px 0;
  }
  .site-header .main-nav li {
    margin: 0;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .site-header .main-nav li:last-child {
    border-bottom: none;
  }
  .site-header .main-nav a {
    display: block;
    padding: 15px 0;
  }
  .site-header .hamburger-menu.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .site-header .hamburger-menu.active span:nth-child(2) { opacity: 0; }
  .site-header .hamburger-menu.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .site-footer .footer-columns {
    flex-direction: column;
    align-items: center;
  }
  .site-footer .footer-col {
    min-width: unset;
    width: 90%;
    margin-right: 0;
    text-align: center;
  }
}