:root {
  --blue-950: #07164a;
  --blue-900: #09226f;
  --blue-700: #1154ee;
  --blue-500: #2c7dff;
  --cyan: #35d7ff;
  --violet: #8b6dff;
  --pink: #ff7fb7;
  --gold: #ffbd43;
  --ink: #10214f;
  --body: #42517b;
  --soft: #f5f8ff;
  --card: rgba(255, 255, 255, 0.9);
  --line: rgba(45, 91, 190, 0.14);
  --shadow: 0 18px 54px rgba(20, 56, 160, 0.14);
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 6% 18%, rgba(64, 188, 255, 0.14), transparent 28%),
    radial-gradient(circle at 94% 42%, rgba(154, 103, 255, 0.16), transparent 30%),
    linear-gradient(180deg, #eef5ff 0%, #ffffff 34%, #f8fbff 100%);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui,
    sans-serif;
  line-height: 1.65;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 20;
  width: min(calc(100% - 48px), 1280px);
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(4, 20, 82, 0.94), rgba(8, 37, 128, 0.88)),
    rgba(4, 20, 82, 0.9);
  box-shadow: 0 16px 46px rgba(3, 18, 78, 0.22);
  transform: translateX(-50%);
  transition:
    top 180ms ease,
    border-radius 180ms ease,
    background 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  top: 10px;
  border-radius: 14px;
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img,
.footer-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  object-position: center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover,
.site-nav a.is-current {
  opacity: 1;
}

.nav-button {
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 9px;
}

.lang-tabs {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.lang-tabs button {
  min-width: 40px;
  height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  background: transparent;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.lang-tabs button.is-active {
  color: #123ba0;
  background: #ffffff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.09);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.58fr);
  align-items: center;
  gap: 20px;
  padding: 130px max(32px, calc((100vw - var(--max)) / 2)) 100px;
  color: #ffffff;
  background: var(--blue-950);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 16, 66, 0.94) 0%, rgba(5, 22, 86, 0.62) 48%, rgba(5, 18, 72, 0.18) 100%),
    linear-gradient(0deg, rgba(5, 16, 66, 0.9), rgba(5, 16, 66, 0.08) 46%),
    url("website/bg.png") center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -80px;
  height: 180px;
  border-radius: 50% 50% 0 0;
  background: #ffffff;
}

.hero-content,
.hero-device {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 680px;
  padding-top: 38px;
}

.eyebrow,
.section-label,
.game-card span,
.pills span {
  margin: 0 0 14px;
  color: #1f68ff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #b9ddff;
}

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

h1 {
  max-width: 620px;
  margin-bottom: 20px;
  font-size: clamp(44px, 5.6vw, 78px);
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.2;
}

.hero-content p {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border: 0;
  border-radius: 10px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.btn:hover,
.game-card button:hover,
.card-button:hover {
  transform: translateY(-2px);
}

.btn-primary,
.game-card button,
.card-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  box-shadow: 0 12px 28px rgba(17, 84, 238, 0.28);
}

.btn-light {
  color: #1444b5;
  background: #ffffff;
}

.hero-device {
  justify-self: center;
  width: min(380px, 36vw);
  transform: rotate(5deg);
  filter: drop-shadow(0 26px 46px rgba(0, 0, 0, 0.34));
}

.hero-device img {
  width: 100%;
  max-height: 590px;
  object-fit: contain;
  border-radius: 32px;
}

.about-panel,
.games-section,
.detail-section,
.capabilities,
.contact-section,
.policy-strip {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.about-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  padding: 42px;
  margin-top: -52px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.about-copy p,
.section-head p,
.detail-copy p,
.capability-list p,
.contact-card p,
.policy-strip p {
  color: var(--body);
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue-700);
  font-weight: 900;
}

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

.stats-grid article,
.capability-list article,
.feature-row article {
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 255, 0.96));
  box-shadow: 0 12px 34px rgba(20, 56, 160, 0.09);
}

.stats-grid article {
  padding: 24px 18px;
}

.stats-grid strong {
  display: block;
  color: var(--blue-700);
  font-size: 40px;
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin: 12px 0 8px;
  font-size: 18px;
  font-weight: 900;
}

.stats-grid p,
.feature-row p,
.capability-list p {
  margin-bottom: 0;
  font-size: 14px;
}

.games-section,
.capabilities {
  padding: 86px 0 30px;
}

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

.section-head.compact {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.game-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.game-card {
  overflow: hidden;
  min-height: 422px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
  transition:
    transform 160ms ease,
    border-color 160ms ease;
}

.game-card.is-active,
.game-card:hover {
  border-color: rgba(31, 104, 255, 0.42);
  transform: translateY(-4px);
}

.game-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.game-card:nth-child(3) img {
  object-position: top;
}

.game-card div {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.game-card span {
  margin-bottom: 8px;
  color: var(--violet);
  letter-spacing: 0;
  text-transform: none;
}

.game-card p {
  color: var(--body);
  font-size: 14px;
}

.game-card button,
.card-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border: 0;
  border-radius: 9px;
  font-weight: 900;
  cursor: pointer;
}

.card-button.secondary {
  color: #1f55d5;
  background: #eef4ff;
  box-shadow: none;
}

.detail-section {
  padding: 42px 0 34px;
}

.detail-page {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 132px 0 24px;
}

.subpage {
  min-height: 100vh;
}

.detail-shell {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 8%, rgba(132, 112, 255, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.96));
  box-shadow: var(--shadow);
}

.standalone-detail {
  width: 100%;
}

.detail-copy h1 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.08;
}

.detail-actions .btn-light {
  color: #1f55d5;
  background: #edf3ff;
}

.legal-page {
  min-height: 100vh;
}

.legal-main {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 132px 0 24px;
}

.legal-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  padding: 42px;
  border-radius: 22px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(7, 22, 74, 0.94), rgba(17, 84, 238, 0.72)),
    url("website/bg.png") center / cover;
  box-shadow: 0 22px 58px rgba(13, 49, 153, 0.22);
}

.legal-hero .section-label,
.legal-hero p {
  color: rgba(255, 255, 255, 0.86);
}

.legal-hero h1 {
  margin-bottom: 12px;
  font-size: clamp(36px, 5vw, 62px);
}

.legal-art-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 22px 0;
}

.legal-art-strip img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(20, 56, 160, 0.1);
}

.legal-content {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.legal-content h1 {
  margin-bottom: 28px;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 46px);
  text-align: center;
}

.legal-content h2 {
  margin: 34px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 24px;
}

.legal-content h3 {
  margin: 22px 0 8px;
  color: var(--ink);
  font-size: 18px;
}

.legal-content p,
.legal-content li {
  color: var(--body);
  font-size: 16px;
}

.legal-content a {
  color: var(--blue-700);
  font-weight: 800;
}

.legal-content ul {
  padding-left: 24px;
}

.meta-info {
  margin-bottom: 28px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #f1f6ff;
}

.meta-info p {
  margin-bottom: 6px;
}

.breadcrumb {
  margin-bottom: 24px;
  color: #6a78a4;
  font-size: 14px;
  font-weight: 800;
}

.breadcrumb span {
  margin: 0 8px;
  color: #9aa8cf;
}

.detail-hero {
  display: grid;
  grid-template-columns: 1.02fr 0.78fr;
  gap: 34px;
  align-items: center;
}

.detail-cover {
  overflow: hidden;
  border-radius: 18px;
  background: #07164a;
  box-shadow: 0 20px 42px rgba(15, 32, 91, 0.2);
}

.detail-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.pills span {
  margin: 0;
  padding: 7px 12px;
  border-radius: 999px;
  color: #204fc4;
  background: #e8eeff;
  letter-spacing: 0;
  text-transform: none;
}

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

.feature-row article {
  padding: 22px;
}

.feature-row span,
.capability-list span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--violet));
  font-weight: 900;
}

.gallery-head {
  margin-top: 36px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #e8eefc;
  box-shadow: 0 10px 24px rgba(20, 56, 160, 0.1);
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.capability-list article {
  padding: 26px;
}

.contact-section {
  padding: 58px 0 42px;
}

.contact-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 42px;
  border-radius: 22px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(9, 34, 111, 0.93), rgba(66, 71, 220, 0.74)),
    url("website/从抽卡开始的肉鸽冒险/bg1.jpg") center / cover;
  box-shadow: 0 22px 58px rgba(13, 49, 153, 0.22);
}

.contact-card .section-label,
.contact-card p {
  color: rgba(255, 255, 255, 0.86);
}

.policy-strip {
  padding: 20px 28px;
  margin-bottom: 18px;
  border: 1px dashed rgba(31, 104, 255, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
}

.policy-strip h2 {
  margin-bottom: 4px;
  font-size: 22px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  margin-top: 52px;
  padding: 28px max(28px, calc((100vw - var(--max)) / 2));
  color: #ffffff;
  background: linear-gradient(90deg, var(--blue-950), var(--blue-900));
}

.footer-brand img {
  width: 42px;
  height: 42px;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

@media (max-width: 1050px) {
  .site-nav {
    gap: 16px;
    font-size: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 820px;
  }

  .hero-device {
    position: absolute;
    right: 6vw;
    bottom: 18px;
    width: 240px;
    opacity: 0.72;
  }

  .about-panel,
  .detail-hero,
  .contact-card,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .detail-page {
    padding-top: 118px;
  }

  .legal-main {
    padding-top: 118px;
  }

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

  .game-cards,
  .capability-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .site-header {
    width: min(calc(100% - 28px), 1280px);
    padding: 0 16px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 86px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 18px;
    border-radius: 16px;
    background: rgba(6, 25, 89, 0.98);
    box-shadow: 0 18px 42px rgba(4, 20, 82, 0.24);
  }

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

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

  .lang-tabs {
    width: 100%;
    margin-top: 10px;
  }

  .lang-tabs button {
    width: 100%;
  }

  .nav-button {
    border: 0;
    padding-left: 0;
  }

  .brand span {
    display: none;
  }

  .hero {
    min-height: 780px;
    padding: 118px 24px 86px;
  }

  .about-panel,
  .games-section,
  .detail-section,
  .detail-page,
  .legal-main,
  .capabilities,
  .contact-section,
  .policy-strip {
    width: min(calc(100% - 28px), var(--max));
  }

  .about-panel,
  .detail-shell,
  .legal-hero,
  .legal-content,
  .contact-card {
    padding: 24px;
  }

  .stats-grid,
  .feature-row,
  .gallery,
  .legal-art-strip {
    grid-template-columns: 1fr;
  }

  .legal-art-strip img {
    height: 180px;
  }

  .detail-cover img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 29px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .card-button {
    width: 100%;
  }

  .hero-device {
    right: -30px;
    width: 210px;
  }

  .game-cards,
  .capability-list {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    flex-wrap: wrap;
    justify-content: start;
  }

  .detail-page {
    padding-top: 104px;
  }

  .legal-main {
    padding-top: 104px;
  }

  .breadcrumb {
    font-size: 12px;
  }

  .detail-shell,
  .legal-hero,
  .legal-content {
    border-radius: 16px;
  }

  .legal-content h1 {
    text-align: left;
  }
}
