* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}
body {
  background: #0d0d0d;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
.container {
  width: 95%;
  max-width: 1200px;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.title {
  font-size: 26px;
  font-weight: 700;
}
.timer {
  font-size: 34px;
  font-weight: 700;
  color: #ff3b3b;
}
select {
  background: #1a1a1a;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 10px;
}
.fight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.card {
  padding: 20px;
  border-radius: 20px;
  background: #1a1a1a;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}
.white {
  border-top: 5px solid #fff;
}
.blue {
  border-top: 5px solid #ff3b3b;
}
.name {
  font-size: 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
.white-dot {
  background: #fff;
  border: 1px solid #ccc;
}
.blue-dot {
  background: #3b82f6;
}
.score {
  font-size: 40px;
  margin: 10px 0;
}
.buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}
.ippon {
  background: #ff3b3b;
  color: #fff;
}
.wazari {
  background: #fff;
  color: #000;
}
.shido {
  background: #333;
  color: #fff;
}
.disabled {
  opacity: 0.3;
  pointer-events: none;
}
.shidos {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.card-shido {
  width: 18px;
  height: 26px;
  background: #222;
  border-radius: 4px;
  border: 1px solid #444;
}
.card-shido.active {
  background: #ffd600;
  border-color: #ffd600;
}
.controls {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.controls button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  background: #ff3b3b; /* vermelho ativo */
  color: #fff;
  transition: background 0.2s ease;
}

.result {
  margin-top: 20px;
  font-size: 22px;
  text-align: center;
}
/* Hover dos botões ativos */
.controls button:hover:not(:disabled) {
  background: #cc2a2a; /* vermelho mais escuro */
}

/* Botões desativados */
.controls button:disabled {
  background: #666;
  cursor: not-allowed;
  color: #ccc;
}
/* ===== CARDS ===== */
.card.white {
  border-top-color: #fff; /* borda do branco */
}

.card.blue {
  border-top-color: #3b82f6; /* borda do azul */
}
