:root {
  --ink: #2a2148;
  --muted: #6b6290;
  --cream: #fffaf1;
  --sky-1: #cfeaff;
  --sky-2: #f3faff;
  --card: #ffffff;
  --line: rgba(42, 33, 72, 0.12);
  --primary: #6c5bd8;
  --primary-2: #8c7bf0;
  --gold: #f2c744;
  --live: #1f9d5a;
  --grass: #8fd16f;
  --grass-2: #6fbb55;
  --radius: 22px;
  --shadow: 0 14px 40px rgba(42, 33, 72, 0.14);
  --display: "Jua", "Noto Sans", "Malgun Gothic", "Apple SD Gothic Neo", "Hiragino Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans Thai", "Noto Sans Devanagari", system-ui, sans-serif;
  --font: "Noto Sans", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", "Hiragino Sans", "Microsoft YaHei", "PingFang SC", "Noto Sans Thai", "Noto Sans Devanagari", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
/* Korean / Japanese / Chinese: wrap between words, not in the middle of one */
:lang(ko) body, :lang(ko) h1, :lang(ko) h2, :lang(ko) h3, :lang(ko) p { word-break: keep-all; overflow-wrap: anywhere; }
section[id] { scroll-margin-top: 70px; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.2; margin: 0; letter-spacing: -0.01em; }

/* ---------- header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(243, 250, 255, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--display); font-size: 22px; }
.brand b { font-weight: 400; color: var(--primary); }
.brand.small { font-size: 17px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 700; font-size: 14.5px; color: var(--muted); }
.nav a:hover { background: rgba(108, 91, 216, 0.1); color: var(--ink); }
.lang { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 6px 4px 12px; }
.lang select { border: 0; background: transparent; font: inherit; font-size: 14px; color: var(--ink); padding: 4px 2px; cursor: pointer; max-width: 150px; }
.lang select:focus-visible { outline: 2px solid var(--primary); border-radius: 6px; }

/* ---------- hero */
.hero { position: relative; background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 72%, var(--cream) 100%); padding: 56px 0 0; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 999px; background: #fff; opacity: 0.85; filter: blur(1px); }
.hero::before { width: 180px; height: 46px; top: 38px; left: 6%; box-shadow: 60px -18px 0 -4px #fff, 120px 4px 0 -10px #fff; }
.hero::after { width: 140px; height: 36px; top: 90px; right: 8%; box-shadow: -50px -14px 0 -2px #fff; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; padding-bottom: 36px; }
.kicker { display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.8); border: 1px solid var(--line); font-weight: 700; font-size: 13.5px; color: var(--primary); }
.hero h1 { font-size: clamp(40px, 6vw, 68px); }
.lead { font-size: clamp(16.5px, 1.6vw, 19px); color: var(--muted); margin: 16px 0 20px; max-width: 34em; }
.live { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 14.5px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(31, 157, 90, 0.5); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(31, 157, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 157, 90, 0); } }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 12px 22px; border-radius: 16px; font-weight: 800; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s, background 0.15s; }
.btn.primary { background: var(--primary); color: #fff; box-shadow: 0 8px 0 #4f40b0, 0 14px 30px rgba(108, 91, 216, 0.35); }
.btn.primary:hover { transform: translateY(-2px); background: var(--primary-2); }
.btn.primary:active { transform: translateY(4px); box-shadow: 0 3px 0 #4f40b0; }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { background: #f4f1ff; }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn[aria-disabled="true"] { background: #eeeaf6; color: #8d86a8; box-shadow: none; cursor: default; pointer-events: none; }

.hero-map { position: relative; display: block; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow), 0 0 0 6px #fff; transform: rotate(1.2deg); transition: transform 0.3s; }
.hero-map:hover { transform: rotate(0deg) scale(1.01); }
.hero-map img { width: 100%; height: auto; aspect-ratio: 1671 / 941; object-fit: cover; }
.map-chip { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); font-weight: 800; font-size: 14px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12); }

.ground { position: relative; height: 92px; background: linear-gradient(180deg, #9ad97a, var(--grass) 60%, var(--grass-2)); border-top: 4px solid #b6e79b; }
.ground::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22px; background: var(--cream); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
#parade { position: absolute; left: 0; right: 0; bottom: 16px; width: 100%; image-rendering: pixelated; z-index: 1; }

/* ---------- sections */
.sec { padding: 72px 0; }
.sec.alt { background: #f4f1ff; }
.sec h2 { font-size: clamp(30px, 4vw, 42px); text-align: center; }
.sub { text-align: center; color: var(--muted); margin: 10px auto 34px; max-width: 36em; font-size: 16.5px; }

.worlds { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; }
.world { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 20px rgba(42, 33, 72, 0.06); transition: transform 0.2s, box-shadow 0.2s; }
.world.is-live:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.world .cover { position: relative; aspect-ratio: 16 / 9; background: var(--acc); display: grid; place-items: center; overflow: hidden; }
.world .cover img { width: 100%; height: 100%; object-fit: cover; }
.world .cover .emo { font-size: 64px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.18)); }
.world.is-soon .cover { background: linear-gradient(135deg, color-mix(in srgb, var(--acc) 30%, #fff), color-mix(in srgb, var(--acc) 60%, #fff)); }
.world.is-soon .cover::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.18) 0 12px, transparent 12px 24px); }
.chip { position: absolute; top: 12px; left: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: #fff; font-size: 13px; font-weight: 800; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12); }
.chip.soon { color: var(--muted); }
.world .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.world h3 { font-size: 24px; display: flex; align-items: center; gap: 8px; }
.world p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.world .count { font-size: 14px; font-weight: 700; color: var(--live); display: flex; align-items: center; gap: 7px; }
.world .btn { margin-top: 8px; align-self: flex-start; min-height: 44px; padding: 10px 18px; font-size: 15px; }

.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 22px; }
.steps .n { position: absolute; top: -14px; left: 22px; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-family: var(--display); font-size: 18px; box-shadow: 0 3px 0 #c9a12d; }
.steps .ico { font-size: 34px; display: block; margin: 6px 0 10px; }
.steps h3 { font-size: 21px; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }



.foot { border-top: 1px solid var(--line); padding: 26px 0 calc(26px + env(safe-area-inset-bottom)); background: #e7f4ff; }
.foot-in { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: space-between; font-size: 14px; }


.cta-note { margin: 16px 0 0; font-size: 14px; color: var(--muted); font-weight: 700; }

/* ---------- the three values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { position: relative; display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 22px; overflow: hidden; }
.value::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--vc); }
.value.v1 { --vc: #5fc28a; --vbg: #e9f8ef; }
.value.v2 { --vc: #6c5bd8; --vbg: #efedff; }
.value.v3 { --vc: #f2b33d; --vbg: #fff4dc; }
.v-ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 32px; background: var(--vbg); }
.value h3 { font-size: 25px; }
.value p { margin: 0; color: var(--muted); font-size: 15.5px; flex: 1; }
.proof { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; padding: 6px 12px; border-radius: 999px; background: var(--vbg); font-size: 13.5px; font-weight: 800; color: var(--ink); }

/* ---------- pets: a small moving strip, a side note rather than a headline */
.pets-band { padding: 34px 0 40px; background: linear-gradient(180deg, var(--cream), #e7f4ff); overflow: hidden; }
.pets-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.pets-head h3 { font-size: 21px; }
.pets-head p { margin: 0; color: var(--muted); font-size: 14.5px; }
.pets-track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.pets-row { display: flex; gap: 10px; width: max-content; animation: drift 70s linear infinite; }
.pets-track:hover .pets-row { animation-play-state: paused; }
.pets-row .pet { flex: none; width: 64px; height: 64px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.pets-row img { width: 40px; height: 50px; image-rendering: pixelated; object-fit: contain; }
@keyframes drift { to { transform: translateX(-50%); } }
.legal a { color: var(--muted); font-weight: 700; }
.slogan { font-family: var(--display); font-size: 17px; color: var(--primary); }

/* ---------- phones / small tablets */
@media (max-width: 860px) {
  .hero { padding-top: 32px; }
  .hero-in { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .lead { margin-inline: auto; }
  .ctas { justify-content: center; }
  .hero-map { transform: none; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .cta-note { text-align: center; }
  .values { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}
@media (max-width: 600px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .lang select { max-width: 112px; }
  .top-in { height: 56px; gap: 10px; }
  .brand { font-size: 19px; }
  .btn { width: 100%; }
  .ctas { flex-direction: column; }
  .sec { padding: 54px 0; }
  .pets-head { flex-direction: column; align-items: flex-start; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot { animation: none; }
  .hero-map, .world, .btn { transition: none; }
  .pets-row { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}
