* {
  box-sizing: border-box;
}

:root {
  --bg: #0b1220;
  --card: #111a2c;
  --text: #eaf0ff;
  --muted: #b9c4e6;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --radius: 18px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: radial-gradient(circle at center, #2a0c04 0%, #120404 40%, #050202 100%);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
}

.site-header {
  text-align: center;
  padding: 3rem 1rem 1.25rem;
}

.site-header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: 0.5px;
}

.wrapper {
  width: min(980px, 92vw);
  margin: 0 auto;
  padding: 1.5rem 0 2.25rem;
  flex: 1;
  display: grid;
  place-items: center;
}

.card {
  width: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: stretch; /* ensures both columns stretch same height */
}

.card__media {
  background: rgba(0, 0, 0, 0.25);
  border-right: 1px solid var(--border);
  display: block;
}

/* Image + DEAD banner overlay */
.image-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px; /* keeps the media area tall enough */
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dead-banner {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  background: rgba(180, 0, 0, 0.9);
  color: white;
  font-size: 2.5rem;
  font-weight: 900;
  padding: 10px 40px;
  border: 5px solid white;
  letter-spacing: 5px;
  display: none;
  pointer-events: none;
  z-index: 2;
}

.card__content {
  padding: 1.5rem 1.5rem 1.75rem;
}

.card__content h2 {
  margin: 0 0 1rem;
  font-size: 1.7rem;
}

.stats {
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.stat {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.22);
}

dt {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.4px;
}

dd {
  margin: 0.35rem 0 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.status {
  min-height: 1.25rem;
  margin: 0.25rem 0 1.25rem;
  color: var(--muted);
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

button {
  appearance: none;
  border: 1px solid var(--border);
  background: #ff4d00;
  color: var(--text);
  font-weight: 650;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 120ms ease, background 120ms ease;
}

button:hover {
  background: #ff6a1a;
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0px);
}

button:focus-visible {
  outline: 3px solid rgba(160, 190, 255, 0.55);
  outline-offset: 2px;
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.22);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.3);
}

.site-footer {
  text-align: center;
  padding: 1.25rem 1rem 2rem;
  color: var(--muted);
}

/* Mobile */
@media (max-width: 780px) {
  .card {
    grid-template-columns: 1fr;
  }

  .card__media {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .image-container {
    min-height: 320px;
  }

  .stats {
    grid-template-columns: 1fr;
  }
}