/* hatdedraw.lufutu.com: cùng bộ màu "Sân chơi tươi" và kiểu chữ Baloo 2 với app */
:root {
  --ink: #1c264a;
  --ink-soft: #4e5c80;
  --paper: #f6faff;
  --card: #ffffff;
  --primary: #2e9bff;
  --primary-deep: #1677e0;
  --sun: #ffc52e;
  --leaf: #3dcb78;
  --coral: #ff5a5f;
  --pink: #ff7eb3;
  --grape: #8b6cf6;
  --sea: #2e9bff;
  --line: rgba(28, 38, 74, 0.08);
  --shadow: 0 18px 40px -18px rgba(28, 38, 74, 0.35);
  --radius: 28px;
  --display: "Baloo 2", "Be Vietnam Pro", system-ui, sans-serif;
  --body: "Be Vietnam Pro", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--body);
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

/* giấy chấm bi và mấy vệt màu loang như nền trong app */
.paper {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 1px 1px, rgba(28, 38, 74, 0.07) 1px, transparent 1.4px) 0 0 / 22px 22px,
    radial-gradient(40vw 40vw at 92% 4%, rgba(255, 197, 46, 0.30), transparent 70%),
    radial-gradient(38vw 38vw at 2% 38%, rgba(139, 108, 246, 0.16), transparent 70%),
    radial-gradient(44vw 44vw at 100% 78%, rgba(255, 126, 179, 0.16), transparent 70%),
    radial-gradient(40vw 40vw at 10% 100%, rgba(46, 155, 255, 0.16), transparent 70%),
    var(--paper);
}

a { color: var(--primary-deep); }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* kính mờ cho thanh điều hướng và các thẻ */
.glass {
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
}
@media (prefers-reduced-transparency: reduce) { .glass { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }

.nav {
  position: sticky; top: 12px; z-index: 10;
  display: flex; align-items: center; gap: 18px;
  width: min(1120px, 100% - 24px); margin: 12px auto 0;
  padding: 8px 10px 8px 12px; border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 21px/1 var(--display); }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand b { color: var(--primary); font-weight: 800; }
.nav .links { display: flex; gap: 20px; margin-left: auto; }
.nav .links a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav .links a:hover { color: var(--ink); }
.lang { font: 700 14px/1 var(--body); color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: 999px; background: rgba(28, 38, 74, 0.06); }
@media (max-width: 760px) { .nav .links { display: none; } .lang { margin-left: auto; } }

/* nút kiểu đồ chơi: bóng, có gờ dưới như nút trong app */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 800 19px/1 var(--display); text-decoration: none;
  color: #fff; background: linear-gradient(180deg, #5cb3ff, var(--primary));
  padding: 16px 24px 14px; border-radius: 20px;
  box-shadow: 0 6px 0 var(--primary-deep), 0 14px 28px -10px rgba(46, 155, 255, 0.8), inset 0 2px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--primary-deep), inset 0 2px 0 rgba(255, 255, 255, 0.5); }
.btn svg { width: 22px; height: 22px; }
.btn.small { font-size: 15px; padding: 10px 14px 9px; border-radius: 999px; box-shadow: 0 4px 0 var(--primary-deep), inset 0 2px 0 rgba(255, 255, 255, 0.5); }
.btn.pending { background: linear-gradient(180deg, #fff, #f1f4fb); color: var(--ink); box-shadow: 0 6px 0 #d9dfeb, var(--shadow); cursor: default; }
.btn.pending.small { box-shadow: 0 4px 0 #d9dfeb; }

/* phần đầu */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; padding: 72px 0 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 197, 46, 0.25); font-weight: 700; font-size: 14px; color: #8a5a00; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(42px, 6vw, 72px); }
h1 em { font-style: normal; color: var(--primary); }
.lede { font-size: 19px; color: var(--ink-soft); margin: 22px 0 30px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.cta .note { font-size: 14px; color: var(--ink-soft); }
.hero-art { position: relative; justify-self: center; width: min(440px, 100%); }
.phone { border-radius: 38px; overflow: hidden; border: 10px solid #fff; box-shadow: 0 30px 60px -20px rgba(28, 38, 74, 0.45); transform: rotate(2deg); background: #fff; }
.hero-art .buddy { position: absolute; width: 34%; filter: drop-shadow(0 14px 18px rgba(28, 38, 74, 0.25)); animation: bob 4.5s ease-in-out infinite; }
.hero-art .b1 { left: -18%; bottom: 10%; }
.hero-art .b2 { right: -14%; top: 8%; width: 28%; animation-delay: -1.5s; }
.hero-art .b3 { right: -10%; bottom: -4%; width: 26%; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(3deg); } }
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-top: 44px; }
  .hero-art { width: min(340px, 78%); margin-top: 10px; }
}

/* các phần */
section { padding: 70px 0; }
.kicker { font: 800 14px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral); margin: 0 0 12px; }
h2 { font-size: clamp(32px, 4.4vw, 50px); }
.sub { color: var(--ink-soft); font-size: 18px; max-width: 40em; margin: 16px 0 0; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.card { border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 28px; margin: 18px 0 8px; }
.card p { margin: 0; color: var(--ink-soft); }
.card .shot { border-radius: 20px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 14px 30px -16px rgba(28, 38, 74, 0.4); }
.tag { display: inline-block; font: 700 13px/1 var(--body); padding: 6px 10px; border-radius: 999px; color: #fff; }
.tag.blue { background: var(--primary); }
.tag.green { background: var(--leaf); }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }

.worlds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.world { border-radius: 24px; padding: 22px 20px; color: var(--ink); position: relative; overflow: hidden; }
.world h3 { font-size: 26px; margin-bottom: 10px; }
.world ul { margin: 0; padding: 0; list-style: none; }
.world li { padding: 4px 0; font-weight: 600; }
.world li small { font-weight: 500; color: var(--ink-soft); }
.world.sea { background: linear-gradient(180deg, #e3f3ff, #b9e0ff); }
.world.pets { background: linear-gradient(180deg, #eaf9d9, #c6efa6); }
.world.garden { background: linear-gradient(180deg, #ffeef0, #ffd0d6); }
.world.fest { background: linear-gradient(180deg, #ece6ff, #cdbfff); }
.world img { position: absolute; right: -10px; bottom: -10px; width: 88px; opacity: 0.95; }
@media (max-width: 900px) { .worlds { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .worlds { grid-template-columns: 1fr; } }

.alive { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; margin-top: 40px; }
.alive .shot { border-radius: 30px; overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow); }
.alive .shot:nth-child(2) { transform: translateY(40px) rotate(1.5deg); }
@media (max-width: 760px) { .alive { grid-template-columns: 1fr; } .alive .shot:nth-child(2) { transform: none; } }

.buddies { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; margin-top: 36px; }
.buddies figure { margin: 0; text-align: center; width: 140px; }
.buddies img { width: 140px; height: 140px; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(28, 38, 74, 0.2)); transition: transform 0.25s cubic-bezier(.3, 1.6, .5, 1); }
.buddies figure:hover img { transform: translateY(-8px) rotate(-4deg); }
.buddies figcaption { font: 700 17px/1.2 var(--display); }

.parents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.parents .card h3 { font-size: 22px; margin: 0 0 8px; }
@media (max-width: 860px) { .parents { grid-template-columns: 1fr; } }

.faq { margin-top: 30px; display: grid; gap: 12px; max-width: 820px; }
.faq details { border-radius: 20px; padding: 18px 22px; }
.faq summary { cursor: pointer; font: 700 19px/1.3 var(--display); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--primary); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--ink-soft); }

footer { padding: 50px 0 60px; color: var(--ink-soft); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; border-top: 1px solid var(--line); padding-top: 26px; }
footer a { color: var(--ink-soft); }
footer .sp { margin-left: auto; }

/* trang quyền riêng tư */
.doc { max-width: 760px; padding: 60px 0 20px; }
.doc h1 { font-size: clamp(36px, 5vw, 54px); margin-bottom: 8px; }
.doc h2 { font-size: 28px; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc .updated { font-size: 14px; }
.doc .card { margin-top: 26px; }
