/* Reset & basic styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: #121212;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 40px 20px;
}

.container {
  background: #1e1e1e;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
  text-align: center;
  max-width: 900px;   /* wider container */
  width: 100%;
}

.game-canvas {
  width: 100%;
  height: 400px;     /* maintain wide rectangular aspect */
  border-radius: 15px;
  margin-bottom: 25px;
  background: #2a2a2a;
  box-shadow: inset 0 0 15px rgba(255,165,0,0.2);
  background-image: url('bg.jpg');
  background-size: contain;
  background-blend-mode: overlay;
}

.title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #ff8500;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.subtext {
  font-size: 1rem;
}

/* Stats section */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}

.stat-card {
  background: #2a2a2a;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: transform 0.2s, background 0.2s;
}

.stat-card:hover {
  transform: translateY(-3px);
  background: #333;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 5px;
}

.stat-value {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ff8500;
  margin-top: 5px;
}

/* Progress bars */
.progress-bar {
  background: #1e1e1e;
  border-radius: 10px;
  height: 12px;
  overflow: hidden;
  margin-top: 5px;
  margin-bottom: 5px;
}

.progress {
  height: 100%;
  width: 0%;
  border-radius: 10px;
  transition: width 0.5s ease-in-out;

  /* Gradient and glow */
  background: linear-gradient(90deg, #ff7a00, #ffb347);
  box-shadow: 0 0 8px #ff8500, 0 0 15px #ff8500 inset;
}

/* Button link */
.button-link {
  display: inline-block;
  text-decoration: none;
  padding: 12px 25px;
  background: #ff8500;
  color: #121212;
  border-radius: 10px;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}

.button-link:hover {
  background: #ffa733;
  transform: translateY(-2px);
  box-shadow: 0 0 15px #ffb347;
}
