/* Genel Body Stili */
body {
  font-family: sans-serif;
  background: linear-gradient(to bottom right, #6a0dad, #ffffff); /* Arka plan geçişi */
  margin: 0;
  padding: 0;
  height: 100vh;
  overflow: hidden;
  letter-spacing: 1px; /* Harf arası mesafe */
}

/* Zamanlayıcı */
#main-timer {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

/* İstatistikler Konteyneri */
#stats-container {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  padding: 15px 20px;
  border-radius: 12px;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  backdrop-filter: blur(10px);
  letter-spacing: 1px;
}

/* İstatistikler Konteynerindeki Her Bir Div */
#stats-container div {
  margin-bottom: 8px;
}

/* Yuvarlak Harfler için Container */
.circle {
  position: relative;
  width: 600px;
  height: 600px;
  margin: 120px auto 0;
}

/* Harflerin Stilini Belirleme */
.letter {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #d3d3d3;
  text-align: center;
  line-height: 60px;
  font-weight: bold;
  font-size: 20px;
  transition: background-color 0.3s, transform 0.2s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Harf Hover Efekti */
.letter:hover {
  transform: scale(1.1);
  cursor: pointer;
}

/* Buton Stilleri */
button {
  margin: 10px;
  padding: 12px 25px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s ease-in-out;
  font-size: 16px;
}

/* Butonlar için renkler */
.success { 
  background-color: #28a745 !important; 
  color: white; 
}

.fail { 
  background-color: #dc3545 !important; 
  color: white; 
}

.pass { 
  background-color: #ffc107 !important; 
  color: black; 
}

.timeout { 
  background-color: #6c757d !important; 
  color: white; 
}

/* Blink Animasyonu */
@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}

/* Yanıp Sönme Efekti */
.blinking {
  animation: blink 1s infinite;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
  .circle {
    width: 400px;
    height: 400px;
  }

  .letter {
    width: 50px;
    height: 50px;
    font-size: 18px;
    line-height: 50px;
  }

  button {
    padding: 8px 20px;
    font-size: 14px;
  }
}
