:root {
  --blue: #2563eb;
  --red: #dc2626;
  --bg: #0f172a;
  --card: #1e293b;
  --text: #e5e7eb;
  --muted: #94a3b8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Oswald', sans-serif;
  background: radial-gradient(circle at top, #1e293b, #020617);
  color: var(--text);
  min-height: 100vh;
}

.app {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
}

.header {
  text-align: center;
  margin-bottom: 3rem;
}

.logo {
  font-family: 'Bangers', cursive;
  font-size: 4rem;
  background: linear-gradient(
    90deg,
    #ffffff,
    #dc2626,
    #2563eb,
    #ffffff
  );
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 6s infinite linear;
}

@keyframes gradientMove {
  from {
    background-position: 0%;
  }
  to {
    background-position: 300%;
  }
}




.battle {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}

.player {
  background: var(--card);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
  transition: transform .3s;
}

.player:hover {
  transform: translateY(-6px);
}

.player h2 {
  margin-bottom: 1rem;
}

.player--blue h2 {
  color: var(--blue);
}

.player--red h2 {
  color: var(--red);
}

.player input {
  width: 100%;
  padding: .75rem;
  border-radius: 8px;
  border: none;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #020617;
}


.avatar img { width: 100%; height: 100%; object-fit: cover; }


.stats {
  list-style: none;
  margin-top: 1rem;
  text-align: left;
}

.stats li {
  display: flex;
  justify-content: space-between;
  padding: .4rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.total {
  margin-top: 1rem;
  font-weight: bold;
  font-size: 1.2rem;
}

.vs {
  font-family: 'Bangers', cursive;
  font-size: 3rem;
  color: white;
}

.actions {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.actions button {
  padding: .75rem 2rem;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  background: linear-gradient(135deg, #2563eb, #dc2626);
  color: white;
  transition: transform .2s;
}

.actions button:hover {
  transform: scale(1.05);
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .battle {
    grid-template-columns: 1fr;
  }

  .vs {
    margin: 1rem 0;
  }
}
