:root {
  color-scheme: dark;
  --bg: #090a0c;
  --panel: #121418;
  --text: #f3f0e9;
  --muted: #95989f;
  --line: rgba(255, 255, 255, 0.12);
  --lime: #c7ff43;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: Inter, "Microsoft YaHei", system-ui, sans-serif; }
a { color: inherit; }
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 20; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.topbar { height: 76px; padding: 0 clamp(24px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900; letter-spacing: .14em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: var(--lime); color: #10120b; letter-spacing: 0; transform: skew(-7deg); }
.online-pill { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: #c9cace; font-size: 11px; letter-spacing: .12em; }
.online-pill i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #63e689; box-shadow: 0 0 12px #63e689; }
main { overflow: hidden; }
.hero { min-height: calc(100vh - 76px); padding: clamp(80px, 13vh, 150px) clamp(24px, 8vw, 130px) 90px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; background: radial-gradient(circle at 78% 26%, rgba(199,255,67,.11), transparent 26rem); }
.eyebrow { margin: 0 0 22px; color: var(--lime); font-size: 11px; font-weight: 900; letter-spacing: .24em; }
h1 { max-width: 1100px; margin: 0; font-size: clamp(55px, 9vw, 132px); line-height: .94; letter-spacing: -.065em; }
h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1px rgba(243,240,233,.8); }
.lead { max-width: 600px; margin: 34px 0; color: var(--muted); font-size: clamp(15px, 2vw, 19px); line-height: 1.8; }
.hero-action { display: inline-flex; gap: 22px; padding: 13px 18px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 13px; transition: .2s ease; }
.hero-action:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }
.games-section { padding: 100px clamp(24px, 5vw, 76px) 120px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-heading h2 { margin: 0; font-size: clamp(42px, 6vw, 74px); letter-spacing: -.05em; }
.section-heading > p { color: var(--muted); font-size: 13px; }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.game-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); transition: transform .25s ease, border-color .25s ease; }
.game-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.28); }
.game-card.featured { grid-column: span 2; display: grid; grid-template-columns: 1.15fr .85fr; }
.cover { min-height: 285px; position: relative; overflow: hidden; background: #191b1f; }
.featured .cover { min-height: 480px; }
.cover::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(9,10,12,.8)); }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.game-card:hover .cover img { transform: scale(1.035); }
.status { position: absolute; z-index: 2; top: 18px; left: 18px; padding: 7px 10px; border-radius: 7px; background: rgba(7,8,10,.82); backdrop-filter: blur(9px); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.status.ready { color: var(--accent); }
.status.building { color: #d0d1d3; }
.number { position: absolute; z-index: 2; right: 18px; bottom: 12px; color: rgba(255,255,255,.55); font-size: 56px; font-weight: 900; letter-spacing: -.07em; }
.card-body { padding: clamp(24px, 3vw, 38px); display: flex; flex-direction: column; justify-content: center; }
.meta { display: flex; justify-content: space-between; gap: 15px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.meta span:last-child { color: var(--muted); }
.card-body h3 { margin: 25px 0 5px; font-size: clamp(30px, 4vw, 50px); letter-spacing: -.045em; }
.en-title { margin: 0; color: #c3c5c8; font-size: 11px; letter-spacing: .2em; }
.description { min-height: 48px; margin: 25px 0 30px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.card-actions { display: flex; align-items: center; gap: 22px; }
.play { flex: 1; display: flex; justify-content: space-between; padding: 14px 16px; border-radius: 11px; background: var(--accent); color: #101114; text-decoration: none; font-weight: 900; font-size: 13px; transition: filter .15s ease; }
.play:hover { filter: brightness(1.12); }
.play.muted { background: rgba(255,255,255,.09); color: var(--text); }
.source { color: var(--muted); font-size: 12px; text-decoration: none; white-space: nowrap; }
.source:hover { color: var(--text); }
footer { min-height: 160px; padding: 40px clamp(24px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-brand { color: var(--text); font-size: 13px; }

@media (max-width: 850px) {
  .game-grid { grid-template-columns: 1fr; }
  .game-card.featured { grid-column: auto; display: block; }
  .featured .cover { min-height: 330px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .topbar { height: 66px; }
  .hero { min-height: calc(100vh - 66px); }
  .online-pill { font-size: 0; }
  .online-pill i { margin: 0; }
  .cover, .featured .cover { min-height: 245px; }
  .card-actions { align-items: stretch; flex-direction: column; }
  .source { text-align: center; }
  footer { align-items: flex-start; flex-direction: column; }
}
