html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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 #258cfb;
}

html {
  position: relative;
  min-height: 100%;
  background: linear-gradient(180deg, #72c7ff 0%, #d8f5ff 38%, #eefaf5 100%);
}

body {
  margin: 0;
  min-height: 100vh;
  color: #18324b;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.55) 0, transparent 28%),
    radial-gradient(circle at top right, rgba(255, 225, 143, 0.28) 0, transparent 22%),
    linear-gradient(180deg, #72c7ff 0%, #d8f5ff 38%, #eefaf5 100%);
}

main.pb-3 {
  min-height: calc(100vh - 180px);
}

a {
  color: #1f5f8b;
}

a:hover {
  color: #153f5c;
}

.game-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.game-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 1rem 0;
}

.game-nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}

.game-nav-container {
  padding: 0.95rem 1.15rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 20px 35px rgba(35, 88, 130, 0.15);
  backdrop-filter: blur(12px);
}

.game-scrollbar {
  max-width: 1280px;
  height: 0.5rem;
  margin: 0.5rem auto 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(24, 50, 75, 0.12);
  box-shadow: inset 0 1px 3px rgba(24, 50, 75, 0.12);
}

.game-scrollbar-fill {
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #55d7ff 0%, #7ef0a7 45%, #ffcf63 100%);
  box-shadow: 0 0 18px rgba(85, 215, 255, 0.35);
  transition: width 100ms linear;
}

.game-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: #18324b;
  text-decoration: none;
}

.game-brand:hover {
  color: #18324b;
}

.game-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, #ffb84d 0%, #ff7e56 100%);
  box-shadow: 0 12px 24px rgba(255, 126, 86, 0.28);
}

.game-brand-title,
.game-brand-subtitle {
  display: block;
}

.game-brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.1;
}

.game-brand-subtitle {
  font-size: 0.82rem;
  color: #54708a;
}

.game-toggler {
  border: 0;
  border-radius: 14px;
  background: rgba(114, 199, 255, 0.18);
}

.game-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(78, 159, 220, 0.25);
}

.game-nav-link {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  color: #1e4d70;
}

.game-nav-link:hover,
.game-nav-link:focus {
  color: #123653;
  background: rgba(114, 199, 255, 0.18);
}

.game-main-wrap {
  flex: 1 1 auto;
  width: 100%;
}

.game-main {
  padding-top: 1rem;
}

.game-footer {
  padding: 0 1rem 1rem;
}

.game-footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 22px;
  background: rgba(24, 50, 75, 0.82);
  color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 32px rgba(24, 50, 75, 0.2);
}

.game-footer-content a {
  color: #bde8ff;
  text-decoration: none;
}

.game-footer-content a:hover {
  color: #fff;
}

.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;
}