:root {
  --ink: #07150f;
  --paper: #f5f2e9;
  --lime: #c8ff62;
  --mint: #8fffc4;
  --blue: #65dcff;
  --muted: #95a19a;
  --line: rgba(255, 255, 255, 0.14);
  --panel: rgba(255, 255, 255, 0.045);
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 4px;
}

.ambient {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}

.ambient-one {
  top: -30rem;
  right: -10rem;
  width: 70rem;
  height: 70rem;
  background: radial-gradient(circle, rgba(143, 255, 196, 0.17), transparent 66%);
}

.ambient-two {
  bottom: -32rem;
  left: -18rem;
  width: 66rem;
  height: 66rem;
  background: radial-gradient(circle, rgba(200, 255, 98, 0.09), transparent 67%);
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  padding: 22px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.brand-mark {
  display: grid;
  min-width: 64px;
  height: 36px;
  padding: 0 12px;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.035em;
}

.edition {
  color: #849089;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: clamp(40px, 8vw, 120px);
  padding: clamp(72px, 11vw, 140px) 0 90px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  color: #d7ded9;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(200, 255, 98, 0.12);
}

.eyebrow.compact {
  margin-bottom: 10px;
  color: var(--lime);
  font-size: 9px;
}

h1 {
  margin: 0;
  font-size: clamp(58px, 9.5vw, 116px);
  letter-spacing: -0.072em;
  line-height: 0.9;
}

h1 em {
  color: transparent;
  background: linear-gradient(105deg, var(--lime), var(--mint) 52%, var(--blue));
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
}

.lead {
  max-width: 590px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.8;
}

.primary-link {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
  padding: 0 23px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.primary-link:hover {
  background: #ddffa1;
  transform: translateY(-2px);
}

.local-card {
  position: relative;
  overflow: hidden;
  min-height: 290px;
  padding: 30px;
  background:
    radial-gradient(circle at 90% 10%, rgba(143, 255, 196, 0.15), transparent 45%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 26px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.23);
}

.local-card::after {
  position: absolute;
  right: -100px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.local-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #87938c;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.local-card-head i {
  width: 9px;
  height: 9px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(200, 255, 98, 0.65);
}

.local-card > strong {
  display: block;
  margin-top: 46px;
  font-size: clamp(62px, 9vw, 102px);
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.local-card > p {
  margin: 12px 0 34px;
  color: var(--muted);
  font-size: 13px;
}

.local-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  color: #849089;
  border-top: 1px solid var(--line);
  font-size: 10px;
}

.local-meta b {
  color: var(--paper);
}

.game-section,
.recent-section {
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 34px;
}

.section-head > p {
  max-width: 390px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 60px);
  letter-spacing: -0.055em;
  line-height: 1;
}

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

.game-card {
  display: flex;
  min-height: 535px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 25px;
  flex-direction: column;
}

.card-art {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    #0a1d14;
  background-size: 36px 36px;
  border-bottom: 1px solid var(--line);
}

.mini-board {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  width: min(62%, 205px);
  padding: 6px;
  background: rgba(5, 17, 11, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  transform: translate(-50%, -50%) rotate(-3deg);
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.35);
}

.mini-board span {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  color: var(--ink);
  background: linear-gradient(145deg, #f7f3e8, #dce2d2);
  border-radius: 8px;
  font-size: clamp(11px, 1.5vw, 18px);
  font-weight: 900;
}

.mini-board span:nth-child(3),
.mini-board span:nth-child(4),
.mini-board span:nth-child(5),
.mini-board span:nth-child(6),
.mini-board span:nth-child(9),
.mini-board span:nth-child(10),
.mini-board span:nth-child(11) {
  background: linear-gradient(145deg, var(--lime), #78dc8a);
}

.mini-board span:nth-child(7),
.mini-board span:nth-child(8) {
  color: #fff;
  background: linear-gradient(145deg, #8178ea, #5350a8);
}

.mini-board span:nth-child(12) {
  color: #78857e;
  background: rgba(255, 255, 255, 0.055);
}

.art-glow {
  position: absolute;
  top: 10%;
  right: 6%;
  width: 200px;
  height: 200px;
  background: rgba(200, 255, 98, 0.2);
  border-radius: 50%;
  filter: blur(70px);
}

.game-content {
  display: flex;
  min-width: 0;
  padding: 24px;
  flex: 1;
  flex-direction: column;
}

.game-topline,
.game-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.status {
  color: #7f8a84;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status.live {
  color: var(--lime);
}

.game-index {
  color: #65716a;
  font-size: 10px;
  font-weight: 800;
}

.game-card h3 {
  min-height: 38px;
  margin: 38px 0 13px;
  padding: 0;
  font-size: clamp(24px, 2.8vw, 32px);
  letter-spacing: -0.05em;
}

.game-card p {
  min-height: 70px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.game-footer {
  margin-top: auto;
  padding-top: 36px;
  color: #8e9a93;
  font-size: 11px;
}

.game-footer b {
  color: var(--paper);
}

.game-footer a {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--lime);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.snake-line {
  position: absolute;
  top: 44%;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  transform: rotate(-12deg);
}

.snake-dot {
  position: absolute;
  width: 28px;
  height: 28px;
  background: var(--lime);
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(200, 255, 98, 0.2);
}

.dot-one {
  top: 34%;
  left: 24%;
}

.dot-two {
  top: 47%;
  left: 49%;
}

.dot-three {
  top: 34%;
  right: 22%;
}

.tower-art {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  padding-bottom: 25px;
}

.tower-art span {
  width: 18%;
  background: linear-gradient(180deg, var(--mint), #396a54);
  border-radius: 8px 8px 4px 4px;
  opacity: 0.7;
}

.tower-art span:nth-child(1) {
  height: 34px;
}

.tower-art span:nth-child(2) {
  height: 65px;
}

.tower-art span:nth-child(3) {
  height: 98px;
}

.tower-art span:nth-child(4) {
  height: 132px;
  background: linear-gradient(180deg, var(--lime), #4b7a50);
}

.compact-head {
  align-items: center;
}

.local-note {
  color: #7f8b84;
  font-size: 10px;
}

.recent-list {
  min-height: 110px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.empty-state {
  display: flex;
  min-height: 110px;
  align-items: center;
  gap: 18px;
  padding: 24px;
}

.empty-state > span {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--lime);
  background: rgba(200, 255, 98, 0.07);
  border-radius: 50%;
  font-size: 20px;
}

.empty-state strong {
  display: block;
  font-size: 13px;
}

.empty-state p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.recent-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  min-height: 88px;
  padding: 18px 24px;
}

.recent-item + .recent-item {
  border-top: 1px solid var(--line);
}

.recent-name {
  display: flex;
  align-items: center;
  gap: 14px;
}

.recent-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 900;
}

.recent-name strong {
  display: block;
  font-size: 13px;
}

.recent-name small,
.recent-time {
  color: #7f8b84;
  font-size: 10px;
}

.recent-score {
  color: var(--lime);
  font-size: 19px;
  font-variant-numeric: tabular-nums;
  font-weight: 850;
  letter-spacing: -0.04em;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 40px;
  color: #77837c;
  border-top: 1px solid var(--line);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 48px;
  }

  .local-card {
    min-height: 250px;
  }

  .game-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 24px, 1160px);
  }

  .site-header {
    padding: 16px 0;
  }

  .hero {
    padding: 58px 0 66px;
  }

  h1 {
    font-size: clamp(57px, 17vw, 88px);
  }

  .game-section,
  .recent-section {
    padding: 58px 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }

  .compact-head {
    align-items: start;
  }

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

  .card-art {
    min-height: 220px;
  }

  .game-footer {
    margin-top: 20px;
  }

  .recent-item {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .recent-time {
    display: none;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
