/* ----- Μπαλόνια: φορτώνεται ΜΕΤΑ το style.css ----- */

nav a.active {
  color: #FFD700;
}

.bl-box {
  max-width: 880px;
  margin: 0 auto;
  padding: 24px 28px 28px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 2px solid #FFD700;
  border-radius: 8px;
  text-align: center;
}

.bl-title {
  margin: 0 0 18px;
  padding-bottom: 8px;
  border-bottom: 3px solid #FFD700;
  font-size: 30px;
  color: #e9d7a6;
}

.bl-hud {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.bl-stat {
  min-width: 110px;
  padding: 6px 14px;
  background: #1f1f23;
  border: 1px solid #4a4a4f;
  border-radius: 6px;
  font-size: 15px;
  color: #b5b5ba;
}

.bl-stat span {
  margin-left: 6px;
  font-family: "Courier New", monospace;
  font-size: 20px;
  font-weight: bold;
  color: #FFD700;
}

.bl-gravity {
  margin-bottom: 14px;
  font-size: 16px;
  color: #d8d8dc;
}

.bl-gravity select {
  margin-left: 6px;
  padding: 5px 10px;
  background: #1f1f23;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  color: white;
  font-family: inherit;
  font-size: 15px;
}

#bl-canvas {
  display: block;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 8 / 5;
  margin: 0 auto;
  background: #2a2a2d;
  border: 1px solid #4a4a4f;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
  touch-action: manipulation;
}

.bl-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.bl-controls button {
  min-width: 90px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: white;
  font-family: inherit;
  font-size: 18px;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.bl-controls button:hover,
.bl-controls button.down {
  background: #FFD700;
  border-color: #FFD700;
  color: #000;
}

.bl-help {
  max-width: 700px;
  margin: 16px auto 0;
  font-size: 15px;
  line-height: 1.6;
  color: #b5b5ba;
}

.bl-help strong {
  color: #d8d8dc;
}

@media (max-width: 600px) {
  .bl-box {
    padding: 18px 12px 22px;
  }
  .bl-title {
    font-size: 25px;
  }
  .bl-stat {
    min-width: 90px;
    padding: 5px 10px;
    font-size: 14px;
  }
  .bl-controls button {
    flex: 1;
    min-width: 0;
    padding: 16px 10px;
  }
}
