/* --------------------
   Reset & Base
-------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f7f7f7;
  color: #222;
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}


/* 링크 기본 스타일 */
a {
  text-decoration: none;
  color: inherit;
}

/* --------------------
   Header / Nav
-------------------- */
.gnb {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 16px 24px;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.logo {
  font-size: 20px;
  font-weight: 700;
}

/* 변경된 nav 버튼 스타일 */
/* =====================
   Global Navigation
===================== */
.gnb {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 14px 24px;
  background: #005BFF;           /* 메인 파랑 */
  color: #fff;
}

/* 로고 */
.logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* 네비 버튼 */
.nav a {
  margin-left: 12px;
  padding: 6px 12px;

  font-size: 13px;
  color: #f2f2f2;                /* 연한 회색 */
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 4px;

  transition: background-color 0.2s, color 0.2s;
}

.nav a:hover {
  background: #ffffff;
  color: #005BFF;
}

.nav a:first-child {
  margin-left: 0;
}



/* --------------------
   Footer
-------------------- */
.footer {
  text-align: center;
  padding: 24px;
  font-size: 12px;
  color: #888;
}




/* =========================
   Main Content Layout (Grid)
========================= */
.main-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 24px;
}

/* =========================
   Panel Styling (Card like)
========================= */
.panel {
  border: 1px solid #ddd;
  padding: 16px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.panel-title {
  font-size: 16px;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid #005BFF;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* =========================
   Profile Section
========================= */
.intro-content .name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
}

.intro-content .meta {
  font-size: 14px;
  margin-bottom: 8px;
}

.intro-content .tags {
  font-size: 14px;
  margin-bottom: 16px;
}

.profile-banner img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}



/* =========================
   Header Styling (Nav and Logo)
========================= */
.gnb {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background-color: #005BFF; /* 메인 파랑 */
  color: #fff;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.nav a {
  margin-left: 12px;
  padding: 8px 16px;
  font-size: 14px;
  color: #f2f2f2;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  transition: background-color 0.2s, color 0.2s;
}

.nav a:hover {
  background: #ffffff;
  color: #005BFF;
}

.nav a:first-child {
  margin-left: 0;
}

/* =========================
   Mouse Star Sparkle
========================= */

.mouse-star {
  position: absolute;
  color: #fff;              /* 흰색 별 */
  font-size: 10px;
  pointer-events: none;
  user-select: none;
  z-index: 9999;

  transform: translate(-50%, -50%);
  animation: starFloat 0.8s ease-out forwards;
}

@keyframes starFloat {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -80%) scale(1.6);
  }
}
