:root {
  --cream: #fff8eb;
  --paper: #fffdf8;
  --ink: #20243b;
  --pink: #ff78a8;
  --pink-dark: #ec4f88;
  --blue: #74d8ff;
  --blue-dark: #24a7de;
  --lime: #c8f36a;
  --yellow: #ffd75e;
  --purple: #a686ff;
  --shadow: 0 14px 0 rgba(32, 36, 59, 0.12);
  --outline: 3px solid var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Arial Rounded MT Bold", "Pretendard", "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  z-index: 30;
  background-image: radial-gradient(var(--ink) 0.7px, transparent 0.7px);
  background-size: 8px 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 64px);
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: var(--outline);
  background: rgba(255, 248, 235, 0.94);
  backdrop-filter: blur(12px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 950; font-size: 1.12rem; letter-spacing: -0.03em; }
.brand-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: var(--outline);
  border-radius: 14px 14px 14px 4px;
  background: var(--pink);
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-3deg);
}
.brand-pop { color: var(--pink-dark); }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); margin-left: auto; font-size: 0.92rem; font-weight: 850; }
.main-nav a { position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 4px; border-radius: 99px; background: var(--pink); transition: right 180ms ease; }
.main-nav a:hover::after { right: 0; }
.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 13px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
}

.section-shell { width: min(1180px, calc(100% - 36px)); margin-inline: auto; }
.section-block { padding-block: clamp(78px, 10vw, 128px); }
.hero { min-height: calc(100svh - 76px); display: grid; grid-template-columns: 0.95fr 1.05fr; align-items: center; gap: clamp(40px, 7vw, 88px); padding-block: 72px 84px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; width: fit-content; font-size: 0.78rem; font-weight: 950; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow { padding: 8px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); }
.hero h1 { margin: 24px 0 20px; font-size: clamp(3.1rem, 7.5vw, 6.8rem); line-height: 0.94; letter-spacing: -0.075em; }
.hero h1 span, .hero h1 strong { display: block; }
.hero h1 strong { color: var(--pink-dark); text-shadow: 4px 4px 0 white, 7px 7px 0 var(--ink); }
.hero-copy > p { max-width: 600px; margin: 0; font-size: clamp(1rem, 1.8vw, 1.22rem); font-weight: 650; color: #51566d; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: var(--outline); border-radius: 17px; font-weight: 950; transition: transform 160ms ease, box-shadow 160ms ease; }
.button:hover { transform: translate(-2px, -2px); }
.button-primary { background: var(--pink); box-shadow: 6px 6px 0 var(--ink); }
.button-primary:hover { box-shadow: 8px 8px 0 var(--ink); }
.button-soft { background: white; box-shadow: 5px 5px 0 rgba(32, 36, 59, 0.16); }
.button-ink { background: var(--ink); color: white; box-shadow: 6px 6px 0 var(--pink-dark); }
.mini-stats { display: flex; flex-wrap: wrap; gap: 22px; margin: 38px 0 0; padding: 0; list-style: none; }
.mini-stats li { display: grid; gap: 2px; }
.mini-stats strong { font-size: 0.9rem; }
.mini-stats span { color: #73778a; font-size: 0.76rem; font-weight: 700; }

.hero-art { position: relative; min-width: 0; }
.hero-frame { position: relative; overflow: hidden; border: 4px solid var(--ink); border-radius: 40px 40px 40px 14px; background: var(--blue); box-shadow: 15px 16px 0 var(--ink); transform: rotate(1.2deg); }
.hero-frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 8px rgba(255,255,255,.35); border-radius: 34px; pointer-events: none; }
.hero-frame img { width: 100%; aspect-ratio: 1.18; object-fit: cover; }
.speech-bubble { position: absolute; z-index: 4; padding: 10px 15px; border: var(--outline); border-radius: 17px; background: white; font-size: 0.84rem; font-weight: 950; box-shadow: 4px 4px 0 var(--ink); }
.speech-bubble::after { content: ""; position: absolute; width: 13px; height: 13px; background: white; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg); }
.bubble-left { top: -20px; left: -24px; transform: rotate(-5deg); }
.bubble-left::after { bottom: -8px; left: 28px; }
.bubble-right { right: -18px; bottom: 34px; transform: rotate(4deg); }
.bubble-right::after { bottom: -8px; right: 30px; }
.sticker { position: absolute; z-index: 3; display: grid; place-items: center; border: var(--outline); color: var(--ink); font-weight: 950; box-shadow: 4px 4px 0 var(--ink); }
.sticker-one { right: 12px; top: -42px; width: 92px; height: 56px; border-radius: 50%; background: var(--lime); transform: rotate(9deg); }
.sticker-two { left: -26px; bottom: 55px; width: 58px; height: 58px; border-radius: 50%; background: var(--yellow); transform: rotate(-12deg); }

.ticker { overflow: hidden; border-block: var(--outline); background: var(--ink); color: white; transform: rotate(-1deg) scale(1.02); }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 28px; padding: 15px 0; animation: ticker 22s linear infinite; font-size: 0.88rem; font-weight: 950; letter-spacing: 0.16em; }
.ticker-track i { color: var(--yellow); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 42px; }
.section-heading h2, .studio-copy h2, .cta-section h2 { margin: 8px 0 0; font-size: clamp(2.15rem, 5vw, 4.3rem); line-height: 1.02; letter-spacing: -0.06em; }
.section-heading > p { max-width: 410px; margin: 0 0 6px; color: #666b80; font-weight: 650; }
.section-kicker { color: var(--pink-dark); }
.game-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 26px; }
.game-card { overflow: hidden; border: var(--outline); border-radius: 32px; background: white; box-shadow: var(--shadow); }
.game-cover { position: relative; min-height: 380px; overflow: hidden; background: #bcecff; }
.game-cover img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.status-chip { position: absolute; top: 18px; left: 18px; padding: 8px 12px; border: 2px solid var(--ink); border-radius: 999px; background: var(--lime); font-size: 0.76rem; font-weight: 950; box-shadow: 3px 3px 0 var(--ink); }
.game-card-body { padding: 27px; }
.game-title-row { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.game-number { display: block; margin-bottom: 6px; color: var(--pink-dark); font-size: 0.72rem; font-weight: 950; letter-spacing: 0.12em; }
.game-card h3 { margin: 0; font-size: clamp(1.55rem, 3vw, 2.3rem); line-height: 1.08; letter-spacing: -0.045em; }
.game-card p { color: #666b80; font-weight: 620; }
.game-icon { display: grid; place-items: center; width: 56px; height: 56px; flex: 0 0 56px; border: 2px solid var(--ink); border-radius: 18px; background: var(--yellow); font-size: 1.6rem; transform: rotate(5deg); }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0; }
.tag-row span { padding: 5px 9px; border: 1.5px solid var(--ink); border-radius: 8px; background: var(--cream); font-size: 0.68rem; font-weight: 950; }
.text-link { display: inline-flex; gap: 9px; align-items: center; color: var(--pink-dark); font-weight: 950; }
.text-link b { font-size: 1.3rem; transition: transform 160ms ease; }
.text-link:hover b { transform: translateX(5px); }
.game-card-next { display: flex; flex-direction: column; background: var(--yellow); }
.next-lab { position: relative; min-height: 280px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, var(--purple), #d6c8ff); border-bottom: var(--outline); }
.next-lab::before, .next-lab::after { content: ""; position: absolute; width: 180px; height: 180px; border: 3px dashed rgba(32,36,59,.42); border-radius: 50%; }
.next-lab::after { width: 260px; height: 260px; }
.lab-face { position: relative; z-index: 2; display: grid; place-items: center; width: 112px; height: 112px; border: var(--outline); border-radius: 35% 50% 42% 48%; background: white; font-size: 3.8rem; box-shadow: 8px 8px 0 var(--ink); transform: rotate(-5deg); }
.lab-orbit { position: absolute; z-index: 3; display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid var(--ink); border-radius: 50%; background: var(--lime); font-weight: 950; }
.orbit-one { top: 34px; right: 36px; transform: rotate(10deg); }
.orbit-two { left: 38px; bottom: 34px; background: var(--pink); transform: rotate(-13deg); }

.blog-section { background: var(--ink); color: white; border-block: var(--outline); }
.light-heading .section-kicker { color: var(--yellow); }
.light-heading > p { color: #c7cad8; }
.post-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 20px; }
.post-card { position: relative; min-height: 315px; padding: 26px; overflow: hidden; border: 3px solid white; border-radius: 26px; background: #30354f; box-shadow: 7px 7px 0 var(--pink); }
.post-card:nth-child(2) { box-shadow: 7px 7px 0 var(--blue); }
.post-card:nth-child(3) { box-shadow: 7px 7px 0 var(--lime); }
.post-featured { background: var(--pink-dark); }
.post-date { font-size: 0.68rem; font-weight: 950; letter-spacing: 0.09em; opacity: 0.84; }
.post-card h3 { position: relative; z-index: 2; margin: 35px 0 12px; font-size: clamp(1.35rem, 2.4vw, 2.15rem); line-height: 1.08; letter-spacing: -0.04em; }
.post-card p { position: relative; z-index: 2; margin: 0; color: #eef0f7; font-size: 0.9rem; font-weight: 600; }
.post-emoji { position: absolute; right: -4px; bottom: -24px; font-size: 7rem; opacity: 0.16; transform: rotate(-12deg); }

.studio-section { display: grid; grid-template-columns: 1fr .74fr; align-items: center; gap: clamp(46px, 8vw, 110px); }
.studio-copy > p { max-width: 650px; color: #62677d; font-size: 1.04rem; font-weight: 620; }
.principles { display: grid; gap: 11px; margin-top: 28px; }
.principles div { display: flex; align-items: center; gap: 13px; }
.principles span { display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid var(--ink); border-radius: 10px; background: var(--blue); font-size: 0.78rem; font-weight: 950; box-shadow: 3px 3px 0 var(--ink); }
.principles div:nth-child(2) span { background: var(--pink); }
.principles div:nth-child(3) span { background: var(--lime); }
.studio-poster { padding: 25px; border: 4px solid var(--ink); border-radius: 24px; background: var(--blue); box-shadow: 13px 14px 0 var(--ink); transform: rotate(2deg); }
.poster-top { display: flex; justify-content: space-between; font-size: 0.76rem; font-weight: 950; letter-spacing: .12em; }
.studio-poster strong { display: block; margin: 42px 0; font-size: clamp(3.6rem, 7vw, 6.5rem); line-height: .78; letter-spacing: -.08em; text-shadow: 4px 4px 0 white; }
.studio-poster small { display: block; padding-top: 15px; border-top: 3px solid var(--ink); font-weight: 900; }

.cta-section { margin-bottom: 92px; padding: clamp(34px, 6vw, 68px); display: flex; align-items: center; justify-content: space-between; gap: 30px; border: var(--outline); border-radius: 34px 34px 34px 10px; background: var(--lime); box-shadow: 12px 12px 0 var(--ink); }
.cta-section h2 { max-width: 700px; font-size: clamp(2rem, 4.6vw, 4rem); }
footer { min-height: 170px; padding: 36px clamp(18px, 4vw, 64px); display: flex; align-items: center; gap: 28px; border-top: var(--outline); background: white; }
footer p { margin-left: auto; color: #6a6f82; font-size: 0.85rem; font-weight: 700; }
footer > span { font-size: 0.76rem; font-weight: 900; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .language-toggle { margin-left: auto; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 56px; }
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-copy > p { margin-inline: auto; }
  .hero-actions, .mini-stats { justify-content: center; }
  .hero-art { width: min(650px, 94%); margin-inline: auto; }
  .game-grid, .studio-section { grid-template-columns: 1fr; }
  .game-card-next { display: grid; grid-template-columns: .85fr 1.15fr; }
  .next-lab { min-height: 100%; border-right: var(--outline); border-bottom: 0; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .post-featured { grid-column: 1 / -1; }
  .studio-poster { width: min(520px, 94%); margin-inline: auto; }
  .cta-section { align-items: start; flex-direction: column; }
  footer { flex-wrap: wrap; }
  footer p { order: 3; width: 100%; margin: 0; }
}

@media (max-width: 620px) {
  .site-header { min-height: 66px; padding-inline: 14px; }
  .brand-mark { width: 38px; height: 38px; }
  .language-name { display: none; }
  .language-toggle { width: 42px; padding: 0; justify-content: center; }
  .hero { padding-top: 42px; gap: 52px; }
  .hero h1 { font-size: clamp(3rem, 18vw, 5rem); }
  .hero-frame { border-radius: 27px 27px 27px 10px; box-shadow: 9px 10px 0 var(--ink); }
  .speech-bubble { font-size: .72rem; }
  .bubble-left { left: -8px; }
  .bubble-right { right: -8px; bottom: 18px; }
  .sticker-one { right: 0; }
  .sticker-two { left: -8px; bottom: 34px; }
  .section-heading { align-items: start; flex-direction: column; gap: 15px; }
  .section-block { padding-block: 78px; }
  .game-cover, .game-cover img { min-height: 260px; }
  .game-card-next { display: block; }
  .next-lab { min-height: 240px; border-right: 0; border-bottom: var(--outline); }
  .post-grid { grid-template-columns: 1fr; }
  .post-featured { grid-column: auto; }
  .post-card { min-height: 270px; }
  .studio-poster strong { font-size: 18vw; }
  .cta-section { width: min(100% - 24px, 1180px); margin-bottom: 64px; }
  footer { align-items: start; flex-direction: column; gap: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
