.tzq-quiz-game,
.tzq-game-dilbilgisi,
.tzq-game-yazim-kurallari,
.tzq-game-kesir-islemleri,
.tzq-game-ondalik-sayilar,
.tzq-game-edebiyat-bilgisi,
.tzq-game-cebir,
.tzq-game-canlilari-tanima,
.tzq-game-madde-ozellikleri,
.tzq-game-vucut-sistemleri,
.tzq-game-kuvvet-hareket,
.tzq-game-turkiye-haritasi,
.tzq-game-tarih-donemleri,
.tzq-game-edebi-akimlar,
.tzq-game-elektrik-devreleri,
.tzq-game-periyodik-tablo,
.tzq-game-hucre-yapisi,
.tzq-game-iklim-tipleri,
.tzq-game-ingilizce-kelime,
.tzq-game-integral,
.tzq-game-turev,
.tzq-game-fonksiyonlar,
.tzq-game-trigonometri {
  width: 100%;
  height: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--tzq-spacing-md);
  display: flex;
  flex-direction: column;
  border-radius: var(--tzq-radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(var(--tzq-primary-rgb), 0.28),
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 0%,
      rgba(var(--tzq-primary-rgb), 0.24),
      transparent 35%
    ),
    var(--tzq-gradient-primary-dark);
  color: var(--tzq-text-inverse);
}
.tzq-quiz-game::before,
.tzq-game-dilbilgisi::before,
.tzq-game-yazim-kurallari::before,
.tzq-game-kesir-islemleri::before,
.tzq-game-ondalik-sayilar::before,
.tzq-game-edebiyat-bilgisi::before,
.tzq-game-cebir::before,
.tzq-game-canlilari-tanima::before,
.tzq-game-madde-ozellikleri::before,
.tzq-game-vucut-sistemleri::before,
.tzq-game-kuvvet-hareket::before,
.tzq-game-turkiye-haritasi::before,
.tzq-game-tarih-donemleri::before,
.tzq-game-edebi-akimlar::before,
.tzq-game-elektrik-devreleri::before,
.tzq-game-periyodik-tablo::before,
.tzq-game-hucre-yapisi::before,
.tzq-game-iklim-tipleri::before,
.tzq-game-ingilizce-kelime::before,
.tzq-game-integral::before,
.tzq-game-turev::before,
.tzq-game-fonksiyonlar::before,
.tzq-game-trigonometri::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px
  );
  background-size: 50px 50px;
  animation: backgroundMove 20s linear infinite;
  pointer-events: none;
}
@keyframes backgroundMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}
.tzq-quiz-game__header,
.tzq-game-dilbilgisi__header,
.tzq-game-yazim-kurallari__header,
.tzq-game-kesir-islemleri__header,
.tzq-game-ondalik-sayilar__header,
.tzq-game-edebiyat-bilgisi__header,
.tzq-game-cebir__header,
.tzq-game-canlilari-tanima__header,
.tzq-game-madde-ozellikleri__header,
.tzq-game-vucut-sistemleri__header,
.tzq-game-kuvvet-hareket__header,
.tzq-game-turkiye-haritasi__header,
.tzq-game-tarih-donemleri__header,
.tzq-game-edebi-akimlar__header,
.tzq-game-elektrik-devreleri__header,
.tzq-game-periyodik-tablo__header,
.tzq-game-hucre-yapisi__header,
.tzq-game-iklim-tipleri__header,
.tzq-game-ingilizce-kelime__header,
.tzq-game-integral__header,
.tzq-game-turev__header,
.tzq-game-fonksiyonlar__header,
.tzq-game-trigonometri__header {
  margin-bottom: var(--tzq-spacing-md);
}
.tzq-quiz-game__header h2,
.tzq-game-dilbilgisi__header h2,
.tzq-game-yazim-kurallari__header h2,
.tzq-game-kesir-islemleri__header h2,
.tzq-game-ondalik-sayilar__header h2,
.tzq-game-edebiyat-bilgisi__header h2,
.tzq-game-cebir__header h2,
.tzq-game-canlilari-tanima__header h2,
.tzq-game-madde-ozellikleri__header h2,
.tzq-game-vucut-sistemleri__header h2,
.tzq-game-kuvvet-hareket__header h2,
.tzq-game-turkiye-haritasi__header h2,
.tzq-game-tarih-donemleri__header h2,
.tzq-game-edebi-akimlar__header h2,
.tzq-game-elektrik-devreleri__header h2,
.tzq-game-periyodik-tablo__header h2,
.tzq-game-hucre-yapisi__header h2,
.tzq-game-iklim-tipleri__header h2,
.tzq-game-ingilizce-kelime__header h2,
.tzq-game-integral__header h2,
.tzq-game-turev__header h2,
.tzq-game-fonksiyonlar__header h2,
.tzq-game-trigonometri__header h2 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  margin-bottom: var(--tzq-spacing-sm);
  color: #ffffff;
  text-align: center;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  font-weight: 800;
}
.tzq-quiz-game__stats,
.tzq-game-dilbilgisi__stats,
.tzq-game-yazim-kurallari__stats,
.tzq-game-kesir-islemleri__stats,
.tzq-game-ondalik-sayilar__stats,
.tzq-game-edebiyat-bilgisi__stats,
.tzq-game-cebir__stats,
.tzq-game-canlilari-tanima__stats,
.tzq-game-madde-ozellikleri__stats,
.tzq-game-vucut-sistemleri__stats,
.tzq-game-kuvvet-hareket__stats,
.tzq-game-turkiye-haritasi__stats,
.tzq-game-tarih-donemleri__stats,
.tzq-game-edebi-akimlar__stats,
.tzq-game-elektrik-devreleri__stats,
.tzq-game-periyodik-tablo__stats,
.tzq-game-hucre-yapisi__stats,
.tzq-game-iklim-tipleri__stats,
.tzq-game-ingilizce-kelime__stats,
.tzq-game-integral__stats,
.tzq-game-turev__stats,
.tzq-game-fonksiyonlar__stats,
.tzq-game-trigonometri__stats {
  display: flex;
  gap: var(--tzq-spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.tzq-quiz-game__content,
.tzq-game-dilbilgisi__content,
.tzq-game-yazim-kurallari__content,
.tzq-game-kesir-islemleri__content,
.tzq-game-ondalik-sayilar__content,
.tzq-game-edebiyat-bilgisi__content,
.tzq-game-cebir__content,
.tzq-game-canlilari-tanima__content,
.tzq-game-madde-ozellikleri__content,
.tzq-game-vucut-sistemleri__content,
.tzq-game-kuvvet-hareket__content,
.tzq-game-turkiye-haritasi__content,
.tzq-game-tarih-donemleri__content,
.tzq-game-edebi-akimlar__content,
.tzq-game-elektrik-devreleri__content,
.tzq-game-periyodik-tablo__content,
.tzq-game-hucre-yapisi__content,
.tzq-game-iklim-tipleri__content,
.tzq-game-ingilizce-kelime__content,
.tzq-game-integral__content,
.tzq-game-turev__content,
.tzq-game-fonksiyonlar__content,
.tzq-game-trigonometri__content {
  flex: 1;
  overflow-y: auto;
  padding-right: var(--tzq-spacing-sm);
  display: flex;
  flex-direction: column;
  gap: var(--tzq-spacing-xl);
  position: relative;
  z-index: 1;
}
.tzq-quiz__question {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: var(--tzq-radius-md);
  padding: var(--tzq-spacing-xl);
  border: 1px solid var(--tzq-primary-light);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  animation: questionEntrance 0.6s ease-out;
}
@keyframes questionEntrance {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.tzq-question-category {
  display: inline-block;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: var(--tzq-radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: var(--tzq-spacing-md);
}
.tzq-quiz__question h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.6;
  margin: 0;
  font-weight: 700;
}
.tzq-fraction-display,
.tzq-decimal-display {
  font-size: 3rem;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: var(--tzq-spacing-md);
  font-family: "Courier New", monospace;
}
.tzq-quiz__options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--tzq-spacing-md);
  width: 100%;
}
.tzq-quiz-option {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--tzq-primary-light);
  border-radius: var(--tzq-radius-md);
  padding: var(--tzq-spacing-lg);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  position: relative;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  animation: optionEntrance 0.6s ease-out backwards;
  color: var(--tzq-primary-dark);
}
.tzq-quiz-option:nth-child(1) {
  animation-delay: 0.1s;
}
.tzq-quiz-option:nth-child(2) {
  animation-delay: 0.2s;
}
.tzq-quiz-option:nth-child(3) {
  animation-delay: 0.3s;
}
.tzq-quiz-option:nth-child(4) {
  animation-delay: 0.4s;
}
@keyframes optionEntrance {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.tzq-quiz-option::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--tzq-radius-md);
  background: linear-gradient(
    145deg,
    rgba(var(--tzq-primary-rgb), 0.1),
    rgba(var(--tzq-primary-rgb), 0.15)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}
.tzq-quiz-option:hover::before {
  opacity: 1;
}
.tzq-quiz-option:hover:not(.tzq-quiz-option--correct):not(
    .tzq-quiz-option--wrong
  ) {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 24px rgba(var(--tzq-primary-rgb), 0.3);
  border-color: var(--tzq-primary);
  background: rgba(255, 255, 255, 1);
}
.tzq-quiz-option:active:not(.tzq-quiz-option--correct):not(
    .tzq-quiz-option--wrong
  ) {
  transform: translateY(-4px) scale(1.01);
}
.tzq-quiz-option--correct {
  background: linear-gradient(145deg, #48bb78, #38a169);
  border-color: #48bb78;
  animation: correctSuccess 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 0 30px rgba(72, 187, 120, 0.6);
  transform: scale(1.1);
  color: #ffffff;
}
.tzq-quiz-option--wrong {
  background: linear-gradient(145deg, #f56565, #e53e3e);
  border-color: #f56565;
  animation: wrongShake 0.6s ease;
  box-shadow: 0 0 20px rgba(245, 101, 101, 0.5);
  color: #ffffff;
}
.tzq-quiz-option--timeout {
  border-color: #f6ad55;
  animation: timeoutFlash 0.5s ease;
}
.tzq-quiz-option:disabled {
  cursor: not-allowed;
  opacity: 0.8;
}
@keyframes correctSuccess {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2) rotate(5deg);
    box-shadow: 0 0 40px rgba(72, 187, 120, 0.8);
  }
  100% {
    transform: scale(1.1);
  }
}
@keyframes wrongShake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-10px);
  }
  75% {
    transform: translateX(10px);
  }
}
@keyframes timeoutFlash {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

