/* Kelime Yarışı - özel stiller */
* { -webkit-tap-highlight-color: transparent; }

.btn {
  transition: all 0.15s ease;
}
.btn:active { transform: scale(0.96); }

/* Yarış pisti */
.track {
  position: relative;
  background: repeating-linear-gradient(
    90deg,
    #374151 0px,
    #374151 40px,
    #4b5563 40px,
    #4b5563 80px
  );
  border-radius: 8px;
  overflow: hidden;
}
.track-lane {
  position: relative;
  height: 72px;
  border-bottom: 3px dashed rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
}
.track-lane:last-child { border-bottom: none; }

.car {
  position: absolute;
  left: 0;
  font-size: 42px;
  transition: left 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 5;
  white-space: nowrap;
  transform: translateX(0);
}

/* tablet ve üstü: daha da büyük pist */
@media (min-width: 640px) {
  .track-lane { height: 88px; }
  .car { font-size: 52px; }
}
.finish-line {
  position: absolute;
  right: 6px;
  top: 0;
  bottom: 0;
  width: 10px;
  background-image:
    linear-gradient(45deg, #000 25%, transparent 25%),
    linear-gradient(-45deg, #000 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #000 75%),
    linear-gradient(-45deg, transparent 75%, #000 75%);
  background-size: 10px 10px;
  background-position: 0 0, 0 5px, 5px -5px, -5px 0px;
  background-color: #fff;
  z-index: 3;
}

/* cevap şıkları */
.option-btn {
  transition: all 0.15s ease;
}
.option-btn:hover { transform: translateY(-2px); }
.option-correct { background-color: #16a34a !important; animation: pop 0.3s; }
.option-wrong { background-color: #dc2626 !important; }

@keyframes pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes vroom {
  0% { transform: translateX(0); }
  50% { transform: translateX(6px); }
  100% { transform: translateX(0); }
}
.car-boost { animation: vroom 0.4s ease; }

.fade-in { animation: fadeIn 0.3s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* parıltı efekti kazanan için */
.winner-glow {
  animation: glow 1.5s ease-in-out infinite alternate;
}
@keyframes glow {
  from { text-shadow: 0 0 8px #fbbf24, 0 0 16px #fbbf24; }
  to { text-shadow: 0 0 16px #f59e0b, 0 0 32px #f59e0b; }
}

/* 🎉 Motivasyon pop-up (Amazing / Wow / Süper) */
.praise-pop {
  position: fixed;
  top: 28%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.4);
  z-index: 9999;
  pointer-events: none;
  text-align: center;
  font-weight: 900;
  font-size: 2.4rem;
  letter-spacing: 1px;
  text-shadow: 0 4px 16px rgba(0,0,0,0.5), 0 0 24px currentColor;
  animation: praisePop 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  white-space: nowrap;
}
.praise-emoji {
  display: block;
  font-size: 3.6rem;
  line-height: 1;
  margin-bottom: 4px;
  animation: praiseEmoji 1.2s ease forwards;
}
@media (min-width: 640px) {
  .praise-pop { font-size: 3.4rem; }
  .praise-emoji { font-size: 5rem; }
}
@keyframes praisePop {
  0%   { transform: translate(-50%, -50%) scale(0.3); opacity: 0; }
  18%  { transform: translate(-50%, -50%) scale(1.25); opacity: 1; }
  35%  { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  75%  { transform: translate(-50%, -55%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -90%) scale(0.85); opacity: 0; }
}
@keyframes praiseEmoji {
  0%   { transform: scale(0.3) rotate(-12deg); }
  20%  { transform: scale(1.3) rotate(8deg); }
  40%  { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* özel seri (streak) için ekstra ışıltı */
.praise-pop.praise-streak {
  animation: praisePopBig 1.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes praisePopBig {
  0%   { transform: translate(-50%, -50%) scale(0.3) rotate(-6deg); opacity: 0; }
  15%  { transform: translate(-50%, -50%) scale(1.5) rotate(4deg); opacity: 1; }
  35%  { transform: translate(-50%, -50%) scale(1.15) rotate(0deg); opacity: 1; }
  78%  { transform: translate(-50%, -58%) scale(1.15); opacity: 1; }
  100% { transform: translate(-50%, -95%) scale(0.9); opacity: 0; }
}
