* { box-sizing: border-box; }
body {
  margin: auto;
  min-height: 100vh;
  max-width: 1120px;
  padding: 0 16px 24px;
  background: radial-gradient(ellipse at top, #202044, #10131e 58%);
  color: var(--ui-off-white, #f2e5d8);
  font: 17px system-ui, sans-serif;
}
header, .links, .create-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
header { justify-content: space-between; padding: 18px 8px; }
.brand { font-size: clamp(24px, 4vw, 40px); font-weight: 850; }
a { color: #d5ff73; }
button, .action {
  font: inherit;
  cursor: pointer;
  border: 1px solid #a19ac8;
  border-radius: 10px;
  background: #211f40;
  color: inherit;
  padding: 8px 14px;
  text-decoration: none;
}
:focus-visible { outline: 2px solid #d5ff73; outline-offset: 3px; }
.showcase { padding: 6px 0 20px; }
.carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(4px, 1.6vw, 18px);
  direction: ltr;
}
.arrow { border: 0; background: transparent; padding: 3px; font-size: 34px; }
.game-cards { display: grid; grid-template-columns: 1fr 1.65fr 1fr; align-items: center; gap: clamp(5px, 1.5vw, 16px); }
.game-card {
  min-width: 0;
  margin: 0;
  padding: clamp(4px, 1vw, 12px);
  border: 1px solid #5a5194;
  border-radius: clamp(9px, 2vw, 24px);
  background: linear-gradient(145deg, #25274e, #312454);
  text-align: center;
}
.game-card.featured { border: 3px solid #d5ff73; background: #1a1c35; }
.game-art { display: grid; place-items: center; aspect-ratio: 1.22; overflow: hidden; border-radius: 8px; }
.featured .game-art { aspect-ratio: 1.76; }
.game-art img { width: 100%; height: 100%; object-fit: cover; }
.game-art svg { width: 45%; height: 68%; color: #d5ff73; }
.game-card figcaption { padding: 8px 0 2px; font-size: clamp(10px, 2.1vw, 23px); font-weight: 800; }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 12px; direction: ltr; }
.dot { width: 24px; height: 26px; padding: 0; border: 0; background: radial-gradient(circle, #625589 0 4px, transparent 5px); }
.dot[aria-current="true"] { background: radial-gradient(circle, #d5ff73 0 5px, transparent 6px); }
.login-panel {
  padding: clamp(20px, 4vw, 50px) 16px 22px;
  border: 1px solid #564a85;
  border-radius: 24px;
  background: radial-gradient(ellipse at top left, #3d2d72, #201b46 75%);
  text-align: center;
}
.entry { display: grid; gap: 14px; max-width: 620px; margin: 0 auto 17px; }
.entry input {
  width: 100%;
  min-width: 0;
  border: 1px solid #c6bce8;
  border-radius: 12px;
  padding: 12px 16px;
  background: #211d3f;
  color: var(--ui-off-white, #f2e5d8);
  font: inherit;
}
.entry input::placeholder { color: #c8bce2; opacity: 1; }
.primary { border: 0; padding-block: 12px; background: #d5ff73; color: #14172b; font-size: 1.12em; font-weight: 850; }
.recovery-links { display: grid; justify-content: center; gap: 8px; font-size: .9em; }
.create-row { justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.create { color: #d5ff73; border-color: #d5ff73; }
.note, .demo-link { font-size: .82em; }
.demo-link { display: inline-block; margin-top: 12px; }
footer { padding: 20px 8px 0; font-size: .82em; }
.links { justify-content: center; flex-wrap: wrap; }
details { margin-top: 12px; }
details:not([open]) { display: none; }
[hidden] { display: none !important; }

.register-entry { text-align: start; row-gap: 8px; }
.register-entry label { margin-top: 6px; }
.register-entry .primary { margin-top: 8px; }
#registerError { margin: 0; color: #ffbdc6; }

.brand { display: inline-flex; align-items: center; gap: 6px; }
.brand img { width: clamp(42px, 6vw, 60px); height: auto; }
