:root {
  --blue-1: #1da2f6;
  --blue-2: #0d81dd;
  --blue-3: #5fa9d4;
  --bg-light: #f2f6fa;
  --text-main: #5f7287;
  --text-deep: #425b73;
  --card: #263a5a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  color: var(--text-main);
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.narrow {
  width: min(900px, 92vw);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(24, 146, 229, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #eaf7ff;
}

.topbar-inner {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.menu {
  display: flex;
  gap: 18px;
}

.menu a,
.topbar-right a {
  opacity: 0.92;
}

.menu a:hover,
.topbar-right a:hover {
  opacity: 1;
}

.boss-sticker {
  position: fixed;
  right: 18px;
  top: 56px;
  z-index: 45;
  width: min(320px, calc(100vw - 28px));
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #d7e4ef;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(25, 70, 110, 0.2);
  display: flex;
  gap: 10px;
  padding: 8px;
}

.boss-sticker img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 8px;
}

.boss-text strong {
  display: block;
  color: #304f68;
  font-size: 13px;
  margin-bottom: 3px;
}

.boss-text p {
  margin: 0;
  color: #607892;
  font-size: 12px;
  line-height: 1.5;
}

.hero {
  min-height: 760px;
  padding-top: 44px;
  color: #eaf6ff;
  background:
    radial-gradient(circle at 70% 10%, rgba(255, 255, 255, 0.22), transparent 30%),
    radial-gradient(circle at 22% 80%, rgba(255, 255, 255, 0.1), transparent 38%),
    linear-gradient(180deg, var(--blue-1) 0%, var(--blue-2) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -8% -120px;
  height: 280px;
  background: linear-gradient(to top, rgba(4, 70, 125, 0.46), transparent);
  transform: skewY(-4deg);
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 86px 0 110px;
}

.logo-badge {
  width: 118px;
  height: 118px;
  margin: 0 auto 22px;
  border-radius: 24px;
  background: #fff;
  color: #2585d5;
  display: grid;
  place-items: center;
  font-size: 64px;
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 64px);
  font-weight: 500;
  letter-spacing: 2px;
}

.subline {
  margin: 22px auto 0;
  width: min(900px, 95%);
  font-size: clamp(14px, 1.8vw, 20px);
  line-height: 2;
  opacity: 0.96;
}

.hero-note {
  margin: 18px auto 0;
  width: fit-content;
  max-width: 95%;
  font-size: 14px;
  color: #c9e9ff;
  padding: 7px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
}

.hero-live {
  margin: 12px auto 0;
  color: #d4edff;
  font-size: 14px;
  letter-spacing: 0.4px;
}

.hero-live b {
  color: #fff;
  font-weight: 700;
}

.qr-card {
  width: min(470px, 94%);
  margin: 46px auto 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  text-align: left;
}

.qr-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.qr-card p {
  margin: 0;
  line-height: 1.6;
  color: #dcf1ff;
}

.tiny {
  margin-top: 6px !important;
  font-size: 12px;
  opacity: 0.8;
}

.prison-code {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  background:
    linear-gradient(
      90deg,
      #f0f6ff 0,
      #f0f6ff 7%,
      #2f6e9f 7%,
      #2f6e9f 12%,
      #f0f6ff 12%,
      #f0f6ff 18%,
      #1f567f 18%,
      #1f567f 21%,
      #f0f6ff 21%,
      #f0f6ff 32%,
      #2f6e9f 32%,
      #2f6e9f 36%,
      #f0f6ff 36%,
      #f0f6ff 49%,
      #1f567f 49%,
      #1f567f 54%,
      #f0f6ff 54%,
      #f0f6ff 70%,
      #2f6e9f 70%,
      #2f6e9f 74%,
      #f0f6ff 74%,
      #f0f6ff 85%,
      #1f567f 85%,
      #1f567f 90%,
      #f0f6ff 90%,
      #f0f6ff 100%
    );
  position: relative;
}

.prison-code::after {
  content: "A-1519639";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 7px;
  font-size: 10px;
  text-align: center;
  color: #194c73;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.76);
  border-radius: 3px;
}

.section {
  padding: 86px 0;
}

.section h2 {
  margin: 0;
  text-align: center;
  color: #6f8195;
  font-size: clamp(34px, 3.3vw, 48px);
  font-weight: 500;
  letter-spacing: 1px;
}

.divider {
  width: 42px;
  height: 4px;
  margin: 17px auto 35px;
  border-radius: 9px;
  background: #7cc3eb;
}

.light {
  background: var(--bg-light);
}

.light p {
  line-height: 2;
  font-size: 19px;
  color: var(--text-main);
}

.blue {
  background: var(--blue-3);
  color: #e6f4ff;
}

.slogan-wrap {
  text-align: center;
}

.seal {
  width: 90px;
  height: 90px;
  margin: 0 auto 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 44px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.42);
}

.blue p {
  max-width: 840px;
  margin: 14px auto;
  line-height: 2;
  font-size: 20px;
}

.blue .punchline {
  margin: 10px auto;
  padding: 8px 14px;
  width: fit-content;
  max-width: 94%;
  font-size: 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 42px;
}

.news-grid article {
  border-bottom: 1px solid #dbe6ef;
  padding: 16px 0;
}

.news-grid h3 {
  margin: 0 0 10px;
  color: var(--text-deep);
  font-size: 22px;
  line-height: 1.5;
}

.news-grid time {
  font-size: 13px;
  color: #8da2b7;
}

.news-grid a {
  margin-left: 10px;
  font-size: 13px;
  color: #6fb4e2;
}

.timeline {
  background: #e2e7ed;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid #d7e2eb;
  border-radius: 5px;
  min-height: 146px;
  padding: 20px;
  text-align: center;
}

.card span {
  color: #bfd5e5;
  font-size: 42px;
  font-weight: 700;
}

.card p {
  margin: 9px 0 0;
  color: #7a8ea4;
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.box {
  min-height: 154px;
  background: var(--card);
  padding: 24px;
}

.box h3 {
  margin: 0 0 9px;
  color: #97d1ff;
  font-size: 24px;
  font-weight: 500;
}

.box p {
  margin: 7px 0;
  font-size: 15px;
  color: #c7dcf4;
  line-height: 1.8;
}

.footer {
  background: #eef2f7;
  text-align: center;
  color: #90a2b8;
  padding: 26px 0 38px;
  font-size: 12px;
}

.float-nav {
  position: fixed;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  z-index: 35;
  display: grid;
  gap: 12px;
}

.float-nav a {
  width: 54px;
  min-height: 52px;
  border-radius: 10px;
  border: 1px solid #d7e3ee;
  background: rgba(255, 255, 255, 0.94);
  color: #667b92;
  display: grid;
  place-items: center;
  font-size: 12px;
  text-align: center;
  padding: 6px;
  box-shadow: 0 8px 16px rgba(37, 72, 103, 0.14);
}

.float-nav a:hover {
  background: #f2f9ff;
}

@media (max-width: 980px) {
  .boss-sticker {
    position: static;
    width: min(520px, 92vw);
    margin: 56px auto 0;
  }

  .hero {
    padding-top: 0;
  }

  .hero-inner {
    padding-top: 44px;
  }
}

@media (max-width: 900px) {
  .news-grid,
  .timeline-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .qr-card {
    flex-direction: column;
    text-align: center;
  }

  .float-nav {
    right: 8px;
    gap: 8px;
  }

  .float-nav a {
    width: 46px;
    min-height: 46px;
    font-size: 11px;
  }
}
