/* GameVault - 게임 랜딩 페이지 공통 스타일 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0F0F1A;
  --surface: #1A1A2E;
  --surface2: #16213E;
  --border: #2A2A4A;
  --gold: #FFD700;
  --gold-dim: #B8860B;
  --text: #E0E0E0;
  --text-dim: #9E9E9E;
  --text-body: #B0B0B0;
  --green: #4CAF50;
  --accent: #7C4DFF;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

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

/* ── 헤더 ── */
.site-header {
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}
.site-header nav a {
  color: var(--text-dim);
  margin-left: 20px;
  font-size: 0.9rem;
  transition: color .2s;
}
.site-header nav a:hover { color: var(--gold); text-decoration: none; }

/* ── 래퍼 ── */
.container { max-width: 860px; margin: 0 auto; padding: 0 20px; }

/* ── 히어로 ── */
.hero {
  background: linear-gradient(135deg, var(--surface2) 0%, var(--surface) 100%);
  border-bottom: 1px solid var(--border);
  padding: 56px 20px 48px;
  text-align: center;
}
.hero .emoji { font-size: 3.5rem; display: block; margin-bottom: 16px; }
.hero h1 { font-size: 2.4rem; color: var(--gold); margin-bottom: 12px; }
.hero .subtitle { font-size: 1.05rem; color: var(--text-dim); margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }
.hero .tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.tag {
  background: var(--border);
  color: var(--text-dim);
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 20px;
}
.btn-play {
  display: inline-block;
  background: var(--gold);
  color: #000;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 40px;
  border-radius: 8px;
  transition: background .2s, transform .1s;
}
.btn-play:hover { background: #FFC000; text-decoration: none; transform: translateY(-2px); }

/* ── 본문 섹션 ── */
.content { padding: 48px 0 64px; }

.section { margin-bottom: 48px; }
.section h2 {
  font-size: 1.35rem;
  color: var(--gold);
  border-left: 4px solid var(--gold);
  padding-left: 14px;
  margin-bottom: 20px;
}
.section p { color: var(--text-body); margin-bottom: 14px; }

/* 조작 방법 */
.controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.control-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.control-item .key {
  background: var(--border);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  font-family: monospace;
}
.control-item .desc { color: var(--text-body); font-size: 0.9rem; }

/* 팁 목록 */
.tips-list { list-style: none; }
.tips-list li {
  color: var(--text-body);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  padding-left: 24px;
  position: relative;
}
.tips-list li::before {
  content: '▶';
  color: var(--gold);
  position: absolute;
  left: 0;
  font-size: 0.7rem;
  top: 13px;
}
.tips-list li:last-child { border-bottom: none; }

/* 히스토리 박스 */
.history-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}
.history-box p { color: var(--text-body); margin-bottom: 10px; }
.history-box p:last-child { margin-bottom: 0; }

/* CTA 박스 */
.cta-box {
  background: linear-gradient(135deg, #1A1A2E, #16213E);
  border: 1px solid var(--gold-dim);
  border-radius: 12px;
  padding: 36px;
  text-align: center;
  margin-top: 48px;
}
.cta-box h2 { color: var(--gold); font-size: 1.4rem; margin-bottom: 10px; border: none; padding: 0; }
.cta-box p { color: var(--text-dim); margin-bottom: 24px; }

/* ── 푸터 ── */
.site-footer {
  background: var(--surface2);
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}
.site-footer a { color: var(--text-dim); margin: 0 8px; }
.site-footer a:hover { color: var(--gold); }

/* ── 브레드크럼 ── */
.breadcrumb {
  padding: 12px 0;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 0;
}
.breadcrumb a { color: var(--text-dim); }
.breadcrumb span { margin: 0 6px; }
