:root {
  --bg: #0a0b0d;
  --panel: #111216;
  --panel-2: #16171c;
  --field: #18191e;
  --line: #262830;
  --text: #d6d8dd;
  --muted: #8a8d96;
  --accent: #4b9bf5;
  --radius: 2px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font: 14px/1.5 "IBM Plex Mono", ui-monospace, Consolas, monospace;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: background .15s, border-color .15s;
}
.btn.primary { background: var(--accent); border-color: var(--accent); color: #0a0b0d; font-weight: 600; }
.btn.primary:hover { background: #63aaf7; }
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 11, 13, .9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand { color: var(--accent); font-weight: 600; }
.tabs { display: flex; height: 100%; flex: 1; }
.tab {
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--text); border-bottom-color: var(--accent); }
main { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.hero {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 56px);
  padding: 64px 0;
}
h1 { font-size: 56px; font-weight: 500; letter-spacing: -1px; }
h2 { font-size: 22px; font-weight: 500; }
h3 { font-size: 15px; font-weight: 500; }
.sub { color: var(--muted); margin-top: 6px; }
.hero .sub { font-size: 16px; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; }

.games-head {
  padding: 10px 16px;
  color: var(--muted);
  background: #0d0e11;
  border-bottom: 1px solid var(--line);
}
.game {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.game:last-child { border-bottom: 0; }
.game:hover { background: var(--panel-2); }
.game img {
  width: 104px;
  height: 48px;
  padding: 4px;
  object-fit: contain;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.game img[src$=".jpg"] { padding: 0; object-fit: cover; }
.game span { font-size: 15px; }

.features { padding: 96px 0; border-top: 1px solid var(--line); }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
  border: 1px solid var(--line);
}
.card { border: 0; border-radius: 0; padding: 28px 24px; }
.card p { color: var(--muted); margin-top: 8px; }

.foot {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .games { max-width: 440px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .nav .tabs { display: none; }
}
@media (max-width: 560px) {
  h1 { font-size: 40px; }
  .grid { grid-template-columns: 1fr; }
}
