.game-wrapper {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #030107;
  background-image: url('../../assets/images/background/start-bg.webp');
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.game-container {
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  container-type: size;
}

.scene-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100cqw;
  height: 100cqh;
  pointer-events: none;
  z-index: auto;
}

.scene-layer.interactive {
  pointer-events: auto;
}

.character-group {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100cqw;
  height: 100cqh;
  pointer-events: none;
  z-index: 5;
}

.character {
  position: absolute;
  background-size: contain;
  background-position: bottom center;
  background-repeat: no-repeat;
  transition: left var(--transition-medium) cubic-bezier(0.25, 1, 0.5, 1), bottom var(--transition-medium) cubic-bezier(0.25, 1, 0.5, 1), transform var(--transition-medium) cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: auto;
}

.character:not(.hidden) {
  animation: character-appear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.character-boy {
  width: 35cqw;
  height: 58cqh;
  left: 25cqw;
  bottom: 17cqh;
}

.character-mooshak {
  width: 25cqw;
  height: 38cqh;
  left: 47cqw;
  bottom: 19cqh;
}

.scene-gameplay .character-mooshak,
.scene-ganeshaintroduction .character-mooshak,
.scene-completion .character-mooshak {
  left: 15cqw !important;
  bottom: 10cqh !important;
}

.character-ganesha {
  width: 27cqw;
  height: 27cqh;
  bottom: 22cqh;
  --ganesha-pull-target-x: 52;
  --ganesha-pull-target-y: 35;
}

.character-ganesha.active {
  left: 38.5cqw;
}

.dialogue-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100cqw;
  height: 100cqh;
  pointer-events: none;
  z-index: 10;
}

.game-timer-hud {
  position: absolute;
  top: 19cqh;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 4, 22, 0.85);
  border: 0.4cqh solid var(--color-gold-glow);
  box-shadow: 0 0 1.5cqh rgba(255, 215, 0, 0.4);
  padding: 0.8cqh 2.5cqw;
  border-radius: 5cqh;
  display: flex;
  align-items: center;
  gap: 1cqw;
  z-index: 100;
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 3.5cqh;
  color: var(--color-gold-glow);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.game-timer-hud.hidden {
  display: none !important;
}

.game-timer-hud .timer-icon {
  font-size: 3.8cqh;
}