/* ==============================
   Stellaria Style Base
   - Base: 별빛 네이비 (#0D1B2A, #1B263B, #415A77)
   - Accent: 라벤더 드림 (#6A4C93, #9A8C98, #F2E9E4)
================================= */

/* 기본 설정 */
body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.3px;
  background: linear-gradient(180deg, #0D1B2A, #1B263B, #415A77);
  color: #E0E1DD;
}

/* 제목 */
h1, h2, h3 {
  font-weight: 600;
  margin: 0.8em 0;
  color: #FFFFFF;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

h1 {
  font-size: 2.2em;
  margin-bottom: 0.5em;
}

h2 {
  font-size: 1.6em;
  margin-top: 1.8em;
  margin-bottom: 0.6em;
}

h3 {
  font-size: 1.3em;
  margin-top: 1.5em;
  margin-bottom: 0.4em;
}

/* 문단 */
p {
  margin: 1em 0;
  line-height: 1.8;
}

/* 링크 */
a {
  color: #D8B4E2; /* 라벤더 포인트 */
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav a:hover {
  color: #F2E9E4; /* 부드러운 화이트 */
  text-shadow: 0 0 6px rgba(216,180,226,0.7);
}

nav a.active {
  font-weight: 700;
  text-decoration: underline;
}

/* 버튼 */
.button {
  display: inline-block;
  padding: 0.6em 1.2em;
  border-radius: 8px;
  font-weight: 600;
  color: #FFFFFF;
  background: linear-gradient(135deg, #6A4C93, #9A8C98);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(106, 76, 147, 0.5);
}

/* 카드 (Glassmorphism) */
.card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5em;
  margin: 1em 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  color: #F2E9E4;
}

/* 네비게이션 */
nav {
  background: rgba(13, 27, 42, 0.9);
  padding: 1em;
  display: flex;
  justify-content: center; /* 중앙 정렬 */
  gap: 1.5em;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
nav a {
  font-weight: 500;
  margin: 0 0.8em;
}

/* 본문 레이아웃 */
main {
  max-width: 900px;
  margin: 2em auto;
  padding: 0 1.5em;
}
main section {
  margin-bottom: 2em;
}

/* 푸터 */
footer {
  text-align: center;
  padding: 1.5em;
  font-size: 0.9em;
  color: #9A8C98;
  background: rgba(27, 38, 59, 0.8);
  margin-top: 2em;
}

/* 반응형: 모바일 */
@media (max-width: 600px) {
  body {
    font-size: 15px;
    line-height: 1.6;
  }
  main {
    padding: 0 1em;
  }
  h1 {
    font-size: 1.8em;
  }
  h2 {
    font-size: 1.4em;
  }
}
