:root {
  --bg: #fbfcfd;
  --text: #20252c;
  --muted: #65717f;
  --line: #e3e8ee;
  --panel: #ffffff;
  --red: #c71f2d;
  --red-dark: #9e1823;
  --teal: #2c9f93;
  --yellow: #f0bb3a;
  --ink: #15202b;
  --shadow: 0 18px 50px rgba(29, 40, 55, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Helvetica Neue",
    Arial,
    sans-serif;
  line-height: 1.65;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 7vw;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(227, 232, 238, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #3d4651;
  font-size: 15px;
}

.nav a {
  padding: 23px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--red);
  border-color: var(--red);
}

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 82px 7vw 108px;
  background:
    linear-gradient(90deg, rgba(251, 252, 253, 0.98) 0%, rgba(251, 252, 253, 0.86) 44%, rgba(251, 252, 253, 0.2) 78%),
    url("assets/hero-game-office.png") center right / cover no-repeat;
}

.hero-content {
  width: min(560px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(48px, 9vw, 86px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.25;
}

h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 20px;
}

.hero-copy {
  margin: 26px 0 34px;
  max-width: 480px;
  color: #485463;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 700;
}

.button.primary {
  background: var(--red);
  color: #fff;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--red-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  color: var(--ink);
}

.section {
  padding: 78px 7vw;
}

.section-heading {
  width: min(1120px, 100%);
  margin: 0 auto 32px;
}

.muted {
  background: #f1f5f7;
}

.intro-grid,
.product-layout,
.support-grid,
.contact-panel {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.intro-grid {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.intro-grid p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
}

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

.product-card,
.support-item {
  min-height: 220px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid rgba(227, 232, 238, 0.9);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(29, 40, 55, 0.05);
}

.product-card p,
.support-item p {
  margin: 0;
  color: var(--muted);
}

.product-icon {
  position: relative;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border-radius: 14px;
  background: #f5f7f8;
}

.product-icon::before,
.product-icon::after {
  position: absolute;
  content: "";
}

.product-icon.puzzle::before {
  inset: 13px;
  border-radius: 6px;
  background: var(--red);
  box-shadow: 14px 0 0 var(--yellow), 0 14px 0 var(--teal), 14px 14px 0 #374957;
}

.product-icon.mobile::before {
  inset: 9px 15px;
  border: 3px solid var(--teal);
  border-radius: 8px;
}

.product-icon.mobile::after {
  left: 24px;
  bottom: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.product-icon.liveops::before {
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: 24px;
  border-left: 8px solid var(--red);
  border-right: 8px solid var(--teal);
  background: var(--yellow);
}

.product-icon.liveops::after {
  left: 18px;
  top: 12px;
  width: 18px;
  height: 18px;
  border: 3px solid #374957;
  border-radius: 50%;
}

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

.support-item {
  min-height: 170px;
  background: transparent;
  box-shadow: none;
}

.contact-section {
  padding-top: 40px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 36px;
  align-items: center;
  padding: 42px;
  background: var(--ink);
  border-radius: 8px;
  color: #dce5ed;
}

.contact-panel h2 {
  color: #fff;
}

.contact-panel p {
  margin: 14px 0 0;
  color: #b8c4cf;
}

.contact-list {
  display: grid;
  gap: 14px;
  font-style: normal;
}

.contact-list a,
.contact-list span {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.contact-list a {
  color: #fff;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 7vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--red);
}

@media (max-width: 840px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 18px 22px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 2px;
    white-space: nowrap;
  }

  .nav a {
    padding: 0 0 8px;
  }

  .hero {
    min-height: auto;
    padding: 74px 22px 92px;
    background:
      linear-gradient(180deg, rgba(251, 252, 253, 0.98) 0%, rgba(251, 252, 253, 0.92) 52%, rgba(251, 252, 253, 0.55) 100%),
      url("assets/hero-game-office.png") center bottom / cover no-repeat;
  }

  h1 {
    font-size: 52px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .section {
    padding: 58px 22px;
  }

  .intro-grid,
  .product-layout,
  .support-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .product-card,
  .support-item {
    min-height: auto;
  }

  .contact-panel {
    padding: 28px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 22px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }
}
