/* Tông theo game: nền kem hồng có hoa văn tim và sao, khung bo tròn viền nâu, thanh tiêu đề nâu đậm, nút bo dày có bóng đặc. */
:root {
  --bg: #fbe9e1; --paper: #fff8f3; --ink: #4a2c22; --brown: #6b3f33; --muted: #8a6a5c;
  --green: #5cb85c; --green-d: #3f8f3f; --red: #e8505b; --gold: #f2b441; --line: #e9cfc2;
  --r: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font: 17px/1.6 'Nunito', system-ui, sans-serif;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='none' stroke='%23f2cfc3' stroke-width='2.5' stroke-linejoin='round'%3E%3Cpath d='M30 38c-6-9-20-4-14 7l14 12 14-12c6-11-8-16-14-7z'/%3E%3Cpath d='M118 108l4 9 10 1-8 6 3 10-9-6-9 6 3-10-8-6 10-1z'/%3E%3C/g%3E%3C/svg%3E");
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, .brand, .btn, .pill, .lv { font-family: 'Baloo 2', system-ui, sans-serif; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
html:not([data-platform="web"]) .web-only { display: none; } /* đủ mạnh để .btn không làm hiện lại nút web trên Android */
html[data-platform="web"] .android-only { display: none; }
html[data-platform="web"] .web-only { display: inline-block; }

.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px max(16px, calc((100% - 1120px) / 2)); background: #fbe9e1ee; backdrop-filter: blur(6px); border-bottom: 3px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 22px; }
.brand img { border-radius: 14px; border: 3px solid var(--brown); }
.nav nav { display: flex; gap: 18px; font-weight: 800; }
.nav nav a { text-decoration: none; white-space: nowrap; }
.nav nav a:hover { color: var(--red); }

main { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
section { margin: 56px 0; scroll-margin-top: 80px; }

.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; margin-top: 36px; }
.hud { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: 3px solid var(--brown); border-radius: 999px;
  padding: 2px 4px 2px 12px; font-weight: 800; font-size: 17px; box-shadow: 0 4px 0 var(--brown); }
.pill i { font-style: normal; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green);
  color: #fff; border: 2.5px solid var(--green-d); font-size: 20px; line-height: 1; }
h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.08; margin: 0 0 16px; font-weight: 800; }
h1 em { font-style: normal; color: var(--red); }
.lead { font-size: 19px; margin: 0 0 24px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.btn { display: inline-block; text-decoration: none; font-weight: 800; font-size: 19px; padding: 11px 22px; border-radius: 18px;
  background: var(--paper); border: 3px solid var(--brown); box-shadow: 0 5px 0 var(--brown); transition: transform .08s, box-shadow .08s; }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--brown); }
.btn.green { background: var(--green); color: #fff; border-color: var(--green-d); box-shadow: 0 5px 0 var(--green-d); }

.phone { justify-self: center; width: min(320px, 80vw); aspect-ratio: 9 / 19.5; padding: 12px; border-radius: 42px; background: var(--brown);
  box-shadow: 0 10px 0 #3b2219, 0 30px 60px #6b3f3340; }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 32px; background: #fff; }

.bar { display: flex; align-items: center; justify-content: center; gap: 10px; width: fit-content; margin: 0 auto 26px; padding: 6px 28px;
  background: var(--brown); color: #fff; border-radius: 18px 18px 18px 18px; font-size: clamp(24px, 3.4vw, 32px); font-weight: 800;
  box-shadow: 0 5px 0 #3b2219; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--paper); border: 3px solid var(--line); border-radius: var(--r); padding: 18px 20px; box-shadow: 0 5px 0 var(--line); }
.card .ic { width: 56px; height: 56px; display: grid; place-items: center; font-size: 30px; border-radius: 16px; background: #fde3d8;
  border: 3px solid var(--brown); margin-bottom: 8px; }
.card h3 { margin: 0 0 4px; font-size: 22px; line-height: 1.2; }
.card p { margin: 0; color: #6b4c40; font-size: 16px; }

.tiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tiers figure { margin: 0; background: var(--paper); border: 3px solid var(--brown); border-radius: var(--r); overflow: hidden; box-shadow: 0 5px 0 var(--brown); }
.tiers img { aspect-ratio: 8 / 5; object-fit: cover; width: 100%; border-bottom: 3px solid var(--brown); }
.tiers figcaption { padding: 8px 12px 12px; font-weight: 800; line-height: 1.3; }
.tiers small { display: block; font-weight: 600; color: var(--muted); font-size: 14px; margin-top: 2px; }
.lv { display: inline-block; background: var(--red); color: #fff; border-radius: 10px; padding: 0 8px; margin-right: 4px; font-size: 15px; }

.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shots img { border-radius: 24px; border: 4px solid var(--brown); box-shadow: 0 6px 0 var(--brown); background: #fff; }

.faq { max-width: 760px; margin: 0 auto; background: var(--paper); border: 3px solid var(--line); border-radius: var(--r); padding: 6px 22px; }
.faq details { border-bottom: 2px dashed var(--line); padding: 12px 0; }
.faq details:last-child { border: 0; }
.faq summary { font-weight: 800; cursor: pointer; font-size: 18px; }
.faq p { margin: 6px 0 0; }

footer { text-align: center; padding: 36px 16px 48px; border-top: 3px solid var(--line); display: grid; justify-items: center; gap: 8px; background: #f8ddd2; }
footer img { border-radius: 16px; border: 3px solid var(--brown); }
footer .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-weight: 800; }

/* trang chính sách */
.doc { max-width: 760px; margin: 36px auto; background: var(--paper); border: 3px solid var(--line); border-radius: var(--r); padding: 8px 28px 24px; }
.doc h1 { font-size: 34px; margin-top: 18px; }
.doc h2 { font-size: 22px; margin: 22px 0 4px; font-family: 'Baloo 2', sans-serif; }
.doc hr { border: 0; border-top: 2px dashed var(--line); margin: 32px 0; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hud, .cta { justify-content: center; }
  .lead { margin-inline: auto; }
  .cards { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: repeat(3, 1fr); }
  .shots { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav nav { display: none; }
  .cards, .tiers { grid-template-columns: 1fr; }
  .doc { padding: 4px 18px 18px; }
}

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.about > p { max-width: 760px; margin: 18px auto; text-align: center; }
.facts { width: 100%; max-width: 760px; margin: 0 auto; border-collapse: collapse; background: var(--paper); border: 3px solid var(--line); border-radius: var(--r); overflow: hidden; }
.facts th, .facts td { padding: 10px 16px; text-align: left; border-bottom: 2px solid var(--line); vertical-align: top; }
.facts th { width: 34%; color: var(--brown); font-weight: 800; }
.facts tr:last-child > * { border-bottom: 0; }

.tiers-intro { max-width: 720px; margin: 0 auto 20px; text-align: center; font-weight: 700; line-height: 1.6; }

figure.locked img { filter: blur(14px) grayscale(.6) brightness(.9); transform: scale(1.1); }
figure.locked { position: relative; overflow: hidden; }
figure.locked::after { content: '🔒'; position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%); font-size: 40px; }

.disclaimer { max-width: 720px; margin: 8px auto; line-height: 1.5; }

/* 6 ngã rẽ: ảnh che mờ nhưng hé tên đường, đường thứ sáu chỉ có dấu hỏi */
.paths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.paths figure { margin: 0; background: var(--paper); border: 3px solid var(--brown); border-radius: var(--r); overflow: hidden; box-shadow: 0 5px 0 var(--brown); }
.paths img, .paths .q { aspect-ratio: 8 / 5; object-fit: cover; width: 100%; border-bottom: 3px solid var(--brown); }
.paths figcaption { padding: 8px 14px 12px; font-family: 'Baloo 2', system-ui, sans-serif; font-weight: 800; font-size: 20px; line-height: 1.25; }
.paths small { display: block; font-family: 'Nunito', system-ui, sans-serif; font-weight: 700; color: var(--muted); font-size: 14px; }
figure.peek img { filter: blur(6px) saturate(.8) brightness(.95); transition: filter .4s; }
figure.peek:hover img { filter: blur(3px) saturate(.9); }
.mystery .q { display: grid; place-items: center; font: 800 88px/1 'Baloo 2', system-ui, sans-serif; color: #fff;
  background: repeating-linear-gradient(45deg, #6b3f33 0 18px, #7a4a3d 18px 36px); text-shadow: 0 5px 0 #3b2219; animation: wobble 2.6s ease-in-out infinite; }
@keyframes wobble { 50% { transform: rotate(-4deg) scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .mystery .q { animation: none; } }
.cta.center { justify-content: center; margin-top: 22px; }
@media (max-width: 900px) { .paths { grid-template-columns: 1fr 1fr; } .nav nav { gap: 12px; font-size: 15px; } .brand { font-size: 18px; } }
@media (max-width: 600px) { .paths { gap: 10px; } .paths figcaption { font-size: 17px; padding: 6px 10px 10px; } .paths small { font-size: 12.5px; } .mystery .q { font-size: 60px; } }

/* Gặp Cu Tí: ảnh đại diện nhân vật và mấy câu thoại như tin nhắn */
.meet { display: flex; align-items: center; justify-content: center; gap: 28px; max-width: 860px; margin-inline: auto; }
.meet-av { width: 200px; height: 200px; flex: none; border-radius: 50%; border: 5px solid var(--brown); box-shadow: 0 7px 0 var(--brown); animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) { .meet-av { animation: none; } }
.meet-chat { display: grid; gap: 10px; justify-items: start; }
.meet .bub { margin: 0; background: var(--paper); border: 3px solid var(--brown); border-radius: 22px 22px 22px 6px; padding: 10px 18px; font-weight: 700; box-shadow: 0 4px 0 var(--brown); max-width: 34em; }
.meet .cta { margin: 6px 0 0; }
@media (max-width: 600px) {
  .meet { flex-direction: column; text-align: left; gap: 18px; }
  .meet-av { width: 150px; height: 150px; }
  .meet .cta { justify-content: flex-start; }
}
