* {
  margin: 0;
  padding: 0;
}

.page {
  width: min(920px, 92vw);
  margin: 0 auto;
  padding: 2.4rem 0 3rem;
}

.site-header {
  margin-bottom: 1rem;
}

.card {
  margin-top: 50px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(165deg, var(--panel), rgba(4, 9, 18, 0.9));
  padding: 1rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  animation: rise-in 600ms ease both;
}

.status {
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.character-image {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.card-content {
  margin-top: 1rem;
}

.card-content h2 {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.2rem, 2.3vw, 2rem);
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.card-content p {
  color: var(--ink);
  line-height: 1.55;
}

.actions {
  margin-top: 1.1rem;
  display: flex;
  justify-content: flex-end;
}

.newCharacter {
  appearance: none;
  border: 1px solid rgba(255, 210, 77, 0.5);
  background: linear-gradient(180deg, #ffde7f, #ffbf2f);
  color: #211700;
  font-family: "Orbitron", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  padding: 0.7rem 1.05rem;
  border-radius: 9px;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.newCharacter:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(255, 174, 0, 0.35);
}

.newCharacter:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 680px) {
  .page {
    padding-top: 1.2rem;
  }

  .actions {
    justify-content: stretch;
  }
/* 
  button {
    width: 100%;
  } */
}
