:root { --header-offset: 166px; --primary-color: #11A84E; --secondary-color: #22C768; --neon-primary: #11A84E; --neon-secondary: #2AD16F; --neon-accent: #57E38D; }
body { margin: 0; font-family: 'Arial', sans-serif; background-color: #08160F; color: #F2FFF6; padding-top: var(--header-offset); overflow-x: hidden; }

/* Common animations for neon effects */
@keyframes theme-colors {
  0%, 100% {
    border-color: var(--neon-primary);
    box-shadow: 0 0 10px var(--neon-primary), 0 0 20px var(--neon-primary), inset 0 0 10px rgba(17, 168, 78, 0.3);
  }
  33% {
    border-color: var(--neon-secondary);
    box-shadow: 0 0 10px var(--neon-secondary), 0 0 20px var(--neon-secondary), inset 0 0 10px rgba(42, 209, 111, 0.3);
  }
  66% {
    border-color: var(--neon-accent);
    box-shadow: 0 0 10px var(--neon-accent), 0 0 20px var(--neon-accent), inset 0 0 10px rgba(87, 227, 141, 0.3);
  }
}
@keyframes text-glow-flow {
  0% {
    text-shadow: 0 0 5px var(--neon-primary), 0 0 10px var(--neon-primary), 0 0 15px var(--neon-primary);
    color: #ffffff;
  }
  50% {
    text-shadow: 0 0 5px var(--neon-secondary), 0 0 10px var(--neon-secondary), 0 0 15px var(--neon-secondary);
    color: #ffffff;
  }
  100% {
    text-shadow: 0 0 5px var(--neon-accent), 0 0 10px var(--neon-accent), 0 0 15px var(--neon-accent);
    color: #ffffff;
  }
}
@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%); }
}

/* 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: #ffffff; 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(17, 168, 78, 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: 40px; height: 40px; z-index: 2; position: relative; }
.marquee-icon-emoji { font-size: 24px; 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: 16px; font-weight: 600; color: #ffffff; 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: #ffffff; }
.marquee-separator { font-size: 16px; color: rgba(255, 255, 255, 0.6); margin: 0 15px; text-shadow: 0 0 3px var(--neon-primary), 0 0 6px var(--neon-primary); }

/* Header Styles */
.site-header {
  position: fixed; top: 44px; left: 0; width: 100%; background-color: #0a0a0a; z-index: 1000;
  box-sizing: border-box;
}
.header-top { min-height: 68px; height: 68px; display: flex; align-items: center; overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a, #1a1a2e, #16213e);
  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), inset 0 0 20px rgba(17, 168, 78, 0.1);
}
.header-container { width: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; box-sizing: border-box; }
.logo { font-size: 24px; font-weight: bold; color: #F2FFF6; text-decoration: none; display: block; }
.logo img { display: block; max-width: 100%; height: auto; max-height: 60px; object-fit: contain; }
.desktop-nav-buttons { display: flex; gap: 10px; }
.btn { position: relative; padding: 12px 25px; color: #ffffff; text-decoration: none; border-radius: 5px; font-weight: 600; cursor: pointer;
  border: 2px solid; animation: theme-colors 4s ease-in-out infinite;
  background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
  text-shadow: 0 0 5px #ffffff, 0 0 10px var(--neon-primary);
  transition: all 0.3s ease; white-space: nowrap;
}
.btn:hover { animation-duration: 2s; transform: translateY(-2px); }
.main-nav { min-height: 52px; height: 52px; display: flex; align-items: center; overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  border-top: 2px solid; animation: theme-colors 4s ease-in-out infinite;
  box-shadow: 0 0 10px var(--neon-secondary), 0 0 20px var(--neon-secondary), inset 0 0 20px rgba(34, 199, 104, 0.1);
}
.nav-container { width: 100%; max-width: 1200px; margin: 0 auto; display: flex; justify-content: center; align-items: center; padding: 0 20px; box-sizing: border-box; }
.nav-link { color: #F2FFF6; text-decoration: none; padding: 10px 15px; font-weight: 500; transition: color 0.3s, text-shadow 0.3s; white-space: nowrap; }
.nav-link:hover { color: var(--neon-accent); text-shadow: 0 0 5px var(--neon-accent); }
.hamburger-menu { display: none; width: 30px; height: 24px; position: relative; cursor: pointer; z-index: 1002; }
.hamburger-menu .bar { width: 100%; height: 3px; background-color: #F2FFF6; border-radius: 2px; position: absolute; left: 0; transition: all 0.3s ease; }
.hamburger-menu .bar:nth-child(1) { top: 0; }
.hamburger-menu .bar:nth-child(2) { top: 10px; }
.hamburger-menu .bar:nth-child(3) { top: 20px; }
.hamburger-menu.active .bar:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.hamburger-menu.active .bar:nth-child(2) { opacity: 0; }
.hamburger-menu.active .bar:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
.mobile-nav-buttons { display: none; }
.mobile-menu-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 999; opacity: 0; transition: opacity 0.3s ease; }
.mobile-menu-overlay.visible { display: block; opacity: 1; }

/* Footer Styles */
.site-footer { background-color: #08160F; padding: 40px 20px 20px; font-size: 14px; line-height: 1.6; color: #A7D9B8; border-top: 1px solid #1E3A2A; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto 30px; }
.footer-col h3 { color: #F2FFF6; font-size: 16px; margin-bottom: 15px; }
.footer-col p { margin-bottom: 10px; overflow-wrap: break-word; }
.footer-logo { font-size: 20px; font-weight: bold; color: #F2FFF6; text-decoration: none; margin-bottom: 15px; display: block; }
.footer-description { color: #A7D9B8; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { color: #A7D9B8; text-decoration: none; transition: color 0.3s; }
.footer-nav a:hover { color: #2AD16F; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid #1E3A2A; color: #A7D9B8; }
.footer-bottom a { color: #A7D9B8; text-decoration: none; }
.footer-slot-anchor-inner { min-height: 1px; }

/* Responsive Styles */
@media (max-width: 768px) {
  :root { --header-offset: 146px; }
  .marquee-section { height: 36px !important; padding-top: 0 !important; padding-bottom: 0 !important; }
  .marquee-container { gap: 10px !important; padding: 0 12px !important; height: 100% !important; }
  .marquee-icon { width: 20px !important; height: 20px !important; }
  .marquee-icon-emoji { font-size: 14px !important; }
  .marquee-text { font-size: 14px !important; }
  .marquee-separator { font-size: 14px !important; margin: 0 10px !important; }
  .marquee-content { gap: 20px; animation: marquee-scroll 25s linear infinite; }

  .site-header { top: 36px; }
  .header-top { min-height: 60px !important; height: 60px !important; padding: 0 15px; }
  .header-container { padding: 0; width: 100%; max-width: none; position: relative; justify-content: flex-start; }
  .logo { flex: 1 !important; display: flex !important; justify-content: center !important; align-items: center !important; font-size: 20px; }
  .logo img { max-height: 56px !important; }
  .desktop-nav-buttons { display: none !important; }
  .mobile-nav-buttons {
    display: flex !important; width: 100%; max-width: 100%; box-sizing: border-box; padding: 10px 15px;
    gap: 10px; justify-content: center; flex-wrap: nowrap; min-height: 48px;
  }
  .mobile-nav-buttons .btn {
    flex: 1; min-width: 0; max-width: calc(50% - 5px); box-sizing: border-box;
    padding: 8px 12px; font-size: 13px; text-align: center; white-space: normal; word-wrap: break-word;
  }
  .main-nav {
    display: none; flex-direction: column; position: fixed; top: 146px; left: 0; width: 100%; height: calc(100% - 146px);
    background: #0a0a0a; overflow-y: auto; transition: transform 0.3s ease; transform: translateX(-100%); z-index: 1000;
    min-height: auto !important; height: auto !important; padding-bottom: 20px;
  }
  .main-nav.active { display: flex; transform: translateX(0); }
  .nav-container { flex-direction: column; align-items: flex-start; padding: 20px 15px; width: 100%; max-width: none; }
  .nav-link { width: 100%; padding: 12px 0; border-bottom: 1px solid #1E3A2A; }
  .nav-link:last-child { border-bottom: none; }
  .hamburger-menu { display: flex; flex-direction: column; justify-content: space-between; position: relative; margin-left: 15px; }
  .footer-top-grid { grid-template-columns: 1fr; }
  .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; }
}
/* 移动端内容区防溢出（系统追加，请勿删除） */
@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;
  }
}
