<style>
  :root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --card-bg: #11271B;
    --background: #08160F;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;

    /* Neon dynamic colors - default to primary/secondary/accent, will be animated */
    --neon-primary: var(--primary-color); /* Default to primary, will be animated */
    --neon-secondary: var(--secondary-color); /* Default to secondary, will be animated */
    --neon-accent: var(--glow-color); /* Default to glow, will be animated */

    /* Header offset calculation (with marquee) */
    --header-offset: 166px; /* Marquee 44px + Header Top 68px + Main Nav 52px + 2px buffer */
  }

  body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding-top: var(--header-offset);
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent body overflow on desktop */
  }

  /* Keyframe Animations */
  @keyframes marquee-pulse {
    0%, 100% {
      transform: scale(1);
      opacity: 1;
    }
    50% {
      transform: scale(1.15);
      opacity: 0.9;
    }
  }

  @keyframes marquee-scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }

  @keyframes theme-colors {
    0%, 100% {
      border-color: var(--primary-color);
      box-shadow:
        0 0 10px var(--glow-color),
        0 0 20px var(--glow-color);
    }
    33% {
      border-color: var(--secondary-color);
      box-shadow:
        0 0 10px var(--gold-color),
        0 0 20px var(--gold-color);
    }
    66% {
      border-color: var(--glow-color);
      box-shadow:
        0 0 10px var(--primary-color),
        0 0 20px var(--primary-color);
    }
  }

  @keyframes text-glow-flow {
    0% {
      text-shadow:
        0 0 5px var(--glow-color),
        0 0 10px var(--glow-color),
        0 0 15px var(--glow-color);
      color: var(--text-main);
    }
    50% {
      text-shadow:
        0 0 5px var(--gold-color),
        0 0 10px var(--gold-color),
        0 0 15px var(--gold-color);
      color: var(--text-main);
    }
    100% {
      text-shadow:
        0 0 5px var(--primary-color),
        0 0 10px var(--primary-color),
        0 0 15px var(--primary-color);
      color: var(--text-main);
    }
  }

  @keyframes neon-pulse {
    0%, 100% {
      box-shadow:
        0 0 5px var(--neon-primary),
        0 0 10px var(--neon-primary),
        inset 0 0 5px rgba(255, 255, 255, 0.1);
    }
    50% {
      box-shadow:
        0 0 15px var(--neon-primary),
        0 0 30px var(--neon-primary),
        inset 0 0 10px rgba(255, 255, 255, 0.2);
    }
  }

  /* Marquee Section Styles */
  .marquee-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 44px;
    box-sizing: border-box;
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #16213e);
    color: var(--text-main);
    overflow: hidden;
    border-bottom: 2px solid;
    animation: theme-colors 4s ease-in-out infinite;
    box-shadow:
      0 0 10px var(--neon-primary),
      0 0 20px var(--neon-primary),
      0 0 30px var(--neon-primary),
      inset 0 0 20px rgba(255, 255, 255, 0.1);
    z-index: 1001;
  }

  .marquee-container {
    width: 100%;
    max-width: 100%;
    height: 100%;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .marquee-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    z-index: 2;
    position: relative;
  }

  .marquee-icon-emoji {
    font-size: 20px;
    display: inline-block;
    animation: marquee-pulse 2s ease-in-out infinite, text-glow-flow 3s ease-in-out infinite alternate;
    text-shadow:
      0 0 5px var(--neon-primary),
      0 0 10px var(--neon-primary),
      0 0 15px var(--neon-primary);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  }

  .marquee-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
  }

  .marquee-content {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: marquee-scroll 30s linear infinite;
    gap: 30px;
  }

  .marquee-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    text-shadow:
      0 0 5px var(--neon-primary),
      0 0 10px var(--neon-primary),
      0 0 15px var(--neon-primary);
    line-height: 1.5;
    display: inline-block;
    vertical-align: middle;
    animation: text-glow-flow 3s ease-in-out infinite alternate;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .marquee-text:hover {
    text-shadow:
      0 0 10px var(--neon-primary),
      0 0 20px var(--neon-primary),
      0 0 30px var(--neon-primary),
      0 0 40px var(--neon-primary);
    transform: scale(1.05);
    color: var(--text-main);
  }

  .marquee-separator {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 15px;
    text-shadow:
      0 0 3px var(--neon-primary),
      0 0 6px var(--neon-primary);
  }

  /* Site Header Styles */
  .site-header {
    position: fixed;
    top: 44px; /* Marquee height */
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #16213e);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  }

  .header-top {
    height: 68px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    border-bottom: 2px solid;
    animation: theme-colors 4s ease-in-out infinite;
    box-shadow:
      0 0 10px var(--neon-primary),
      0 0 20px var(--neon-primary),
      0 0 30px var(--neon-primary),
      inset 0 0 20px rgba(255, 255, 255, 0.1);
  }

  .header-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .logo {
    color: var(--text-main);
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    display: block;
    /* LOGO NO NEON */
    text-shadow: none;
    box-shadow: none;
    filter: none;
    animation: none;
  }

  .hamburger-menu {
    display: none; /* Hidden on desktop */
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1002; /* Above logo on mobile */
  }

  .hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: var(--glow-color);
    margin: 5px 0;
    transition: 0.4s;
    box-shadow:
      0 0 5px var(--glow-color),
      0 0 10px var(--glow-color);
  }

  .hamburger-menu.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .desktop-nav-buttons {
    display: flex;
    gap: 10px;
  }

  .mobile-nav-buttons {
    display: none; /* Hidden on desktop */
  }

  .btn {
    position: relative;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    padding: 10px 20px;
    color: var(--text-main);
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid;
    animation: theme-colors 4s ease-in-out infinite, neon-pulse 2s ease-in-out infinite alternate;
    font-weight: bold;
    text-shadow:
      0 0 5px var(--text-main),
      0 0 10px var(--neon-primary);
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .btn:hover {
    animation-duration: 2s;
    transform: translateY(-2px);
    box-shadow:
      0 0 15px var(--neon-primary),
      0 0 30px var(--neon-primary),
      inset 0 0 10px rgba(255, 255, 255, 0.2);
  }

  .main-nav {
    height: 52px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    border-top: 2px solid;
    border-bottom: 2px solid;
    animation: theme-colors 4s ease-in-out infinite;
    box-shadow:
      0 0 10px var(--neon-secondary),
      0 0 20px var(--neon-secondary),
      0 0 30px var(--neon-secondary),
      inset 0 0 20px rgba(255, 255, 255, 0.1);
  }

  .nav-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 5px 0;
    transition: color 0.3s, text-shadow 0.3s;
    white-space: nowrap;
    /* LOGO NO NEON */
    text-shadow: none;
    box-shadow: none;
    filter: none;
    animation: none;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--text-main);
    text-shadow: 0 0 8px var(--glow-color);
  }

  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .mobile-menu-overlay.active {
    display: block;
    opacity: 1;
  }

  /* Footer Styles */
  .site-footer {
    background-color: var(--background);
    color: var(--text-secondary);
    padding: 40px 20px 20px;
    font-size: 14px;
    text-align: center;
  }

  .footer-top-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 30px;
    text-align: left;
  }

  .footer-col {
    padding: 10px 0;
  }

  .footer-logo {
    color: var(--text-main);
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
  }

  .footer-description {
    color: var(--text-secondary);
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .footer-heading {
    color: var(--text-main);
    font-size: 16px;
    margin-bottom: 15px;
    position: relative;
  }

  .footer-heading::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    margin-top: 5px;
  }

  .footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-nav li {
    margin-bottom: 8px;
  }

  .footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
  }

  .footer-nav a:hover {
    color: var(--primary-color);
  }

  .footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--divider-color);
    color: var(--text-secondary);
    font-size: 13px;
  }

  .footer-slot-anchor-inner {
    min-height: 10px; /* Ensure slot is visible for injection */
  }

  /* Responsive styles */
  @media (max-width: 768px) {
    :root {
      --header-offset: 146px; /* Marquee 36px + Header Top 60px + Mobile Nav Buttons 48px + 2px buffer */
    }

    .marquee-section {
      height: 36px !important;
      padding: 0 10px !important;
    }
    .marquee-container {
      gap: 10px !important;
      padding: 0 12px !important;
    }
    .marquee-icon {
      width: 20px !important;
      height: 20px !important;
    }
    .marquee-icon-emoji {
      font-size: 14px !important;
    }
    .marquee-text {
      font-size: 12px !important;
    }
    .marquee-separator {
      font-size: 12px !important;
      margin: 0 8px !important;
    }
    .marquee-content {
      gap: 20px;
      animation: marquee-scroll 25s linear infinite;
    }

    .site-header {
      top: 36px; /* Mobile marquee height */
    }

    .header-top {
      height: 60px !important;
      padding: 0 15px;
      justify-content: flex-start;
    }

    .header-container {
      width: 100%;
      max-width: none;
      padding: 0 15px;
      justify-content: flex-start;
      position: relative;
    }

    .hamburger-menu {
      display: block;
      order: 1;
      margin-right: 15px; /* Space between hamburger and logo */
      background-color: rgba(0,0,0,0.5);
      border-radius: 3px;
      padding: 5px;
      box-shadow: 0 0 5px var(--glow-color);
    }

    .logo {
      order: 2;
      flex: 1 !important;
      display: flex !important;
      justify-content: center !important;
      align-items: center !important;
      font-size: 20px;
      margin-right: 40px; /* Push logo to center, considering hamburger */
    }

    .desktop-nav-buttons {
      display: none !important;
    }

    .mobile-nav-buttons {
      display: flex !important;
      height: 48px;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 0 15px;
      background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
      border-bottom: 2px solid;
      animation: theme-colors 4s ease-in-out infinite;
      box-shadow:
        0 0 10px var(--neon-accent),
        0 0 20px var(--neon-accent),
        0 0 30px var(--neon-accent),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    }

    .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 {
      display: none;
      flex-direction: column;
      position: fixed;
      top: var(--header-offset);
      left: 0;
      width: 80%;
      max-width: 300px;
      height: calc(100% - var(--header-offset));
      background: linear-gradient(180deg, #0a0a0a, #1a1a2e);
      padding: 20px 0;
      box-sizing: border-box;
      transform: translateX(-100%);
      transition: transform 0.3s ease;
      z-index: 1000;
      overflow-y: auto;
      border-right: 2px solid;
      animation: theme-colors 4s ease-in-out infinite;
      box-shadow:
        0 0 10px var(--neon-primary),
        0 0 20px var(--neon-primary);
    }

    .main-nav.active {
      display: flex;
      transform: translateX(0);
    }

    .nav-container {
      flex-direction: column;
      align-items: flex-start;
      gap: 15px;
      padding: 0 20px;
    }

    .nav-link {
      width: 100%;
      padding: 10px 0;
      border-bottom: 1px solid var(--divider-color);
    }

    .nav-link:last-child {
      border-bottom: none;
    }

    .footer-top-grid {
      grid-template-columns: 1fr;
      text-align: center;
    }

    .footer-heading::after {
      margin: 5px auto 0;
    }

    .footer-col {
      margin-bottom: 20px;
    }

    .footer-col:last-child {
      margin-bottom: 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;
    }
  }
</style>
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
  }
}
