* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: 'Segoe UI', Arial, sans-serif;
  overflow: hidden;
}

.game-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title {
  color: #f5c518;
  font-size: 28px;
  letter-spacing: 6px;
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(245, 197, 24, 0.5);
}

.score-bar {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 4px;
  margin-bottom: 4px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
}

#gameCanvas {
  border: 3px solid #2121de;
  border-radius: 4px;
  display: block;
  background: #000;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.75);
  z-index: 10;
  border-radius: 4px;
}

.overlay.hidden {
  display: none;
}

.overlay-content {
  text-align: center;
  color: #fff;
}

.collie-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #888;
  position: relative;
  overflow: hidden;
}

.collie-logo::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 30px;
  background: #555;
  border-radius: 50% 50% 40% 40%;
}

.collie-logo::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 16px;
  background: #ddd;
  border-radius: 50%;
}

#overlayText {
  font-size: 22px;
  font-weight: bold;
  color: #f5c518;
  margin-bottom: 8px;
}

.hint {
  font-size: 13px;
  color: #aaa;
}
