* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #ea7566 0%, #a28c4b 100%);
  min-height: 100vh;
  color: #333;
  line-height: 1.6;
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

header {
  text-align: center;
  padding: 60px 20px;
  color: white;
}

header h1 {
  text-align: center;
  font-size: 3.5em;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 300;
}

header p {
  text-align: center;
  font-size: 1.3em;
  opacity: 0.95;
  font-style: italic;
}

.categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 40px 0;
}

.category-btn {
  background: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1em;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.category-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.category-btn.active {
  background: #ff6b6b;
  color: white;
}

.recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.recipe-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recipe-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.recipe-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4em;
  color: white;
}

.recipe-content {
  padding: 25px;
}

.recipe-content h3 {
  color: #667eea;
  margin-bottom: 10px;
  font-size: 1.5em;
}

.recipe-content .category {
  display: inline-block;
  background: #f0f0f0;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.85em;
  color: #666;
  margin-bottom: 15px;
}

.recipe-content p {
  color: #666;
  margin-bottom: 15px;
}

.recipe-meta {
  display: flex;
  gap: 20px;
  color: #999;
  font-size: 0.9em;
  margin-top: 15px;
}

.recipe-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.recipe-details {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.recipe-details h4 {
  color: #667eea;
  margin-bottom: 10px;
}

.recipe-details ul,
.recipe-details ol {
  margin-left: 20px;
  color: #666;
}

.recipe-details li {
  margin-bottom: 8px;
}

.hidden {
  display: none;
}

footer {
  text-align: center;
  padding: 40px 20px;
  color: white;
  margin-top: 60px;
}

footer p {
  opacity: 0.9;
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2.5em;
  }

  .recipes-grid {
    grid-template-columns: 1fr;
  }
}
