/* Ritmik Sayma — SADECE bu oyuna özgü kurallar.
   Ortak taban /ortak/tema.css'te; genel bir kuralı oraya ekle, buraya kopyalama. */

.ritmik-question-card {
  position: relative;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 12px 28px rgba(67, 53, 107, 0.12);
  padding: 3.4vh 3.5vw;
  width: 100%;
  text-align: center;
  transform: rotate(-1deg);
}

/* geriye sayma uyarısı — adımı ele vermez, yalnız yönü söyler */
.yon-rozet {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 1.4vh;
  padding: 3px 12px;
  border-radius: 999px;
  background: #ffe9ee;
  color: #c93b52;
  font-size: 15px;
  font-weight: 800;
}

/* 5 terimlik dizi: kutular ekrana sığmak için esner */
.dizi {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1.6vw;
  width: 100%;
}

.dizi-kutu {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5vh 2px;
  border: 3px solid #c3d9f2;
  border-radius: 14px;
  background: #eaf3ff;
  font-size: clamp(15px, 4.4vw, 30px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.dizi-kutu.gizli {
  border-style: dashed;
  border-color: #e8a900;
  background: #fff3d6;
  color: #d99a1b;
  animation: kutuNabiz 1.4s ease-in-out infinite;
}

@keyframes kutuNabiz {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

.ritmik-soru {
  display: block;
  padding-top: 1.8vh;
  font-size: clamp(17px, 4.4vw, 24px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--muted);
}

.answer-btn .answer-num { font-variant-numeric: tabular-nums; }
