/* Font Tanımlaması */
:root {
  --game-font: 'Gochi Hand', cursive;
}

/* Genel Sayfa ve Mantar Pano Arka Planı */
body {
  font-family: var(--game-font);
  background-color: #6d4c41; /* Koyu ahşap çerçeve rengi */
  background-image: url('https://www.transparenttextures.com/patterns/cork-wallet.png');
  padding: 20px;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Ana Oyun Alanı */
.corkboard-container {
  width: 100%;
  max-width: 900px;
  text-align: center;
}

.title-paper {
  background: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transform: rotate(-2deg);
  display: inline-block;
  margin-bottom: 30px;
}
.title-paper h1 { margin: 0; font-size: 2.8em; color: #333; }
.title-paper p { margin: 0; font-size: 1.2em; color: #555; }

/* Kelime ve Hedef Alanları */
#english-words, #turkish-targets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  gap: 20px;
  min-height: 80px;
}

/* Sürüklenecek İngilizce Kelimeler (Renkli Not Kağıtları) */
.word-box {
  padding: 15px 20px;
  background-color: #fffde7; /* Açık sarı not kağıdı */
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1.5em;
  cursor: grab;
  user-select: none;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
}
.word-box:hover {
  transform: scale(1.1) rotate(3deg);
  box-shadow: 4px 4px 10px rgba(0,0,0,0.3);
}
.word-box:active {
  cursor: grabbing;
  transform: scale(1.05);
}

/* Hedef Türkçe Kutuları (Boş Etiketler) */
.drop-box {
  width: 150px;
  height: 60px;
  padding: 10px;
  background-color: #e0f7fa; /* Açık mavi */
  border: 2px dashed #00796b;
  border-radius: 8px;
  font-size: 1.5em;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

/* --- Geri Bildirim Stilleri --- */
/* Üzerine sürüklenirken */
.drop-box.drag-over {
  border-style: solid;
  transform: scale(1.05);
  background-color: #b2ebf2;
}
/* Doğru eşleşme */
.drop-box.correct {
  background-color: #c8e6c9 !important;
  border: 3px solid #388e3c !important;
  color: #1b5e20;
  cursor: not-allowed;
  animation: pulse-green 0.4s;
}
/* Yanlış eşleşme */
.drop-box.incorrect {
  animation: shake 0.5s;
  border-color: #d32f2f;
}

@keyframes pulse-green {
  0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); }
}
@keyframes shake {
  0%,100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); }
}

/* Alt Bar (Skor ve Buton) */
.bottom-bar {
  margin-top: 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.score-note {
  font-size: 1.8em;
  background: #fff;
  padding: 5px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
#score { color: #d32f2f; }
#next-btn {
  font-family: var(--game-font);
  font-size: 1.5em;
  padding: 10px 25px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px #388e3c;
  transition: all 0.1s ease-in-out;
}
#next-btn:hover { background-color: #66bb6a; }
#next-btn:active { transform: translateY(2px); box-shadow: 0 2px #388e3c; }