:root {
  --bg: #0b0b0b;
  --panel: #121212;
  --accent: #00e676;
  --text: #e6e6e6;
  --muted: #9ea3a8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, sans-serif;
}

/* Genel layout */
main {
  display: flex;
  gap: 15px;
  padding: 20px;
  flex-wrap: wrap;
}

/* Kolonlar */
.column {
  background: var(--panel);
  border: 1px solid #1f1f1f;
  border-radius: 8px;
  padding: 10px;
  min-width: 180px;
  flex: 1;
}

.col-title {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--accent);
}

/* Harita satırı */
.map-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px;
  border-top: 1px solid #1a1a1a;
}

.map-name {
  font-size: 14px;
}

/* Kontroller */
.controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Butonlar */
.btn {
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--accent);
  padding: 4px 6px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
}

.btn:hover {
  background: var(--accent);
  color: #000;
}

.btn.secondary {
  border-color: #555;
  color: #aaa;
}

.btn.secondary:hover {
  background: #555;
  color: #fff;
}

/* Timer kutusu */
.timer {
  min-width: 70px;
  text-align: center;
  padding: 4px;
  border-radius: 6px;
  background: #050505;
  border: 1px solid #222;
  font-size: 13px;
}

.timer.running {
  background: rgba(0, 230, 118, 0.15);
  border-color: rgba(0, 230, 118, 0.4);
}

.timer.finished {
  background: #333;
  color: #111;
}

.column.mmo .col-title {
  color: #ff3b3b;
  text-shadow: 0 0 6px rgba(255, 59, 59, 0.6);
}

.column.eic .col-title {
  color: #3ba3ff;
  text-shadow: 0 0 6px rgba(59, 163, 255, 0.6);
}

.column.vru .col-title {
  color: #00e676;
  text-shadow: 0 0 6px rgba(0, 230, 118, 0.6);
}

/* MMO - KIRMIZI SOFT */
.column.mmo {
  background: rgba(255, 59, 59, 0.08);
  border-color: rgba(255, 59, 59, 0.25);
}

/* EIC - MAVİ SOFT */
.column.eic {
  background: rgba(59, 163, 255, 0.08);
  border-color: rgba(59, 163, 255, 0.25);
}

/* VRU - YEŞİL SOFT */
.column.vru {
  background: rgba(0, 230, 118, 0.08);
  border-color: rgba(0, 230, 118, 0.25);
}

.column.mmo {
  box-shadow: 0 0 10px rgba(255, 59, 59, 0.15);
}

.column.eic {
  box-shadow: 0 0 10px rgba(59, 163, 255, 0.15);
}

.column.vru {
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.15);
}

/* Modal */
#modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

#modal-overlay.hidden {
  display: none;
}

#modal {
  background: var(--panel);
  padding: 20px;
  border-radius: 10px;
  width: 280px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  border: 1px solid #222;
}

#modal h2 {
  margin-top: 0;
  font-size: 16px;
}

#modal input {
  width: 100%;
  padding: 8px;
  margin: 10px 0;
  border-radius: 6px;
  border: 1px solid #333;
  background: #050505;
  color: var(--text);
}

#modal input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 5px var(--accent);
}

.modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.timer.finished {
  background: rgba(255, 0, 0, 0.2);
  border-color: red;
  color: red;
  font-weight: bold;
  animation: blink 1s infinite;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* Responsive */
@media (max-width: 700px) {
  main {
    flex-direction: column;
  }
}