:root {
  --navy: #0d2b45;
  --deep: #071f33;
  --cyan: #00d9ff;
  --sky: #63e7ff;
  --cream: #fff8e8;
  --gold: #ffe78a;
  --ink: #0d2b45;
  --muted: #647986;
  --line: rgba(10, 74, 108, 0.13);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7fbfd;
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(1, 21, 36, 0.74), rgba(1, 21, 36, 0));
}

.nav-wrap {
  width: min(calc(100% - 40px), var(--max));
  height: 82px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  line-height: 1;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand span {
  display: grid;
  gap: 4px;
}

.brand strong {
  font-family: Georgia, serif;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
}

.brand small {
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.38em;
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

nav a:hover,
nav a:focus-visible {
  color: var(--sky);
}

.hero {
  position: relative;
  min-height: 720px;
  height: min(92vh, 900px);
  overflow: hidden;
  display: grid;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 72% 43%, rgba(0, 217, 255, 0.2), transparent 25%),
    radial-gradient(circle at 90% 8%, rgba(99, 231, 255, 0.12), transparent 22%),
    linear-gradient(145deg, #021522 0%, #062b45 54%, #073b56 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  width: 66vw;
  height: 66vw;
  max-width: 860px;
  max-height: 860px;
  right: -10vw;
  bottom: -42vw;
  border: 1px solid rgba(99, 231, 255, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(99, 231, 255, 0.025),
    0 0 0 160px rgba(99, 231, 255, 0.018);
}

.hero::after {
  right: -8%;
  bottom: 8%;
  left: -8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 231, 255, 0.28), transparent);
  transform: rotate(-4deg);
}

.hero-glow {
  position: absolute;
  top: 14%;
  right: 11%;
  width: min(36vw, 470px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(0, 217, 255, 0.08);
  filter: blur(52px);
}

.hero-layout {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 132px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: center;
}

.hero-content {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.23em;
}

.eyebrow.dark {
  color: #087fa0;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.1rem, 7.6vw, 7.6rem);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: -0.065em;
}

.hero h1 span,
.hero h1 strong {
  display: block;
}

.hero h1 span:nth-child(2) {
  margin-left: 0.32em;
  color: rgba(255, 255, 255, 0.76);
}

.hero h1 strong {
  margin-left: 0.1em;
  color: var(--sky);
  font-weight: inherit;
  text-shadow: 0 0 40px rgba(0, 217, 255, 0.18);
}

.hero-kicker {
  margin: 34px 0 0;
  color: #fff;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 750;
  letter-spacing: -0.025em;
}

.hero-copy {
  max-width: 590px;
  margin: 12px 0 30px;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(0.94rem, 1.25vw, 1.06rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-logo {
  position: relative;
  margin: 0;
  isolation: isolate;
}

.hero-logo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 17%;
  border: 1px solid rgba(99, 231, 255, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 60px rgba(0, 217, 255, 0.14),
    inset 0 0 50px rgba(0, 217, 255, 0.06);
}

.hero-logo img {
  width: min(100%, 540px);
  margin-inline: auto;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.28));
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: var(--sky);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(0, 217, 255, 0.25);
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: #fff;
  transform: translateY(-2px);
}

.button-outline {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: none;
}

.button-outline:hover,
.button-outline:focus-visible {
  color: var(--navy);
  border-color: #fff;
}

.section {
  padding: 112px 20px;
}

.section-grid,
.game-layout,
.section-heading,
.gallery-grid,
.footer-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4.7vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.section-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(56px, 8vw, 110px);
  align-items: center;
}

.lead {
  max-width: 710px;
  margin: 32px 0 14px;
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  font-weight: 650;
  line-height: 1.75;
  letter-spacing: -0.02em;
}

.english {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.english.light {
  color: rgba(255, 255, 255, 0.57);
}

.studio-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 180, 220, 0.17);
  border-radius: 36px;
  background: linear-gradient(145deg, #dffaff, #eaf5f7 56%, #cde9ed);
  box-shadow: 0 28px 75px rgba(6, 43, 69, 0.14);
}

.studio-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.game {
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(0, 217, 255, 0.15), transparent 26%),
    linear-gradient(145deg, #031c2e, #062b45 58%, #073a55);
}

.game-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(52px, 8vw, 100px);
  align-items: center;
}

.game-visual {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.34);
}

.game-visual img {
  width: 100%;
  aspect-ratio: 920 / 430;
  object-fit: cover;
}

.game-copy h2 {
  font-size: clamp(2.6rem, 5vw, 5.4rem);
}

.game-copy > p:not(.eyebrow):not(.platform) {
  max-width: 600px;
  margin: 28px 0 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

.game-copy > p.english {
  margin-top: 0;
  font-size: 0.88rem;
}

.feature-list {
  margin: 38px 0 0;
  padding: 28px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  list-style: none;
}

.feature-list li {
  display: grid;
  gap: 4px;
}

.feature-list strong {
  color: var(--sky);
  font-family: Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.feature-list span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.76rem;
}

.platform {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.platform span {
  margin-left: 12px;
  padding: 6px 10px;
  color: var(--gold);
  border: 1px solid rgba(255, 231, 138, 0.35);
  border-radius: 999px;
  font-size: 0.64rem;
}

.gallery {
  background: var(--cream);
}

.section-heading {
  margin-bottom: 46px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(6, 43, 69, 0.08);
}

.gallery figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 260ms ease;
}

.gallery figure:hover img {
  transform: scale(1.025);
}

.gallery figcaption {
  padding: 17px 18px 19px;
  font-size: 0.88rem;
  font-weight: 750;
}

footer {
  padding: 42px 20px;
  color: rgba(255, 255, 255, 0.65);
  background: #021522;
}

.footer-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.footer-inner strong {
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1.1rem;
}

.footer-inner p {
  margin: 5px 0 0;
  font-size: 0.76rem;
}

.footer-links {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--sky);
}

.subpage-body {
  background:
    radial-gradient(circle at 86% 8%, rgba(0, 217, 255, 0.11), transparent 24rem),
    #f7fbfd;
}

.subpage-header {
  position: sticky;
  color: #fff;
  background: rgba(2, 21, 34, 0.96);
  border-bottom-color: rgba(99, 231, 255, 0.16);
  backdrop-filter: blur(16px);
}

.subpage-header nav a[aria-current="page"] {
  color: var(--sky);
}

.subpage-main {
  min-height: calc(100vh - 248px);
}

.page-hero {
  padding: 86px 20px 72px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 40%, rgba(0, 217, 255, 0.18), transparent 22rem),
    linear-gradient(145deg, #021522, #062b45 62%, #073b56);
}

.page-hero-inner,
.content-shell {
  width: min(100%, 920px);
  margin-inline: auto;
}

.page-hero-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.page-hero-tools .eyebrow {
  margin-bottom: 0;
}

.language-picker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 800;
}

.language-picker select {
  min-height: 40px;
  padding: 0 34px 0 13px;
  color: #fff;
  background: rgba(2, 21, 34, 0.72);
  border: 1px solid rgba(99, 231, 255, 0.34);
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}

.language-picker select:focus-visible {
  outline: 3px solid rgba(99, 231, 255, 0.42);
  outline-offset: 2px;
}

.page-hero h1 {
  max-width: 780px;
  margin: 12px 0 18px;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.page-hero .page-intro {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 2vw, 1.16rem);
}

.page-meta {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.8rem;
}

.content-shell {
  padding: 68px 20px 88px;
}

.content-card {
  padding: clamp(28px, 5vw, 54px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(6, 43, 69, 0.09);
}

.content-card + .content-card {
  margin-top: 24px;
}

.content-card h2 {
  margin: 0 0 16px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.content-card h3 {
  margin: 30px 0 10px;
  font-size: 1.08rem;
  line-height: 1.4;
}

.content-card p,
.content-card li {
  color: #405968;
}

.content-card p {
  margin: 0 0 14px;
}

.content-card ul,
.content-card ol {
  margin: 12px 0 0;
  padding-left: 1.3rem;
}

.content-card li + li {
  margin-top: 8px;
}

.content-card a:not(.button) {
  color: #006a8c;
  font-weight: 700;
  text-underline-offset: 3px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(99, 231, 255, 0.2), transparent 14rem),
    linear-gradient(145deg, #082d46, #06435b);
  border-color: rgba(99, 231, 255, 0.2);
}

.contact-card h2,
.contact-card p {
  color: inherit;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-card .button {
  white-space: nowrap;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.support-item {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(6, 43, 69, 0.055);
}

.support-item h2 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  letter-spacing: -0.025em;
}

.support-item p,
.support-item li {
  color: #526b78;
  font-size: 0.9rem;
}

.support-item p {
  margin: 0;
}

.support-item ul,
.support-item ol {
  margin: 10px 0 0;
  padding-left: 1.2rem;
}

.support-item li + li {
  margin-top: 7px;
}

.support-item a {
  color: #006a8c;
  font-weight: 700;
  text-underline-offset: 3px;
}

.policy-summary {
  padding: 22px 24px;
  background: #edfaff;
  border-left: 4px solid #00a9d4;
  border-radius: 6px 16px 16px 6px;
}

.policy-summary p:last-child {
  margin-bottom: 0;
}

.policy-section {
  padding-top: 34px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.policy-section:first-of-type {
  margin-top: 28px;
}

.policy-table-wrap {
  margin-top: 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.policy-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.policy-table th,
.policy-table td {
  padding: 15px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.policy-table th {
  color: var(--ink);
  background: #edf6f8;
}

.policy-table td {
  color: #405968;
}

.policy-table tr:last-child td {
  border-bottom: 0;
}

.plain-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .hero {
    min-height: 820px;
    height: auto;
  }

  .hero-layout,
  .section-grid,
  .game-layout {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    padding: 116px 0 74px;
    gap: 20px;
  }

  .hero-content {
    order: 2;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 13vw, 6.4rem);
  }

  .hero h1 span:nth-child(2),
  .hero h1 strong {
    margin-left: 0;
  }

  .hero-kicker,
  .hero-copy {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-logo {
    order: 1;
  }

  .hero-logo img {
    width: min(360px, 62vw);
  }

  .studio-card {
    width: min(560px, 100%);
    margin: auto;
  }

  .game-layout {
    gap: 54px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery figure {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    align-items: center;
  }
}

@media (max-width: 620px) {
  .nav-wrap {
    width: min(calc(100% - 28px), var(--max));
    height: 68px;
  }

  .subpage-header .nav-wrap {
    height: auto;
    min-height: 68px;
    padding-block: 10px;
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .subpage-header nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px 14px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand strong {
    font-size: 1.05rem;
  }

  nav {
    gap: 14px;
  }

  nav a {
    font-size: 0.66rem;
    letter-spacing: 0.07em;
  }

  .hero {
    min-height: 790px;
  }

  .hero-layout {
    width: calc(100% - 32px);
    padding: 96px 0 56px;
  }

  .hero-logo img {
    width: min(330px, 72vw);
  }

  .hero h1 {
    font-size: clamp(3.25rem, 16vw, 5.25rem);
  }

  .hero-kicker {
    margin-top: 26px;
    font-size: 1rem;
  }

  .hero-copy {
    font-size: 0.9rem;
  }

  .hero-actions .button {
    flex: 1 1 150px;
  }

  .desktop-only {
    display: none;
  }

  .section {
    padding: 82px 18px;
  }

  .section h2 {
    font-size: clamp(2.2rem, 12vw, 3.7rem);
  }

  .game-copy h2 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .feature-list {
    gap: 12px;
  }

  .feature-list strong {
    font-size: 1.55rem;
  }

  .feature-list span {
    font-size: 0.68rem;
    line-height: 1.45;
  }

  .gallery figure {
    display: block;
  }

  .footer-inner {
    display: block;
  }

  .footer-inner > p {
    margin-top: 24px;
  }

  .subpage-header nav {
    gap: 11px;
  }

  .subpage-header nav a {
    font-size: 0.62rem;
  }

  .page-hero {
    padding: 64px 18px 54px;
  }

  .page-hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.25rem);
    overflow-wrap: anywhere;
  }

  .page-hero-tools {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .content-shell {
    padding: 42px 16px 64px;
  }

  .content-card {
    padding: 26px 22px;
    border-radius: 22px;
  }

  .contact-card,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .contact-card .button {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
