body {
  font-family: "Inter", sans-serif;
  background: #f9fafb;
  margin: 0;
  color: #1e293b;
}

.site-header {
  text-align: center;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  color: white;
  padding: 3rem 1rem;
}

.site-header h1 {
  margin: 0;
  font-size: 2.5rem;
}
.site-header p {
  margin: 0.5rem 0 1.5rem;
}

.auth-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn-primary, .btn-secondary {
  padding: 0.7rem 1.3rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}
.btn-primary {
  background: white;
  color: #2563eb;
}
.btn-primary:hover {
  background: #e2e8f0;
}
.btn-secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
}

main {
  padding: 2rem;
}

section {
  margin-bottom: 3rem;
}

h2 {
  color: #2563eb;
  margin-bottom: 1rem;
  text-align: center;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 1rem;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s;
}
.card:hover {
  transform: translateY(-4px);
}
.card h3 {
  margin: 0 0 0.5rem;
  color: #1e40af;
}
.card p {
  color: #475569;
  font-size: 0.9rem;
}

.site-footer {
  text-align: center;
  padding: 1.5rem;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.9rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  position: relative;
  max-width: 400px;
}
.modal-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
}

.search-section {
  text-align: center;
  margin: 2rem auto;
}
.search-section input {
  width: 80%;
  max-width: 500px;
  padding: 0.8rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
}

.card-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.load-more {
  display: block;
  margin: 1.5rem auto;
}

.cta {
  text-align: center;
  padding: 3rem 1rem;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: white;
  border-radius: 10px;
  margin: 3rem 0;
}
.cta h2 { margin-bottom: 0.5rem; }
.cta p { margin-bottom: 1.5rem; }
