@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
}

html {
  background: #020617;
}

body,
body * {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif !important;
}

body {
  background-image:
    radial-gradient(circle at 15% 0%, rgba(126, 34, 206, .28), transparent 34rem),
    radial-gradient(circle at 90% 12%, rgba(67, 56, 202, .22), transparent 30rem),
    linear-gradient(135deg, #2e1065 0%, #1e1b4b 48%, #000 100%) !important;
  background-attachment: fixed;
}

header {
  background: #000 !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

header a {
  color: #facc15 !important;
  letter-spacing: -.02em;
}

.site-logo {
  display: block;
  width: auto;
  height: 58px;
  object-fit: contain;
}

main > .grid {
  align-items: start;
}

#game-card {
  background: rgba(0, 0, 0, .5) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

button,
select,
input,
textarea,
a {
  transition: border-color .16s ease, background-color .16s ease, color .16s ease, transform .12s ease, filter .16s ease;
}

button:active,
a:active {
  transform: scale(.98);
}

button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(250, 204, 21, .45);
  outline-offset: 3px;
}

.game-logo {
  display: block;
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .38);
}

.game-logo--sidebar,
.logo-sidebar {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

.logo-hero {
  width: 112px;
  height: 112px;
  border-radius: 24px;
  object-fit: cover;
}

footer {
  background: rgba(0, 0, 0, .58) !important;
}

.legal-card {
  background: rgba(0, 0, 0, .5);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 1.25rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.legal-copy {
  color: rgba(255, 255, 255, .76);
  font-size: 1rem;
  line-height: 1.8;
}

.legal-copy h2 {
  margin-top: 2rem;
  margin-bottom: .75rem;
  color: #fde047;
  font-size: 1.25rem;
  font-weight: 700;
}

.legal-copy h3 {
  margin-top: 1.25rem;
  margin-bottom: .5rem;
  color: rgba(255, 255, 255, .92);
  font-size: 1.05rem;
  font-weight: 700;
}

.legal-copy p,
.legal-copy ul,
.legal-copy ol { margin-bottom: 1rem; }

.legal-copy ul,
.legal-copy ol { padding-left: 1.4rem; }

.legal-copy ul { list-style: disc; }
.legal-copy ol { list-style: decimal; }

.legal-copy a,
footer a:hover {
  color: #fde047;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  main {
    padding-top: 1.25rem !important;
  }

  .game-logo,
  .logo-hero {
    width: 88px;
    height: 88px;
    border-radius: 20px;
  }

  .site-logo { height: 32px; }
}
