:root { color-scheme: light; --bg:#f0fbf6; --surface:#fff; --surface-soft:#eaf4ff; --text:#10356f; --muted:#526b87; --line:#d9e5ee; --line-strong:#bdd3e7; --primary:#1765db; --primary-dark:#174b84; --cyan:#087e9d; --mint:#72dfb4; --coral:#ffb5a6; --purple:#c9b6fa; --shadow:0 18px 48px rgba(40,87,119,.12); }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; min-width:320px; color:var(--text); background:var(--bg); font-family:Pretendard,"Noto Sans KR",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; line-height:1.65; word-break:keep-all; overflow-wrap:anywhere; }
a { color:var(--primary); text-underline-offset:.18em; }
img { display:block; max-width:100%; }
.wrap { width:min(1120px,calc(100% - 40px)); margin-inline:auto; }
.site-header { position:relative; overflow:hidden; background:linear-gradient(145deg,#b9ebff 0%,#f0fbf6 50%,#fff9e9 100%); }
.site-header::before,.site-header::after { content:""; position:absolute; border-radius:50%; pointer-events:none; }
.site-header::before { width:420px; height:420px; left:-210px; top:150px; background:rgba(255,255,255,.33); }
.site-header::after { width:360px; height:360px; right:-130px; top:-170px; border:60px solid rgba(255,255,255,.28); }
.nav { position:relative; z-index:3; min-height:76px; display:flex; align-items:center; justify-content:space-between; gap:24px; border-bottom:1px solid rgba(16,53,111,.09); }
.brand { display:inline-flex; align-items:center; color:var(--text); text-decoration:none; font-size:.92rem; font-weight:950; letter-spacing:.03em; }
.brand-logo { width:44px; height:44px; margin-right:10px; border-radius:13px; object-fit:cover; box-shadow:0 6px 18px rgba(23,101,219,.14); }
.nav-links { display:flex; flex-wrap:wrap; gap:20px; }.nav-links a { color:var(--primary-dark); text-decoration:none; font-size:.9rem; font-weight:800; }.nav-links a:hover,.nav-links a[aria-current="page"] { color:var(--primary); }
.hero { position:relative; z-index:1; padding:66px 0 86px; }.hero-grid { display:grid; grid-template-columns:1fr .82fr; gap:72px; align-items:center; }
.eyebrow { margin:0 0 12px; color:var(--primary); font-size:.78rem; font-weight:950; letter-spacing:.14em; }
h1,h2,h3 { margin-top:0; line-height:1.2; letter-spacing:-.035em; } h1 { margin-bottom:22px; font-size:clamp(2.7rem,6.6vw,5.2rem); } h2 { margin-bottom:12px; font-size:clamp(1.9rem,4vw,2.8rem); } h3 { margin-bottom:9px; font-size:1.35rem; }
.lead { max-width:680px; margin:0; color:var(--muted); font-size:clamp(1.05rem,2vw,1.23rem); }
.hero-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:30px; }.button { display:inline-flex; min-height:48px; align-items:center; justify-content:center; padding:0 20px; border:1px solid var(--line-strong); border-radius:15px; text-decoration:none; font-weight:900; }.button.primary { border-color:#084bbe; color:#fff; background:linear-gradient(135deg,#216de0,#084bbe); box-shadow:0 11px 24px rgba(23,101,219,.22); }.button.secondary { color:var(--primary-dark); background:rgba(255,255,255,.72); }
.pills { display:flex; flex-wrap:wrap; gap:8px; margin-top:22px; }.pill { padding:6px 11px; border:1px solid rgba(23,101,219,.16); border-radius:999px; color:var(--primary-dark); background:rgba(255,255,255,.62); font-size:.82rem; font-weight:800; }
.app-preview { width:min(100%,430px); margin-inline:auto; padding:18px; border:1px solid rgba(255,255,255,.9); border-radius:36px; background:rgba(255,255,255,.72); box-shadow:0 30px 70px rgba(36,84,118,.2); backdrop-filter:blur(18px); }
.preview-top { display:flex; align-items:center; justify-content:space-between; }.membership,.settings { display:grid; min-width:46px; height:34px; place-items:center; border:1px solid var(--line-strong); border-radius:999px; color:var(--primary-dark); background:#fff; font-size:.75rem; font-weight:950; }.settings { min-width:34px; }
.title-art { width:185px; height:185px; margin:-8px auto -12px; object-fit:contain; filter:drop-shadow(0 14px 16px rgba(23,101,219,.2)); }
.chance-card { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; padding:11px 13px; border:1px solid var(--line); border-radius:16px; background:#fff; }.chance-card strong { font-size:.8rem; }.chance-card span { color:var(--muted); font-size:.68rem; }
.preview-mode { min-height:66px; display:grid; grid-template-columns:56px 1fr 16px; align-items:center; gap:8px; margin-top:9px; padding:4px 14px 4px 6px; border-radius:18px; }.preview-mode img { width:54px; height:54px; object-fit:contain; }.preview-mode span { display:flex; flex-direction:column; }.preview-mode strong { font-size:.84rem; }.preview-mode small { color:#315375; font-size:.62rem; }.preview-mode b { font-size:1.5rem; }.challenge-mini { color:#fff; background:linear-gradient(135deg,#216de0,#084bbe); }.challenge-mini small { color:#eaf4ff; }.endless-mini { background:linear-gradient(135deg,#b2f4d5,#72dfb4); }
.preview-menu { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; margin-top:9px; }.preview-menu span { display:grid; min-height:54px; place-items:end center; padding:7px 2px; border-radius:14px; font-size:.58rem; font-weight:900; }.preview-menu span:nth-child(1) { background:#f9fbd2; }.preview-menu span:nth-child(2) { background:#ffe8e1; }.preview-menu span:nth-child(3) { background:#f2edff; }
main { background:#f8fcff; }.section { padding:84px 0; }.section-head { max-width:700px; margin-bottom:34px; }.section-head.centered { margin-inline:auto; text-align:center; }.section-head p:last-child,.quiz-copy p:last-child { margin:0; color:var(--muted); }
.mode-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:22px; }.mode-card { display:grid; grid-template-columns:150px 1fr; gap:18px; padding:30px; border:1px solid var(--line); border-radius:28px; box-shadow:var(--shadow); }.mode-card>img { align-self:center; width:145px; height:145px; object-fit:contain; filter:drop-shadow(0 10px 14px rgba(38,75,115,.12)); }.challenge-card { background:linear-gradient(145deg,#fff,#e8f2ff); }.endless-card { background:linear-gradient(145deg,#fff,#e4fbf1); }.mode-label { display:inline-flex; margin-bottom:9px; padding:4px 8px; border-radius:999px; color:var(--primary-dark); background:rgba(255,255,255,.85); font-size:.68rem; font-weight:950; letter-spacing:.1em; }.mode-card p { margin:0; color:var(--muted); }.mode-card ul { margin:15px 0 0; padding-left:1.2rem; color:#315375; font-size:.9rem; }
.feature-section { background:linear-gradient(180deg,#eef9ff,#f4fbf7); }.feature-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }.feature-card { padding:24px; border:1px solid var(--line); border-radius:24px; background:#fff; box-shadow:0 12px 34px rgba(40,87,119,.08); }.feature-card img { width:116px; height:116px; margin:-6px auto 6px; object-fit:contain; }.feature-card h3,.feature-card p { text-align:center; }.feature-card p { margin:0; color:var(--muted); }.progress-card { border-top:5px solid #e2ec83; }.atlas-card { border-top:5px solid var(--coral); }.ranking-card { border-top:5px solid var(--purple); }
.quiz-section { display:grid; grid-template-columns:.8fr 1.2fr; gap:54px; align-items:center; }.question-list { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }.question-list div { min-height:90px; display:flex; flex-direction:column; justify-content:space-between; padding:15px; border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:0 8px 22px rgba(40,87,119,.06); }.question-list span { color:var(--primary); font-size:1.15rem; font-weight:950; }.question-list strong { font-size:.9rem; }
.stat-strip { grid-column:1/-1; display:grid; grid-template-columns:repeat(4,1fr); margin-top:6px; overflow:hidden; border:1px solid var(--line); border-radius:20px; background:#fff; }.stat-strip div { padding:18px; text-align:center; }.stat-strip div+div { border-left:1px solid var(--line); }.stat-strip strong,.stat-strip span { display:block; }.stat-strip strong { color:var(--primary); font-size:1.45rem; }.stat-strip span { color:var(--muted); font-size:.78rem; }
.plan-section { background:#f0fbf6; }.plan-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }.plan { padding:32px; border:1px solid var(--line); border-radius:26px; background:#fff; box-shadow:var(--shadow); }.plan.plus { border:2px solid #e8c254; background:linear-gradient(145deg,#fff,#fff8d9); }.plan ul { margin:18px 0 0; padding-left:1.25rem; }.plan li+li { margin-top:8px; }.badge { display:inline-flex; margin-bottom:13px; padding:5px 11px; border-radius:999px; color:var(--primary-dark); background:var(--surface-soft); font-size:.75rem; font-weight:950; }.plus .badge { color:#795207; background:#ffedaa; }.fairness { margin-top:18px; padding:20px 24px; border-radius:20px; background:#fff2c5; }.fairness strong { color:#805608; }.fairness p { margin:5px 0 0; color:#6e5a35; }
.cta { display:flex; align-items:center; justify-content:space-between; gap:30px; padding:38px; border-radius:28px; background:linear-gradient(135deg,#dff6fa,#e2efff 55%,#fff2c5); box-shadow:var(--shadow); }.cta h2 { max-width:760px; margin-bottom:7px; }.cta p:last-child { margin:0; color:var(--muted); }.cta .button { flex:0 0 auto; }
.site-footer { padding:34px 0 42px; border-top:1px solid var(--line); color:var(--muted); background:#fff; }.footer-grid { display:flex; justify-content:space-between; gap:24px; }.footer-grid p { margin:0; }.footer-grid strong { color:var(--text); }.footer-links { display:flex; flex-wrap:wrap; gap:14px; }.footer-links a { color:var(--primary-dark); font-size:.9rem; font-weight:700; }
.page-hero { padding:58px 0; background:linear-gradient(145deg,#b9ebff,#f0fbf6 56%,#fff9e9); }.page-hero h1 { margin:0; font-size:clamp(2.1rem,6vw,3.5rem); }.page-hero p,.page-hero .subtitle { max-width:720px; margin:14px 0 0; color:var(--muted); }.page-hero .meta { display:flex; flex-wrap:wrap; gap:8px 18px; margin-top:18px; color:var(--primary-dark); font-size:.9rem; }
.document { width:min(900px,calc(100% - 40px)); margin-inline:auto; padding:48px 0 76px; }.document section,.document>nav,.contact-box { margin-bottom:18px; padding:28px; border:1px solid var(--line); border-radius:20px; background:#fff; box-shadow:0 10px 32px rgba(40,87,119,.06); }.document h2 { margin-bottom:12px; font-size:1.3rem; }.document p { margin:0; }.document p+p,.document ul+p,.document p+ul { margin-top:12px; }.document ul { padding-left:1.25rem; }.notice { padding:20px; border-radius:15px; color:var(--muted); background:var(--surface-soft); }.contact-box h2 { margin-top:0; }.privacy-page .document>nav ol { display:grid; grid-template-columns:repeat(2,1fr); gap:7px 28px; margin-bottom:0; }
@media (max-width:900px) { .hero-grid { grid-template-columns:1fr 400px; gap:28px; }.mode-card { grid-template-columns:110px 1fr; padding:24px; }.mode-card>img { width:105px; height:105px; } }
@media (max-width:760px) { .wrap { width:min(100% - 28px,1120px); }.nav { min-height:66px; }.nav-links a:not(:last-child) { display:none; }.hero { padding:48px 0 60px; }.hero-grid { grid-template-columns:1fr; gap:42px; }.hero-copy { text-align:center; }.hero-copy .lead { margin-inline:auto; }.hero-actions,.pills { justify-content:center; }.app-preview { max-width:420px; }.section { padding:64px 0; }.mode-grid,.feature-grid,.plan-grid,.quiz-section { grid-template-columns:1fr; }.mode-card { grid-template-columns:100px 1fr; }.mode-card>img { width:96px; height:96px; }.stat-strip { grid-template-columns:repeat(2,1fr); }.stat-strip div:nth-child(3) { border-left:0; border-top:1px solid var(--line); }.stat-strip div:nth-child(4) { border-top:1px solid var(--line); }.cta,.footer-grid { align-items:flex-start; flex-direction:column; }.privacy-page .document>nav ol { grid-template-columns:1fr; } }
@media (max-width:470px) { .brand { font-size:.73rem; }.brand-logo { width:38px; height:38px; }.nav-links { gap:0; } h1 { font-size:2.65rem; }.app-preview { padding:14px; border-radius:28px; }.mode-card { grid-template-columns:1fr; }.mode-card>img { width:120px; height:120px; margin-inline:auto; }.question-list { grid-template-columns:1fr; }.question-list div { min-height:78px; }.cta { padding:28px; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

/* Shared game-site shell and document pages */
a:focus-visible,.button:focus-visible { outline:3px solid rgba(23,101,219,.38); outline-offset:3px; border-radius:8px; }
.nav-links a { position:relative; padding:8px 2px; white-space:nowrap; }
.nav-links a[aria-current="page"]::after { content:""; position:absolute; right:0; bottom:2px; left:0; height:3px; border-radius:999px; background:var(--primary); }
.page-hero { position:relative; z-index:1; padding:58px 0 66px; background:transparent; }
.page-hero .eyebrow { margin-bottom:10px; }
.page-hero h1 { color:var(--text); }
.page-hero p,.page-hero .subtitle { margin-top:14px; }
.page-hero .meta span { display:inline-flex; align-items:center; min-height:32px; padding:4px 10px; border:1px solid rgba(23,101,219,.14); border-radius:999px; background:rgba(255,255,255,.58); font-weight:750; }
.document { width:min(920px,calc(100% - 40px)); }
.document section,.document>nav,.contact-box { position:relative; margin-bottom:18px; padding:clamp(24px,4vw,32px); border-radius:22px; }
.document section[id] { scroll-margin-top:24px; }
.document h2,.contact-box h2 { color:var(--primary-dark); font-size:clamp(1.24rem,2.5vw,1.5rem); letter-spacing:-.025em; }
.document h3 { margin:26px 0 8px; color:var(--primary-dark); font-size:1.05rem; }
.document p,.document li { color:#365573; }
.document li+li { margin-top:6px; }
.document>nav ol { margin:0; }
.document>nav a { font-weight:750; text-decoration-thickness:1px; }
.notice { margin-bottom:18px; border:1px solid #cfe1f4; color:#315375; background:linear-gradient(135deg,#eef7ff,#f1fbf7); }
.summary { margin-top:18px; padding:18px 20px; border-left:5px solid var(--primary); border-radius:14px; color:#315375; background:var(--surface-soft); }
.summary ul { margin-bottom:0; }
.contact-card { margin-top:16px; padding:20px; border:1px solid #cfe1f4; border-radius:16px; color:#315375; background:linear-gradient(135deg,#eef7ff,#f1fbf7); }
.contact-box { overflow:hidden; background:linear-gradient(135deg,#fff,#eef7ff 62%,#f1fbf7); }
.contact-box::after { content:"?"; position:absolute; right:20px; bottom:-42px; color:rgba(23,101,219,.06); font-size:10rem; font-weight:950; line-height:1; pointer-events:none; }
.contact-box>* { position:relative; z-index:1; }
.contact-box .button { margin-top:20px; color:#fff; border-color:#084bbe; background:linear-gradient(135deg,#216de0,#084bbe); box-shadow:0 11px 24px rgba(23,101,219,.18); }
.table-wrap { width:100%; margin:18px 0; overflow-x:auto; border:1px solid var(--line); border-radius:15px; background:#fff; scrollbar-color:var(--line-strong) transparent; }
table { width:100%; min-width:680px; border-collapse:collapse; font-size:.92rem; }
th,td { padding:13px 14px; border-bottom:1px solid var(--line); text-align:left; vertical-align:top; color:#365573; }
th { color:var(--primary-dark); background:var(--surface-soft); font-weight:850; }
tr:last-child td { border-bottom:0; }
code { padding:.12em .38em; border-radius:6px; color:var(--primary-dark); background:var(--surface-soft); font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:.9em; }
.site-footer .footer-grid>p,.site-footer .footer-grid>div:first-child p { margin:0; }

@media (max-width:760px) {
  .nav { min-height:0; padding:12px 0 10px; align-items:flex-start; flex-direction:column; gap:8px; }
  .nav-links { width:100%; flex-wrap:nowrap; gap:18px; overflow-x:auto; padding:0 1px 5px; scrollbar-width:none; }
  .nav-links::-webkit-scrollbar { display:none; }
  .nav-links a:not(:last-child) { display:block; }
  .page-hero { padding:42px 0 50px; }
  .page-hero .meta { gap:8px; }
  .document { width:min(100% - 28px,920px); padding:34px 0 58px; }
  .document section,.document>nav,.contact-box { padding:22px; border-radius:18px; }
  .footer-links { gap:10px 16px; }
}
@media (max-width:470px) {
  .brand { font-size:.78rem; }
  .nav-links { gap:16px; }
  .nav-links a { font-size:.82rem; }
  .page-hero h1 { font-size:2.25rem; }
  .page-hero .meta span { font-size:.78rem; }
}
@media print {
  .nav,.site-footer { display:none; }
  body,main { color:#111; background:#fff; }
  .site-header { background:#fff; }
  .site-header::before,.site-header::after { display:none; }
  .page-hero { padding:20px 0; }
  .page-hero h1,.page-hero p,.page-hero .subtitle,.document p,.document li { color:#111; }
  .document { width:100%; padding:0; }
  .document section,.document>nav,.contact-box { break-inside:avoid; border-color:#ccc; box-shadow:none; }
}
