*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-deep: #041810;
  --green-dark: #0a2e1a;
  --green-mid: #0f4a28;
  --green-light: #1a7a42;
  --gold: #c9a030;
  --gold-light: #e8c860;
  --gold-bright: #ffe566;
  --white: #fff;
  --muted: rgba(255, 255, 255, 0.72);
  --text-dark: #1a1a1a;
  --max-w: 1100px;
  --header-h: 60px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", -apple-system, sans-serif;
  background: var(--green-deep);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 56px;
}

a { text-decoration: none; color: inherit; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(4, 24, 14, 0.96);
  border-bottom: 1px solid rgba(201, 160, 48, 0.35);
  backdrop-filter: blur(10px);
  z-index: 200;
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(145deg, #2a88ee, #0055bb);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 80, 180, 0.4);
}

.logo-icon.sm {
  width: 36px;
  height: 36px;
}

.logo-icon span {
  font-size: 18px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
}

.logo-icon small {
  font-size: 7px;
  opacity: 0.9;
}

.logo-text strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.logo-text em {
  font-size: 11px;
  color: var(--gold-light);
  font-style: normal;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  color: var(--muted);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-bright);
  background: rgba(201, 160, 48, 0.12);
}

.header-cta {
  padding: 8px 20px;
  background: linear-gradient(180deg, #1d7340, var(--green-mid));
  border: 1.5px solid var(--gold);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-bright);
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.15s;
}

.header-cta:active { opacity: 0.85; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold-light);
  border-radius: 1px;
}

main {
  padding-top: var(--header-h);
}

.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.hero-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 20, 12, 0.92) 0%, rgba(4, 20, 12, 0.75) 45%, rgba(4, 20, 12, 0.5) 100%),
    linear-gradient(180deg, transparent 60%, rgba(4, 20, 12, 0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 20px;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(201, 160, 48, 0.15);
  border: 1px solid rgba(201, 160, 48, 0.45);
  border-radius: 20px;
  font-size: 13px;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-desc {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 8px;
  max-width: 480px;
}

.hero-domain {
  font-size: 15px;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.hero-domain b {
  color: var(--gold-bright);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: linear-gradient(180deg, #1d7340, var(--green-mid));
  border: 2px solid var(--gold);
  border-radius: 28px;
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-bright);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s;
}

.btn-primary:active { transform: scale(0.98); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(201, 160, 48, 0.1);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span {
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  font-size: 12px;
  color: var(--muted);
}

.section {
  padding: 56px 0;
  background: var(--green-dark);
}

.section-dark {
  background: linear-gradient(180deg, var(--green-deep), #051a0f);
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.section-head p {
  font-size: 14px;
  color: var(--muted);
}

.sport-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sport-card {
  background: rgba(5, 32, 18, 0.8);
  border: 1px solid rgba(201, 160, 48, 0.3);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.2s, transform 0.15s;
}

.sport-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.sport-icon {
  font-size: 36px;
  display: block;
  margin-bottom: 12px;
}

.sport-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.sport-card p {
  font-size: 13px;
  color: var(--muted);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.promo-card {
  background: rgba(5, 32, 18, 0.9);
  border: 1px solid rgba(201, 160, 48, 0.35);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.2s;
}

.promo-card:hover { border-color: var(--gold); }

.promo-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--gold-bright);
  line-height: 1.2;
  margin-bottom: 8px;
}

.promo-num span {
  font-size: 20px;
  margin: 0 4px;
  color: var(--gold-light);
}

.promo-num.sm { font-size: 42px; }

.promo-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.promo-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.promo-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.feature-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
}

.feature-list li {
  padding: 8px 24px;
  background: var(--green-light);
  border: 1px solid rgba(201, 160, 48, 0.4);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.agent-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

.agent-info {
  padding: 32px;
  background: rgba(5, 32, 18, 0.85);
  border: 1px solid rgba(201, 160, 48, 0.35);
  border-radius: 12px;
  transition: border-color 0.2s;
}

.agent-info:hover { border-color: var(--gold); }

.section-label {
  display: inline-block;
  font-size: 12px;
  color: var(--gold-light);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.agent-info h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

.agent-info h2 em {
  color: #4ade80;
  font-style: normal;
}

.agent-info > p {
  color: var(--muted);
  margin-bottom: 16px;
}

.agent-info blockquote {
  font-size: 15px;
  color: #ff9933;
  font-weight: 600;
  border-left: 3px solid var(--gold);
  padding-left: 14px;
  margin-bottom: 16px;
}

.link-arrow {
  font-size: 14px;
  color: var(--gold-light);
}

.service-card {
  background: rgba(5, 32, 18, 0.9);
  border: 1px solid rgba(201, 160, 48, 0.4);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: border-color 0.2s;
}

.service-card:hover { border-color: var(--gold); }

.service-card h3 {
  font-size: 18px;
  color: var(--gold-bright);
  margin-bottom: 6px;
}

.service-card > p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}

.qr-wrap {
  width: 160px;
  height: 160px;
  margin: 0 auto 12px;
  padding: 8px;
  background: #fff;
  border-radius: 8px;
}

.qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-note {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 10px;
}

.qr-user {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  flex-wrap: wrap;
}

.avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(145deg, #666, #333);
  border: 1.5px solid var(--gold);
}

.trust-section {
  padding: 40px 0;
  background: var(--green-deep);
  border-top: 1px solid rgba(201, 160, 48, 0.2);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 20px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 160, 48, 0.2);
  border-radius: 10px;
  transition: background 0.2s;
}

.trust-item:hover {
  background: rgba(201, 160, 48, 0.08);
}

.trust-icon {
  font-size: 24px;
}

.trust-item strong {
  font-size: 14px;
}

.trust-item span:last-child {
  font-size: 12px;
  color: var(--muted);
}

.site-footer {
  background: #020d08;
  border-top: 1px solid rgba(201, 160, 48, 0.25);
  padding: 32px 0 24px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand strong {
  display: block;
  font-size: 16px;
}

.footer-brand p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 14px;
  color: var(--gold-light);
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.float-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: linear-gradient(180deg, #1a6b3a, var(--green-mid));
  border-top: 2px solid var(--gold);
  color: var(--gold-bright);
  font-size: 16px;
  font-weight: 700;
  z-index: 150;
}

.stats-entry {
  position: fixed;
  bottom: 68px;
  right: 16px;
  z-index: 140;
  padding: 6px 12px;
  background: rgba(4, 24, 14, 0.92);
  border: 1px solid rgba(201, 160, 48, 0.5);
  border-radius: 16px;
  font-size: 11px;
  color: var(--gold-light);
}

@media (max-width: 900px) {
  .sport-grid,
  .promo-grid {
    grid-template-columns: 1fr;
  }

  .agent-layout {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(4, 24, 14, 0.98);
    padding: 12px;
    border-bottom: 1px solid rgba(201, 160, 48, 0.3);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .hero {
    min-height: 360px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .section {
    padding: 40px 0;
  }
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }

  .float-cta {
    display: none;
  }

  .stats-entry {
    bottom: 16px;
  }
}
