* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #080b16;
  --bg-deep: #030713;
  --card: rgba(255, 255, 255, 0.08);
  --card-strong: rgba(255, 255, 255, 0.13);
  --line: rgba(255, 255, 255, 0.16);
  --line-bright: rgba(150, 223, 255, 0.42);
  --text: #f7fbff;
  --muted: #b8c4dc;
  --cyan: #6feaff;
  --blue: #7aa5ff;
  --gold: #ffd486;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  min-height: 100%;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: var(--text);
}

body {
  background:
    radial-gradient(circle at 10% 12%, rgba(111, 234, 255, 0.24), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(122, 165, 255, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(3, 7, 19, 0.72), rgba(8, 11, 22, 0.96)),
    url("./pro_0/bg.jpg") center center / cover no-repeat fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 78%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 78%);
}

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

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 24px 20px 40px;
}

.page-shell::after {
  content: "";
  position: absolute;
  top: 118px;
  right: -140px;
  width: 420px;
  height: 420px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 234, 255, 0.18), transparent 67%);
  filter: blur(8px);
}

.site-nav,
.hero,
.section,
.site-footer {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  margin-bottom: 58px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(6, 11, 26, 0.62);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 14px;
  color: #06101c;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  box-shadow: 0 0 24px rgba(111, 234, 255, 0.35);
}

.nav-links {
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a {
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.11);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 32px;
  min-height: 590px;
  padding-bottom: 74px;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.company-name {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.97;
  letter-spacing: -0.06em;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.company-intro {
  max-width: 720px;
  color: #d9e5ff;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.9;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.primary-action {
  color: #07111e;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  box-shadow: 0 14px 34px rgba(111, 234, 255, 0.28);
}

.secondary-action {
  border: 1px solid var(--line-bright);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(111, 234, 255, 0.2);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: 34px;
  border: 1px solid var(--line-bright);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    linear-gradient(135deg, rgba(111, 234, 255, 0.13), rgba(122, 165, 255, 0.1));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  pointer-events: none;
}

.orb {
  width: 180px;
  height: 180px;
  margin: 20px auto 42px;
  border-radius: 44% 56% 48% 52%;
  background:
    radial-gradient(circle at 30% 28%, #ffffff, transparent 12%),
    radial-gradient(circle at 36% 34%, var(--cyan), transparent 26%),
    linear-gradient(135deg, var(--blue), #203b84 58%, #0c152d);
  box-shadow:
    0 0 48px rgba(111, 234, 255, 0.34),
    inset -24px -20px 48px rgba(0, 0, 0, 0.32);
  animation: float 6s ease-in-out infinite;
}

.panel-kicker {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-panel h2 {
  margin: 10px 0 12px;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.04em;
}

.hero-panel p:not(.panel-kicker) {
  color: #d7e5ff;
  line-height: 1.75;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 28px;
}

.panel-grid span {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  color: #eaf7ff;
  background: rgba(255, 255, 255, 0.07);
  text-align: center;
}

.section {
  padding: 76px 0;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 28px;
}

.section-heading h2,
.contact-section h2 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

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

.feature-card {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, var(--card-strong), rgba(255, 255, 255, 0.055));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.feature-index {
  color: var(--gold);
  font-weight: 800;
}

.feature-card h3 {
  margin: 38px 0 14px;
  font-size: 24px;
}

.feature-card p,
.product-intro,
.contact-lead {
  color: var(--muted);
  line-height: 1.9;
}

.games-section {
  display: grid;
  gap: 24px;
}

.product-module {
  display: grid;
  grid-template-columns: minmax(250px, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
  min-height: 480px;
  padding: 18px;
  border: 1px solid var(--line-bright);
  border-radius: 34px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: var(--shadow);
}

.pro-0 {
  background-image:
    linear-gradient(105deg, rgba(6, 12, 27, 0.92), rgba(6, 12, 27, 0.58)),
    url("./pro_0/bg.jpg");
}

.pro-1 {
  background-image:
    linear-gradient(105deg, rgba(6, 12, 27, 0.92), rgba(6, 12, 27, 0.58)),
    url("./pro_1/bg.jpg");
}

.product-card,
.gallery-card,
.contact-card {
  border: 1px solid var(--line);
  background: rgba(7, 12, 28, 0.62);
  backdrop-filter: blur(18px);
}

.product-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  border-radius: 26px;
}

.game-tag {
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(111, 234, 255, 0.35);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(111, 234, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-name {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.product-intro {
  font-size: 16px;
}

.gallery-card {
  padding: 22px;
  border-radius: 26px;
}

.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.gallery-header h4 {
  font-size: 20px;
}

.gallery-header span {
  color: var(--muted);
  font-size: 13px;
}

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

.gallery img {
  width: 100%;
  height: 184px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.gallery img:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: rgba(111, 234, 255, 0.72);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.42);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: 30px;
  align-items: start;
}

.contact-lead {
  margin-top: 18px;
  font-size: 17px;
}

.contact-card {
  padding: 30px;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.contact-card dl {
  display: grid;
  gap: 18px;
}

.contact-card div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-card dt {
  color: var(--cyan);
  font-size: 14px;
  font-weight: 800;
}

.contact-card dd {
  color: #edf6ff;
  line-height: 1.65;
}

.contact-card a {
  color: var(--text);
  border-bottom: 1px solid rgba(111, 234, 255, 0.5);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 0 4px;
  color: rgba(235, 245, 255, 0.58);
  font-size: 14px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(1, 3, 8, 0.88);
  backdrop-filter: blur(12px);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.62);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  transform: rotate(6deg);
  background: rgba(255, 255, 255, 0.22);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-14px) rotate(5deg);
  }
}

@media (max-width: 900px) {
  .hero,
  .product-module,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 48px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 14px 14px 32px;
  }

  .site-nav {
    align-items: stretch;
    flex-direction: column;
    margin-bottom: 38px;
    border-radius: 28px;
  }

  .nav-links {
    justify-content: space-between;
    width: 100%;
  }

  .nav-links a {
    flex: 1;
    padding: 10px 8px;
    text-align: center;
  }

  .company-name {
    font-size: clamp(40px, 15vw, 58px);
  }

  .hero-actions {
    width: 100%;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .section {
    padding: 48px 0;
  }

  .product-module {
    padding: 12px;
    border-radius: 24px;
  }

  .product-card,
  .gallery-card,
  .contact-card,
  .feature-card,
  .hero-panel {
    padding: 22px;
    border-radius: 22px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery img {
    height: 210px;
  }

  .contact-card div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    flex-direction: column;
  }

  .lightbox {
    padding: 16px;
  }
}
