:root {
  --pink: #ff2da4;
  --orange: #ff6a00;
  --green: #49bf6e;
  --bg: #111
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: #111;
  color: #111
}

/* gradient background like screenshots */
body {
  background: linear-gradient(to bottom, #a5a5d8, #fff6df);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px dashed rgba(255, 255, 255, .35);
  backdrop-filter: blur(6px)
}

.brand {
  font-weight: 800;
  letter-spacing: .5px;
  font-size: 28px;
}

.spacer {
  flex: 1
}

.search-input {
  width: 280px;
  max-width: 50vw;
  background: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 12px;
  color: #222
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px
}

/* Top picks strip */
.hero-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 8px 0 18px
}

.hero-strip img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 8px
}

.adsbox {
  width: 100%;
  text-align: center;
}

/* Game grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 12px
}

.game-card {
  background: rgba(255, 255, 255, .12);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease
}

.game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25)
}

.game-card.small {
  border-radius: 10px
}

.game-card .thumb {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover
}

.game-card .game-title {
  padding: 8px 10px;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: .9
}

/* Intro text */
.intro {
  margin: 22px 6px 40px;
  color: #111
}

.intro .intro-block {
  margin-bottom: 16px
}

.intro .sub {
  margin: 8px 0 4px
}

.intro .feature-list {
  margin: 8px 0 0 18px
}

.intro .steps {
  margin: 8px 0 0 18px
}

.intro .tips {
  margin: 8px 0 0 0;
  padding: 0;
  list-style: none
}

.intro .tips li {
  margin: 4px 0
}

.intro a {
  color: blue;
  text-decoration: none
}

.intro .brand-inline {
  color: blue;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.intro h2 {
  margin: 0 0 8px
}

.intro ul {
  margin: 8px 0 0 18px
}

/* Detail page */
.detail-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 8px 0
}

.detail-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover
}

.detail-title {
  margin: 0 0 6px;
  font-size: 22px
}

.detail-desc {
  margin: 0;
  color: #f0f0f0;
  opacity: .9
}

.social {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  color: #ffdede
}

.detail-hero {
  height: 360px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, .25);
  border-radius: 10px;
  overflow: hidden;
  margin: 10px 0
}

.detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block
}

.detail-hero iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #000
}

.play-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, .15);
  padding: 8px;
  border-radius: 10px
}

.btn-play {
  background: linear-gradient(90deg, var(--pink), var(--orange));
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 24px;
  font-weight: 700;
  cursor: pointer
}

.player {
  margin-top: 10px;
}

.player iframe {
  width: 100%;
  height: 560px;
  border-radius: 10px;
  background: #000
}

.related-title {
  margin: 18px 0 8px
}

.related {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 10px
}

.site-footer {
  margin-top: 24px;
  background: #fff6df;
  /* 亮粉底与截图一致 */
  padding: 10px 12px;
  color: #111;
  text-align: center
}

.footer-nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 6px;
  font-size: 12px
}

.footer-nav a {
  color: #111;
  /* text-decoration: none; */
  opacity: .95
}

.footer-nav a:hover {
  color: blue;
  /* text-decoration: none; */
  opacity: .95
}

/* 竖线分隔符样式 */
.footer-nav a+a::before {
  content: "|";
  display: inline-block;
  margin-right: 18px;
  color: #111
}

.copyright {
  font-size: 12px;
  opacity: .95
}

/* Responsive */
@media (max-width: 1024px) {
  .game-grid {
    grid-template-columns: repeat(6, 1fr)
  }

  .related {
    grid-template-columns: repeat(8, 1fr)
  }
}

@media (max-width: 768px) {
  .hero-strip {
    grid-template-columns: repeat(3, 1fr)
  }

  .game-grid {
    grid-template-columns: repeat(4, 1fr)
  }

  .related {
    grid-template-columns: repeat(6, 1fr)
  }

  .player iframe {
    height: 420px
  }

  .detail-hero {
    height: 300px
  }
}

@media (max-width: 520px) {
  .site-header {
    gap: 10px
  }

  .search-input {
    width: 160px;
    max-width: 60vw
  }

  .detail-head {
    flex-direction: column
  }

  .game-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .related {
    grid-template-columns: repeat(5, 1fr)
  }

  .hero-strip img {
    height: 100%;
    width: 100%;
  }

  .game-card .thumb {
    width: 100%;
    height: 100%;
  }

  .player iframe {
    height: 360px
  }

  .detail-hero {
    height: 220px
  }
}

/* About page text style to match screenshot */
.about-page h1 {
  margin: 0 0 14px;
  font-weight: 800
}

.about-page p {
  max-width: 1400px;
  line-height: 1.9;
  color: #0b2e1d;
  opacity: .9
}