/* ============================================================
   BASE.CSS — Guinness Records 공통 디자인 토큰 & 리셋
   ============================================================ */

/* ── 디자인 토큰 ── */
:root {
  --gold:        #C9A84C;
  --gold-light:  #E8C97A;
  --gold-dark:   #8B6914;
  --bg:          #0D0A06;
  --bg-card:     #1A1208;
  --bg-card2:    #221A0E;
  --text:        #E8DCC8;
  --text-muted:  #7A6A52;
  --border:      rgba(201,168,76,0.2);
  --font-serif:  'Georgia', 'Times New Roman', serif;
  --font-sans:   'Helvetica Neue', Arial, sans-serif;
  --font-mono:   'Courier New', monospace;
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ── 리셋 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

/* ── 공통 NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: linear-gradient(to bottom, rgba(13,10,6,0.95) 0%, rgba(13,10,6,0) 100%);
  backdrop-filter: blur(4px);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

/* ── 스크롤 진행 바 ── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(to right, var(--gold-dark), var(--gold), var(--gold-light));
  z-index: 1001;
  transition: width 0.1s linear;
}

/* ── 페이지 전환 오버레이 ── */
#page-transition {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

#page-transition.active {
  opacity: 1;
  pointer-events: all;
}

/* ── 공통 섹션 헤더 ── */
.section-header {
  text-align: center;
  padding: 80px 40px 48px;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text);
  line-height: 1.2;
}

.section-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 24px auto;
  opacity: 0.5;
}

