﻿@charset "utf-8";

/* 웹폰트 (오프라인이면 이 두 줄만 지우세요. 시스템 폰트로 자동 대체됩니다)
   - Pretendard         : 본문 · 라벨 · 버튼
   - Cormorant Garamond : 영문 제목
   - Gowun Batang       : 한글 제목 · 감성 문구 */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.css");
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Gowun+Batang:wght@400;700&display=swap");

/* =========================================================================
   haeddung_i · FRIEND INTRO / NIGHT ARCHIVE
   HERO + PROFILE
   ========================================================================= */

/* -------------------------------------------------------------------------
   00. TOKENS
   ------------------------------------------------------------------------- */
:root {
  /* 밤 배경 */
  --bg-night: #0b0a18;
  --bg-deep: #07060f;
  --bg-navy: #0d0b1e;

  /* 패널 */
  --panel-top: rgba(33, 27, 72, 0.68);
  --panel-bottom: rgba(14, 12, 33, 0.62);
  --card-top: rgba(26, 21, 58, 0.58);
  --card-bottom: rgba(12, 10, 29, 0.56);

  /* 선 */
  --line: rgba(190, 176, 238, 0.16);
  --line-strong: rgba(202, 188, 246, 0.32);

  /* 글자 */
  --text: #f4f1ff;
  --text-soft: rgba(226, 220, 250, 0.76);
  --text-dim: rgba(203, 196, 236, 0.55);

  /* 포인트 */
  --lavender: #c5b4f3;
  --lavender-deep: #8f78d8;
  --gold: #f3cf9a;
  --gold-deep: #dfa671;
  --periwinkle: #a6bbf7;
  --rose: #efaacd;

  /* 형태 */
  --r-panel: 28px;
  --r-card: 20px;
  --r-pill: 999px;

  --shadow-panel: 0 30px 70px rgba(4, 3, 12, 0.58);
  --shadow-card: 0 18px 40px rgba(4, 3, 12, 0.4);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* 폰트 — 본문 / 영문 제목 / 한글 제목 */
  --font-body: "Pretendard Variable", "Pretendard", "Apple SD Gothic Neo",
    "Noto Sans KR", "맑은 고딕", "Malgun Gothic", system-ui, -apple-system,
    "Segoe UI", sans-serif;

  --font-display: "Cormorant Garamond", "Gowun Batang", "Nanum Myeongjo",
    "Apple SD Gothic Neo", Georgia, serif;

  --font-serif-kr: "Gowun Batang", "Nanum Myeongjo", "Apple SD Gothic Neo",
    "맑은 고딕", "Malgun Gothic", serif;

  /* 다른 느낌으로 바꾸고 싶을 때 --font-display 만 교체하세요
     · 또렷한 고전 : "Marcellus", "Gowun Batang", serif
     · 동글동글    : "Quicksand", "Gowun Dodum", sans-serif
     · 전체 통일   : var(--font-body)                        */

  /* 좌우 여백 */
  --pad-x: clamp(20px, 5vw, 72px);
}

/* -------------------------------------------------------------------------
   01. BASE
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--bg-night);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#site {
  width: 100%;
}

h1,
h2 {
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 6px;
}

/* -------------------------------------------------------------------------
   02. 공통 부품 — pill / button
   ------------------------------------------------------------------------- */
.hero-keywords li,
.profile-interest-list li {
  display: inline-flex;
  align-items: center;
  padding: 6px 15px;
  border: 1px solid rgba(202, 188, 246, 0.26);
  border-radius: var(--r-pill);
  background: linear-gradient(
    140deg,
    rgba(197, 180, 243, 0.16) 0%,
    rgba(243, 207, 154, 0.09) 100%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: rgba(238, 232, 255, 0.86);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.4;
  white-space: nowrap;
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.hero-keywords li:hover,
.profile-interest-list li:hover {
  border-color: rgba(243, 207, 154, 0.55);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 18px rgba(243, 207, 154, 0.16);
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  overflow: hidden;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease),
    border-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
    color 0.35s var(--ease);
}

.button-primary {
  background: linear-gradient(135deg, #fbe3bd 0%, var(--gold) 45%, var(--gold-deep) 100%);
  color: #1b1330;
  box-shadow: 0 12px 30px rgba(224, 168, 116, 0.24);
}

/* hover 시 한 번 스쳐 지나가는 달빛 */
.button-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  transform: skewX(-18deg);
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: left 0.65s var(--ease);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(224, 168, 116, 0.36);
}

.button-primary:hover::after {
  left: 125%;
}

.button-secondary {
  background: rgba(18, 15, 40, 0.5);
  border-color: var(--line-strong);
  color: var(--text-soft);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.button-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(243, 207, 154, 0.5);
  background: rgba(32, 26, 66, 0.62);
  color: var(--text);
  box-shadow: 0 0 26px rgba(160, 130, 240, 0.18);
}

