:root {
  --ink: #172335;
  --ink-soft: #566173;
  --cream: #fff9ee;
  --paper: #fffdf8;
  --blue: #1cc8e8;
  --blue-deep: #087fba;
  --coral: #ff6477;
  --coral-deep: #eb3657;
  --lime: #9bea26;
  --sun: #ffc821;
  --purple: #725ee8;
  --line: rgba(23, 35, 53, 0.12);
  --shadow: 0 24px 70px rgba(39, 48, 73, 0.14);
  --radius-lg: 36px;
  --radius-md: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; padding: 12px 18px; z-index: 100; background: var(--ink); color: #fff; border-radius: 12px; }
.skip-link:focus { top: 16px; }

.ambient { position: absolute; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.ambient-one { width: 420px; height: 420px; right: -200px; top: 130px; background: rgba(28, 200, 232, .12); }
.ambient-two { width: 300px; height: 300px; left: -180px; top: 660px; background: rgba(255, 100, 119, .11); }

.site-header {
  width: min(calc(100% - 40px), var(--max));
  height: 84px;
  margin: 12px auto 0;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 12px;
  z-index: 30;
  transition: background .25s, box-shadow .25s, backdrop-filter .25s;
  border-radius: 24px;
}
.site-header.scrolled { background: rgba(255, 253, 248, .86); box-shadow: 0 10px 30px rgba(38, 49, 67, .08); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; text-decoration: none; letter-spacing: -.03em; }
.brand img { width: 50px; height: 50px; object-fit: contain; }
.brand strong { color: var(--coral-deep); }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; }
.site-nav a { text-decoration: none; transition: color .2s; }
.site-nav a:hover { color: var(--coral-deep); }
.site-nav .nav-pill { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.6); }
.menu-button { display: none; border: 0; background: transparent; width: 46px; height: 46px; }
.menu-button span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 6px auto; background: var(--ink); transition: transform .2s; }

.hero { width: min(calc(100% - 48px), var(--max)); min-height: 720px; margin: 0 auto; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 60px; padding: 60px 0 90px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--ink-soft); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
.eyebrow span { width: 26px; height: 3px; border-radius: 10px; background: var(--coral); }
.hero h1, .section h2 { margin: 0; font-size: clamp(58px, 7.2vw, 102px); line-height: .94; letter-spacing: -.07em; font-weight: 850; }
.hero h1 em, .section h2 em { color: var(--coral-deep); font-style: normal; position: relative; }
.hero h1 em::after { content: ""; position: absolute; height: 9px; left: 4%; right: -2%; bottom: -8px; background: var(--sun); border-radius: 50%; transform: rotate(-1deg); opacity: .72; }
.hero-lede { max-width: 560px; margin: 32px 0 30px; color: var(--ink-soft); font-size: 20px; line-height: 1.65; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 20px; padding: 0 24px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: 14px; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--ink); color: #fff; box-shadow: 0 12px 24px rgba(23,35,53,.2); }
.button-primary:hover { box-shadow: 0 18px 30px rgba(23,35,53,.26); }
.button-quiet { border: 1px solid var(--line); background: rgba(255,255,255,.55); }
.tiny-proof { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 34px; color: #667083; font-size: 12px; font-weight: 700; }

.hero-art { min-height: 610px; position: relative; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; width: 510px; height: 510px; border-radius: 46% 54% 56% 44% / 55% 45% 55% 45%; background: linear-gradient(145deg, #fff1b0 0%, #fedbe1 48%, #cdf6ff 100%); animation: blob 9s ease-in-out infinite alternate; }
.phone-shell { width: 300px; height: 574px; padding: 13px; border: 5px solid var(--ink); border-radius: 48px; background: var(--ink); box-shadow: 0 30px 60px rgba(34,48,70,.27); transform: rotate(5deg); position: relative; z-index: 2; }
.phone-speaker { width: 92px; height: 24px; border-radius: 0 0 16px 16px; background: var(--ink); position: absolute; z-index: 5; top: 10px; left: 50%; transform: translateX(-50%); }
.phone-screen { height: 100%; border-radius: 32px; overflow: hidden; background: linear-gradient(160deg, #78e6fa, #1ca7e2 56%, #1889c6); position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.phone-screen::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 15%, rgba(255,255,255,.75) 0 2px, transparent 3px), radial-gradient(circle at 80% 30%, rgba(255,255,255,.55) 0 3px, transparent 4px); background-size: 52px 52px, 70px 70px; opacity: .42; }
.level-chip { position: absolute; top: 49px; padding: 8px 14px; background: rgba(255,255,255,.85); border-radius: 99px; font-size: 10px; font-weight: 900; letter-spacing: .12em; color: var(--blue-deep); }
.mini-board { position: relative; z-index: 1; width: 218px; padding: 14px; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; border: 3px solid rgba(255,255,255,.85); border-radius: 26px; background: rgba(0,74,130,.16); box-shadow: inset 0 0 24px rgba(0,50,110,.1); transform: rotate(-3deg); }
.tile { aspect-ratio: 1; display: grid; place-items: center; border-radius: 17px; border: 3px solid rgba(255,255,255,.4); box-shadow: inset 0 -8px 10px rgba(38,48,64,.12), inset 0 5px 7px rgba(255,255,255,.45), 0 6px 0 rgba(22,78,120,.18); }
.tile-coral { background: var(--coral); }.tile-sun { background: var(--sun); }.tile-blue { background: #3f7bec; }.tile-lime { background: var(--lime); }.tile-star { background: #fff; color: var(--sun); font-size: 34px; }
.phone-screen p { position: relative; z-index: 2; margin: 27px 0 13px; color: #fff; font-size: 26px; font-weight: 900; letter-spacing: -.03em; }
.play-dot { position: relative; z-index: 2; width: 70px; height: 70px; border: 5px solid rgba(255,255,255,.35); border-radius: 50%; background: var(--coral); color: #fff; font-size: 22px; box-shadow: 0 8px 0 #cf3b56; pointer-events: none; }
.float-card { position: absolute; z-index: 5; padding: 12px 17px; background: rgba(255,255,255,.94); border: 1px solid rgba(255,255,255,.8); border-radius: 18px; box-shadow: 0 12px 32px rgba(37,47,73,.15); font-size: 13px; font-weight: 800; animation: float 4s ease-in-out infinite; }
.float-card span { display: inline-grid; place-items: center; width: 27px; height: 27px; margin-right: 7px; border-radius: 9px; background: var(--lime); }
.float-card-top { right: -12px; top: 128px; }.float-card-bottom { left: -12px; bottom: 110px; animation-delay: -2s; }.float-card-bottom span { background: var(--sun); }
.spark { position: absolute; z-index: 4; color: var(--coral); font-size: 35px; animation: twinkle 2.5s ease-in-out infinite; }.spark-a { top: 42px; right: 85px; }.spark-b { bottom: 65px; right: 62px; color: var(--purple); animation-delay: -.7s; }.spark-c { top: 110px; left: 20px; color: var(--blue); font-size: 48px; }

.ticker { overflow: hidden; padding: 18px 0; color: #fff; background: var(--ink); transform: rotate(-1deg) scale(1.02); }
.ticker-track { width: max-content; display: flex; gap: 30px; align-items: center; animation: ticker 26s linear infinite; font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.ticker-track b { color: var(--sun); }

.section { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 140px 0; }
.section-heading { max-width: 650px; margin-bottom: 56px; }
.section-heading h2, .studio-copy h2, .cta h2 { font-size: clamp(44px, 6vw, 76px); }
.section-heading > p:last-child { max-width: 610px; color: var(--ink-soft); font-size: 18px; }
.section-heading-centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading-centered .eyebrow { justify-content: center; }

.game-card { overflow: hidden; min-height: 620px; display: grid; grid-template-columns: 1.1fr .9fr; border: 1px solid rgba(23,35,53,.08); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.game-visual { position: relative; min-height: 580px; display: flex; align-items: flex-end; justify-content: center; background: linear-gradient(145deg,#dffbff 0%,#c8efff 35%,#bfaff8 100%); overflow: hidden; }
.game-visual::before { content: ""; position: absolute; inset: 0; opacity: .42; background-image: linear-gradient(rgba(255,255,255,.45) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.45) 1px,transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, transparent, #000 30%); }
.game-visual img { position: relative; z-index: 3; width: 94%; filter: drop-shadow(0 20px 25px rgba(28,48,88,.18)); transition: transform .45s ease; }
.game-card:hover .game-visual img { transform: scale(1.025) translateY(-4px); }
.orbit { position: absolute; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); }.orbit-one { width: 460px; height: 460px; top: 40px; left: 20px; }.orbit-two { width: 320px; height: 320px; top: 110px; left: 92px; }
.game-info { padding: 70px 64px; display: flex; flex-direction: column; justify-content: center; }
.status { display: inline-flex; align-items: center; align-self: flex-start; gap: 8px; padding: 7px 11px; border-radius: 999px; color: #317005; background: #eafbd5; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #63c41e; box-shadow: 0 0 0 4px rgba(99,196,30,.14); }
.game-info h3 { margin: 22px 0 12px; font-size: clamp(40px,4.8vw,68px); line-height: 1; letter-spacing: -.055em; }
.game-info > p { margin: 0; color: var(--ink-soft); font-size: 17px; }
.feature-list { list-style: none; padding: 0; margin: 30px 0; border-top: 1px solid var(--line); }
.feature-list li { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 750; }
.feature-list span { margin-right: 15px; color: var(--coral-deep); font-size: 11px; }
.coming-soon { display: flex; flex-direction: column; align-self: flex-start; padding: 11px 18px; border-radius: 13px; color: #fff; background: var(--ink); line-height: 1.1; }
.coming-soon span { font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }.coming-soon strong { font-size: 16px; }

.values { padding-top: 80px; }
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.value-card { min-height: 390px; padding: 32px; display: flex; flex-direction: column; border-radius: var(--radius-md); position: relative; transition: transform .3s, box-shadow .3s; }
.value-card:hover { transform: translateY(-8px) rotate(-.5deg); box-shadow: var(--shadow); }
.value-coral { background: #ffe5e8; }.value-blue { background: #dff8fd; }.value-lime { background: #effbdc; }
.value-icon { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 22px; background: #fff; font-size: 27px; box-shadow: 0 8px 22px rgba(35,50,65,.08); }
.card-number { margin: auto 0 6px; color: var(--ink-soft); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.value-card h3 { margin: 0 0 12px; font-size: 26px; letter-spacing: -.04em; }
.value-card > p:last-child { margin: 0; color: var(--ink-soft); font-size: 15px; }

.studio { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: center; }
.studio-mark { min-height: 460px; display: grid; place-items: center; position: relative; }
.studio-mark img { width: 330px; position: relative; z-index: 2; filter: drop-shadow(0 25px 30px rgba(25,47,65,.17)); }
.logo-halo { position: absolute; width: 430px; height: 430px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff 0%, #fff4c6 42%, #ffdfe5 100%); box-shadow: inset 0 0 0 2px rgba(255,255,255,.8); }
.studio-copy p:not(.eyebrow) { max-width: 620px; color: var(--ink-soft); font-size: 18px; }
.text-link { display: inline-flex; gap: 10px; margin-top: 12px; padding-bottom: 4px; border-bottom: 2px solid var(--coral); font-weight: 800; text-decoration: none; }

.cta { min-height: 310px; padding: 58px 70px; margin-bottom: 70px; display: flex; align-items: center; justify-content: space-between; color: #fff; background: var(--ink); border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.cta::before { content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%; right: -120px; background: var(--coral); opacity: .9; }
.cta > div { position: relative; z-index: 2; }.cta h2 { margin: 0; }.eyebrow.light { color: #d5dce7; }.cta-logo img { width: 220px; filter: drop-shadow(0 15px 24px rgba(0,0,0,.18)); transform: rotate(8deg); }

.site-footer { width: min(calc(100% - 48px), var(--max)); min-height: 140px; margin: 0 auto; padding: 30px 0; display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; }
.footer-brand { color: var(--ink); }.site-footer p { text-align: center; }.site-footer nav { justify-self: end; display: flex; gap: 20px; }.site-footer nav a { text-decoration: none; font-weight: 800; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes blob { to { transform: rotate(8deg) scale(1.04); border-radius: 56% 44% 45% 55% / 43% 58% 42% 57%; } }
@keyframes float { 50% { transform: translateY(-10px) rotate(1deg); } }
@keyframes twinkle { 50% { transform: scale(.7) rotate(20deg); opacity: .45; } }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Privacy */
.privacy-page { background: #fffaf1; }
.privacy-page .site-header { position: relative; }
.privacy-wrap { width: min(calc(100% - 48px), 980px); margin: 0 auto; padding: 80px 0 130px; }
.privacy-hero { max-width: 800px; margin-bottom: 56px; }
.privacy-hero h1 { margin: 0 0 24px; font-size: clamp(50px,8vw,88px); line-height: .95; letter-spacing: -.065em; }
.privacy-hero h1 em { color: var(--coral-deep); font-style: normal; }
.privacy-hero > p { max-width: 700px; color: var(--ink-soft); font-size: 18px; }
.policy-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.policy-meta span { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 12px; font-weight: 750; }
.language-switch { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.language-switch button { min-width: 82px; padding: 8px 13px; border: 0; border-radius: 999px; color: var(--ink-soft); background: transparent; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.language-switch button.active { color: #fff; background: var(--ink); }
.privacy-layout { display: grid; grid-template-columns: 230px 1fr; gap: 60px; align-items: start; }
.policy-toc { position: sticky; top: 34px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.72); }
.policy-toc strong { display: block; margin-bottom: 12px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.policy-toc a { display: block; padding: 7px 0; color: var(--ink-soft); font-size: 13px; text-decoration: none; }.policy-toc a:hover { color: var(--coral-deep); }
.policy-content { min-width: 0; }
.policy-summary { margin-bottom: 42px; padding: 28px; border-radius: 22px; background: #e7f9fd; border: 1px solid rgba(28,200,232,.22); }
.policy-summary h2 { margin-top: 0; font-size: 22px; }.policy-summary p:last-child { margin-bottom: 0; }
.policy-section { padding: 36px 0; border-top: 1px solid var(--line); scroll-margin-top: 30px; }
.policy-section h2 { margin: 0 0 15px; font-size: 28px; line-height: 1.2; letter-spacing: -.035em; }
.policy-section h3 { margin: 24px 0 8px; font-size: 17px; }
.policy-section p, .policy-section li { color: var(--ink-soft); font-size: 15px; }
.policy-section ul { padding-left: 21px; }.policy-section li { margin: 8px 0; padding-left: 4px; }
.data-table { width: 100%; margin: 22px 0; border-collapse: collapse; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.data-table th, .data-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 13px; }
.data-table th { color: var(--ink); background: #f7f3ea; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }.data-table td { color: var(--ink-soft); }.data-table tr:last-child td { border-bottom: 0; }
.contact-box { padding: 24px; border-radius: 20px; background: #ffe6ea; }
.contact-box a { font-weight: 850; color: var(--coral-deep); }
[data-policy-lang="vi"] { display: none; }
body.lang-vi [data-policy-lang="en"] { display: none; }
body.lang-vi [data-policy-lang="vi"] { display: block; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 60px; }
  .hero-copy .eyebrow, .hero-actions, .tiny-proof { justify-content: center; }.hero-lede { margin-left: auto; margin-right: auto; }
  .hero-art { margin-top: -10px; }.game-card { grid-template-columns: 1fr; }.game-info { padding: 52px 44px; }
  .value-grid { grid-template-columns: 1fr; }.value-card { min-height: 290px; }
  .studio { grid-template-columns: 1fr; gap: 30px; text-align: center; }.studio-copy .eyebrow { justify-content: center; }
  .studio-copy p { margin-left: auto; margin-right: auto; }
  .privacy-layout { grid-template-columns: 1fr; gap: 28px; }.policy-toc { position: relative; top: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }.policy-toc strong { width: 100%; }.policy-toc a { display: inline-block; }
}

@media (max-width: 700px) {
  .site-header { width: calc(100% - 24px); height: 70px; padding: 0 14px; top: 8px; }
  .brand img { width: 42px; height: 42px; }.menu-button { display: block; z-index: 2; }
  .site-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; padding: 22px; flex-direction: column; align-items: stretch; gap: 0; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }.site-nav a { padding: 12px; }.site-nav .nav-pill { text-align: center; margin-top: 8px; }
  .hero { width: calc(100% - 32px); min-height: auto; padding: 80px 0 75px; gap: 40px; }.hero h1 { font-size: clamp(52px,16vw,72px); }.hero-lede { font-size: 17px; }
  .hero-art { min-height: 510px; transform: scale(.88); margin: -30px -40px; }.hero-art::before { width: 430px; height: 430px; }.phone-shell { width: 265px; height: 510px; }.float-card-top { right: 3px; }.float-card-bottom { left: 2px; }
  .section { width: calc(100% - 32px); padding: 90px 0; }.section-heading { margin-bottom: 34px; }.section-heading h2, .studio-copy h2, .cta h2 { font-size: 45px; }
  .game-visual { min-height: 390px; }.game-info { padding: 40px 28px; }.game-info h3 { font-size: 44px; }
  .studio-mark { min-height: 360px; }.studio-mark img { width: 260px; }.logo-halo { width: 330px; height: 330px; }
  .cta { padding: 44px 30px; margin-bottom: 42px; }.cta-logo img { width: 130px; }.cta::before { right: -230px; }
  .site-footer { width: calc(100% - 32px); grid-template-columns: 1fr; text-align: center; padding: 34px 0; }.footer-brand, .site-footer nav { justify-self: center; }.site-footer p { margin: 0; }
  .privacy-wrap { width: calc(100% - 32px); padding-top: 55px; }.privacy-hero h1 { font-size: 54px; }.data-table, .data-table thead, .data-table tbody, .data-table tr, .data-table th, .data-table td { display: block; }.data-table thead { display: none; }.data-table tr { padding: 10px 0; border-bottom: 1px solid var(--line); }.data-table td { border: 0; padding: 7px 14px; }.data-table td::before { content: attr(data-label); display: block; color: var(--ink); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
  .privacy-page .site-header .brand span { display: none; }
  .privacy-page .site-header .brand img { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }.reveal { opacity: 1; transform: none; }
}
