/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
}

/* ---------- Typography ---------- */
body {
  font-family: Montserrat, sans-serif;
  background-color: #001c2c;
  color: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Montserrat, sans-serif;
  color: #ffffff;
  line-height: 1.2;
}

p {
  margin: 0 0 1rem;
}

a.link,
.site-footer__copy a {
  color: #0855cc;
  transition: color 0.2s ease;
}

a.link:hover,
a.link:focus,
.site-footer__copy a:hover {
  color: #00ff8c;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 6px;
  padding: 0.65rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn--primary {
  background-color: #ffb900;
  color: #4a1500;
}

.btn--primary:hover,
.btn--primary:focus {
  background-color: #ff9e00;
}

.btn--secondary {
  background-color: #00a854;
  color: #001c2c;
}

.btn--secondary:hover,
.btn--secondary:focus {
  background-color: #00ff8c;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  background-color: #00333d;
  border-bottom: 1px solid #184b4d;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.site-header__logo-link {
  display: inline-flex;
  align-items: center;
}

.site-header__logo {
  width: auto;
  max-height: 48px;
}

.site-header__cta {
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: #00333d;
  border-top: 1px solid #184b4d;
  margin-top: 2rem;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.site-footer__logo {
  max-height: 36px;
  margin: 0 auto;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.85rem;
  color: #ffffff;
  opacity: 0.8;
}

/* ---------- Responsive ---------- */
@media (min-width: 600px) {
  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 900px) {
  .container {
    padding: 0 2rem;
  }

  .site-header__logo {
    max-height: 56px;
  }
}

/* ---------- Page content additions ---------- */
.page-content {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.page-title-block h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.toc-box {
  background-color: #00333d;
  border: 1px solid #184b4d;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.toc-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toc-box li::before {
  content: "\2713";
  color: #ffb900;
  margin-right: 0.5rem;
}

.toc-box a {
  color: #ffffff;
}

.toc-box a:hover,
.toc-box a:focus {
  color: #00ff8c;
}

.page-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid #184b4d;
}

.page-content h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.page-content section {
  margin-bottom: 1.5rem;
}

.page-content ul,
.page-content ol {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
}

.page-content li {
  margin-bottom: 0.5rem;
}

.promo-banner {
  border-radius: 8px;
  margin: 1.5rem 0;
  width: 100%;
}

.intro-block {
  margin-bottom: 1rem;
}

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  border: 1px solid #184b4d;
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: #00333d;
  font-size: 0.95rem;
}

th,
td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #184b4d;
  vertical-align: top;
}

th {
  background-color: #001c2c;
  color: #ffb900;
  font-weight: 700;
}

tbody tr:last-child td {
  border-bottom: none;
}

/* ---------- Hero carousel ---------- */
.hero-carousel {
  overflow-x: auto;
  background-color: #00333d;
  border-bottom: 1px solid #184b4d;
}

.hero-carousel__track {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-carousel__slide {
  position: relative;
  flex: 0 0 280px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #001c2c;
  text-align: center;
  padding-bottom: 1rem;
}

.hero-carousel__slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.hero-carousel__heading {
  font-size: 1.1rem;
  margin: 0.75rem 0;
  padding: 0 0.75rem;
}

.hero-carousel__slide .btn {
  margin: 0 auto;
}

/* ---------- Game tiles ---------- */
.game-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.game-tiles img {
  border-radius: 8px;
  width: 100%;
  height: 140px;
  object-fit: cover;
}

/* ---------- FAQ accordion ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: #00333d;
  border: 1px solid #184b4d;
  border-radius: 8px;
  padding: 1rem 1.25rem;
}

.faq-item h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #ffb900;
  font-size: 1.05rem;
}

.faq-item p {
  margin-bottom: 0;
}

/* ---------- Sticky bottom promo bar ---------- */
.sticky-promo-bar {
  position: sticky;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #00333d;
  border-top: 1px solid #184b4d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  z-index: 20;
}

.sticky-promo-bar__text {
  margin: 0;
  font-weight: 700;
  flex: 1;
}

.sticky-promo-bar__icon {
  font-size: 1.5rem;
}

/* ---------- Responsive ---------- */
@media (min-width: 600px) {
  .game-tiles {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 900px) {
  .page-title-block h1 {
    font-size: 2.5rem;
  }
}