:root {
  color-scheme: light;
  --bg: #0f172a;
  --surface: #111827;
  --card: #1f2937;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-strong: #0ea5e9;
  --border: #334155;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at top, #1e293b, #0f172a 60%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
}

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.hero {
  padding: 80px 0 60px;
  display: grid;
  gap: 28px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.1;
}

.hero p {
  color: var(--muted);
  max-width: 720px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  font-weight: 600;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
}

.button.primary {
  background: var(--accent);
  color: #0f172a;
}

.section {
  padding: 50px 0;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.section-subtitle {
  color: var(--muted);
  margin-bottom: 26px;
}

.grid {
  display: grid;
  gap: 22px;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  display: grid;
  gap: 12px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-header img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

.card h3 {
  font-size: 1.1rem;
}

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

.card-title-centered {
  text-align: center;
  width: 100%;
}

.card-row {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

.card-row p {
  margin: 0;
}

.game-card-icon {
  width: min(180px, 40%);
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface);
  object-fit: cover;
  flex-shrink: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: var(--accent);
  width: fit-content;
}

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

.screenshot {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  object-fit: cover;
}

footer {
  padding: 40px 0 60px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

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

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

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero {
    padding-top: 60px;
  }
}
