/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background-color: #090f1e;
  color: #c2c4c9;
  font-family: Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: #ff2400; text-decoration: none; }
a:hover, a:focus { color: #e0330a; }
h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  font-family: Roboto, sans-serif;
  margin: 0 0 0.5em;
}

/* Layout container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Buttons */
.btn, button.btn {
  display: inline-block;
  background-color: #ff2400;
  color: #ffffff;
  font-family: Roboto, sans-serif;
  border: none;
  border-radius: 4px;
  padding: 12px 24px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.btn:hover, .btn:focus, button.btn:hover, button.btn:focus {
  background-color: #e0330a;
  color: #ffffff;
}
.btn-secondary, button.btn-secondary {
  background-color: #e7ecf50f;
  color: #ffffff;
}
.btn-secondary:hover, .btn-secondary:focus, button.btn-secondary:hover, button.btn-secondary:focus {
  background-color: #e7ecf517;
  color: #ffffff;
}

/* Header */
.site-header {
  background-color: #172032;
  border-bottom: 1px solid #ff2400;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo-link { display: inline-flex; align-items: center; }
.logo-img { height: 40px; width: auto; }

/* Footer */
.site-footer {
  background-color: #172032;
  border-top: 1px solid #ff2400;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  padding-bottom: 24px;
  text-align: center;
}
.footer-logo-link { display: inline-flex; }
.footer-logo-img { height: 34px; width: auto; }
.legal-line {
  color: #c2c4c9;
  font-size: 0.85rem;
  margin: 0;
}

/* Responsive */
@media (min-width: 600px) {
  .container { padding: 0 24px; }
}
@media (min-width: 900px) {
  .header-inner { justify-content: flex-start; }
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* 404 page */
.not-found {
  text-align: center;
  padding: 80px 16px;
}
.not-found-code {
  font-size: 4rem;
  font-weight: 700;
  color: #f9b242;
  margin: 0;
  line-height: 1;
}
.not-found h1 { margin-top: 0.4em; }
.not-found p { margin: 0 0 1.5em; }
.not-found .btn { margin-top: 8px; }

/* Article page additions (path: /) */
.page { padding-bottom: 40px; }
.toc-section { padding-top: 32px; }
.toc-section h1 { font-size: 2rem; line-height: 1.2; }
.lede { max-width: 70ch; }
.toc {
  border: 1px solid #ff2400;
  border-radius: 8px;
  background-color: #172032;
  padding: 16px 20px;
  margin-top: 16px;
}
.toc ul { list-style: none; margin: 0; padding: 0; columns: 1; }
.toc li { padding: 6px 0; border-bottom: 1px solid #e7ecf50f; }
.toc li:last-child { border-bottom: none; }
.toc a { color: #ff2400; }
.toc a:hover, .toc a:focus { color: #e0330a; }

.intro-banner p { max-width: 70ch; }
.promo-banner {
  width: 100%;
  border-radius: 8px;
  margin-top: 16px;
  border: 1px solid #e7ecf50f;
}

.key-facts, .article-body article, .trust, .support, .faq {
  margin-top: 40px;
}
h2 { font-size: 1.5rem; margin-top: 0; }

.table-wrap { overflow-x: auto; margin: 16px 0; }
table {
  width: 100%;
  border-collapse: collapse;
  background-color: #172032;
  border: 1px solid #e7ecf50f;
}
th, td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid #e7ecf50f;
  font-size: 0.95rem;
}
th { color: #ffffff; background-color: #090f1e; }
tbody tr:last-child td { border-bottom: none; }

.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin-bottom: 6px; }

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.game-tile { margin: 0; }
.game-thumb {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e7ecf50f;
}
.game-tile figcaption {
  font-size: 0.8rem;
  color: #c2c4c9;
  margin-top: 4px;
}

.faq-list { margin-top: 16px; }
.faq-item {
  background-color: #172032;
  border: 1px solid #e7ecf50f;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 10px;
}
.faq-item summary {
  cursor: pointer;
  color: #ffffff;
  font-weight: 500;
}
.faq-item p { margin: 10px 0 0; }

@media (min-width: 700px) {
  .game-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .game-grid { grid-template-columns: repeat(6, 1fr); }
  .toc ul { columns: 2; column-gap: 32px; }
}