footer {
  background: #333; 
  color: white; 
  text-align: center; 
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.social-links { 
  margin: 2rem 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.5rem; 
  width: 48px; 
  height: 48px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4); 
  color: white;
  border-radius: 50%; 
  text-decoration: none; 
  transition: transform 0.3s ease;
  font-size: 1.8rem;
}

.social-links a:hover { 
  transform: scale(1.1); 
}

footer p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

@media (max-width: 768px) {
  footer {
    padding: 2.5rem 1rem;
    gap: 1.25rem;
  }

  .social-links {
    gap: 0.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* ✨ [개선] 모바일에서 아이콘과 원 크기, 저작권 텍스트 크기 모두 줄이기 */
  .social-links a {
    /* 원의 너비와 높이를 줄입니다. (기존 48px) */
    width: 30px; 
    height: 30px;
    /* 아이콘(이모지)의 크기를 줄입니다. (기존 1.8rem) */
    font-size: 1.2rem;
     
    display: flex;
    justify-content: center;
    align-items: center;    
  }

  footer p {
    font-size: 0.8rem; /* 모바일에서 저작권 텍스트 크기 */
  }
}