:root {
  --blue: #1768d8;
  --blue-700: #0c4fb3;
  --navy: #0f2747;
  --ink: #152033;
  --muted: #5b6b82;
  --line: #dbe6f5;
  --soft: #f4f8fe;
  --white: #ffffff;
  --cyan: #12a9c9;
  --green: #18a679;
  --amber: #f2a900;
  --coral: #ec6a5e;
  --shadow: 0 18px 48px rgba(24, 79, 140, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 230, 245, 0.8);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(15, 39, 71, 0.08);
  border-color: transparent;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  overflow: hidden;
  color: var(--navy);
  font-size: 16px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  padding: 9px 12px;
  color: #38506d;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue-700);
  background: #eaf3ff;
  outline: none;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: min(76svh, 740px);
  overflow: hidden;
  padding: 132px clamp(20px, 5vw, 72px) 76px;
  color: var(--white);
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 25, 54, 0.88) 0%, rgba(7, 25, 54, 0.72) 46%, rgba(7, 25, 54, 0.25) 100%),
    linear-gradient(0deg, rgba(7, 25, 54, 0.56), rgba(7, 25, 54, 0.1));
}

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

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

.hero .eyebrow {
  color: #95e9ff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.06;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 18px 40px rgba(23, 104, 216, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--blue-700);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.1);
}

.btn-light {
  color: var(--blue-700);
  background: var(--white);
  box-shadow: 0 16px 35px rgba(15, 39, 71, 0.16);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(620px, 100%);
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-proof div {
  padding: 20px 18px 0 0;
}

.hero-proof dt {
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.hero-proof dd {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.snapshot {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.snapshot-inner {
  display: grid;
  grid-template-columns: 0.6fr 1.5fr 1fr;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  align-items: center;
}

.snapshot p {
  margin: 0;
  color: var(--blue-700);
  font-weight: 900;
}

.snapshot strong {
  color: var(--navy);
  font-size: 19px;
  line-height: 1.5;
}

.snapshot span {
  color: var(--muted);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-heading span,
.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  gap: 42px;
  align-items: start;
}

.about-copy {
  color: #33445b;
  font-size: 17px;
}

.about-points,
.service-grid,
.game-grid {
  display: grid;
  gap: 18px;
}

.about-points {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-points > div,
.service-item,
.game-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.about-points > div {
  padding: 24px;
}

.about-points h3,
.service-item h3,
.game-card h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.25;
}

.about-points p,
.service-item p,
.game-card p {
  color: var(--muted);
}

.point-icon,
.service-icon {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 8px;
}

.point-icon-dev,
.service-icon-code {
  background: #e9f3ff;
}

.point-icon-publish,
.service-icon-channel {
  background: #e9fbf6;
}

.point-icon-live,
.service-icon-data {
  background: #fff6dc;
}

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

.point-icon-dev::before,
.service-icon-code::before {
  inset: 12px 9px;
  border: 3px solid var(--blue);
  border-left: 0;
  border-right: 0;
}

.point-icon-dev::after,
.service-icon-code::after {
  width: 16px;
  height: 16px;
  top: 14px;
  left: 14px;
  border: 3px solid var(--cyan);
  transform: rotate(45deg);
}

.point-icon-publish::before,
.service-icon-channel::before {
  width: 24px;
  height: 24px;
  top: 10px;
  left: 10px;
  border: 3px solid var(--green);
  border-radius: 50%;
}

.point-icon-publish::after,
.service-icon-channel::after {
  width: 19px;
  height: 3px;
  top: 22px;
  left: 23px;
  background: var(--blue);
  transform: rotate(-28deg);
}

.point-icon-live::before,
.service-icon-data::before {
  width: 6px;
  height: 23px;
  right: 11px;
  bottom: 10px;
  background: var(--amber);
}

.point-icon-live::after,
.service-icon-data::after {
  width: 23px;
  height: 6px;
  left: 10px;
  bottom: 10px;
  background: var(--coral);
  box-shadow: 0 -11px 0 var(--blue);
}

.games-section {
  width: 100%;
  max-width: none;
  padding: 86px clamp(20px, 5vw, 72px);
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.games-section .section-heading,
.game-grid {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.game-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.game-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.game-card img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
}

.game-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.game-tag {
  margin-bottom: 10px;
  color: var(--blue-700) !important;
  font-size: 13px;
  font-weight: 900;
}

.game-card-body p:not(.game-tag) {
  flex: 1;
  margin-bottom: 20px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--blue-700);
  font-weight: 900;
}

.text-link::after {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  background:
    linear-gradient(var(--blue-700), var(--blue-700)) 4px 7px / 8px 2px no-repeat,
    linear-gradient(135deg, transparent 46%, var(--blue-700) 48% 58%, transparent 60%) 6px 3px / 8px 10px no-repeat;
  content: "";
  transition: transform 0.2s ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  transform: translateX(3px);
}

.services-section {
  padding-bottom: 74px;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-item {
  padding: 28px;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.process-line div {
  display: grid;
  gap: 6px;
  padding: 20px;
  background: var(--white);
}

.process-line b {
  color: var(--cyan);
  font-size: 13px;
}

.process-line span {
  color: var(--navy);
  font-weight: 900;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 70px clamp(20px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(11, 65, 144, 0.96), rgba(10, 151, 188, 0.9)),
    var(--blue);
}

.contact-band > div {
  width: min(760px, 100%);
}

.contact-band .eyebrow {
  color: #c8f3ff;
}

.contact-band h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
}

.contact-band p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: #607086;
  background: #f8fbff;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1040px) {
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-layout,
  .snapshot-inner {
    grid-template-columns: 1fr;
  }

  .about-points {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 68px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    margin: 2px 0;
    background: var(--navy);
  }

  .menu-toggle b {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .brand-copy strong {
    max-width: 56vw;
    font-size: 14px;
  }

  .hero {
    min-height: 72svh;
    padding-top: 104px;
    padding-bottom: 58px;
  }

  .hero-proof,
  .service-grid,
  .process-line {
    grid-template-columns: 1fr;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .game-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-content,
  .hero-lead {
    width: 100%;
    max-width: 340px;
  }

  .snapshot-inner {
    width: 100%;
    max-width: 340px;
    margin-left: 20px;
    margin-right: 20px;
  }

  .hero-proof div {
    padding: 16px 0 0;
  }

  .hero-proof dt {
    font-size: 23px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.16;
  }

  .hero-lead {
    font-size: 16px;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .snapshot strong {
    font-size: 17px;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .snapshot span {
    overflow-wrap: anywhere;
    word-break: break-all;
  }
}
