
@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(5deg);
  }
}
.tools-parent-container .container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  max-width: 100vw;
}
.tools-parent-container {
  /* Header */
}
.tools-parent-container .header {
  background: linear-gradient(45deg, #ff0080, #ff8c00, #40e0d0);
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
  padding: 10px 20px;
  text-align: center;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  border-bottom: 5px solid rgba(255, 255, 255, 0.4);
}
@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
.tools-parent-container .header h1 {
  color: white;
  font-size: clamp(1.8rem, 5vw, 3rem);
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.4);
  margin: 0;
  letter-spacing: 2px;
}
.tools-parent-container .subtitle {
  color: white;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  margin-top: 5px;
  opacity: 0.95;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.tools-parent-container .emoji-decoration {
  display: inline-block;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  animation: dance 1.5s ease-in-out infinite;
}
@keyframes dance {
  0%, 100% {
    transform: rotate(0deg) translateY(0);
  }
  25% {
    transform: rotate(-15deg) translateY(-5px);
  }
  75% {
    transform: rotate(15deg) translateY(-5px);
  }
}
.tools-parent-container {
  /* Control Panel */
}
.tools-parent-container .control-panel {
  background: linear-gradient(45deg, #ffd93d, #ff6ec7);
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
  padding: 15px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.3);
  border-bottom: 4px solid rgba(255, 255, 255, 0.5);
}
.tools-parent-container .btn {
  background: linear-gradient(45deg, #6c5ce7, #a29bfe);
  color: white;
  border: 3px solid white;
  padding: 15px 25px;
  border-radius: 30px;
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  font-family: inherit;
  min-width: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}
.tools-parent-container .btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.tools-parent-container .btn:hover::before {
  width: 300px;
  height: 300px;
}
.tools-parent-container .big-btn {
  transform: scale(1);
}
.tools-parent-container .big-btn:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.tools-parent-container .big-btn:active {
  transform: translateY(-2px) scale(1.05);
}
.tools-parent-container .btn-icon {
  font-size: clamp(1.2rem, 3.5vw, 1.8rem);
  z-index: 1;
}
.tools-parent-container .btn-text {
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  z-index: 1;
}
.tools-parent-container .btn.success {
  background: linear-gradient(45deg, #00b894, #00cec9);
}
.tools-parent-container .btn.danger {
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
}
.tools-parent-container .btn.info {
  background: linear-gradient(45deg, #a29bfe, #6c5ce7);
}
.tools-parent-container .btn.special {
  background: linear-gradient(45deg, #fd79a8, #fdcb6e);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
.tools-parent-container {
  /* Main Content */
}
.tools-parent-container .main-content {
  display: flex;
  flex: 1;
  min-height: 0;
  gap: 10px;
  padding: 10px;
}
.tools-parent-container {
  /* Workspace */
}
.tools-parent-container .workspace-container {
  flex: 1;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 4px solid #fff;
}
.tools-parent-container .workspace-header {
  background: linear-gradient(45deg, #fd79a8, #a29bfe);
  padding: 10px;
  text-align: center;
  color: white;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.tools-parent-container #blocklyDiv {
  flex: 1;
  width: 100%;
}
.tools-parent-container {
  /* Dance Stage Wrapper */
}
.tools-parent-container .dance-stage-wrapper {
  width: 500px;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 50px rgba(255, 0, 255, 0.5);
  border: 4px solid #ff00ff;
  position: relative;
  overflow: hidden;
}
.tools-parent-container .stage-header {
  background: linear-gradient(45deg, #ff00ff, #00ffff);
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.tools-parent-container .fullscreen-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid white;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}
.tools-parent-container .fullscreen-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}
.tools-parent-container {
  /* Dance Stage */
}
.tools-parent-container .dance-stage {
  flex: 1;
  position: relative;
  background: linear-gradient(180deg, rgba(138, 43, 226, 0.4) 0%, rgba(75, 0, 130, 0.6) 50%, rgba(25, 25, 112, 0.8) 100%);
  overflow: hidden;
  margin: 10px;
  border-radius: 20px;
  border: 3px solid rgba(255, 0, 255, 0.5);
  min-height: 450px;
}
.tools-parent-container .dance-stage.dancing {
  animation: stagePulse 0.5s ease-in-out infinite;
}
@keyframes stagePulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.8);
  }
}
.tools-parent-container .dance-stage.fullscreen-mode {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  border-radius: 0;
  z-index: 9999;
}
.tools-parent-container {
  /* Disco Ball */
}
.tools-parent-container .disco-ball {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, #silver, #white, #silver);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), inset 0 0 20px rgba(0, 0, 0, 0.5);
  animation: rotate 4s linear infinite;
  z-index: 20;
}
.tools-parent-container .disco-ball-inner {
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 10px, rgba(0, 0, 0, 0.3) 10px, rgba(0, 0, 0, 0.3) 20px), repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(0, 0, 0, 0.3) 10px, rgba(0, 0, 0, 0.3) 20px);
  border-radius: 50%;
}
@keyframes rotate {
  from {
    transform: translateX(-50%) rotate(0deg);
  }
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}
.tools-parent-container {
  /* Stage Lights */
}
.tools-parent-container .stage-lights {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.tools-parent-container .light {
  position: absolute;
  width: 100px;
  height: 150px;
  opacity: 0.6;
  filter: blur(20px);
  animation: lightFlicker 2s ease-in-out infinite;
}
.tools-parent-container .light-1 {
  top: 0;
  left: 5%;
  background: linear-gradient(180deg, #ff0080, transparent);
  animation-delay: 0s;
}
.tools-parent-container .light-2 {
  top: 0;
  left: 25%;
  background: linear-gradient(180deg, #00ff00, transparent);
  animation-delay: 0.3s;
}
.tools-parent-container .light-3 {
  top: 0;
  left: 45%;
  background: linear-gradient(180deg, #0080ff, transparent);
  animation-delay: 0.6s;
}
.tools-parent-container .light-4 {
  top: 0;
  right: 45%;
  background: linear-gradient(180deg, #ffff00, transparent);
  animation-delay: 0.9s;
}
.tools-parent-container .light-5 {
  top: 0;
  right: 25%;
  background: linear-gradient(180deg, #ff00ff, transparent);
  animation-delay: 1.2s;
}
.tools-parent-container .light-6 {
  top: 0;
  right: 5%;
  background: linear-gradient(180deg, #00ffff, transparent);
  animation-delay: 1.5s;
}
@keyframes lightFlicker {
  0%, 100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}
.tools-parent-container {
  /* Dance Floor */
}
.tools-parent-container .dance-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 2px;
  padding: 10px;
  z-index: 2;
}
.tools-parent-container .floor-tile {
  background: linear-gradient(45deg, #ff0080, #00ffff);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  transition: all 0.3s ease;
  animation: floorGlow 1s ease-in-out infinite;
}
.tools-parent-container .floor-tile:nth-child(1) {
  animation-delay: 0s;
}
.tools-parent-container .floor-tile:nth-child(2) {
  animation-delay: 0.1s;
}
.tools-parent-container .floor-tile:nth-child(3) {
  animation-delay: 0.2s;
}
.tools-parent-container .floor-tile:nth-child(4) {
  animation-delay: 0.3s;
}
.tools-parent-container .floor-tile:nth-child(5) {
  animation-delay: 0.4s;
}
.tools-parent-container .floor-tile:nth-child(6) {
  animation-delay: 0.5s;
}
.tools-parent-container .floor-tile:nth-child(7) {
  animation-delay: 0.6s;
}
.tools-parent-container .floor-tile:nth-child(8) {
  animation-delay: 0.7s;
}
.tools-parent-container .floor-tile:nth-child(9) {
  animation-delay: 0.8s;
}
@keyframes floorGlow {
  0%, 100% {
    background: linear-gradient(45deg, #ff0080, #00ffff);
    box-shadow: 0 0 10px rgba(255, 0, 128, 0.5);
  }
  50% {
    background: linear-gradient(45deg, #00ffff, #ff0080);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
  }
}
.tools-parent-container .floor-tile.pulse {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgb(255, 255, 255);
}
.tools-parent-container {
  /* Speakers */
}
.tools-parent-container .speaker {
  position: absolute;
  width: 60px;
  height: 120px;
  background: linear-gradient(135deg, #333, #111);
  border: 3px solid #666;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  padding: 10px;
  z-index: 3;
}
.tools-parent-container .speaker-left {
  bottom: 100px;
  left: 20px;
}
.tools-parent-container .speaker-right {
  bottom: 100px;
  right: 20px;
}
.tools-parent-container .speaker-cone {
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, #444, #222);
  border: 2px solid #555;
  border-radius: 50%;
  animation: speakerPulse 0.5s ease-in-out infinite;
}
.tools-parent-container .speaker-cone:nth-child(1) {
  animation-delay: 0s;
}
.tools-parent-container .speaker-cone:nth-child(2) {
  animation-delay: 0.1s;
}
.tools-parent-container .speaker-cone:nth-child(3) {
  animation-delay: 0.2s;
}
@keyframes speakerPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
    background: radial-gradient(circle, #666, #333);
  }
}
.tools-parent-container {
  /* Music Notes */
}
.tools-parent-container .music-notes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 4;
}
.tools-parent-container .note {
  position: absolute;
  font-size: 2rem;
  opacity: 0;
  animation: noteFloat 4s ease-in-out infinite;
}
.tools-parent-container .note:nth-child(1) {
  left: 20%;
  animation-delay: 0s;
}
.tools-parent-container .note:nth-child(2) {
  left: 40%;
  animation-delay: 1s;
}
.tools-parent-container .note:nth-child(3) {
  left: 60%;
  animation-delay: 2s;
}
.tools-parent-container .note:nth-child(4) {
  left: 80%;
  animation-delay: 3s;
}
@keyframes noteFloat {
  0% {
    bottom: 0;
    opacity: 0;
    transform: translateY(0) rotate(0deg);
  }
  50% {
    opacity: 1;
  }
  100% {
    bottom: 100%;
    opacity: 0;
    transform: translateY(-50px) rotate(360deg);
  }
}
.tools-parent-container {
  /* Confetti Container */
}
.tools-parent-container .confetti-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 100;
}
.tools-parent-container {
  /* Sprite */
}
.tools-parent-container .sprite {
  position: absolute;
  width: 100px;
  height: 120px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
  z-index: 10;
  cursor: pointer;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}
.tools-parent-container .sprite svg {
  width: 100%;
  height: 100%;
}
.tools-parent-container .sprite-emoji {
  font-size: 5rem;
  display: block;
  text-align: center;
  animation: bounce 1s ease infinite;
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.tools-parent-container .sprite.bounce-in {
  animation: bounceIn 1s ease;
}
@keyframes bounceIn {
  0% {
    transform: translate(-50%, -50%) scale(0);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}
.tools-parent-container {
  /* Sprite Animations */
}
.tools-parent-container .sprite.shake-animation {
  animation: shake 0.5s ease infinite;
}
@keyframes shake {
  0%, 100% {
    transform: translate(-50%, -50%) translateX(0);
  }
  25% {
    transform: translate(-50%, -50%) translateX(-10px);
  }
  75% {
    transform: translate(-50%, -50%) translateX(10px);
  }
}
.tools-parent-container .sprite.wave-animation {
  animation: wave 0.8s ease;
}
@keyframes wave {
  0%, 100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  25% {
    transform: translate(-50%, -50%) rotate(-15deg);
  }
  75% {
    transform: translate(-50%, -50%) rotate(15deg);
  }
}
.tools-parent-container .sprite.glow-effect {
  filter: drop-shadow(0 0 30px #ffff00);
  animation: glow 0.8s ease;
}
@keyframes glow {
  0%, 100% {
    filter: drop-shadow(0 0 10px #ffff00);
  }
  50% {
    filter: drop-shadow(0 0 40px #ffff00);
  }
}
.tools-parent-container .sprite.rainbow-effect {
  animation: rainbow 1.5s linear;
}
@keyframes rainbow {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.tools-parent-container {
  /* Stage Info */
}
.tools-parent-container .stage-info {
  background: linear-gradient(45deg, #ff00ff, #00ffff);
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0 0 20px 20px;
}
.tools-parent-container .info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 1rem;
  font-weight: bold;
}
.tools-parent-container .info-icon {
  font-size: 1.5rem;
  animation: pulse 1.5s ease-in-out infinite;
}
.tools-parent-container .info-text {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.tools-parent-container {
  /* Sprite Selection Modal */
}
.tools-parent-container .modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}
.tools-parent-container .modal.hidden {
  display: none;
}
.tools-parent-container .modal-content {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 30px;
  border-radius: 30px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
  border: 5px solid white;
}
.tools-parent-container .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  color: white;
}
.tools-parent-container .modal-header h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.tools-parent-container .modal-close {
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid white;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.tools-parent-container .modal-close:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: rotate(90deg);
}
.tools-parent-container .sprite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
}
.tools-parent-container .sprite-option {
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid transparent;
}
.tools-parent-container .sprite-option:hover {
  transform: translateY(-10px);
  border-color: #ff00ff;
  box-shadow: 0 10px 30px rgba(255, 0, 255, 0.5);
}
.tools-parent-container .sprite-preview {
  font-size: 4rem;
  margin-bottom: 10px;
}
.tools-parent-container .sprite-option p {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
}
.tools-parent-container {
  /* Blockly Customization */
}
.tools-parent-container .blocklyToolboxDiv {
  background: linear-gradient(135deg, #ffd93d, #ff6ec7) !important;
  border-right: 3px solid white !important;
}
.tools-parent-container .blocklyTreeRow {
  padding: 10px !important;
  margin: 5px !important;
  border-radius: 10px !important;
  font-size: 1.1rem !important;
}
.tools-parent-container .blocklyTreeRow:hover {
  background: rgba(255, 255, 255, 0.5) !important;
}
.tools-parent-container .blocklyFlyout {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 3px solid #ff6ec7 !important;
}
.tools-parent-container {
  /* Responsive Design */
}
@media (max-width: 1200px) {
  .tools-parent-container .dance-stage-wrapper {
    width: 450px;
  }
  .tools-parent-container .sprite {
    width: 90px;
    height: 108px;
  }
}
@media (max-width: 1024px) {
  .tools-parent-container .dance-stage-wrapper {
    width: 400px;
  }
  .tools-parent-container .sprite {
    width: 80px;
    height: 96px;
  }
  .tools-parent-container .disco-ball {
    width: 50px;
    height: 50px;
  }
}
@media (max-width: 768px) {
  .tools-parent-container .main-content {
    flex-direction: column;
  }
  .tools-parent-container .dance-stage-wrapper {
    width: 100%;
    height: 400px;
  }
  .tools-parent-container .workspace-container {
    min-height: 300px;
  }
  .tools-parent-container .dance-stage {
    min-height: 300px;
  }
  .tools-parent-container .sprite {
    width: 70px;
    height: 84px;
  }
  .tools-parent-container .speaker {
    width: 50px;
    height: 100px;
  }
  .tools-parent-container .disco-ball {
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 480px) {
  .tools-parent-container .header h1 {
    font-size: 1.5rem;
  }
  .tools-parent-container .btn {
    min-width: 90px;
    padding: 10px 15px;
  }
  .tools-parent-container .btn-icon {
    font-size: 1.2rem;
  }
  .tools-parent-container .btn-text {
    font-size: 0.8rem;
  }
  .tools-parent-container .workspace-container {
    min-height: 250px;
  }
  .tools-parent-container .dance-stage {
    min-height: 250px;
  }
  .tools-parent-container .sprite {
    width: 60px;
    height: 72px;
  }
  .tools-parent-container .sprite-emoji {
    font-size: 3.5rem;
  }
  .tools-parent-container .speaker {
    width: 40px;
    height: 80px;
  }
  .tools-parent-container .speaker-cone {
    width: 30px;
    height: 30px;
  }
  .tools-parent-container .modal-content {
    padding: 20px;
  }
  .tools-parent-container .sprite-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.tools-parent-container {
  /* Touch device optimizations */
}
@media (hover: none) {
  .tools-parent-container .btn:hover {
    transform: none;
  }
  .tools-parent-container .btn:active {
    transform: scale(0.95);
  }
  .tools-parent-container .sprite-option:hover {
    transform: none;
  }
  .tools-parent-container .sprite-option:active {
    transform: scale(0.95);
  }
}
.tools-parent-container {
  /* Print styles */
}
@media print {
  .tools-parent-container body {
    background: white;
  }
  .tools-parent-container .control-panel, .tools-parent-container .fullscreen-btn {
    display: none;
  }
}
.tools-parent-container .sprite-body {
  width: 100%;
  height: 100%;
  position: relative;
}
.tools-parent-container .sprite-head {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, #ffbe0b, #fb5607);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 3px solid white;
}
.tools-parent-container .sprite-eye {
  width: 12px;
  height: 12px;
  background: black;
  border-radius: 50%;
  position: absolute;
  top: 20px;
}
.tools-parent-container .sprite-eye.left {
  left: 15px;
}
.tools-parent-container .sprite-eye.right {
  right: 15px;
}
.tools-parent-container .sprite-mouth {
  width: 20px;
  height: 10px;
  border: 3px solid black;
  border-top: none;
  border-radius: 0 0 20px 20px;
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
}
.tools-parent-container .sprite-arms {
  position: absolute;
  top: 55px;
  width: 100%;
  height: 40px;
}
.tools-parent-container .arm {
  width: 30px;
  height: 5px;
  background: linear-gradient(45deg, #ffbe0b, #fb5607);
  position: absolute;
  top: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.tools-parent-container .arm.left {
  left: 5px;
  transform-origin: right center;
  /* animation: wave-left 1s ease-in-out infinite; */
}
.tools-parent-container .arm.right {
  right: 5px;
  transform-origin: left center;
  /* animation: wave-right 1s ease-in-out infinite; */
}
@keyframes wave-left {
  0%, 100% {
    transform: rotate(-30deg);
  }
  50% {
    transform: rotate(30deg);
  }
}
@keyframes wave-right {
  0%, 100% {
    transform: rotate(30deg);
  }
  50% {
    transform: rotate(-30deg);
  }
}
.tools-parent-container .sprite-legs {
  position: absolute;
  bottom: 0;
  width: 60px;
  height: 30px;
  left: 50%;
  transform: translateX(-50%);
}
.tools-parent-container .leg {
  width: 8px;
  height: 30px;
  background: linear-gradient(45deg, #3a86ff, #06db5b);
  position: absolute;
  bottom: 0;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.tools-parent-container .leg.left {
  left: 15px;
  /* animation: step-left 0.5s ease-in-out infinite; */
}
.tools-parent-container .leg.right {
  right: 15px;
  /* animation: step-right 0.5s ease-in-out infinite; */
}
@keyframes step-left {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes step-right {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.tools-parent-container .sound-waves {
  display: flex;
  gap: 5px;
  animation: fadeOut 2s ease-out forwards;
}
.tools-parent-container .wave {
  width: 5px;
  height: 30px;
  background: linear-gradient(to top, #00ffff, transparent);
  animation: soundWave 0.5s ease-in-out infinite;
  border-radius: 50px;
}
.tools-parent-container .wave:nth-child(1) {
  animation-delay: 0s;
  height: 20px;
}
.tools-parent-container .wave:nth-child(2) {
  animation-delay: 0.1s;
  height: 30px;
}
.tools-parent-container .wave:nth-child(3) {
  animation-delay: 0.2s;
  height: 25px;
}
@keyframes soundWave {
  0%, 100% {
    transform: scaleY(0.5);
    opacity: 0.5;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.tools-parent-container {
  /* Beat preview tooltip */
}
.tools-parent-container .blocklyContextMenu {
  background: linear-gradient(135deg, #667eea, #764ba2) !important;
  border: 3px solid white !important;
  border-radius: 15px !important;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4) !important;
}
.tools-parent-container .blocklyContextMenu .goog-menuitem {
  color: white !important;
  font-weight: bold !important;
  padding: 10px 20px !important;
  border-radius: 10px !important;
  margin: 5px !important;
}
.tools-parent-container .blocklyContextMenu .goog-menuitem:hover {
  background: rgba(255, 255, 255, 0.3) !important;
}
.tools-parent-container .music-controller {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 50;
}
.tools-parent-container .music-btn {
  background: linear-gradient(45deg, #ff00ff, #00ffff);
  color: white;
  border: 3px solid white;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(255, 0, 255, 0.5);
}
.tools-parent-container .music-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(255, 0, 255, 0.7);
}
.tools-parent-container .music-btn.playing {
  animation: musicPulse 1s ease-in-out infinite;
}
@keyframes musicPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
.tools-parent-container .music-panel {
  position: absolute;
  top: 50px;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  border: 3px solid #ff00ff;
  border-radius: 20px;
  padding: 20px;
  width: 300px;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(255, 0, 255, 0.5);
}
.tools-parent-container .music-panel.hidden {
  display: none;
}
.tools-parent-container .music-panel h4 {
  color: white;
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.2rem;
}
.tools-parent-container .music-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tools-parent-container .music-item {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}
.tools-parent-container .music-item:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ff00ff;
}
.tools-parent-container .music-name {
  color: white;
  font-weight: bold;
  flex: 1;
}
.tools-parent-container .preview-btn, .tools-parent-container .play-btn {
  background: linear-gradient(45deg, #00ffff, #ff00ff);
  color: white;
  border: 2px solid white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.9rem;
  cursor: pointer;
  margin-left: 5px;
  transition: all 0.3s ease;
}
.tools-parent-container .preview-btn:hover, .tools-parent-container .play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(255, 0, 255, 0.5);
}
.tools-parent-container .stop-music-btn {
  width: 100%;
  margin-top: 15px;
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
  color: white;
  border: 2px solid white;
  padding: 10px;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}
.tools-parent-container .stop-music-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(255, 0, 0, 0.5);
}