.word-target {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 15px 30px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}

.target-emoji {
  font-size: 3rem;
}

.target-word {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--primary);
}

.maze-container {
  position: relative;
  background: linear-gradient(135deg, #e8f4ff, #f0ebff);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 20px;
}

.maze-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  max-width: 400px;
  margin: 0 auto;
}

.maze-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.maze-cell.empty {
  background: var(--gray-200);
  cursor: pointer;
}

.maze-cell.syllable {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--gray-300);
}

.maze-cell.syllable:hover,
.maze-cell.syllable:active {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.maze-cell.player-here {
  background: #ffeaa7 !important;
  border-color: #f1c40f;
  animation: pulse 1s ease infinite;
}

.maze-cell.collected {
  background: #d4edda !important;
  border-color: #28a745;
  opacity: 0.6;
}

.maze-cell.wrong {
  animation: shake 0.5s ease;
  background: #ffe8e8 !important;
}

/* Renk sınıfları */
.syllable-a {
  background: #ffe8e8 !important;
  border-color: #ff6b6b !important;
  color: #c0392b;
}
.syllable-e {
  background: #fff0e0 !important;
  border-color: #ffa94d !important;
  color: #d35400;
}
.syllable-i {
  background: #fff9e0 !important;
  border-color: #ffe066 !important;
  color: #f39c12;
}
.syllable-ii {
  background: #e8f8eb !important;
  border-color: #69db7c !important;
  color: #27ae60;
}
.syllable-o {
  background: #e8f4ff !important;
  border-color: #74c0fc !important;
  color: #2980b9;
}
.syllable-oo {
  background: #f0ebff !important;
  border-color: #b197fc !important;
  color: #8e44ad;
}
.syllable-u {
  background: #ffe8f2 !important;
  border-color: #f783ac !important;
  color: #e84393;
}
.syllable-uu {
  background: #ffe0eb !important;
  border-color: #e64980 !important;
  color: #c0392b;
}

.player {
  display: none; /* Kullanmıyoruz, hücre içinde gösteriyoruz */
}

.collected-syllables {
  text-align: center;
  padding: 15px;
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}

.collected-syllables p {
  font-size: 1rem;
  color: var(--gray-800);
  margin-bottom: 10px;
}

.collected-list {
  display: flex;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  flex-wrap: wrap;
}

.collected-item {
  padding: 10px 20px;
  font-size: 1.3rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  animation: pop 0.3s ease;
}

.maze-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.control-row {
  display: flex;
  gap: 5px;
}

.control-btn {
  width: 60px;
  height: 60px;
  font-size: 1.8rem;
  border: none;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.control-btn:hover {
  background: var(--gray-100);
  transform: scale(1.05);
}

.control-btn:active,
.control-btn.active {
  transform: scale(0.95);
  background: var(--primary-light);
}

.progress-text {
  text-align: center;
  font-size: 1rem;
  color: var(--gray-800);
  font-weight: 600;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 500px) {
  .maze-grid {
    gap: 5px;
  }

  .maze-cell {
    font-size: 1rem;
  }

  .target-word {
    font-size: 1.5rem;
  }

  .control-btn {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}
