@charset "UTF-8";
.tools-parent-container {
  font-family: "Roboto", "Raleway", Arial, Helvetica, sans-serif;
  background: url(./images/transparentwoodengrain.png), #f5f4ed;
  min-height: 100vh;
  padding: 20px;
  overflow-x: hidden;
}

.tools-parent-container .total-score-card .progress-container {
  background-color: rgba(197, 152, 32, 0.5411764706);
}
.tools-parent-container {
  /* Animated Background Stars */
}
@keyframes twinkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}
.tools-parent-container .stars {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}
.tools-parent-container .star {
  position: absolute;
  width: 3px;
  height: 3px;
  background: white;
  border-radius: 50%;
  animation: twinkle 3s infinite;
}
.tools-parent-container .container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.tools-parent-container {
  /* Header Section */
}
.tools-parent-container .hheader { 
  text-align: center;
  margin-bottom: 40px;
  animation: slideDown 0.8s ease-out;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.tools-parent-container .hheader h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  color: #1e1e1e;
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 10px;
  letter-spacing: 2px;
}
.tools-parent-container .hheader .emoji {
  font-size: clamp(3rem, 6vw, 5rem);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}
.tools-parent-container {
  /* Total Score Card */
}
.tools-parent-container .total-score-card {
  background: #ffc62f;
  padding: 20px 30px;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: none;
  /* animation: pulse 2s infinite; */
  z-index: 10;
  margin: 32px 0;
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
.tools-parent-container .total-score-card h3 {
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: #1e1e1e;
  margin-bottom: 10px;
  text-align: center;
}
.tools-parent-container .total-score-display {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: bold;
  color: #1e1e1e;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
.tools-parent-container {
  /* Learning Path Container - Horizontal Carousel */
}
.tools-parent-container .learning-path {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 60px 20px;
  min-height: 550px;
}
.tools-parent-container div#levelsContainer {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: start;
  max-width: 100%;
  overflow-x: clip;
}
.tools-parent-container #levelsContainer .level-container {
  flex: 1;
  aspect-ratio: 3/4;
}
.tools-parent-container div#levelsContainer > div:nth-child(even) {
  margin-top: 10vw;
}
.tools-parent-container .progress-info-tooltip::after {
  content: "";
  position: absolute;
  border: 10px solid rgb(255, 198, 47);
  border-color: rgb(255, 198, 47);
  z-index: 999999;
  bottom: 100%;
  border-right-color: transparent;
  border-left-color: transparent;
  border-top-color: transparent;
  left: 50%;
  transform: translateX(-50%);
}
.tools-parent-container .lock-warning {
  background: #fff;
  border-radius: 1em;
  color: red;
  line-height: 1.2;
  font-weight: bolder;
}
.tools-parent-container .level-card {
  background: #ffc62f;
  border-radius: 1em;
  font-size: var(--fs-12-16);
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
  padding: 0.5em;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tools-parent-container .level-card.locked {
  position: relative;
  cursor: not-allowed;
  background: linear-gradient(135deg, #e0e0e0 0%, #c0c0c0 100%);
}
.tools-parent-container .level-card.locked::after {
  position: absolute;
  inset: 0;
  background: rgba(234, 231, 218, 0.6117647059);
  content: "Complete 10% of the previous level to unlock this one";
  border-radius: 1em;
  font-size: var(--fs-12-16);
  color: #1e1e1e;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bolder;
}
.tools-parent-container .level-card.completed {
  border-color: #ffd700;
  background: linear-gradient(135deg, #fff9e6 0%, #fffacd 100%);
}
@keyframes glow {
  0%, 100% {
    box-shadow: 0 15px 40px rgba(72, 52, 212, 0.3), 0 0 30px rgba(72, 52, 212, 0.2);
  }
  50% {
    box-shadow: 0 15px 50px rgba(72, 52, 212, 0.5), 0 0 50px rgba(72, 52, 212, 0.4);
  }
}
.tools-parent-container {
  /* Level Header */
}
.tools-parent-container .level-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
  text-align: center;
  max-width: max-content;
  margin: 0 auto;
}
.tools-parent-container .level-number {
  font-size: var(--fs-12-20);
  font-weight: bold;
  color: #1e1e1e;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tools-parent-container .level-icon {
  width: clamp(40px, 8vw, 60px);
  height: clamp(40px, 8vw, 60px);
  background: #1e1e1e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.tools-parent-container .level-score {
  background: #ffc62f;
  color: #1e1e1e;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: var(--fs-12-20);
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.tools-parent-container .level-title {
  font-size: var(--fs-12-16);
  color: #2d3436;
  margin-bottom: 15px;
  font-weight: bold;
}
.tools-parent-container {
  /* Topics List */
}
.tools-parent-container .topics-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.tools-parent-container .topics-list li {
  padding: 12px 20px;
  margin: 8px 0;
  background: #ffc62f;
  border-radius: 15px;
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  color: #2d3436;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  cursor: default;
}
.tools-parent-container .topics-list li:hover {
  transform: none;
}
.tools-parent-container .topics-list li::before {
  content: "·";
  display: inline-block;
  margin-right: 8px;
  background-size: contain;
  vertical-align: middle;
  font-size: 40px;
  vertical-align: middle;
  line-height: 1;
}
.tools-parent-container {
  /* Start Button */
}
.tools-parent-container .start-button {
  background: #1e1e1e;
  color: #fff;
  border: none;
  padding: 1em 0;
  font-size: var(--fs-10-16);
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  font-family: inherit;
  width: 100%;
}
.tools-parent-container .start-button:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}
.tools-parent-container .start-button:disabled {
  background: #95a5a6;
  cursor: not-allowed;
}
.tools-parent-container {
  /* Navigation Buttons */
}
.tools-parent-container .nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 50%, #16a085 100%);
  color: white;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tools-parent-container .nav-button:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}
.tools-parent-container .nav-button:disabled {
  background: #95a5a6;
  cursor: not-allowed;
  opacity: 0.5;
}
.tools-parent-container .nav-button.prev {
  left: 10px;
}
.tools-parent-container .nav-button.next {
  right: 10px;
}
.tools-parent-container {
  /* Level Indicator Dots */
}
.tools-parent-container .level-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}
.tools-parent-container .indicator-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}
.tools-parent-container .indicator-dot.active {
  background: #ffd700;
  box-shadow: 0 0 15px #ffd700;
  transform: scale(1.5);
}
.tools-parent-container .indicator-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}
.tools-parent-container {
  /* Lights Effect for Completed Levels */
}
.tools-parent-container .level-lights {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  opacity: 0;
}
.tools-parent-container .level-lights.active {
  opacity: 1;
  animation: lightsOn 0.5s ease-out;
}
@keyframes lightsOn {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(0);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}
.tools-parent-container .light-bulb {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  animation: bulbBlink 1.5s infinite;
}
.tools-parent-container .light-bulb:nth-child(1) {
  background: #ffd700;
  box-shadow: 0 0 15px #ffd700;
}
.tools-parent-container .light-bulb:nth-child(2) {
  background: #ff6b6b;
  box-shadow: 0 0 15px #ff6b6b;
  animation-delay: 0.3s;
}
.tools-parent-container .light-bulb:nth-child(3) {
  background: #1e1e1e;
  box-shadow: 0 0 15px #1e1e1e;
  animation-delay: 0.6s;
}
.tools-parent-container .light-bulb:nth-child(4) {
  background: #00d2d3;
  box-shadow: 0 0 15px #00d2d3;
  animation-delay: 0.9s;
}
@keyframes bulbBlink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.tools-parent-container {
  /* Status Badge */
}
.tools-parent-container .status-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: var(--fs-10-16);
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: rgba(30, 30, 30, 0.5215686275);
}
.tools-parent-container .status-badge.locked {
  background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
  color: white;
}
.tools-parent-container .status-badge.unlocked {
  background: #ffc62f;
  color: #1e1e1e;
  animation: tada 1s ease-out;
}
.tools-parent-container .status-badge.completed {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #2d3436;
}
@keyframes tada {
  0% {
    transform: scale(1) rotate(0deg);
  }
  10%, 20% {
    transform: scale(0.9) rotate(-3deg);
  }
  30%, 50%, 70%, 90% {
    transform: scale(1.1) rotate(3deg);
  }
  40%, 60%, 80% {
    transform: scale(1.1) rotate(-3deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}
.tools-parent-container {
  /* Progress Bar */
}
.tools-parent-container .progress-container {
  width: 100%;
  border-radius: 20px;
  padding: 5px;
  margin: 0 auto;
}
.tools-parent-container .progress-bar {
  height: 15px;
  background: #1e1e1e;
  border-radius: 15px;
  transition: width 0.5s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
.tools-parent-container {
  /* Confetti Effect */
}
.tools-parent-container .confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  background: #ffd700;
  position: absolute;
  animation: confetti-fall 3s linear;
  z-index: 1000;
}
@keyframes confetti-fall {
  to {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}
.tools-parent-container {
  /* Responsive Design */
}
@media (max-width: 768px) {
  .tools-parent-container .total-score-card {
    position: relative;
    top: 0;
    right: 0;
    margin: 0 auto 30px;
    /* max-width: 300px; */
  }
  .tools-parent-container .learning-path {
    min-height: 500px;
    padding: 40px 10px;
  }
  .tools-parent-container .level-container.left {
    transform: translateX(-110%) scale(0.65);
  }
  .tools-parent-container .level-container.right {
    transform: translateX(110%) scale(0.65);
  }
  .tools-parent-container .nav-button {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  .tools-parent-container .nav-button.prev {
    left: 5px;
  }
  .tools-parent-container .nav-button.next {
    right: 5px;
  }
  .tools-parent-container .level-indicators {
    bottom: 5px;
    gap: 10px;
  }
  .tools-parent-container .indicator-dot {
    width: 10px;
    height: 10px;
  }
}
@media (max-width: 480px) {
  .tools-parent-container body {
    padding: 10px;
  }
  .tools-parent-container .hheader {
    margin-bottom: 20px;
  }
  .tools-parent-container .learning-path {
    min-height: 450px;
    padding: 30px 5px;
  }
  .tools-parent-container .level-container {
    max-width: 300px;
  }
  .tools-parent-container .level-card {
    padding: 20px;
  }
  .tools-parent-container .topics-list li {
    padding: 10px 15px;
  }
  .tools-parent-container .start-button {
    padding: 12px 30px;
  }
  .tools-parent-container .nav-button {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
  .tools-parent-container .lock-icon {
    font-size: 3rem;
  }
}
@media (max-width: 380px) {
  .tools-parent-container .level-container {
    max-width: 280px;
  }
  .tools-parent-container .level-container.left,
  .tools-parent-container .level-container.right {
    opacity: 0.2;
  }
}
.tools-parent-container {
  /* Lock Icon */
}
.tools-parent-container .lock-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  opacity: 1;
  pointer-events: none;
  z-index: 2;
}
.tools-parent-container {
  /* Success Animation */
}
@keyframes successPop {
  0% {
    transform: scale(0) rotate(0deg);
  }
  50% {
    transform: scale(1.2) rotate(180deg);
  }
  100% {
    transform: scale(1) rotate(360deg);
  }
}
.tools-parent-container .success-icon {
  animation: successPop 0.6s ease-out;
}
.tools-parent-container {
  /* Floating Animation for Emoji */
}
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-10px) rotate(5deg);
  }
  75% {
    transform: translateY(-5px) rotate(-5deg);
  }
}
.tools-parent-container .level-icon.completed-icon {
  animation: float 3s infinite ease-in-out;
}
 .game-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; 
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s;
}
.game-modal.active {
  display: flex;
}
 .game-selection-panel {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 25px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  animation: slideUp 0.4s;
}
 .game-option {
  background: #ffc62f;
  border-radius: 15px;
  padding: 20px;
  margin: 15px 0;
  cursor: pointer;
  transition: all 0.3s;
  border: 3px solid transparent;
}
.game-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border-color: #2ecc71;
}
.tools-parent-container .progress-container svg {
  max-width: 80px;
  height: auto;
  aspect-ratio: 1/1;
  margin: 0 auto;
  display: block;
}
@media (max-width: 1200px) {
  .tools-parent-container .progress-container svg {
    max-width: 60px;
  }
}
@media (max-width: 1024px) {
  .tools-parent-container .level-card {
    padding: 1em;
  }
  .tools-parent-container .progress-container svg {
    max-width: 32px;
  }
  .tools-parent-container div#levelsContainer {
    flex-direction: column;
    gap: 60px;
  }
  .tools-parent-container div#levelsContainer {
    align-items: center;
  }
  .tools-parent-container #levelsContainer .level-container {
    flex: 1;
    aspect-ratio: 4/3;
  }
  .tools-parent-container div#levelsContainer > div:nth-child(even) {
    margin-top: 0vw;
    margin-left: 10vw;
  }
  .tools-parent-container div#levelsContainer > div:nth-child(odd) {
    margin-top: 0vw;
    margin-right: 10vw;
  }
}
.tools-parent-container .level-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tools-parent-container .status-badge img {
  display: inline-block;
  margin-right: 5px;
}
.tools-parent-container .start-button img {
  display: inline-block;
  margin-right: 8px;
}
.tools-parent-container .lock-icon img {
  width: 4rem;
  height: 4rem;
  opacity: 0.7;
}
.tools-parent-container .level-requirement {
  background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
  padding: 8px 15px;
  border-radius: 15px;
  margin: 10px 0;
  text-align: center;
  font-weight: bold;
  color: #2d3436;
  font-size: 0.95rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
.tools-parent-container .level-requirement.met {
  background: linear-gradient(135deg, #55efc4 0%, #00b894 100%);
  color: white;
}
.tools-parent-container :root {
  --fs-26-60: clamp(26px, 2.5297vw + 11.43px, 60px) !important;
  --fs-20-42: clamp(20px, 1.636vw + 10.5766px, 42px) !important;
  --fs-16-32: clamp(16px, 9.15px + 1.19vw, 32px) !important;
  --fs-12-24: clamp(12px, 6.8576px + 0.8928vw, 24px) !important;
  --fs-12-20: clamp(12px, 0.595vw + 8.57px, 20px) !important;
  --fs-12-18: clamp(12px, 0.44vw + 9.43px, 18px) !important;
  --fs-12-16: clamp(12px, 10.29px + 0.297vw, 16px) !important;
  --fs-10-16: clamp(10px, 8.525px + 0.3703vw, 16px) !important;
}
.tools-parent-container * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}