/* penguin.pryzm.gg — Pingco's Adventure : Penguin Run
   공유 스타일시트. 정적 사이트(빌드 없음) — 랜딩/개인정보처리방침/이용약관 공통. */

:root {
  --navy: #0a1a33;
  --navy-2: #10294d;
  --blue: #2e7df2;
  --blue-2: #4f9bff;
  --ice: #16c2c2;
  --bg: #eef4fc;
  --bg-2: #dbe8fb;
  --ink: #14233b;
  --ink-soft: #4a5a72;
  --line: #dde6f2;
  --white: #ffffff;
  --radius: 18px;
  --maxw: 1040px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR',
    'Apple SD Gothic Neo', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ── 상단 네비게이션 ── */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 17px; }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--ice));
  display: grid; place-items: center; font-size: 19px;
}
.nav-links { display: flex; gap: 22px; font-size: 14.5px; font-weight: 600; }
.nav-links a { color: var(--ink-soft); }

/* ── 히어로 ── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(79,155,255,0.55), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, #16385f 100%);
  color: #eaf2ff;
  padding: 76px 0 90px;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px;
  background: linear-gradient(180deg, transparent, var(--bg));
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  color: #bcd6ff; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.12; font-weight: 900; letter-spacing: -0.01em; }
.hero .sub { margin-top: 16px; font-size: clamp(15px, 2.2vw, 18px); color: #c9dbf5; max-width: 34ch; }
.badges { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: #0a1a33; font-weight: 700; font-size: 14px;
  padding: 11px 18px; border-radius: 12px; border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 6px 20px rgba(4,16,40,0.28); transition: transform .12s ease;
}
.badge:hover { text-decoration: none; transform: translateY(-2px); }
.badge .ico { font-size: 20px; }
.badge small { display: block; font-size: 10.5px; font-weight: 600; color: #6b7a90; line-height: 1; margin-bottom: 2px; }

.hero-art { display: grid; place-items: center; }
.phone {
  width: min(260px, 70vw); aspect-ratio: 9 / 18; border-radius: 34px;
  background: linear-gradient(160deg, #cdeaff, #eaf6ff 60%, #ffffff);
  border: 8px solid #0a1a33; box-shadow: 0 26px 60px rgba(4,16,40,0.5);
  position: relative; overflow: hidden; display: grid; place-items: center;
}
.phone .scene { font-size: 92px; filter: drop-shadow(0 8px 10px rgba(0,0,0,0.15)); animation: bob 2.6s ease-in-out infinite; }
.phone .ground { position: absolute; bottom: 0; left: 0; right: 0; height: 34%;
  background: linear-gradient(180deg, #dff1ff, #bfe2ff); }
.phone .snow { position: absolute; inset: 0; background:
  radial-gradient(2px 2px at 20% 30%, #fff, transparent),
  radial-gradient(2px 2px at 70% 20%, #fff, transparent),
  radial-gradient(2px 2px at 40% 60%, #fff, transparent),
  radial-gradient(2px 2px at 85% 70%, #fff, transparent),
  radial-gradient(2px 2px at 55% 85%, #fff, transparent);
  opacity: .8; }
@keyframes bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }

/* ── 섹션 공통 ── */
.section { padding: 64px 0; }
.section h2 { font-size: clamp(22px, 3.4vw, 30px); font-weight: 850; text-align: center; letter-spacing: -0.01em; }
.section .lead { text-align: center; color: var(--ink-soft); margin: 12px auto 0; max-width: 52ch; }

.features { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: 0 8px 24px rgba(16,41,77,0.05);
}
.card .emoji { font-size: 30px; }
.card h3 { margin: 14px 0 6px; font-size: 17px; font-weight: 800; }
.card p { color: var(--ink-soft); font-size: 14.5px; }

/* ── CTA ── */
.cta { text-align: center; }
.cta-box {
  margin-top: 8px; background: linear-gradient(160deg, var(--navy), #163a63);
  color: #eaf2ff; border-radius: 24px; padding: 48px 24px;
}
.cta-box h2 { color: #fff; }
.cta-box .badges { justify-content: center; }

/* ── 푸터 ── */
.footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--ink-soft); font-size: 13.5px; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-soft); font-weight: 600; }

/* ── 법률 문서(privacy/terms) ── */
.doc { background: var(--white); min-height: 100vh; }
.doc-head {
  background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #eaf2ff; padding: 40px 0 32px;
}
.doc-head .wrap { display: flex; flex-direction: column; gap: 6px; }
.doc-head a.back { color: #bcd6ff; font-size: 13.5px; font-weight: 600; }
.doc-head h1 { font-size: clamp(24px, 4vw, 34px); font-weight: 900; margin-top: 10px; }
.doc-head .meta { color: #a9c2e6; font-size: 13.5px; }

.langbar { display: inline-flex; gap: 4px; margin-top: 16px; background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; padding: 4px; }
.langbar button {
  border: 0; background: transparent; color: #cfe0f7; font-weight: 700; font-size: 13px;
  padding: 7px 16px; border-radius: 999px; cursor: pointer; font-family: inherit;
}
.langbar button[aria-selected="true"] { background: #fff; color: var(--navy); }

.doc-body { max-width: 820px; margin: 0 auto; padding: 44px 20px 80px; }
.doc-body h2 { font-size: 19px; font-weight: 800; margin: 34px 0 10px; padding-top: 8px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { font-size: 15.5px; font-weight: 700; margin: 20px 0 6px; }
.doc-body p, .doc-body li { color: #33435c; font-size: 15px; }
.doc-body p { margin: 10px 0; }
.doc-body ul { margin: 10px 0 10px 22px; }
.doc-body li { margin: 6px 0; }
.doc-body .intro { color: var(--ink-soft); }
.doc-body table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; }
.doc-body th, .doc-body td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.doc-body th { background: #f4f8fe; font-weight: 700; }
.doc-body .note { background: #f4f8fe; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--ink-soft); }
.lang-en { display: none; }

/* ── 반응형 ── */
@media (max-width: 820px) {
  .hero { padding: 54px 0 70px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .sub { margin-left: auto; margin-right: auto; }
  .badges { justify-content: center; }
  .hero-art { order: -1; }
  .features { grid-template-columns: 1fr; }
  .nav-links { gap: 14px; }
}
