:root {
  --bg: #070914;
  --panel: rgba(13, 18, 32, 0.88);
  --text: #f7f9ff;
  --muted: #a8b4d6;
  --blue: #72d7ff;
  --pink: #ff67c7;
  --yellow: #ffe66d;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 12%, rgba(114, 215, 255, 0.22), transparent 26rem),
    radial-gradient(circle at 86% 80%, rgba(255, 103, 199, 0.16), transparent 30rem),
    linear-gradient(135deg, #070914, #11152a 58%, #05060d);
}

html.embedded body {
  min-height: 0;
  background: transparent;
}

.app {
  display: grid;
  grid-template-columns: minmax(0, 672px) 21rem;
  gap: 1.25rem;
  align-items: start;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0;
}

html.embedded .app {
  grid-template-columns: minmax(0, 1fr) 16rem;
  gap: 0.9rem;
  width: 100%;
  padding: 0;
}

html.embedded .side {
  padding: 1rem;
}

html.embedded h1 {
  font-size: 1.8rem;
}

html.embedded p {
  font-size: 0.92rem;
  line-height: 1.45;
}

.game-card,
.side {
  border: 1px solid rgba(114, 215, 255, 0.34);
  border-radius: 8px;
  background: var(--panel);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.04),
    0 0 36px rgba(114, 215, 255, 0.22),
    0 26px 70px rgba(0, 0, 0, 0.48);
}

.game-card {
  overflow: hidden;
  aspect-ratio: 7 / 8;
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #050714;
}

.side {
  padding: 1.25rem;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--yellow);
  font-size: 2.35rem;
  line-height: 1;
}

p {
  color: var(--muted);
  line-height: 1.6;
}

dl {
  margin: 1.2rem 0 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  color: var(--blue);
  font-weight: 800;
  text-align: right;
}

@media (max-width: 980px) {
  .app {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  html.embedded .app {
    grid-template-columns: 1fr;
  }
}
