.elementor-20625 .elementor-element.elementor-element-fdfcb72{--display:flex;overflow:visible;}/* Start custom CSS for html, class: .elementor-element-5b601cc *//* Wrapper */
.maze-game-wrapper {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

/* Main card */
.maze-game {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 20px;
  padding: 24px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.35);
  border: 3px solid #facc15;
  position: relative;
  overflow: hidden;
}

/* Festive top bar */
.maze-game::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10%;
  width: 120%;
  height: 10px;
  background-image: repeating-linear-gradient(
    45deg,
    #b91c1c 0,
    #b91c1c 15px,
    #facc15 15px,
    #facc15 30px,
    #16a34a 30px,
    #16a34a 45px
  );
}

/* Heading & text */
.maze-game h2 {
  text-align: center;
  margin: 0 0 8px;
  font-size: 1.6rem;
  color: #b91c1c;
}

.maze-instructions {
  text-align: center;
  font-size: 0.95rem;
  color: #374151;
  margin-bottom: 16px;
}

/* Controls */
.maze-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
}

.maze-game button {
  border-radius: 999px;
  border: none;
  padding: 8px 16px;
  font-size: 0.9rem;
  cursor: pointer;
  background: #16a34a;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(21, 128, 61, 0.5);
  transition: transform 0.08s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.maze-game button:hover {
  background: #15803d;
}

.maze-game button:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.5);
}

.maze-status-text {
  font-size: 0.9rem;
  color: #4b5563;
}

/* Maze box */
.maze-container {
  margin: 0 auto;
  margin-top: 8px;
  width: 380px;
  height: 380px;
  max-width: 100%;
  background: #f9fafb;
  border-radius: 18px;
  border: 2px solid #111827;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 10px rgba(15, 23, 42, 0.15);
}

/* START and FINISH */
.maze-start,
.maze-goal {
  position: absolute;
  width: 70px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(15, 23, 42, 0.3);
  cursor: default;
  user-select: none;
}

/* START */
.maze-start {
  left: 10px;
  top: 310px;
  background: #22c55e;
  color: #052e16;
}

/* FINISH */
.maze-goal {
  right: 10px;
  top: 20px;
  background: #f97316;
  color: #431407;
}

/* Walls */
.maze-wall {
  position: absolute;
  background: #111827;
  box-shadow: 0 0 4px rgba(15, 23, 42, 0.7);
}

/* Win / lose visual feedback */
.maze-container.maze-failed {
  background: #fee2e2;
  border-color: #b91c1c;
}

.maze-container.maze-won {
  background: #dcfce7;
  border-color: #16a34a;
}



/* Optional: responsive scaling */
@media (max-width: 480px) {
  .maze-container {
    transform: scale(0.9);
    transform-origin: top center;
  }
  
}/* End custom CSS */