.character-card {
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--accent-gold);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

.card-header {
  text-align: center;
  color: var(--accent-gold);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.lottery-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 18px;
  padding: 6px 14px;
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.25);
  border-radius: 999px;
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 700;
  width: fit-content;
  transition: all 0.3s ease;
}

.lottery-banner.is-locked {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.3);
  color: var(--good);
}

.ovr-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border-radius: 22px;
  margin: 0 auto 20px;
  background: var(--panel-3);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  border: 2px solid rgba(255,255,255,0.1);
  transition: all 0.4s var(--spring);
}

.ovr-badge.is-rolling {
  animation: pulse-glow 1s infinite alternate;
  border-color: var(--accent-gold);
}

.ovr-badge--elite {
  background: linear-gradient(135deg, #facc15, #eab308);
  color: #000;
  border-color: #fef08a;
  box-shadow: 0 0 25px rgba(250, 204, 21, 0.35);
}

.ovr-badge--great {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  border-color: #fde68a;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.ovr-badge--good {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  color: #fff;
  border-color: #cbd5e1;
}

.ovr-badge--ok {
  background: #3f3f46;
  color: #d4d4d8;
  border-color: #52525b;
}

.ovr-value {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.ovr-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
}

.candidate-desc {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: 2.8em;
}

.traits-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.trait-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.trait-row.is-locking {
  border-color: var(--accent-gold);
  background: rgba(250, 204, 21, 0.06);
  animation: spring-in 0.4s var(--spring);
}

.trait-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.trait-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  flex: 1;
}

.trait-slot {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text);
  text-align: left;
}

.trait-slot-mystery {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dim);
  font-size: 0.82rem;
  font-weight: 600;
  animation: pulse-text 1.2s infinite ease-in-out;
}

.trait-slot-revealed {
  color: var(--accent-gold);
  animation: spring-in 0.45s var(--spring);
}

.initial-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat-box {
  background: var(--panel-2);
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  border-top: 3px solid var(--line);
  text-align: center;
  transition: all 0.3s ease;
}

.stat-box .stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.stat-box .stat-value {
  font-size: 1.4rem;
  font-weight: 900;
}

@keyframes pulse-glow {
  0% { transform: scale(0.98); box-shadow: 0 0 10px rgba(250, 204, 21, 0.2); }
  100% { transform: scale(1.02); box-shadow: 0 0 25px rgba(250, 204, 21, 0.5); }
}

@keyframes pulse-text {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.85; }
}
