

/* ═══ PREMIUM RESULT CARDS ═══ */
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  padding: 1.5rem 0;
}

.code-card-premium {
  background: rgba(19, 19, 26, 0.45);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  padding: 2.25rem 1.75rem;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.code-card-premium::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 5px;
  background: var(--yellow);
  opacity: 0.2;
  transition: all 0.4s;
}

.code-card-premium:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(25, 25, 35, 0.75);
  border-color: rgba(245, 196, 0, 0.35);
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.7), 0 0 15px rgba(245, 196, 0, 0.1);
}

.code-card-premium:hover::before {
  opacity: 1;
  width: 7px;
}

.card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.card-dtc {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.08em;
  text-shadow: 0 0 15px rgba(255,255,255,0.15);
}

.card-title-text {
  font-family: var(--font-hud);
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.45;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: 0.02em;
}

.card-desc-preview {
  font-size: 0.85rem;
  color: #a0a0b8;
  line-height: 1.7;
  opacity: 0.75;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 2.25rem;
}

.card-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}

.card-tag-pill {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #808098;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 0.3rem 0.75rem;
  letter-spacing: 0.1em;
  transition: all 0.3s;
}

.code-card-premium:hover .card-tag-pill {
  border-color: rgba(245, 196, 0, 0.3);
  color: #b0b0c8;
  background: rgba(245, 196, 0, 0.08);
}

@media (max-width: 640px) {
  .results-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .code-card-premium { padding: 2rem 1.5rem; }
}
