@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #2b1055, #7597de);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.4s;
}

body.dark {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

.qdrop-container {
  width: 90%;
  max-width: 700px;
  text-align: center;
}

header {
  position: relative;
  margin-bottom: 20px;
}

header h1 {
  font-size: 2.5rem;
  color: #fff;
  letter-spacing: 2px;
}

header .tagline {
  color: #ccc;
  font-size: 1rem;
}

.theme-toggle {
  position: absolute;
  right: 0;
  top: 10px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.glass {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: 25px;
}

.quote-area {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 10px;
}

.quote-area i {
  color: #00e0ff;
}

.author {
  font-style: italic;
  font-size: 1rem;
  color: #ddd;
}

.quote-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.btn {
  background: #00e0ff;
  color: #111;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s;
}

.btn:hover {
  background: #00b8d4;
  color: #fff;
}

.category-filter {
  margin-top: 20px;
  font-size: 0.9rem;
}

.category-filter select {
  margin-left: 8px;
  padding: 5px 10px;
  border-radius: 5px;
  border: none;
  outline: none;
}

.favorites h2 {
  color: #00e0ff;
  margin-bottom: 10px;
}

#fav-list {
  list-style: none;
  color: #fff;
  font-size: 0.95rem;
}

#fav-list li {
  margin: 5px 0;
  padding: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 5px;
}

.search-filter {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.search-filter input {
  padding: 8px 12px;
  border-radius: 5px;
  border: none;
  outline: none;
  width: 60%;
}

.clear-btn {
  background: #ff5252;
}

.clear-btn:hover {
  background: #ff1744;
  color: #fff;
}

footer {
  font-size: 0.8rem;
  color: #bbb;
  margin-top: 10px;
}