.monster-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.monster-card-form {
  margin: 0;
}

.monster-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.10);
  background:
    linear-gradient(180deg, rgba(28,28,28,0.98), rgba(16,16,16,0.98));
  box-shadow:
    0 12px 28px rgba(0,0,0,0.34),
    inset 0 1px 0 rgba(255,255,255,0.04);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.monster-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 18px 34px rgba(0,0,0,0.42),
    inset 0 1px 0 rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.16);
}

.monster-card-image-wrap {
  position: relative;
  margin-bottom: 12px;
}

.monster-card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.05), transparent 35%),
    linear-gradient(180deg, rgba(30,30,30,0.98), rgba(10,10,10,0.98));
  border: 1px solid rgba(255,255,255,0.08);
}

.monster-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 8px;
}

.monster-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
}

.monster-badge-normal {
  background: rgba(90, 90, 90, 0.55);
  color: #ececec;
}

.monster-badge-elite {
  background: rgba(36, 109, 186, 0.55);
  color: #dff1ff;
  border-color: rgba(88, 170, 255, 0.45);
  box-shadow: 0 0 12px rgba(58, 160, 255, 0.18);
}

.monster-badge-boss {
  background: rgba(130, 44, 44, 0.58);
  color: #ffe2dc;
  border-color: rgba(255, 120, 90, 0.46);
  box-shadow: 0 0 14px rgba(231, 76, 60, 0.24);
}

.monster-card-body {
  flex: 1;
  text-align: center;
}

.monster-card-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
  color: #f5f5f5;
  text-align: center;
}

.monster-card-level {
  font-size: 15px;
  font-weight: 700;
  color: #cfcfcf;
  text-align: center;
}

.monster-card-footer {
  margin-top: 14px;
}

.monster-card-btn {
  width: 100%;
  margin-top: 0;
  border-radius: 12px;
}

.monster-card-elite {
  border-color: rgba(58, 160, 255, 0.30);
  background:
    linear-gradient(180deg, rgba(18,28,44,0.98), rgba(12,18,32,0.98));
  box-shadow:
    0 12px 28px rgba(0,0,0,0.34),
    0 0 24px rgba(58, 160, 255, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.monster-card-elite::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(58,160,255,0.12), transparent 28%, transparent 72%, rgba(58,160,255,0.08));
}

.monster-card-boss {
  border-color: rgba(231, 76, 60, 0.34);
  background:
    linear-gradient(180deg, rgba(40,18,18,0.98), rgba(22,10,10,0.98));
  box-shadow:
    0 14px 30px rgba(0,0,0,0.38),
    0 0 28px rgba(231, 76, 60, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.monster-card-boss::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(231,76,60,0.14), transparent 26%, transparent 74%, rgba(255,180,70,0.10));
}

.monster-card-boss .monster-card-title {
  color: #ffe0b8;
}

@media (max-width: 760px) {
  .monster-cards-grid {
    grid-template-columns: 1fr;
  }
}
