/* Custom styles for Ani Maker */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Korean font support */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Pretendard', 'Malgun Gothic', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom animations */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fade-in 0.6s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #38bfc2;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #38bfc2;
}

/* Mobile menu transition */
#mobile-menu {
  transition: transform 0.3s ease-in-out;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  border-bottom: 2px solid #38bfc2;
  outline-offset: 2px;
}

/* Details/summary custom styles */
details summary::-webit-details-marker {
  display: none;
}

/* Form input placeholder */
input::placeholder,
textarea::placeholder {
  color: #9ca3af;
  opacity: 1;
}

/* Custom checkbox and radio styles */
input[type="checkbox"]:checked,
input[type="radio"]:checked {
  background-color: #38bfc2;
  border-color: #38bfc2;
}

/* Responsive images */
img {
  max-width: 100%;
  height: auto;
}
