body {
  background: radial-gradient(circle at top, #111 0%, #000 100%);
  color: #fff;
  font-family: 'Inter', sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;
}

/* === ÜSTTEKİ KARAKTER PANELİ === */
.karakter-secim-panel {
  background: rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  padding: 10px 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.karakter-listesi {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.karakter-listesi img {
  width: 60px;
  height: 60px;
  cursor: pointer;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: 0.3s;
}

.karakter-listesi img:hover {
  transform: scale(1.1);
  border-color: #d4af37;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* === OYUN === */
.oyun-container {
  max-width: 1000px;
  margin: 20px auto;
  padding: 10px;
}

.oyun-satir {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.oyun-alani {
  display: grid;
  grid-template-columns: repeat(5, 80px);
  grid-template-rows: repeat(5, 80px);
  gap: 4px;
  background: #222;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
  padding: 8px;
}

.kare {
  background: #333;
  border-radius: 8px;
  position: relative;
}

.robot {
  background-position: center;
  background-repeat: no-repeat;
  background-size: 70%;
  transition: all 0.3s ease;
}

.hedef {
  background-image: url('../iconlar/hedef.png'); /* ../ ile bir üst klasöre çıkıyoruz */
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}



.panel-sag {
  width: 320px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 15px;
}

.komut-btn {
  font-size: 1.4rem;
  margin: 4px;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  border: 1px solid #d4af37;
  background: rgba(212, 175, 55, 0.15);
  cursor: pointer;
  transition: 0.3s;
  color: #fff;
}
.komut-btn:hover {
  background: rgba(212, 175, 55, 0.4);
  transform: scale(1.1);
}

.run-btn, .reset-btn {
  background: rgba(212, 175, 55, 0.25);
  border: 1px solid #d4af37;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
}

.alt-bilgi {
  margin-top: 20px;
}
/* Undo butonu görünümü (panel içi uyumlu) */
.undo-btn {
  font-size: 1.1rem;
  margin: 4px;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  border: 1px dashed rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.03);
  color: #fff;
  cursor: pointer;
  transition: all 0.22s ease;
}
.undo-btn:hover {
  background: rgba(212,175,55,0.18);
  transform: translateY(-3px);
}
.undo-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  background: rgba(255,255,255,0.01);
}
.kademe-efekti {
  animation: kademeParla 0.6s ease;
}

@keyframes kademeParla {
  0% { box-shadow: 0 0 0px gold; }
  50% { box-shadow: 0 0 25px gold; }
  100% { box-shadow: 0 0 0px gold; }
}
.engel {
  background-color: rgba(255,0,0,0.6);
  border-radius: 4px;
}

.kademe-efekti {
  animation: kademeParla 0.6s ease;
}

@keyframes kademeParla {
  0% { box-shadow: 0 0 0px gold; }
  50% { box-shadow: 0 0 25px gold; }
  100% { box-shadow: 0 0 0px gold; }
}

:root{
  --bg:#0b0b0b;
  --card:#0f0f10;
  --gold:#d4af37;
  --black:#000000;
  --gold-soft:rgba(212,175,55,0.12);
  --white:#ffffff;
  --muted:#cfcfcf;
  --container:1200px;
  --radius:12px;
}
.site-header{position:fixed;inset:0 0 auto 0;z-index:100;background:linear-gradient(180deg, rgba(11,11,11,0.55), rgba(11,11,11,0.25));backdrop-filter:blur(6px)}
.header-inner{display:flex;align-items:center;gap:18px;justify-content:space-between;padding:14px 0}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--white)}
.mark{width:46px;height:46px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;font-weight:800;background:linear-gradient(135deg,var(--gold),#b58f22);color:#000}
.brand-text{font-weight:700;font-family:Inter, 'Montserrat',sans-serif}
