/* ============================================
   SEARCH-BAR.CSS - Search Controls & Filters
   ============================================ */

.search-controls {
  background: linear-gradient(to bottom, #160d0b, #341e13);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 32px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: var(--warm-glow);
  position: relative;
  z-index: 995;
}

.search-input {
  width: 300px;
  min-width: 200px;
  background: linear-gradient(to bottom, #0d0806, #1a0f0a);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text);
  font-family: 'DIN Alternate', sans-serif;
  font-size: 14px;
}

.search-input::placeholder {
  color: rgba(201, 192, 174, 0.5);
}

.sort-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.sort-select {
  background: linear-gradient(to bottom, #0d0806, #1a0f0a);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text);
  font-family: 'DIN Alternate', sans-serif;
  font-size: 14px;
  cursor: pointer;
  min-width: 180px;
}

.sort-select option {
  background: #1a0f0a;
  color: var(--text);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  border-radius: 8px;
  padding: 10px 20px;
  font-family: 'DIN Alternate', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: none;
    text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  border: 2px solid rgba(245, 230, 200, 0.5);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 99, 71, 0.3);
  animation: illuvilordPulse 2s ease-in-out infinite;
  margin-left: auto;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 99, 71, 0.6);
  border-color: rgba(245, 230, 200, 1);
  animation: none;
}

.btn-secondary {
  background: rgba(255, 140, 0, 0.15);
  border: 1px solid rgba(255, 140, 0, 0.4);
  color: #FF8C00;
  font-size: 13px;
}

.btn-secondary:hover {
  background: rgba(255, 140, 0, 0.25);
}

/* ============================================
   SECTION TITLES & SUBTITLES
   ============================================ */

.section-subtitle {
  text-align: center;
  font-size: 12px;
  color: #FF8C00;
  margin-top: -5px;
  margin-bottom: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   PLACEHOLDER IMAGES
   ============================================ */

.placeholder-emoji {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .search-controls {
    padding: 16px;
  }

  .search-input {
    width: 100%;
    min-width: unset;
  }

  .sort-group {
    width: 100%;
  }

  .sort-select {
    flex: 1;
    min-width: unset;
  }

  .btn-primary {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .search-controls {
    padding: 12px;
    gap: 8px;
  }

  .btn {
    font-size: 13px;
    padding: 8px 16px;
  }
}