/* =============================================== */
/* 🌐 전역 및 기본 스타일 (PC 기준)              */
/* =============================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* 네비게이션 바 높이만큼 스크롤 여백 추가 */
#home,
#about,
#archive,
#music,
#contact {
  scroll-margin-top: 96px; 
}

/* --- Hero 영역 요소 --- */
.artist-name {
  font-size: 6rem; /* PC에서 가장 큰 크기 */
  font-weight: bold;
  color: white;
  text-shadow: 0 0 30px rgba(255,255,255,0.5);
  margin-bottom: 1rem;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from { text-shadow: 0 0 30px rgba(255,255,255,0.5); }
  to { text-shadow: 0 0 50px rgba(255,255,255,0.8), 0 0 60px rgba(255,255,255,0.6); }
}

.tagline {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
}

.cta-button {
  background: linear-gradient(45deg, #ff6b6b, #ee5a52);
  color: white;
  padding: 15px 40px;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(238, 90, 82, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(238, 90, 82, 0.4);
}

/* --- 공통 섹션 레이아웃 --- */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem; /* 상하, 좌우 패딩 */
}

/* Fade in 효과 */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- About 섹션 프로필 이미지 --- */
.profile-img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  margin: 0 auto;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* --- Music 섹션 --- */
.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.music-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 2rem;
  border-radius: 20px;
  color: white;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.music-card:hover { transform: translateY(-10px); }
.music-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }

.play-button {
  background: rgba(255,255,255,0.2);
  border: 2px solid white;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-button:hover { background: white; color: #667eea; }

/* --- Contact 섹션 --- */
.contact-form { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 2rem; }
.form-group input,
.form-group textarea {
  width: 100%; padding: 15px; border: 2px solid #eee;
  border-radius: 10px; font-size: 1rem; transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: #667eea; }

.submit-btn {
  background: linear-gradient(45deg, #667eea, #764ba2); color: white;
  padding: 15px 40px; border: none; border-radius: 25px;
  cursor: pointer; font-size: 1.1rem; width: 100%; transition: transform 0.3s ease;
}
.submit-btn:hover { transform: translateY(-2px); }

/* --- Footer --- */
footer { background: #333; color: white; text-align: center; padding: 3rem 0; }
.social-links { margin: 2rem 0; }
.social-links a {
  display: inline-block; margin: 0 1rem; padding: 10px;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4); color: white;
  border-radius: 50%; width: 50px; height: 50px; text-align: center;
  line-height: 30px; text-decoration: none; transition: transform 0.3s ease;
}
.social-links a:hover { transform: scale(1.1); }

/* =============================================== */
/* 📟 태블릿 (1024px 이하)                          */
/* =============================================== */
@media (max-width: 1024px) {
  .artist-name {
    font-size: 4.5rem; /* 폰트 크기 조정 */
  }
  .tagline {
    font-size: 1.3rem;
  }
  .profile-img {
    width: 250px; /* 프로필 이미지 크기 조정 */
    height: 250px;
  }
}

/* =============================================== */
/* 📱 모바일 (767px 이하)                           */
/* =============================================== */
@media (max-width: 767px) {
  .artist-name {
    font-size: 3rem; /* 폰트 크기 한번 더 조정 */
  }
  .tagline {
    font-size: 1.1rem;
  }
  .cta-button {
    padding: 12px 30px; /* 버튼 패딩 조정 */
    font-size: 1rem;
  }
  .section {
    padding: 3rem 1rem; /* 좌우 여백 축소 */
  }
  .profile-img {
    width: 200px; /* 프로필 이미지 크기 한번 더 조정 */
    height: 200px;
  }
  .social-links a {
    margin: 0 0.5rem; /* 소셜 아이콘 간격 조정 */
  }
}