:root {
  --black: #0a0a0a;
  --ink: #111;
  --white: #fff;
  --paper: #f4f3ef;
  --muted: #6a6a66;
  --line: #e2e1dc;
  --max: 1120px;
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── Logo ── */
.logo {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: .01em;
  flex-shrink: 0;
}
.logo.inverse { background: var(--white); color: var(--black); }

/* ── Header ── */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-name { font-family: var(--display); font-size: 24px; letter-spacing: .01em; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  white-space: nowrap;
}
.nav-links a:hover { opacity: .55; }
.nav-yt {
  background: var(--black); color: var(--white) !important;
  padding: 8px 16px; border-radius: 999px;
}
.nav-yt:hover { opacity: .8 !important; }
.nav-lang { border: 1.5px solid var(--line); padding: 7px 12px; border-radius: 999px; }

/* ── Hero ── */
.hero {
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.hero .wrap { padding-top: 96px; padding-bottom: 96px; position: relative; z-index: 1; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #9a9a96; margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, 11vw, 148px);
  line-height: .92;
  letter-spacing: -.005em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.hero h1 .outline { color: transparent; -webkit-text-stroke: 2px var(--white); }
.hero p.lead {
  font-size: clamp(16px, 2vw, 19px);
  color: #c9c9c5;
  max-width: 560px;
  margin-bottom: 40px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--black); }
.btn-ghost { border: 1.5px solid #555; color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.hero-mark {
  position: absolute; right: -6vw; top: 50%; transform: translateY(-50%);
  width: min(52vw, 620px); aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid #222;
  display: grid; place-items: center;
  font-family: var(--display);
  font-size: min(18vw, 220px);
  color: #161616;
  pointer-events: none;
  user-select: none;
}

/* ── Marquee ── */
.marquee {
  background: var(--black);
  border-top: 1px solid #222;
  overflow: hidden;
  padding: 22px 0;
}
.marquee-track {
  display: flex; gap: 20px; width: max-content;
  animation: scroll 40s linear infinite;
}
.marquee img { width: 84px; height: 84px; border-radius: 20px; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ── Sections ── */
section { padding: 112px 0; }
section.alt { background: var(--paper); }
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.sec-num { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--muted); margin-bottom: 10px; }
.sec-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(44px, 7vw, 84px);
  line-height: .95; text-transform: uppercase;
}
.sec-desc { max-width: 380px; color: var(--muted); font-size: 15px; }

/* ── Flagship ── */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat {
  background: var(--black); color: var(--white);
  border-radius: 28px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s;
}
.feat:hover { transform: translateY(-6px); }
.feat-art { position: relative; background: #161616; padding: 40px; display: grid; place-items: center; }
.feat-art img {
  width: 100%; max-width: 220px; aspect-ratio: 1; object-fit: cover;
  border-radius: 44px; box-shadow: 0 24px 60px rgba(0,0,0,.6);
}
.feat-no { position: absolute; top: 18px; left: 22px; font-family: var(--display); font-size: 22px; color: #555; }
.feat-body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.feat-genre { font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: #8a8a86; margin-bottom: 8px; }
.feat h3 { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; text-transform: uppercase; }
.feat-ko { font-size: 14px; font-weight: 700; color: #bbb; margin: 6px 0 14px; }
.feat-desc { font-size: 14px; color: #a9a9a5; margin-bottom: 24px; flex: 1; }
.store-row { display: flex; flex-wrap: wrap; gap: 8px; }
.store-btn {
  flex: 1; text-align: center; white-space: nowrap;
  padding: 11px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; text-decoration: none;
  background: var(--white); color: var(--black);
  border: 1.5px solid var(--white);
}
.store-btn.play { background: transparent; color: var(--white); border: 1.5px solid #444; }
.store-btn:hover { opacity: .85; }

/* ── Game grid ── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
section.alt .card { border-color: transparent; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.card-top { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 18px; min-height: 76px; }
.card-top > div { padding-top: 4px; min-width: 0; }
.card img { width: 76px; height: 76px; border-radius: 18px; object-fit: cover; }
.card-genre { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .04em; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card h3 { font-size: 19px; font-weight: 900; letter-spacing: -.01em; line-height: 1.3; }
.card > p { font-size: 14px; color: var(--muted); margin-bottom: 20px; flex: 1; }
.card .store-row { gap: 6px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.store-link {
  font-size: 13px; font-weight: 700; text-decoration: none;
  padding: 8px 14px; border-radius: 999px;
  background: var(--black); color: var(--white);
  border: 1.5px solid var(--black);
  white-space: nowrap;
}
.store-link.play { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.store-link:hover { opacity: .8; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11px; font-weight: 700; padding: 3px 9px;
  border-radius: 6px; border: 1px solid var(--line); color: var(--muted);
}

/* ── Studio ── */
.studio {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.studio-text p { font-size: 17px; margin-bottom: 18px; color: #333; }
.studio-text strong { color: var(--ink); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat {
  border: 1px solid var(--line); border-radius: 20px; padding: 28px;
}
.stat b {
  display: block; font-family: var(--display); font-weight: 400;
  font-size: 56px; line-height: 1; margin-bottom: 8px;
}
.stat span { font-size: 14px; color: var(--muted); font-weight: 500; }
.stat.dark { background: var(--black); color: var(--white); border-color: var(--black); }
.stat.dark span { color: #aaa; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 72px; }
.value { border-top: 2px solid var(--black); padding-top: 20px; }
.value h4 { font-family: var(--display); font-weight: 400; font-size: 28px; text-transform: uppercase; margin-bottom: 8px; }
.value p { font-size: 14px; color: var(--muted); }


/* ── Contact ── */
.contact { background: var(--black); color: var(--white); text-align: center; }
.contact .logo { width: 120px; height: 120px; font-size: 46px; margin: 0 auto 36px; }
.contact h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(48px, 9vw, 112px); line-height: .95; text-transform: uppercase;
  margin-bottom: 20px;
}
.contact p { color: #b5b5b1; margin-bottom: 36px; }
.contact .cta-row { justify-content: center; }
.mail { font-size: clamp(18px, 3vw, 26px); font-weight: 700; text-decoration: none; border-bottom: 2px solid #444; padding-bottom: 4px; display: inline-block; margin-bottom: 40px; }
.mail:hover { border-color: var(--white); }

/* ── Footer ── */
footer { background: var(--black); color: #8a8a86; border-top: 1px solid #222; }
footer .wrap {
  padding-top: 28px; padding-bottom: 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px;
}
footer .brand-name { color: var(--white); font-size: 18px; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--white); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .feat-grid { grid-template-columns: 1fr; }
  .feat { flex-direction: row; }
  .feat-art { padding: 24px; flex: 0 0 38%; }
  .feat-art img { border-radius: 28px; }
  .studio { grid-template-columns: 1fr; gap: 40px; }
  .values { grid-template-columns: 1fr; }
  .hero-mark { opacity: .6; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav-links li.sec { display: none; }
  .nav-links { gap: 8px; }
  .nav-links a { font-size: 12px; }
  .nav-yt { padding: 7px 12px; }
  .nav-lang { padding: 6px 10px; }
  .brand { gap: 10px; }
  .brand-name { font-size: 20px; }
  .hero-mark { display: none; }
  section { padding: 80px 0; }
  .hero .wrap { padding-top: 64px; padding-bottom: 72px; }
  .grid { grid-template-columns: 1fr; }
  .feat { flex-direction: column; }
  .feat-art { padding: 32px; }
  .feat-art img { max-width: 180px; border-radius: 36px; }
  .card { padding: 22px; }
  .stat { padding: 22px; }
  .stat b { font-size: 44px; }
  .marquee img { width: 64px; height: 64px; border-radius: 15px; }
}
