:root {
  --btp-navy: #17324d;
  --btp-blue: #79addc;
  --btp-light-blue: #daeaf6;
  --btp-gold: #ffd166;
  --btp-cream: #fffdf7;
  --btp-text: #23374d;
  --btp-muted: #5f7182;
}

html {
  font-size: 14px;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(180deg, #f9fcff 0%, var(--btp-light-blue) 100%);
  color: var(--btp-text);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

a {
  color: var(--btp-navy);
}

a:hover {
  color: #0f2438;
}

.site-page {
  display: flex;
  flex-direction: column;
}

.site-shell {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header,
.site-footer {
  background-color: rgba(255, 255, 255, 0.95);
}

.site-header {
  border-bottom: 1px solid rgba(23, 50, 77, 0.12);
  box-shadow: 0 10px 30px rgba(23, 50, 77, 0.08);
}

.site-header__inner,
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.site-brand__logo {
  display: block;
  height: 56px;
  width: auto;
}

.site-brand__text {
  color: var(--btp-navy);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav__link,
.site-footer__link {
  color: var(--btp-navy);
  font-weight: 700;
  text-decoration: none;
}

.site-nav__link:hover,
.site-footer__link:hover {
  text-decoration: underline;
}

.site-main-shell {
  flex: 1;
  width: 100%;
}

.site-main {
  padding: 2rem 1rem 3rem;
}

.hero-panel,
.content-panel {
  padding: 2rem;
  border-radius: 24px;
  background-color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 45px rgba(23, 50, 77, 0.1);
}

.hero-panel__eyebrow {
  margin-bottom: 0.75rem;
  color: var(--btp-navy);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel__subtitle {
  margin-bottom: 1rem;
  color: var(--btp-muted);
  font-size: 1.2rem;
  font-weight: 700;
}

.content-panel__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  text-decoration: none;
}

.content-panel__cta:hover {
  text-decoration: underline;
}

.game-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background-color: var(--btp-light-blue);
  color: var(--btp-navy);
  font-size: 0.95rem;
  font-weight: 700;
}

.game-list {
  display: grid;
  gap: 0.9rem;
}

.game-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(23, 50, 77, 0.12);
  border-radius: 18px;
  background-color: #fff;
  box-shadow: 0 12px 28px rgba(23, 50, 77, 0.07);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.game-list__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(23, 50, 77, 0.12);
  text-decoration: none;
}

.game-list__name {
  font-weight: 700;
}

.game-list__action {
  color: var(--btp-muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer {
  border-top: 1px solid rgba(23, 50, 77, 0.12);
}

.site-footer__text {
  margin: 0;
  color: var(--btp-muted);
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(121, 173, 220, 0.5);
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
  text-align: start;
}

@media (max-width: 767.98px) {
  .site-header__inner,
  .site-footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .site-brand {
    flex-direction: column;
  }

  .hero-panel,
  .content-panel {
    padding: 1.5rem;
  }

  .game-list__item {
    flex-direction: column;
    align-items: flex-start;
  }
}
