:root {
  --bg: #07111f;
  --panel: rgba(10, 21, 39, 0.88);
  --panel-strong: rgba(8, 16, 31, 0.96);
  --line: rgba(151, 172, 209, 0.18);
  --text: #ebf1ff;
  --muted: #9eb2d9;
  --accent: #5ee6a8;
  --accent-2: #4ea1ff;
  --warn: #ffd36e;
  --danger: #ff8080;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(78, 161, 255, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(94, 230, 168, 0.16), transparent 28%),
    linear-gradient(180deg, #07111f 0%, #091426 48%, #08101d 100%);
  color: var(--text);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
  padding: 24px;
}

.shell {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.hero {
  background: linear-gradient(145deg, rgba(14, 30, 53, 0.94), rgba(8, 16, 31, 0.98));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  padding: 32px;
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -60px -60px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 230, 168, 0.18), transparent 72%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.02;
  margin-bottom: 14px;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(94, 230, 168, 0.24);
  background: rgba(94, 230, 168, 0.08);
  color: var(--accent);
  font-size: 13px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.button {
  appearance: none;
  border: 0;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, opacity 0.16s ease, box-shadow 0.16s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), #88ffd0);
  color: #062011;
}

.button.secondary {
  background: linear-gradient(135deg, var(--accent-2), #8ec5ff);
  color: #03172f;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text);
}

.input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(151, 172, 209, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 15px 16px;
  font-size: 16px;
  outline: none;
}

.input:focus {
  border-color: rgba(94, 230, 168, 0.55);
  box-shadow: 0 0 0 3px rgba(94, 230, 168, 0.12);
}

.form-row {
  margin-top: 16px;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 13px;
}

.warning {
  color: var(--warn);
}

.danger {
  color: var(--danger);
}

.progress-track {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.progress-track-large {
  height: 16px;
  margin-top: 10px;
}

.progress-matrix {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.progress-row {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(151, 172, 209, 0.12);
}

.progress-row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.progress-range {
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.meta-stack {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(151, 172, 209, 0.12);
}

.meta-label {
  color: var(--muted);
}

.list {
  display: grid;
  gap: 14px;
}

.list-item {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(151, 172, 209, 0.12);
}

.status-tag {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-done {
  background: rgba(94, 230, 168, 0.14);
  color: var(--accent);
}

.status-in_progress {
  background: rgba(78, 161, 255, 0.15);
  color: #8bc3ff;
}

.status-pending {
  background: rgba(255, 211, 110, 0.13);
  color: var(--warn);
}

.nav-cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.nav-card {
  text-decoration: none;
  color: inherit;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid var(--line);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-card strong {
  font-size: 24px;
}

.games {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.game-card {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  overflow: hidden;
}

.game-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #04080f;
}

.game-card .content {
  padding: 18px;
}

.footer-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 680px) {
  body {
    padding: 14px;
  }

  .hero,
  .card {
    padding: 20px;
  }

  .button-row {
    flex-direction: column;
  }

  .progress-row-head,
  .meta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
