@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

:root {
  --honey: #f5b324;
  --honey-deep: #e09a0b;
  --cream: #fff8ea;
  --paper: #fffdf8;
  --ink: #2b1d0e;
  --ink-soft: #6b5a45;
  --line: #f0e2c4;
  --radius: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: 0.02em; }
.logo svg { width: 30px; height: 30px; }
nav { display: flex; gap: 24px; font-size: 15px; font-weight: 500; }
nav a { text-decoration: none; color: var(--ink-soft); }
nav a:hover { color: var(--ink); }

/* Hero */
.hero { background: var(--cream); padding: 96px 0 104px; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -120px; top: -80px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,179,36,0.35), rgba(245,179,36,0) 70%);
}
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; color: var(--honey-deep); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; max-width: 14em; }
.hero h1 em { font-style: normal; color: var(--honey-deep); }
.hero p { margin-top: 20px; font-size: 18px; color: var(--ink-soft); max-width: 34em; }
.hero p.en { margin-top: 8px; font-size: 15px; }
.btn {
  display: inline-block; margin-top: 32px; padding: 14px 26px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
}
.btn:hover { background: #46321b; }

/* Sections */
section { padding: 88px 0; }
section h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.01em; }
section .sub { color: var(--ink-soft); margin-top: 8px; }

.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin-top: 40px; max-width: 1040px; }
@media (min-width: 900px) { .games { grid-template-columns: repeat(3, 1fr); } }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.card .thumb {
  aspect-ratio: 16 / 9; background: linear-gradient(135deg, #ffe7a8, #f5b324);
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; color: rgba(43,29,14,0.55);
}
.card .body { padding: 20px 22px 24px; }
.card h3 { font-size: 19px; font-weight: 700; }
.card p { font-size: 15px; color: var(--ink-soft); margin-top: 6px; }
.tag { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--cream); color: var(--honey-deep); }

.about { background: var(--cream); }
.about .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 32px; }
.about p { font-size: 17px; }
.about p + p { margin-top: 14px; }

.contact-list { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.contact-item { border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; background: #fff; }
.contact-item .label { font-size: 13px; font-weight: 700; color: var(--honey-deep); letter-spacing: 0.06em; text-transform: uppercase; }
.contact-item a { display: block; margin-top: 6px; font-weight: 600; text-decoration: none; word-break: break-all; }
.contact-item a:hover { text-decoration: underline; }
.contact-item .desc { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 13px; color: var(--ink-soft); }
footer .row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer .biz span { white-space: nowrap; }
footer .biz span + span::before { content: " · "; }
footer .links a { text-decoration: none; font-weight: 600; color: var(--ink); }
footer .copy { margin-top: 12px; }

/* Policy page */
.policy { padding: 64px 0 96px; }
.policy .wrap { max-width: 760px; }
.policy h1 { font-size: 34px; font-weight: 800; }
.policy .meta { color: var(--ink-soft); margin-top: 8px; font-size: 15px; }
.policy .lang { margin-top: 20px; display: flex; gap: 10px; }
.policy .lang a { font-size: 14px; font-weight: 600; text-decoration: none; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; }
.policy h2 { font-size: 20px; font-weight: 700; margin-top: 44px; }
.policy h3 { font-size: 16px; font-weight: 700; margin-top: 20px; }
.policy p, .policy li { font-size: 16px; margin-top: 10px; }
.policy ul { padding-left: 22px; }
.policy table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.policy th, .policy td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.policy th { background: var(--cream); font-weight: 700; }
.policy hr { border: 0; border-top: 2px solid var(--line); margin: 72px 0 0; }
.todo { background: #fff1c2; border-radius: 4px; padding: 0 4px; font-weight: 600; }

@media (max-width: 720px) {
  nav { gap: 16px; font-size: 14px; }
  .hero { padding: 64px 0 72px; }
  section { padding: 64px 0; }
  .about .cols { grid-template-columns: 1fr; gap: 16px; }
  .policy table { font-size: 14px; }
}
