@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.tools-parent-container .container {
  max-width: 100%;
  margin: 0 auto;
  padding: 10px;
  text-align: center;
}
.tools-parent-container .main-title {
  font-size:var(--fs-16-32);
  color: #FF6B6B;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
  margin: 20px 0;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}
.tools-parent-container .skills-text {
  font-size: var(--fs-12-24);
  line-height: 1.3;
  color: #4ECDC4;
  font-weight: bold;
  margin: 15px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
.tools-parent-container .description {
  font-size: clamp(1rem, 4vw, 1.6rem);
  color: #45B7D1;
  font-weight: bold;
  margin: 15px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
.tools-parent-container .section {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 25px;
  padding: 30px;
  margin: 20px auto;
  max-width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 5px solid #FFD700;
  position: relative;
}
.tools-parent-container .options-title {
  font-size: clamp(1.5rem, 6vw, 3rem);
  color: #FF69B4;
  margin-bottom: 30px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.tools-parent-container .option-btn {
  background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
  color: white;
  border: none;
  padding: 15px 30px;
  margin: 10px;
  border-radius: 25px;
  font-size: clamp(1rem, 4vw, 1.5rem);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  font-family: "Comic Sans MS", cursive;
}
.tools-parent-container .option-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
.tools-parent-container .thumb-btn {
  background: linear-gradient(45deg, #32CD32, #228B22);
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  font-size: 40px;
  cursor: pointer;
  margin: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.tools-parent-container .thumb-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
.tools-parent-container .game-area {
  position: relative;
  width: 100%;
  height: 70vh;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  margin: 20px auto;
  border: 5px solid #FFD700;
  overflow: hidden;
}
.tools-parent-container .dot {
  position: absolute;
  width: clamp(45px, 8vw, 65px);
  height: clamp(45px, 8vw, 65px);
  border-radius: 50%;
  background: linear-gradient(45deg, #FF6B6B, #4ECDC4);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: clamp(18px, 4vw, 26px);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 10;
  transform: translate(-50%, -50%);
  border: 3px solid white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  min-width: 45px;
  min-height: 45px;
}
.tools-parent-container .dot:hover {
  transform: translate(-50%, -50%) scale(1.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  z-index: 20;
}
.tools-parent-container .dot.completed {
  background: linear-gradient(45deg, #32CD32, #228B22);
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 5;
}
.tools-parent-container .dot[data-type=count2] {
  background: linear-gradient(45deg, #FF69B4, #FF1493);
}
.tools-parent-container .dot[data-type=count3] {
  background: linear-gradient(45deg, #9370DB, #8A2BE2);
}
.tools-parent-container .dot[data-type=count4] {
  background: linear-gradient(45deg, #20B2AA, #008B8B);
}
.tools-parent-container .dot[data-type=count5] {
  background: linear-gradient(45deg, #FF8C00, #FF6347);
}
.tools-parent-container .dot[data-type=abc] {
  background: linear-gradient(45deg, #32CD32, #228B22);
}
.tools-parent-container .pencil-cursor {
  position: absolute;
  width: 40px;
  height: 40px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FF6B6B"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>') no-repeat center;
  background-size: contain;
  pointer-events: none;
  z-index: 1000;
  display: none;
}
.tools-parent-container .line {
  position: absolute;
  background: #FF6B6B;
  height: 4px;
  transform-origin: left center;
  z-index: 5;
  border-radius: 2px;
}
.tools-parent-container .cross-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #FF4444;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  font-weight: bold;
  z-index: 100;
}
.tools-parent-container .home-btn {
  background: linear-gradient(45deg, #FFD700, #FFA500);
  color: white;
  border: none;
  padding: 15px 30px;
  margin: 20px;
  border-radius: 25px;
  font-size: clamp(1rem, 4vw, 1.5rem);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  font-family: "Comic Sans MS", cursive;
}
.tools-parent-container .home-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
.tools-parent-container .congratulations {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
}
.tools-parent-container .congrats-content {
  background: linear-gradient(135deg, #FFE5B4, #FFCCCB);
  padding: 40px;
  border-radius: 30px;
  text-align: center;
  border: 5px solid #FFD700;
  animation: celebrationBounce 1s ease-in-out;
}
@keyframes celebrationBounce {
  0% {
    transform: scale(0.3) rotate(-10deg);
  }
  50% {
    transform: scale(1.1) rotate(5deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}
.tools-parent-container .congrats-title {
  font-size: clamp(2rem, 8vw, 4rem);
  color: #FF6B6B;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
  animation: rainbow 2s linear infinite;
}
@keyframes rainbow {
  0% {
    color: #FF6B6B;
  }
  16% {
    color: #FFD700;
  }
  33% {
    color: #32CD32;
  }
  50% {
    color: #4ECDC4;
  }
  66% {
    color: #FF69B4;
  }
  83% {
    color: #9370DB;
  }
  100% {
    color: #FF6B6B;
  }
}
.tools-parent-container .error-indication {
  position: absolute;
  background: #FF4444;
  color: white;
  padding: 10px 20px;
  border-radius: 15px;
  font-weight: bold;
  animation: shake 0.5s ease-in-out;
  z-index: 100;
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-10px);
  }
  75% {
    transform: translateX(10px);
  }
}
.tools-parent-container .hidden-picture {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 1s ease;
  font-size: clamp(50px, 15vw, 200px);
  z-index: 1;
}
.tools-parent-container .hidden-picture.revealed {
  opacity: 1;
  animation: pictureReveal 2s ease-in-out;
}
@keyframes pictureReveal {
  0% {
    transform: translate(-50%, -50%) scale(0) rotate(180deg);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
  }
}
@media (max-width: 768px) {
  .tools-parent-container .container {
    padding: 5px;
  }
  .tools-parent-container .section {
    padding: 20px;
    margin: 10px auto;
  }
  .tools-parent-container .game-area {
    height: 60vh;
  }
  .tools-parent-container .dot {
    width: 40px;
    height: 40px;
    font-size: 16px;
    min-height: 40px;
    min-width: 40px;
  }
}
@media (max-width: 480px) {
  .tools-parent-container .game-area {
    height: 50vh;
  }
  .tools-parent-container .dot {
    width: 35px;
    height: 35px;
    min-height: 35px;
    min-width: 35px;
    font-size: 14px;
  }
  .tools-parent-container .congrats-content {
    padding: 20px;
    max-width: 90%;
  }
}