/* SpaceShooterGame.css - basic layout and color for your game */
.ssg-root {
  min-height: 100vh;
  background: linear-gradient(to bottom, #181a2a, #3a185a 60%, #000 100%);
  color: #fff;
  font-family: Arial, sans-serif;
  padding: 0;
  margin: 0;
}
.ssg-header {
  padding: 32px 0 8px 0;
  text-align: center;
  background: #22223b;
  border-bottom: 2px solid #3a185a;
}
.ssg-header h1 {
  font-size: 2.5rem;
  margin: 0;
  background: linear-gradient(90deg, #4a90e2, #a259e6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* text-fill-color: transparent; (removed for compatibility) */
}
.ssg-header p {
  color: #bdbdbd;
  margin: 8px 0 0 0;
}
.ssg-main {
  display: flex;
  max-width: 1200px;
  margin: 32px auto;
  gap: 32px;
}
.ssg-game {
  flex: 3;
  background: #181a2a;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 32px #0008;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ssg-canvas {
  background: #000;
  border: 2px solid #444;
  border-radius: 8px;
  width: 800px;
  height: 600px;
  display: block;
}
.ssg-canvas canvas {
  display: block;
  width: 800px;
  height: 600px;
}
.ssg-sidebar {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ssg-leaderboard,
.ssg-achievements,
.ssg-stats {
  background: #23234a;
  border-radius: 10px;
  padding: 18px 16px;
  box-shadow: 0 2px 12px #0004;
}
.ssg-leaderboard h2,
.ssg-achievements h2,
.ssg-stats h2 {
  margin: 0 0 12px 0;
  font-size: 1.2rem;
  color: #4a90e2;
}
.ssg-stats ul,
.ssg-leaderboard ul,
.ssg-achievements ul {
  margin: 0;
  padding-left: 20px;
  color: #e2e2ff;
  font-size: 0.95rem;
}
#hud li {
  margin-bottom: 6px;
}
.instructions {
  font-size: 0.9rem;
  color: #b0b0c7;
}
@media (max-width: 900px) {
  .ssg-main {
    flex-direction: column;
  }
  .ssg-canvas,
  .ssg-canvas canvas {
    width: 100%;
    height: auto;
  }
}
