@font-face {
  font-family: 'NEXON Lv1 Gothic OTF';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2107@1.1/NEXONLv1GothicOTF.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NEXON Lv1 Gothic OTF';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2107@1.1/NEXONLv1GothicOTFBold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Meta-inspired light palette */
  --bg: #ffffff;
  --bg-2: #f5f6f7;
  --bg-3: #f0f2f5;
  --surface: #ffffff;
  --border: #e4e6eb;
  --border-strong: #dadde1;
  --text: #1c1e21;
  --text-dim: #65676b;
  --text-mute: #8a8d91;
  --accent: #0064e0;
  --accent-hover: #0556c9;
  --accent-soft: #e7f0fe;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.08);
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'NEXON Lv1 Gothic OTF', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 88px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}
.nav-links a { transition: color 0.15s ease; }
.nav-links a:not(.lang):hover { color: var(--accent); }
.nav-links .lang {
  padding: 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  transition: all 0.15s ease;
}
.nav-links .lang:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 28px;
  cursor: pointer;
  padding: 6px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 140px 0 120px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 100, 224, 0.08), transparent 70%),
    var(--bg);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--text);
  margin: 0 0 24px;
}
.hero .hero-sub {
  font-size: clamp(22px, 3vw, 32px);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 36px;
}
.hero .lead {
  font-size: 19px;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.65;
  font-weight: 400;
}
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- buttons ---------- */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 16px;
  transition: all 0.15s ease;
  cursor: pointer;
  border: 1px solid transparent;
  letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 100, 224, 0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  background: var(--bg-3);
  border-color: var(--text);
}

/* ---------- section ---------- */
.section {
  padding: 120px 0;
}
.section-alt {
  background: var(--bg-2);
}
.section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-align: center;
  margin: 0 0 16px;
  color: var(--text);
}
.section-lead {
  text-align: center;
  color: var(--text-dim);
  font-size: 18px;
  max-width: 620px;
  margin: 0 auto 72px;
  line-height: 1.6;
  font-weight: 400;
}

/* ---------- about / values ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.value {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.2s ease;
}
.value:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 30px;
}
.value h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.value p {
  margin: 0;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ---------- games ---------- */
.games {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.game-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  transition: all 0.25s ease;
}
.game-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.game-icon {
  width: 180px;
  height: 180px;
  border-radius: 36px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}
.game-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.game-info { min-width: 0; }
.game-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.game-info h3 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}
.game-info p {
  margin: 0 0 28px;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.6;
}
.store-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.store-buttons a {
  display: inline-block;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.store-buttons a:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}
.store-buttons img {
  height: 48px;
  width: auto;
}

/* ---------- contact ---------- */
.contact-card {
  background: var(--accent);
  color: #ffffff;
  border-radius: 24px;
  padding: 72px 48px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 100, 224, 0.2);
}
.contact-card h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 16px;
  color: #ffffff;
}
.contact-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  margin: 0 0 36px;
}
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: #ffffff;
  color: var(--accent);
  font-weight: 700;
  font-size: 17px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.15s ease;
  letter-spacing: -0.01em;
}
.contact-email:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}
.contact-email i { font-size: 22px; }

/* ---------- footer ---------- */
.footer {
  padding: 48px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-dim);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.footer-brand img { height: 28px; width: auto; }
.footer-copy { color: var(--text-mute); font-size: 13px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a {
  color: var(--text-dim);
  font-weight: 500;
  transition: color 0.15s ease;
}
.footer-links a:hover { color: var(--accent); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .values { grid-template-columns: repeat(3, 1fr); }
  .game-card { grid-template-columns: 1fr; text-align: center; gap: 28px; padding: 36px 28px; }
  .game-icon { margin: 0 auto; width: 150px; height: 150px; }
  .store-buttons { justify-content: center; }
  .hero { padding: 90px 0 80px; }
  .section { padding: 80px 0; }
  .contact-card { padding: 56px 32px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 24px 28px;
    gap: 20px;
    align-items: flex-start;
    display: none;
  }
  .nav-links.open { display: flex; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
  .values { grid-template-columns: 1fr; }
  .store-buttons img { height: 40px; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .hero-cta { flex-direction: column; }
  .hero h1 { font-size: 44px; }
}
