/* style.css */
body, html {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: sans-serif;
    background-color: #222;
    color: white;
}

#threejs-container {
    position: absolute;
    top: 132px; /* fits top bar and info bar */
    left: 0;
    width: 100%;
    height: calc(100% - 132px);
    touch-action: none;
}

#top-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100vw;
  background: #111;
  color: #fff;
  font-size: 2.2em;
  font-family: 'Arial Black', Arial, sans-serif;
  font-weight: bold;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  position: relative;
  z-index: 10;
  padding: 0 32px;
  height: 80px;
}

#top-bar .bar-btn {
  font-size: 0.7em;
  margin: 0 32px;
}

#top-bar .bar-title {
  flex: 0 0 auto;
  text-align: center;
  margin: 0 32px;
}

#info-bar {
  width: 100vw;
  background: #000;
  color: #fff;
  font-size: 1.1em;
  font-family: 'Arial Black', Arial, sans-serif;
  font-weight: bold;
  text-align: center;
  padding: 12px 0 12px 0;
  letter-spacing: 0.03em;
  display: flex;
  justify-content: center;
  gap: 48px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  position: relative;
  z-index: 9;
}

#score {
  width: 100vw;
  text-align: center;
  font-size: 1.5em;
  font-family: 'Arial Black', Arial, sans-serif;
  color: #222;
  margin: 0 0 18px 0;
  font-weight: bold;
  background: none;
}

.game-ui {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background: none;
  margin-bottom: 18px;
  position: relative;
  z-index: 10;
}

button, .ivory-btn {
  background: linear-gradient(180deg, #fffbe6 0%, #f5e9c6 100%);
  color: #111;
  border: 2px solid #bba97a;
  border-radius: 10px;
  box-shadow: 0 2px 6px #bba97a, 0 1px 0 #fff inset;
  font-size: 1.1em;
  font-family: 'Arial Black', Arial, sans-serif;
  font-weight: bold;
  padding: 12px 32px;
  margin: 8px 12px;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s;
}
button:hover, .ivory-btn:hover {
  background: linear-gradient(180deg, #fffde6 0%, #f5e9c6 100%);
  box-shadow: 0 4px 12px #bba97a, 0 1px 0 #fff inset;
}

#game-message {
  position: absolute;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30,30,30,0.9);
  color: #fff;
  font-size: 1.3em;
  padding: 12px 24px;
  border-radius: 10px;
  z-index: 100;
  pointer-events: none;
  display: none;
}
