/* 🏥 질병 통계 및 분류 섹션 스타일 */

/* 섹션 컨테이너 */
.disease-stats-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 80px 0;
}

.disease-stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 섹션 헤더 */
.disease-stats-header {
  text-align: center;
  margin-bottom: 60px;
}

.disease-stats-header h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 700;
}

.disease-stats-header p {
  font-size: 1.1rem;
  color: #7f8c8d;
  max-width: 700px;
  margin: 0 auto;
}

/* 통계 요약 박스 */
.stats-summary {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 50px;
  border: 3px solid #3498db;
}

.stats-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: #3498db;
  margin-bottom: 10px;
  display: block;
}

.stat-label {
  font-size: 1rem;
  color: #7f8c8d;
  font-weight: 500;
}

.stat-highlight {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.stat-highlight .stat-number {
  color: white;
}

.stat-highlight .stat-label {
  color: rgba(255, 255, 255, 0.9);
}

/* 질병 분류 그리드 */
.disease-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

/* 질병 카드 */
.disease-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 5px solid #3498db;
  position: relative;
  overflow: hidden;
}

.disease-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #3498db 0%, #9b59b6 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.disease-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.disease-card:hover::before {
  transform: scaleX(1);
}

/* 카드 헤더 */
.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #ecf0f1;
}

.card-icon {
  font-size: 2.5rem;
  line-height: 1;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.card-title {
  flex: 1;
}

.card-title h3 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin: 0 0 5px 0;
  font-weight: 700;
}

.card-count {
  font-size: 0.9rem;
  color: #3498db;
  font-weight: 600;
}

/* 질병 목록 */
.disease-list {
  margin: 15px 0;
}

.disease-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.disease-list li {
  padding: 8px 0;
  color: #555;
  font-size: 0.95rem;
  position: relative;
  padding-left: 20px;
}

.disease-list li::before {
  content: '▪';
  position: absolute;
  left: 0;
  color: #3498db;
  font-weight: bold;
}

/* 황칠 효과 박스 */
.effect-box {
  background: linear-gradient(135deg, #FFA726 0%, #FB8C00 100%);
  color: white;
  padding: 15px;
  border-radius: 10px;
  margin-top: 15px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 10px rgba(255, 167, 38, 0.3);
}

/* WHO 기준 배지 */
.who-badge {
  display: inline-block;
  background: #27ae60;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .disease-stats-header h2 {
    font-size: 2rem;
  }
  
  .stats-row {
    flex-direction: column;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .disease-categories {
    grid-template-columns: 1fr;
  }
  
  .stats-summary {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .disease-stats-section {
    padding: 50px 0;
  }
  
  .disease-stats-header h2 {
    font-size: 1.7rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .disease-card {
    padding: 20px;
  }
  
  .card-icon {
    font-size: 2rem;
  }
}
