.card-list-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
  padding: 20px;
}

.card-list-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-list-header h1 {
  color: #fff;
  margin: 0 0 10px 0;
  font-size: 2.5rem;
}

.card-list-header p {
  color: #999;
  margin: 0;
  font-size: 1.1rem;
}

.card-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.card-list-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

/* Simple grid layout for user-page style */
.card-list-simple-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

.card-list-simple-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.info-button {
  background: linear-gradient(135deg, #333 0%, #555 100%);
  color: white;
  border: 2px solid #666;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 240px;
}

.info-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #444 0%, #666 100%);
}

.card-info-details {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 15px;
  width: 100%;
  max-width: 240px;
  margin-top: 10px;
}

.card-info-details p {
  margin: 5px 0;
  color: #ccc;
  font-size: 0.85rem;
  text-align: left;
}

.card-info-details p strong {
  color: #fff;
}

.card-meta {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 15px;
  width: 100%;
  max-width: 250px;
}

.card-meta p {
  margin: 5px 0;
  color: #ccc;
  font-size: 0.9rem;
}

.card-meta p:first-child {
  font-weight: bold;
  color: #fff;
}

.card-description {
  font-size: 0.85rem;
  color: #999;
  font-style: italic;
  margin-top: 8px;
  line-height: 1.4;
}

.source-info {
  font-size: 0.9rem;
  color: #666;
  margin-top: 5px;
}

.loading, .error {
  text-align: center;
  padding: 40px;
  color: #999;
  font-size: 1.2rem;
}

.error {
  color: #ff4757;
}

button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 20px;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

@media (max-width: 768px) {
  .card-list-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .card-list-header h1 {
    font-size: 2rem;
  }
}