* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: #142627 radial-gradient(ellipse at 28% 0%, #23433d 0%, #192e33 48%, #101b25 100%) fixed;
  color: #fff;
  font-family: system-ui, sans-serif;
}
.website {
  position: relative;
  padding-block: 0 16px;
  min-height: 100dvh;
}
.game {
  height: max(520px, calc(100dvh - 16px));
  max-height: 900px;
  min-width: 0;
  border: 1px solid #304756;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  background: #000;
}
.game iframe { display: block; border: 0; width: 100%; height: 100%; }
.side {
  position: absolute;
  inset: 16px auto 0 0;
  width: max(var(--game-side-space), calc((100% - var(--game-width)) / 2));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.download {
  display: grid;
  justify-items: center;
  align-self: center;
  width: min(208px, calc(100% - 24px));
  gap: 14px;
  padding: 20px 12px;
  border: 1px solid #304756;
  border-radius: 8px;
  background: linear-gradient(155deg, #192f3c, #101e2c);
}
.download-icon { display: block; width: 64px; height: 64px; border-radius: 12px; }
.play-badge { display: block; width: min(100%, 156px); height: auto; }
a:focus-visible { outline: 3px solid #70d4e1; outline-offset: 3px; }
footer { padding: 12px 24px 18px; text-align: center; }
footer a { color: #d0e1eb; }
@media (max-width: 900px) {
  .website { display: flex; flex-direction: column; align-items: center; padding: 0; gap: 12px; }
  .game { width: 100%; height: 100dvh; max-height: none; min-height: 0; border: 0; border-radius: 0; }
  .side { position: static; width: min(100% - 24px, 440px); gap: 12px; }
  .download { display: flex; flex-wrap: wrap; width: 100%; justify-content: center; align-items: center; gap: 8px; padding: 10px; }
  .download-icon { width: 40px; height: 40px; border-radius: 7px; }
  .play-badge { width: 128px; }
}
