:root {
  --bg: #0a0a12;
  --bg-alt: #0f0f1a;
  --panel: #15151f;
  --border: #26263a;
  --text: #eceaf6;
  --text-dim: #9b98b0;
  --accent: #8b5cf6;
  --accent-2: #ff6b35;
  --legendary: #f5a623;
  --epic: #a855f7;
  --radius: 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
}

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

a { color: inherit; }

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 10, 18, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.15rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lang-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.lang-toggle:hover {
  border-color: var(--accent);
  color: var(--text);
}

/* hero */
.hero {
  padding: 72px 0 48px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.16), transparent 60%);
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 10px;
  font-weight: 800;
}
.hero-sub {
  color: var(--text-dim);
  margin: 0;
  font-size: 1.05rem;
}

/* sections */
.section {
  padding: 56px 0;
}
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 0 0 8px;
}
.section-lead {
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 0 32px;
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(255, 107, 53, 0.12);
  border: 1px solid rgba(255, 107, 53, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* game cards */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.game-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  transition: transform 0.15s, border-color 0.15s;
}
.game-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.game-card.skeleton {
  min-height: 190px;
  background: linear-gradient(100deg, var(--panel) 30%, #1c1c2a 50%, var(--panel) 70%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.game-card img {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  object-fit: cover;
  margin-bottom: 10px;
  border: 1px solid var(--border);
}
.game-card h3 {
  margin: 0 0 10px;
  font-size: 1.02rem;
}
.game-card .stat-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 0.85rem;
}
.game-card .stat-num {
  display: block;
  font-weight: 700;
  color: var(--text);
  font-size: 1.05rem;
}
.game-card .stat-label {
  color: var(--text-dim);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* linear step flow */
.step {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.step.step-last {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.step-num {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent-2);
  margin-bottom: 10px;
}
.step h3 {
  margin: 0 0 18px;
  font-size: 1.25rem;
  font-weight: 800;
}

/* demo */
.demo-video {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
}
.demo-video video {
  width: 100%;
  border-radius: 8px;
  display: block;
  background: #000;
}
.demo-caption {
  display: block;
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-top: 8px;
  text-align: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 22px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  text-align: center;
}
.btn-download {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #0a0a12;
}
.plugin-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.plugin-box ol {
  margin: 0;
  padding-left: 22px;
  color: var(--text);
  font-size: 0.98rem;
  display: grid;
  gap: 10px;
}

/* requirement cards */
.req-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.req-card {
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border);
  background: var(--panel);
}
.req-legendary { border-top: 3px solid var(--legendary); }
.req-epic { border-top: 3px solid var(--epic); }
.req-card h4 { margin: 0 0 10px; font-size: 1.1rem; }
.req-legendary h4 { color: var(--legendary); }
.req-epic h4 { color: var(--epic); }
.req-card p { margin: 0; color: var(--text); font-size: 0.96rem; }

/* rules */
.rules-list {
  display: grid;
  gap: 12px;
}
.rule-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}
.rule-icon {
  font-size: 1.2rem;
  line-height: 1.4;
  flex-shrink: 0;
}
.rule-item p {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

/* price box */
.price-box {
  background: var(--panel);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.price-amount {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-label {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin: 4px 0 16px;
}
.price-methods {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.price-methods span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  color: var(--text);
}

/* footer */
.site-footer {
  padding: 24px 0;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
}

/* responsive */
@media (max-width: 760px) {
  .games-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .req-grid { grid-template-columns: 1fr; }
}
