.category-detail-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.category-detail-hero {
  height: 350px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.category-detail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.back-btn {
  position: absolute;
  top: 90px;
  left: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: #333;
  font-weight: 500;
  height: 40px;
  padding: 0 20px;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background: white !important;
  color: #ff5a5a !important;
  transform: translateX(-5px);
}

.category-detail-content {
  text-align: center;
  animation: fadeInUp 0.8s ease;
}

.category-detail-title {
  font-size: 56px;
  font-weight: 700;
  margin: 0;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
  animation: scaleIn 0.6s ease;
}

.category-detail-count {
  font-size: 20px;
  margin-top: 16px;
  opacity: 0.95;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
}

.category-detail-works {
  flex: 1;
  padding: 40px 0;
  background: #f8f9fa;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .category-detail-hero {
    height: 250px;
  }

  .back-btn {
    top: 70px;
    left: 20px;
    height: 36px;
    padding: 0 16px;
    font-size: 14px;
  }

  .category-detail-title {
    font-size: 36px;
  }

  .category-detail-count {
    font-size: 16px;
  }

  .category-detail-works {
    padding: 30px 0;
  }
}
