.race-track {
  background: linear-gradient(180deg, #87ceeb 0%, #90ee90 40%, #228b22 100%);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 25px;
  position: relative;
}

.track-lanes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lane {
  position: relative;
  height: 60px;
  background: repeating-linear-gradient(
    90deg,
    #d4a574,
    #d4a574 40px,
    #c49664 40px,
    #c49664 80px
  );
  border-radius: var(--radius-md);
  overflow: hidden;
}

.lane::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: white;
  transform: translateY(-50%);
  opacity: 0.5;
}

.finish-line {
  position: absolute;
  right: 10px;
  top: 0;
  bottom: 0;
  width: 15px;
  background: repeating-linear-gradient(
    0deg,
    white 0px,
    white 8px,
    black 8px,
    black 16px
  );
}

.runner {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  transition: left 0.3s ease;
  z-index: 10;
}

.player-runner {
  animation: bounce-run 0.5s ease infinite;
}

.cpu-runner {
  animation: bounce-run 0.5s ease infinite 0.25s;
}

@keyframes bounce-run {
  0%,
  100% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(-60%);
  }
}

.lane-labels {
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  margin-top: 10px;
}

.lane-labels span {
  font-weight: 700;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.question-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 25px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  margin-bottom: 25px;
}

.question-emoji {
  font-size: 4rem;
  margin-bottom: 15px;
}

.question-word {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  font-size: 2.5rem;
  font-weight: 800;
}

.word-part {
  color: var(--dark);
}

.word-blank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: 5px 15px;
  background: var(--gray-100);
  border: 3px dashed var(--primary);
  border-radius: var(--radius-md);
  color: var(--primary);
  animation: pulse 1.5s ease infinite;
}

.word-blank.correct {
  border-color: var(--success);
  background: #d4edda;
  color: #27ae60;
  border-style: solid;
  animation: none;
}

.word-blank.wrong {
  border-color: var(--danger);
  background: #ffe8e8;
  animation: shake 0.5s ease;
}

.answer-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  max-width: 400px;
  margin: 0 auto;
}

.answer-btn {
  padding: 18px;
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: var(--radius-lg);
  border: 3px solid;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-main);
}

.answer-btn:hover {
  transform: scale(1.05);
}

.answer-btn:active {
  transform: scale(0.95);
}

.answer-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

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

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

/* Responsive */
@media (max-width: 500px) {
  .runner {
    font-size: 2rem;
  }

  .lane {
    height: 50px;
  }

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

  .question-word {
    font-size: 2rem;
  }

  .word-blank {
    min-width: 60px;
  }

  .answer-btn {
    padding: 14px;
    font-size: 1.3rem;
  }
}
