/* style.css - Bubble Game
   Replaced invalid HTML content with proper CSS styles.

   Targets (from project's markup):
   - .main: top-level wrapper
   - .container: game stage / canvas holder
   - .message: small HUD message area
   - .score-container > .score: score display
   - canvas: responsive full-size game area
*/

/* Reset / base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(180deg, #0f172a 0%, #071233 100%);
  color: #e6eef8;
}

.main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 24px;
  overflow: hidden;
}

/* Game stage */
.container {
  width: min(1100px, 96%);
  height: min(720px, 75vh);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(2,6,23,0.6), inset 0 1px 0 rgba(255,255,255,0.02);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* If script.js inserts a canvas into .container, make it fill the area */
.container canvas {
  height: 100% !important;
  display: block;
  border-radius: 10px;
}

/* HUD: message */
.message {
  position: absolute;
  left: 16px;
  top: 16px;
  background: rgba(2,6,23,0.6);
  color: #e6eef8;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  /* Allow interaction (buttons inside .message should be clickable) */
  pointer-events: auto;
  display: none; /* controlled by script.js */
  min-width: 180px;
  text-align: center;
}

/* Message text/button styles used by script.js */
.mainText {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}
.subText {
  font-size: 13px;
  margin-bottom: 10px;
  opacity: 0.9;
}
.button {
  display: inline-block;
  background: linear-gradient(180deg,#4f46e5,#3b82f6);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(59,130,246,0.28);
}
.button:active { transform: translateY(1px); }
.button:focus { outline: 2px solid rgba(99,102,241,0.3); }

/* Score area */
.score-container {
  position: absolute;
  right: 16px;
  top: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  padding: 6px 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(2,6,23,0.45);
}
.score-container .score {
  margin: 0;
  font-weight: 700;
  color: #fff;
  font-size: 16px;
}

/* Small-screen adjustments */
@media (max-width: 520px) {
  .container { height: 60vh; }
  .message, .score-container .score { font-size: 13px; }
}

/* Utility helpers (used in some projects) */
.hidden { display: none !important; }
.center { display: flex; align-items: center; justify-content: center; }

/* End of file */