/* ============= Theme ============= */
:root {
  --brand: #FFBD4E;
  --bg:    #404040;
  --fg:    #e5e5e5;
  --muted: #999999;
  --radius: 12px;
  --maxw:   1100px;
}

/* ============= Base ============= */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; }
body {
  font-family: 'Nunito', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  color: var(--fg);
  background: var(--bg) url('assets/back.jpg') no-repeat center center fixed;
  background-size: cover;
  text-rendering: optimizeLegibility;
  letter-spacing: 2px;
  display: flex;
  flex-direction: column;
}

main { 
  flex: 1; 
  display: flex;
  flex-direction: column;
}

/* ============= Layout ============= */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; text-align: center; }
h2 { font-size: 28px; margin: 0 0 4px; }
h3 { font-size: 20px; margin: 8px 8px 8px; }

.hero { padding-top: 120px; }

.hero h1 {
  font-size: 32px;
  margin: 0;
}

.tagline {
  font-size: 18px;
  margin: 6px 0 0;
  color: var(--muted);
}

/* ============= Games list ============= */
.games {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
.game-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-block;
  text-align: left;
}
.game-list li {
  font-size: 20px;
  margin: 12px 0;
  padding-left: 28px;
  position: relative;
}
.game-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: var(--brand);
  border-radius: 50%;
}
.game-list a {
  color: inherit;
  text-decoration: none;
  display: block;
  width: 100%;
}
.game-list a:hover {
  text-shadow: 0 0 1px currentColor;
}
.meta { color: var(--muted); }

/* ============= Layers ============= */
#bg-particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: transparent;
}
main, section, footer { position: relative; z-index: 1; }

/* ============= Footer ============= */
footer {
  text-align: center;
  padding: 12px 0;
  margin-top: auto;
}
footer p {
  margin: 4px 0;
  letter-spacing: 1px;
}

@media (max-width: 600px) {
  .hero h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  .tagline { font-size: 16px; letter-spacing: 1px; }
  .game-list li { font-size: 16px; }
  .game-list li::before {
    width: 9px;
    height: 9px;
    left: 9px;
  }
  footer { font-size: 14px; }
}