* {
  box-sizing: border-box;
}

#portal-logo {
  position: fixed;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  object-fit: contain;
  z-index: 100;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'IBM Plex Mono', 'JetBrains Mono', 'Segoe UI', system-ui, sans-serif;
  background: radial-gradient(circle at top, #111, #050505 55%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

#page {
  width: 100%;
  max-width: calc(1248px + 140px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.title-group {
  text-align: center;
  margin-bottom: 10px;
}

.title-group h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.title-group p {
  margin: 10px 0 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
}

#frame {
  background: #131313;
  border: 2px solid #3c3c3c;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.55);
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

#game-wrapper {
  width: 1248px;
  height: 720px;
  border: 2px solid #2c2c2c;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  position: relative;
}

#game-container {
  width: 1248px;
  height: 720px;
  background: #111;
}

canvas {
  display: block;
  width: 1248px !important;
  height: 720px !important;
}

#tile-info {
  font-size: 14px;
  font-weight: 600;
  color: #e4f1ff;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
