body {
  font-family: 'Inter', sans-serif;
  background: #fff5f8;
  margin: 0;
}

header {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #f25ca2;
  transform: translateY(-4px);
  text-decoration: none;
  line-height: 44px;
  letter-spacing: -0.5px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}

nav a {
  color: #f25ca2;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: '';
  width: 0%;
  height: 2px;
  background: #f25ca2;
  position: absolute;
  bottom: -4px;
  left: 0;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.section {
  max-width: 900px;
  margin: 50px auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.section h1 {
  font-size: 32px;
  color: #f25ca2;
  text-align: center;
}

.instructions {
  font-size: 16px;
  color: #444;
  text-align: center;
  margin: 20px auto 30px;
}

.request-box, .feature-box {
  background: #fff0f6;
  padding: 25px;
  border-radius: 12px;
  margin: 30px auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  text-align: center;
}

.form-link {
  color: #f25ca2;
  font-weight: 600;
  text-decoration: none;
}

.add-post {
  text-align: center;
  margin-top: 40px;
}

#addPostBtn {
  background: #f25ca2;
  color: white;
  border: none;
  padding: 12px 24px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
}

#postForm {
  display: none;
  background: #fff0f6;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  margin: 30px auto;
}

#postForm input, #postForm textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

#postForm button {
  width: 100%;
  padding: 12px;
  background: #f25ca2;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.loader {
  display: flex;
  justify-content: center;
  margin: 40px auto;
}

.loader:after {
  content: '';
  width: 36px;
  height: 36px;
  border: 4px solid #f25ca2;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.search-container {
  text-align: center;
  margin-bottom: 30px;
}

#searchInput {
  width: 80%;
  max-width: 500px;
  padding: 10px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: #fff0f6;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.card h2 {
  font-size: 20px;
  color: #f25ca2;
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: #333;
}

footer {
  background: #f25ca2;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 60px;
}
