:root {
  --main-font-en: 'Exo 2', sans-serif;
  --main-font-kr: 'IBM Plex Sans KR', sans-serif;
  --main-font-jp: 'IBM Plex Sans JP', sans-serif;
  --bg-color: #1c1c1c;
  --text-color: #E0E0E0;
  --headline-color: #FFFFFF;
  --accent-color: #D4AF37;
  --hover-color: #E6C75A;
  --divider-color: #2A2A2A;
}

body {
  font-family: var(--main-font-kr), var(--main-font-jp), var(--main-font-en), sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.75;
  max-width: 1280px;
  margin: 4rem auto;
  padding: 0 2rem;
}

/* 언어별 폰트 */
:lang(ja) {
  font-family: var(--main-font-jp), var(--main-font-en), sans-serif;
}

:lang(ko) {
  font-family: var(--main-font-kr), var(--main-font-en), sans-serif;
}

:lang(en) {
  font-family: var(--main-font-en), sans-serif;
}

/* 헤딩 */
h1, h2, h3 {
  font-weight: 700;
  color: var(--headline-color);
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
  font-family: var(--main-font-en), var(--main-font-kr), var(--main-font-jp), sans-serif;
}

h1 {
  font-size: 4.5rem;
  border-bottom: 5px solid var(--divider-color);
  padding-bottom: 0.5rem;
  color: var(--accent-color);
}

/* 텍스트 */
p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--text-color);
  margin-top: 1rem;
}

strong {
  color: var(--headline-color);
}

/* 링크 */
a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--hover-color);
  text-decoration: underline;
}

/* 네비게이션 */
.nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  text-align: center;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.nav a {
  cursor: pointer;
  transition: color 0.2s ease;
}

/* 스페이서 */
span.space {
  display: inline-block;
  width: 2rem;
}

/* Review 페이지 스타일 */
.reviews {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid #2A2A2A;
}

.section-title {
  color: #B8860B;
  font-size: 2rem;
  text-align: center;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.review {
  margin-bottom: 4rem;
  line-height: 1.8;
}

.review p {
  margin-top: 1rem;
}

.review .en {
  color: #E0E0E0;
  font-size: 1.05rem;
}

.review .jp,
.review .ko {
  color: #CCCCCC;
  font-size: 0.98rem;
}

.name {
  display: block;
  margin-top: 1rem;
  color: #B8860B;
  font-style: italic;
}

.role {
  display: block;
  color: #A9A9A9;
  font-size: 0.9rem;
}

.dropcap {
  float: left;
  font-size: 3rem;
  line-height: 1;
  margin-right: 0.3rem;
  color: var(--text-color);
  font-weight: 700;
  font-family: 'Exo 2', sans-serif;
}

/* Discography 페이지 스타일 */
.discography {
  margin-top: 3rem;
  border-top: 1px solid var(--divider-color);
  padding-top: 2rem;
}

.album {
  margin-bottom: 2rem;
}

.album p {
  margin-bottom: 0.6rem;
}

/* iFrame */
iframe {
  border: 0;
  width: 100%;
}

/* Contact 페이지 스타일 */
.contact iframe {
  display: block;
  margin: 2rem auto;
  border: none;
}

/* 소셜 미디어 아이콘 */
.social-media {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--divider-color);
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.social-icons a {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.9;
}

.social-icons a:hover {
  transform: translateY(-3px);
  opacity: 1;
}

.social-icons img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  /* 다크 테마에서 아이콘 가시성 개선 */
  filter: brightness(1.1) contrast(1.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 8px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.social-icons a:hover img {
  background: rgba(212, 175, 55, 0.15);
}

/* 화이트 테마 지원 (미디어 쿼리) */
@media (prefers-color-scheme: light) {
  .social-icons img {
    filter: brightness(0.9) contrast(1.1);
    background: rgba(0, 0, 0, 0.03);
  }
  
  .social-icons a:hover img {
    background: rgba(212, 175, 55, 0.1);
  }
}
