/* Liên hoan Tài năng Nghệ thuật Thanh thiếu nhi phường Gia Viên 2026 — Modern Event Landing Page */
:root {
  --blue: #0754b8;
  --sky: #1689ee;
  --cyan: #54ddf5;
  --yellow: #ffd43b;
  --white: #fff;
  --navy: #092e68;
  --navy-2: #061f49;
  --ink: #17305c;
  --muted: #5a6c8f;
  --soft: #f2f8ff;
  --line: #dbe7f8;
  --red: #d6303a;
  --green: #12804a;
  --radius: 26px;
  --shadow: 0 18px 44px rgba(9, 46, 104, 0.13);
  --wrap: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; overflow-x: clip; background: #fff; color: var(--ink); font: 400 16px/1.65 "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 66px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.ic { width: 22px; height: 22px; flex: none; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--yellow); color: var(--navy); font-weight: 700; }
.skip:focus { left: 8px; }

/* ------------------------------------------------------------ nút */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border: 2px solid transparent; border-radius: 999px; font-weight: 800; font-size: 15px; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.02em; text-decoration: none; text-align: center; cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, background-color 0.18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn .ic { width: 19px; height: 19px; transition: transform 0.18s ease; }
.btn:hover .ic { transform: translateX(4px); }
.btn-yellow { background: linear-gradient(180deg, #ffe87d, #ffd43b 55%, #ffc012); color: var(--navy); box-shadow: 0 10px 26px rgba(255, 190, 20, 0.42), inset 0 -3px 0 rgba(176, 112, 0, 0.28); }
.btn-yellow:hover { box-shadow: 0 16px 34px rgba(255, 190, 20, 0.55), inset 0 -3px 0 rgba(176, 112, 0, 0.28); }
.btn-blue { background: linear-gradient(180deg, #1689ee, #0754b8); color: #fff; box-shadow: 0 10px 24px rgba(7, 84, 184, 0.3); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.75); background: rgba(255, 255, 255, 0.08); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); }
.btn-outline { border-color: var(--blue); background: #fff; color: var(--blue); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 13.5px; }
.btn-lg { min-height: 56px; padding: 15px 30px; font-size: 16px; }
.btn-xl { width: 100%; min-height: 62px; font-size: 18px; }
.btn[disabled] { opacity: 0.65; cursor: not-allowed; transform: none; }

/* ------------------------------------------------------------ đầu trang */
.top { position: fixed; inset: 0 0 auto; z-index: 60; padding: 10px 0; transition: background-color 0.25s, box-shadow 0.25s, padding 0.25s; }
.top.is-solid, .top.menu-open { padding: 7px 0; background: rgba(7, 38, 90, 0.94); box-shadow: 0 10px 30px rgba(3, 18, 45, 0.3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.top-in { display: flex; align-items: center; gap: 16px; max-width: 1360px; }
.brand { display: inline-flex; flex: none; text-decoration: none; }
.logos { display: inline-flex; align-items: center; gap: 12px; padding: 6px 14px; border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgba(3, 24, 62, 0.18); }
.logos picture { display: block; }
.lg-ff { height: 30px; width: auto; }
.lg-doan { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 0 12px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.lg-doan img { height: 33px; width: auto; }
.lg-doan small { color: var(--navy); font-size: 7.5px; font-weight: 800; line-height: 1.2; text-transform: uppercase; white-space: nowrap; }
.lg-dme { height: 32px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { position: relative; padding: 10px 11px; color: #fff; font-size: 14.5px; font-weight: 600; text-decoration: none; text-shadow: 0 1px 8px rgba(3, 24, 62, 0.35); white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--yellow); transform: scaleX(0); transition: transform 0.22s; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--yellow); }
.top-cta { flex: none; margin-left: 8px; }
.burger { display: none; flex: none; width: 46px; height: 46px; padding: 0 11px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, 0.18); cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 2.5px; border-radius: 2px; background: #fff; transition: transform 0.22s, opacity 0.22s; }
.top.menu-open .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.top.menu-open .burger span:nth-child(2) { opacity: 0; }
.top.menu-open .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ------------------------------------------------------------ hero */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 26px; min-height: 94vh; min-height: 94svh; padding: 100px 0 112px; overflow: hidden; color: #fff; background: radial-gradient(900px 620px at 76% 38%, rgba(84, 221, 245, 0.55), transparent 62%), radial-gradient(700px 520px at 6% 10%, rgba(22, 137, 238, 0.75), transparent 70%), linear-gradient(158deg, #061f49 0%, #092e68 22%, #0754b8 58%, #1689ee 86%, #3cc4f2 100%); }
.hero-bg, .floaters { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.rays { position: absolute; left: 74%; top: 44%; width: 1900px; height: 1900px; margin: -950px 0 0 -950px; background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.11) 0deg 5deg, transparent 5deg 15deg); -webkit-mask-image: radial-gradient(circle, #000 8%, rgba(0, 0, 0, 0.55) 26%, transparent 58%); mask-image: radial-gradient(circle, #000 8%, rgba(0, 0, 0, 0.55) 26%, transparent 58%); animation: spin 90s linear infinite; will-change: transform; }
.beam { position: absolute; top: -90px; width: 190px; height: 92%; background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0)); clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%); transform-origin: 50% 0; filter: blur(6px); mix-blend-mode: soft-light; animation: sway 9s ease-in-out infinite alternate; }
.b1 { left: 4%; --a: -24deg; --z: -8deg; }
.b2 { left: 34%; --a: 10deg; --z: -12deg; animation-delay: -3s; }
.b3 { right: 27%; --a: -8deg; --z: 16deg; animation-delay: -6s; }
.b4 { right: 2%; --a: 26deg; --z: 8deg; animation-delay: -1.5s; }
.bokeh { position: absolute; inset: 0; background-image: radial-gradient(circle 3px at 12% 28%, #fff 40%, transparent 100%), radial-gradient(circle 2px at 22% 68%, var(--cyan) 50%, transparent 100%), radial-gradient(circle 4px at 47% 17%, rgba(255, 255, 255, 0.75) 40%, transparent 100%), radial-gradient(circle 2px at 57% 74%, #fff 50%, transparent 100%), radial-gradient(circle 3px at 68% 12%, var(--yellow) 40%, transparent 100%), radial-gradient(circle 2px at 83% 63%, #fff 50%, transparent 100%), radial-gradient(circle 5px at 93% 22%, rgba(84, 221, 245, 0.9) 35%, transparent 100%), radial-gradient(circle 2px at 39% 47%, #fff 50%, transparent 100%), radial-gradient(circle 3px at 4% 84%, var(--yellow) 40%, transparent 100%); animation: twinkle 4s ease-in-out infinite alternate; }
.floaters .f { position: absolute; width: 30px; height: 30px; color: var(--yellow); opacity: 0.9; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 4px 10px rgba(3, 24, 62, 0.35)); }
.f1 { left: 3%; top: 22%; width: 24px !important; height: 24px !important; }
.f2 { left: 51%; top: 15%; width: 38px !important; height: 38px !important; color: var(--cyan) !important; animation-delay: -2s !important; }
.f3 { right: 4%; top: 17%; color: #fff !important; animation-delay: -4s !important; }
.f4 { right: 8%; top: 58%; width: 20px !important; height: 20px !important; animation-delay: -1s !important; }
.f5 { left: 2%; top: 62%; color: #fff !important; opacity: 0.55 !important; animation-delay: -5s !important; }
.f6 { left: 44%; top: 60%; width: 16px !important; height: 16px !important; color: var(--cyan) !important; animation-delay: -3s !important; }
.f7 { left: 54%; top: 46%; width: 26px !important; height: 26px !important; animation-delay: -6s !important; }
.f8 { right: 31%; top: 10%; width: 18px !important; height: 18px !important; color: #fff !important; animation-delay: -2.5s !important; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sway { from { transform: rotate(var(--a)); } to { transform: rotate(var(--z)); } }
@keyframes twinkle { from { opacity: 0.45; } to { opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-18px) rotate(10deg); } }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); align-items: center; gap: 18px; flex: 1; }
.title { display: flex; flex-direction: column; align-items: flex-start; font-weight: 900; text-transform: uppercase; }
.t-script { position: relative; font: 400 clamp(36px, 4.6vw, 62px)/1.35 "Pacifico", "Be Vietnam Pro", cursive; text-transform: none; text-shadow: 0 4px 0 rgba(6, 31, 73, 0.45), 0 10px 24px rgba(6, 31, 73, 0.4); transform: rotate(-3deg); transform-origin: left bottom; }
.t-star { position: absolute; right: -38px; top: 6px; width: 28px; height: 28px; color: var(--yellow); animation: float 5s ease-in-out infinite; }
.t-main { margin-top: 2px; font-size: clamp(38px, 5.9vw, 84px); line-height: 1.17; letter-spacing: -0.012em; filter: drop-shadow(0 4px 0 #0a3c86) drop-shadow(0 12px 22px rgba(3, 20, 52, 0.45)); }
.t-main span { display: block; white-space: nowrap; background: linear-gradient(180deg, #fff6bd 12%, #ffd43b 52%, #ffb300 92%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-sub { font-size: clamp(25px, 3.65vw, 51px); line-height: 1.3; white-space: nowrap; text-shadow: 0 3px 0 #0a3c86, 0 8px 18px rgba(3, 20, 52, 0.45); }
.t-ribbon { margin-top: 10px; filter: drop-shadow(0 10px 18px rgba(3, 20, 52, 0.35)); }
.t-ribbon span { display: block; padding: 9px 34px 9px 24px; background: linear-gradient(90deg, #fff, #dff8ff); clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 50%, 100% 100%, 0 100%); border-radius: 8px 0 0 8px; color: var(--navy); font-size: clamp(15px, 1.85vw, 25px); line-height: 1.4; }
.slogan { max-width: 620px; text-wrap: balance; margin-top: 20px; font-size: clamp(16px, 1.45vw, 19px); font-weight: 600; font-style: italic; line-height: 1.6; text-shadow: 0 2px 10px rgba(3, 20, 52, 0.45); }
.slogan span { display: inline-block; }
.nw { display: inline-block; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.countdown { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 24px; padding: 13px 18px; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 18px; background: rgba(5, 28, 70, 0.42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cd-label { max-width: 200px; font-size: 13px; line-height: 1.45; color: #d8ecff; }
.cd-label b { display: block; color: #fff; font-size: 13.5px; }
.cd-boxes { display: flex; gap: 8px; }
.cd-boxes span { display: grid; justify-items: center; min-width: 58px; padding: 6px 4px; border-radius: 12px; background: #fff; color: var(--navy); box-shadow: inset 0 -3px 0 rgba(7, 84, 184, 0.16); }
.cd-boxes b { font-size: 24px; font-weight: 900; line-height: 1.2; font-variant-numeric: tabular-nums; }
.cd-boxes small { font-size: 10.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; }

.hero-art { position: relative; justify-self: center; width: 100%; max-width: 600px; aspect-ratio: 11 / 10.4; }
.hero-art picture { position: absolute; inset: 0 0 4% 0; z-index: 2; }
.hero-kids { width: 100%; height: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 18px 22px rgba(3, 20, 52, 0.42)); animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.halo { position: absolute; inset: 4% 4% 12%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, 0.78) 0%, rgba(84, 221, 245, 0.55) 34%, rgba(22, 137, 238, 0) 70%); animation: pulse 5s ease-in-out infinite alternate; }
.ring { position: absolute; inset: 8% 7% 15%; border: 2px dashed rgba(255, 255, 255, 0.45); border-radius: 50%; animation: spin 60s linear infinite; }
.ring::before, .ring::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 18px var(--yellow); }
.ring::before { left: 12%; top: 13%; }
.ring::after { right: 4%; bottom: 28%; width: 11px; height: 11px; background: var(--cyan); box-shadow: 0 0 16px var(--cyan); }
.stage { position: absolute; left: 3%; right: 3%; bottom: -3%; z-index: 3; height: 13.5%; border-radius: 50%; background: radial-gradient(ellipse at 50% 38%, #fff 0, #a5efff 24%, #1689ee 56%, #073c8a 100%); box-shadow: 0 14px 0 -2px #0a3c86, 0 16px 0 0 var(--yellow), 0 28px 50px rgba(3, 20, 52, 0.55); }
.badge { position: absolute; z-index: 4; display: grid; justify-items: center; align-content: center; width: 92px; height: 92px; border-radius: 50%; border: 4px solid #fff; background: linear-gradient(160deg, #ffe87d, #ffc012); color: var(--navy); line-height: 1.15; box-shadow: 0 14px 28px rgba(3, 20, 52, 0.35); animation: bob 6s ease-in-out infinite; }
.badge b { font-size: 21px; font-weight: 900; }
.badge small { font-size: 11.5px; font-weight: 800; text-transform: uppercase; }
.bd1 { left: -1%; top: 16%; }
.bd2 { right: -1%; top: 8%; width: 80px; height: 80px; background: linear-gradient(160deg, #fff, #cdf4ff); animation-delay: -2s; }
.bd3 { right: 1%; bottom: 15%; width: 76px; height: 76px; background: linear-gradient(160deg, #8bf0ff, #54ddf5); animation-delay: -4s; }
@keyframes rise { from { opacity: 0; transform: translateY(34px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes pulse { from { transform: scale(0.95); opacity: 0.8; } to { transform: scale(1.05); opacity: 1; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.dates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dates li { --c: var(--sky); display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 18px; background: #fff; color: var(--navy); box-shadow: 0 14px 30px rgba(3, 20, 52, 0.26); border-bottom: 5px solid var(--c); transition: transform 0.2s; }
.dates li:hover { transform: translateY(-4px); }
.dates .ic { width: 44px; height: 44px; padding: 8px; border-radius: 14px; background: var(--c); color: #fff; }
.dates small { display: block; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; }
.dates b { display: block; font-size: 16px; font-weight: 900; line-height: 1.35; }
.dates .c1 { --c: #0ab4dc; }
.dates .c2 { --c: #6f5ce8; }
.dates .c3 { --c: #f0a500; }
.dates .c4 { --c: #ef5b78; }
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 78px; }

/* ------------------------------------------------------------ khối chung */
.sec { position: relative; padding: 92px 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--sky); font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.kicker::before { content: ""; width: 30px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--yellow), var(--cyan)); }
.kicker-light { color: var(--cyan); }
.kicker-gold { color: var(--yellow); }
.h2 { color: var(--navy); font-size: clamp(28px, 3.7vw, 45px); font-weight: 900; line-height: 1.24; text-transform: uppercase; text-wrap: balance; }
.h2 em { display: block; color: var(--sky); font-style: normal; }
.h2-light { color: #fff; }
.h2-light em { color: var(--cyan); }
.h2-light em.gold { color: var(--yellow); }
.h2-light em.yellow { color: var(--yellow); }
.h2-xl { font-size: clamp(32px, 5vw, 62px); }
.h2-sm { font-size: clamp(23px, 2.5vw, 30px); }
.lead { margin-top: 16px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.lead-light { color: #d5eaff; }
.sec-head { max-width: 820px; margin: 0 auto 48px; text-align: center; }
.sec-head .lead { margin-top: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 800; text-decoration: none; }
.link-arrow .ic { transition: transform 0.2s; }
.link-arrow:hover .ic { transform: translateX(5px); }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ giới thiệu */
.about { overflow: hidden; padding-top: 78px; background: radial-gradient(600px 400px at 100% 0, rgba(84, 221, 245, 0.16), transparent 70%), #fff; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); align-items: center; gap: 60px; }
.moments { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.moments img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform 0.35s ease; }
.moments img:hover { transform: translateY(-5px) rotate(0deg) scale(1.015); }
.moments .m1 { grid-column: 1 / -1; aspect-ratio: 16 / 9.4; }
.moments .m2 { aspect-ratio: 4 / 3.2; transform: rotate(-1.6deg); }
.moments .m3 { aspect-ratio: 4 / 3.2; transform: rotate(1.6deg); }
.moments::before { content: ""; position: absolute; z-index: -1; right: -22px; top: -22px; width: 150px; height: 150px; border-radius: 36px; background: linear-gradient(135deg, var(--yellow), #ffe98a); transform: rotate(12deg); }
.moments::after { content: ""; position: absolute; z-index: -1; left: -26px; bottom: 6px; width: 170px; height: 170px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--sky)); opacity: 0.5; }
.moments figcaption { grid-column: 1 / -1; color: var(--muted); font-size: 13px; text-align: center; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 64px; }
.value { padding: 30px 28px; border-radius: var(--radius); background: var(--soft); }
.js .value.reveal.is-in:hover { transform: translateY(-6px); }
.value:hover { box-shadow: var(--shadow); background: #fff; }
.vi { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 18px; border-radius: 22px; color: #fff; transform: rotate(-5deg); }
.vi .ic { width: 38px; height: 38px; }
.v1 { background: linear-gradient(145deg, #1689ee, #0754b8); }
.v2 { background: linear-gradient(145deg, #ffd43b, #f59b00); }
.v3 { background: linear-gradient(145deg, #54ddf5, #0d9fc4); }
.value h3 { color: var(--navy); font-size: 19px; font-weight: 900; text-transform: uppercase; }
.value p { margin-top: 8px; color: var(--muted); }

/* ------------------------------------------------------------ đối tượng */
.who { overflow: hidden; color: #fff; background: radial-gradient(700px 460px at 88% 6%, rgba(84, 221, 245, 0.5), transparent 68%), linear-gradient(150deg, #092e68, #0754b8 52%, #1689ee); }
.who::before { content: ""; position: absolute; left: -140px; bottom: -190px; width: 460px; height: 460px; border: 62px solid rgba(255, 255, 255, 0.07); border-radius: 50%; }
.who-head { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: 40px; }
.ticks { display: grid; gap: 12px; margin-top: 24px; }
.ticks li { display: flex; gap: 13px; align-items: flex-start; font-size: 16.5px; }
.ticks .ic { width: 27px; height: 27px; padding: 5px; border-radius: 50%; background: var(--yellow); color: var(--navy); }
.ticks-dark li { color: var(--ink); }
.ticks-dark .ic { background: var(--blue); color: #fff; }
.agebig { justify-self: center; display: grid; justify-items: center; }
.ab-num { font-size: clamp(84px, 11vw, 156px); font-weight: 900; line-height: 1.05; letter-spacing: -0.035em; background: linear-gradient(180deg, #fff8cc 8%, #ffd43b 55%, #ffab00); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 7px 0 #0a3c86) drop-shadow(0 18px 28px rgba(3, 20, 52, 0.42)); white-space: nowrap; padding: 0 4px; }
.ab-num i { font-style: normal; margin: 0 0.04em; }
.ab-unit { margin-top: 10px; padding: 5px 44px; border-radius: 999px; background: #fff; color: var(--navy); font-size: 26px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.28em; text-indent: 0.28em; box-shadow: 0 12px 26px rgba(3, 20, 52, 0.28); }
.boards { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 52px; }
.board { overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: 0 22px 46px rgba(3, 20, 52, 0.3); }
.board-img { position: relative; min-height: 240px; overflow: hidden; }
.board-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.board:hover .board-img img { transform: scale(1.06); }
.board-body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; padding: 24px 18px 24px 20px; }
.board-tag { padding: 4px 14px; border-radius: 999px; background: var(--yellow); color: var(--navy); font-size: 14px; font-weight: 900; }
.board-nien .board-tag { background: var(--cyan); }
.board h3 { color: var(--navy); font-size: clamp(19px, 1.62vw, 23px); white-space: nowrap; font-weight: 900; line-height: 1.25; text-transform: uppercase; }
.board-body p:not(.board-tag) { color: var(--muted); font-size: 15px; }
.board .btn { margin-top: 8px; font-size: 12.5px; }

/* ------------------------------------------------------------ 04 bộ môn */
.cats { background: radial-gradient(520px 380px at 0 12%, rgba(255, 212, 59, 0.2), transparent 70%), radial-gradient(560px 420px at 100% 88%, rgba(84, 221, 245, 0.24), transparent 70%), #f6faff; }
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cat { --c: #0754b8; --c2: rgba(7, 62, 140, 0.96); position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 468px; border-radius: 30px; background: var(--c); color: #fff; box-shadow: var(--shadow); }
.js .cat.reveal.is-in:hover { transform: translateY(-10px); }
.cat:hover { box-shadow: 0 30px 56px rgba(9, 46, 104, 0.28); }
.cat > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.cat:hover > img { transform: scale(1.09); }
.cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 28%, color-mix(in srgb, var(--c) 55%, transparent) 55%, var(--c2) 78%); }
.cat::after { content: ""; position: absolute; inset: 0; border: 3px solid transparent; border-radius: 30px; pointer-events: none; transition: border-color 0.25s; }
.cat:hover::after { border-color: var(--yellow); }
.cat-mc { --c: #0754b8; --c2: rgba(6, 46, 108, 0.97); }
.cat-model { --c: #7a3fd0; --c2: rgba(67, 26, 128, 0.97); }
.cat-dance { --c: #e35d0e; --c2: rgba(158, 55, 4, 0.97); }
.cat-vocal { --c: #0a86a8; --c2: rgba(4, 78, 104, 0.97); }
.cat-body { padding: 20px 20px 22px; }
.cat-ic { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 12px; border-radius: 20px; background: var(--yellow); color: var(--navy); box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28); transform: rotate(-6deg); transition: transform 0.3s; }
.cat-ic .ic { width: 36px; height: 36px; }
.cat:hover .cat-ic { transform: rotate(6deg) scale(1.08); }
.cat h3 { font-size: 21px; font-weight: 900; line-height: 1.3; text-transform: uppercase; }
.cat p { margin-top: 7px; min-height: 4.9em; font-size: 14.5px; line-height: 1.62; color: rgba(255, 255, 255, 0.94); }
.cat-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 9px 16px; border-radius: 999px; background: #fff; color: var(--navy); font-size: 13px; font-weight: 800; text-decoration: none; transition: background-color 0.2s; }
.cat-go::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.cat-go .ic { width: 17px; height: 17px; transition: transform 0.2s; }
.cat:hover .cat-go { background: var(--yellow); }
.cat:hover .cat-go .ic { transform: translateX(4px); }

/* ------------------------------------------------------------ lịch trình */
.road { overflow: hidden; color: #fff; background: radial-gradient(760px 480px at 50% 0, rgba(22, 137, 238, 0.6), transparent 70%), radial-gradient(520px 520px at 4% 74%, rgba(84, 221, 245, 0.18), transparent 70%), linear-gradient(180deg, #092e68, #061f49); }
.timeline { position: relative; display: grid; gap: 30px; max-width: 1120px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 10px; bottom: 10px; width: 5px; margin-left: -2.5px; border-radius: 5px; background: linear-gradient(180deg, #54ddf5, #9d8bff 36%, #ffd43b 68%, #ff7f98); transform: scaleY(0); transform-origin: top; transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1); }
.timeline.is-drawn::before, html:not(.js) .timeline::before { transform: scaleY(1); }
.tl { --c: #54ddf5; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 108px minmax(0, 1fr); align-items: start; }
.t2 { --c: #9d8bff; }
.t3 { --c: #ffd43b; }
.t4 { --c: #ff7f98; }
.tl-node { grid-column: 2; grid-row: 1; justify-self: center; display: grid; place-items: center; width: 72px; height: 72px; margin-top: 14px; border-radius: 50%; border: 5px solid #082a5f; background: var(--c); color: var(--navy); box-shadow: 0 0 0 4px var(--c), 0 0 30px var(--c); transition: transform 0.25s; }
.tl-node .ic { width: 36px; height: 36px; }
.tl:hover .tl-node { transform: scale(1.12) rotate(-7deg); }
.tl-card { position: relative; grid-column: 1; grid-row: 1; padding: 24px 26px; border: 1.5px solid rgba(255, 255, 255, 0.16); border-top: 6px solid var(--c); border-radius: 22px; background: rgba(255, 255, 255, 0.07); transition: transform 0.25s, background-color 0.25s, border-color 0.25s; }
.tl:nth-child(even) .tl-card { grid-column: 3; }
.tl-card::after { content: ""; position: absolute; top: 40px; right: -19px; width: 18px; height: 3px; background: var(--c); }
.tl:nth-child(even) .tl-card::after { right: auto; left: -19px; }
.tl:hover .tl-card { transform: translateY(-4px); background: rgba(255, 255, 255, 0.12); border-color: var(--c); }
.tl-step { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--c); font-size: 12.5px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.tl-badge { padding: 3px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 11px; letter-spacing: 0.04em; }
.tl h3 { margin-top: 6px; font-size: 21px; font-weight: 900; line-height: 1.35; text-transform: uppercase; }
.tl-time, .tl-place { display: flex; align-items: flex-start; gap: 9px; margin-top: 10px; font-weight: 700; line-height: 1.5; }
.tl-time { color: var(--yellow); font-size: 17px; font-weight: 800; }
.tl-place { color: #dff2ff; font-size: 14.5px; }
.tl-time .ic, .tl-place .ic { width: 21px; height: 21px; margin-top: 2px; }
.tl-card ul { margin-top: 12px; display: grid; gap: 6px; }
.tl-card ul li { position: relative; padding-left: 18px; color: #e3f0ff; font-size: 15px; }
.tl-card ul li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 7px; height: 7px; border-radius: 2px; background: var(--c); transform: rotate(45deg); }
.tl-card a { color: var(--cyan); font-weight: 700; overflow-wrap: anywhere; }
.tl-note { margin-top: 14px; padding: 11px 14px; border-radius: 14px; background: rgba(3, 18, 48, 0.55); color: #cfe5ff; font-size: 14px; line-height: 1.6; }
.tl-note b { color: #fff; }
.tl.is-now .tl-card { border-color: var(--c); background: rgba(255, 255, 255, 0.13); box-shadow: 0 0 0 1px var(--c), 0 18px 50px rgba(0, 0, 0, 0.35), 0 0 36px -8px var(--c); }
.tl.is-now .tl-badge { background: var(--yellow); color: var(--navy); }
.tl.is-now .tl-node { animation: nodepulse 2s ease-in-out infinite; }
.tl.is-past .tl-node { filter: saturate(0.45) brightness(0.85); }
@keyframes nodepulse { 0%, 100% { box-shadow: 0 0 0 4px var(--c), 0 0 20px var(--c); } 50% { box-shadow: 0 0 0 11px rgba(84, 221, 245, 0.22), 0 0 40px var(--c); } }

/* ------------------------------------------------------------ thể lệ */
.rules { background: #fff; }
.rules-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; }
.rules .btn { margin-top: 30px; }
.funnel { display: grid; gap: 10px; justify-items: center; }
.fn { display: flex; align-items: center; gap: 22px; width: 100%; padding: 22px 30px; border-radius: 30px; color: #fff; box-shadow: var(--shadow); }
.fn-a { background: linear-gradient(115deg, #0754b8, #1689ee 62%, #3fc9f2); }
.fn-b { width: 90%; background: linear-gradient(115deg, #061f49, #092e68 45%, #0754b8); }
.fn-num { flex: none; min-width: 1.55em; text-align: center; font-size: clamp(66px, 8vw, 108px); font-weight: 900; line-height: 1.1; color: var(--yellow); text-shadow: 0 5px 0 rgba(3, 20, 52, 0.35); font-variant-numeric: tabular-nums; }
.fn-text { font-size: 15px; line-height: 1.6; color: #e2f1ff; }
.fn-text b { display: block; color: #fff; font-size: 21px; font-weight: 900; text-transform: uppercase; line-height: 1.35; }
.fn-text strong { color: #fff; }
.fn-arrow { display: grid; place-items: center; width: 46px; height: 46px; margin: -16px 0; z-index: 1; border: 4px solid #fff; border-radius: 50%; background: var(--yellow); color: var(--navy); }
.fn-arrow .ic { transform: rotate(90deg); }

/* ------------------------------------------------------------ giải thưởng */
.awards { overflow: hidden; color: #fff; background: radial-gradient(620px 430px at 50% 34%, rgba(255, 196, 36, 0.3), transparent 70%), radial-gradient(900px 560px at 50% 100%, rgba(7, 84, 184, 0.75), transparent 70%), #061f49; }
.awards-light { position: absolute; left: 50%; top: 430px; width: 1500px; height: 1500px; margin: -750px 0 0 -750px; pointer-events: none; background: repeating-conic-gradient(from 0deg, rgba(255, 219, 110, 0.1) 0deg 4deg, transparent 4deg 14deg); -webkit-mask-image: radial-gradient(circle, #000 6%, transparent 48%); mask-image: radial-gradient(circle, #000 6%, transparent 48%); animation: spin 120s linear infinite; }
.awards .wrap { position: relative; }
.podium { display: grid; grid-template-columns: 1fr 1.18fr 1fr; align-items: end; gap: 20px; max-width: 920px; margin: 0 auto; }
.medal-card { display: grid; justify-items: center; padding: 24px 16px 22px; border: 1.5px solid rgba(255, 255, 255, 0.18); border-radius: 30px 30px 18px 18px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)); text-align: center; transition: transform 0.25s; }
.medal-card:hover { transform: translateY(-8px); }
.gold-card { padding-top: 28px; padding-bottom: 36px; border-color: var(--yellow); background: linear-gradient(180deg, rgba(255, 212, 59, 0.3), rgba(255, 212, 59, 0.05)); box-shadow: 0 0 60px -10px rgba(255, 200, 40, 0.65); }
.medal { width: 104px; height: auto; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.4)); }
.cup { width: 190px; max-width: 100%; height: auto; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.42)); }
.prize { margin-top: 12px; font-size: 21px; font-weight: 900; text-transform: uppercase; line-height: 1.3; }
.prize b { display: block; font-size: 52px; line-height: 1.12; }
.gold-card .prize { color: var(--yellow); }
.gold-card .prize b { font-size: 68px; }
.per { margin-top: 3px; color: #cfe4ff; font-size: 13.5px; }
.totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 920px; margin: 22px auto 0; padding: 18px; border-radius: 26px; background: #fff; color: var(--navy); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35); }
.totals-title { grid-column: 1 / -1; margin-bottom: 6px; color: var(--muted); font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-align: center; text-transform: uppercase; }
.total { display: grid; justify-items: center; }
.total + .total { border-left: 2px dashed var(--line); }
.total b { font-size: clamp(42px, 5.4vw, 64px); font-weight: 900; line-height: 1.15; color: var(--blue); font-variant-numeric: tabular-nums; }
.total span { font-size: 14px; font-weight: 800; text-transform: uppercase; }
.rewards { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 20px; max-width: 920px; margin: 22px auto 0; }
.reward { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border: 1.5px solid rgba(255, 212, 59, 0.45); border-radius: 22px; background: rgba(255, 255, 255, 0.07); }
.rw-ic { flex: none; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 20px; background: linear-gradient(145deg, #ffe87d, #ffb300); color: var(--navy); }
.rw-ic .ic { width: 38px; height: 38px; }
.reward h3 { color: var(--yellow); font-size: 17px; font-weight: 900; text-transform: uppercase; }
.reward p { margin-top: 6px; color: #e3f0ff; font-size: 15px; }

/* ------------------------------------------------------------ đăng ký */
.register { overflow: hidden; color: #fff; background: radial-gradient(680px 460px at 12% 0, rgba(84, 221, 245, 0.5), transparent 66%), radial-gradient(620px 620px at 100% 40%, rgba(22, 137, 238, 0.75), transparent 70%), linear-gradient(165deg, #1689ee, #0754b8 36%, #092e68); }
.register::before { content: ""; position: absolute; right: -150px; top: -150px; width: 460px; height: 460px; border: 60px solid rgba(255, 255, 255, 0.08); border-radius: 50%; }
.register .wrap { position: relative; }
.reg-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); align-items: start; gap: 32px; max-width: 1160px; margin: 0 auto; }
.reg-aside { position: sticky; top: 92px; display: grid; gap: 18px; }
.aside-card { padding: 22px; border-radius: 22px; background: linear-gradient(160deg, #ffe87d, #ffc719); color: var(--navy); box-shadow: 0 18px 40px rgba(3, 20, 52, 0.32); }
.aside-title { font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.aside-date { margin-top: 4px; font-size: 25px; font-weight: 900; line-height: 1.35; }
.aside-left { margin-top: 4px; font-size: 14px; font-weight: 700; }
.steps { display: grid; gap: 14px; padding: 22px; border: 1.5px solid rgba(255, 255, 255, 0.2); border-radius: 22px; background: rgba(5, 28, 70, 0.34); }
.steps li { display: flex; gap: 13px; }
.steps b { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--cyan); color: var(--navy); font-weight: 900; }
.steps span { font-size: 14px; line-height: 1.55; color: #d6eaff; }
.steps strong { display: block; color: #fff; font-size: 15px; }
.aside-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 14px; font-weight: 700; }

.form-card { min-width: 0; padding: 34px; border-radius: 32px; background: #fff; color: var(--ink); box-shadow: 0 36px 80px rgba(3, 20, 52, 0.42); }
fieldset { min-width: 0; margin: 0 0 28px; padding: 0; border: 0; }
legend { display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 18px; padding: 0 0 12px; border-bottom: 2px dashed var(--line); color: var(--navy); font-size: 18px; font-weight: 900; text-transform: uppercase; }
legend span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(145deg, #1689ee, #0754b8); color: #fff; font-size: 16px; transform: rotate(-5deg); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.full { grid-column: 1 / -1; }
.field { min-width: 0; margin-bottom: 17px; }
.field > label, .label { display: block; margin-bottom: 7px; color: var(--navy); font-size: 14.5px; font-weight: 700; }
.field i { color: var(--red); font-style: normal; }
.label em { color: var(--muted); font-style: normal; font-weight: 500; }
input[type="text"], input[type="tel"], input[type="url"], select, textarea { width: 100%; min-height: 50px; padding: 11px 15px; border: 2px solid var(--line); border-radius: 14px; background: #f8fbff; font-size: 16px; transition: border-color 0.18s, box-shadow 0.18s, background-color 0.18s; }
textarea { min-height: 112px; resize: vertical; line-height: 1.6; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(22, 137, 238, 0.16); }
input::placeholder, textarea::placeholder { color: #93a3c0; }
.dob { display: grid; grid-template-columns: 0.85fr 1.25fr 1fr; gap: 8px; }
.dob select { padding-left: 10px; padding-right: 4px; }
.hint { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.hint.is-ok { color: var(--green); font-weight: 700; }
.hint:empty { display: none; }
.err { margin-top: 6px; color: var(--red); font-size: 13.5px; font-weight: 600; line-height: 1.45; }
.err:empty { display: none; }
.has-error input[type="text"], .has-error input[type="tel"], .has-error input[type="url"], .has-error select, .has-error textarea { border-color: var(--red); background: #fff7f7; }
.has-error .seg span, .has-error .pick span, .has-error .drop { border-color: #f0a5a9; }

.seg, .pick { display: grid; gap: 9px; }
.seg { grid-auto-flow: column; grid-auto-columns: 1fr; }
.seg label, .pick label { position: relative; display: block; cursor: pointer; }
.seg input, .pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span, .pick span { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 50px; padding: 8px 10px; border: 2px solid var(--line); border-radius: 14px; background: #f8fbff; font-size: 14.5px; font-weight: 700; text-align: center; line-height: 1.35; transition: border-color 0.18s, background-color 0.18s, color 0.18s, transform 0.18s; }
.seg label:hover span, .pick label:hover span { border-color: var(--sky); }
.seg input:checked + span, .pick input:checked + span { border-color: var(--blue); background: linear-gradient(180deg, #1689ee, #0754b8); color: #fff; box-shadow: 0 8px 18px rgba(7, 84, 184, 0.28); }
.seg input:focus-visible + span, .pick input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.pick4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pick4 span { flex-direction: column; gap: 6px; padding: 14px 6px; font-size: 13.5px; }
.pick4 .ic { width: 38px; height: 38px; color: var(--blue); transition: color 0.18s, transform 0.25s; }
.pk-model .ic { color: #7a3fd0; }
.pk-dance .ic { color: #e35d0e; }
.pk-vocal .ic { color: #0a86a8; }
.pick4 input:checked + span .ic { color: var(--yellow); transform: scale(1.12) rotate(-6deg); }
.pick2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pick2 span { flex-direction: column; font-weight: 600; font-size: 13.5px; }
.pick2 b { font-size: 16px; font-weight: 900; text-transform: uppercase; }

.vtabs { display: inline-flex; gap: 4px; margin-bottom: 10px; padding: 4px; border-radius: 14px; background: #eaf2fd; }
.vtabs button { min-height: 40px; padding: 8px 16px; border: 0; border-radius: 11px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 700; cursor: pointer; }
.vtabs button[aria-selected="true"] { background: #fff; color: var(--blue); box-shadow: 0 4px 12px rgba(9, 46, 104, 0.12); }
.drop { display: grid; justify-items: center; gap: 4px; padding: 22px 16px; border: 2.5px dashed #a9c8f0; border-radius: 18px; background: #f5faff; text-align: center; cursor: pointer; transition: border-color 0.18s, background-color 0.18s; }
.drop:hover, .drop.is-over { border-color: var(--sky); background: #e9f5ff; }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.drop:focus-within { outline: 3px solid var(--yellow); outline-offset: 2px; }
.drop .ic { width: 44px; height: 44px; color: var(--sky); }
.drop b { color: var(--navy); font-size: 15px; }
.drop small { color: var(--muted); font-size: 13px; }
.vpanel[data-has-file="1"] .drop { display: none; }
.vstatus { padding: 16px; border: 2px solid var(--line); border-radius: 18px; background: #f8fbff; }
.vs-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.vs-row b { color: var(--navy); font-size: 14.5px; }
.vs-row span { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.vs-bar { height: 9px; margin-top: 10px; overflow: hidden; border-radius: 9px; background: #dde9f9; }
.vs-bar i { display: block; width: 0; height: 100%; border-radius: 9px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width 0.25s; }
.vstatus[data-state="done"] { border-color: #8fd4ae; background: #f0fbf5; }
.vstatus[data-state="done"] .vs-row b { color: var(--green); }
.vstatus[data-state="done"] .vs-bar i { background: #2bb673; }
.vstatus[data-state="error"] { border-color: #f0a5a9; background: #fff6f6; }
.vstatus[data-state="error"] .vs-row b, .vstatus[data-state="error"] .vs-row span { color: var(--red); }
.vs-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.vs-btns:not(:has(button:not([hidden]))) { display: none; }
.vs-btns button { min-height: 38px; padding: 7px 15px; border: 2px solid var(--blue); border-radius: 999px; background: #fff; color: var(--blue); font-size: 13.5px; font-weight: 700; cursor: pointer; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.consent { padding: 16px 18px; border-radius: 18px; background: #fff9e0; }
.field .check { display: flex; gap: 13px; align-items: flex-start; margin: 0; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.6; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.box { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border: 2.5px solid #c99a00; border-radius: 9px; background: #fff; color: transparent; }
.box .ic { width: 19px; height: 19px; }
.check input:checked + .box { border-color: var(--blue); background: var(--blue); color: #fff; }
.check input:focus-visible + .box { outline: 3px solid var(--sky); outline-offset: 2px; }
.has-error .box { border-color: var(--red); }
.inline-link { padding: 0; border: 0; background: none; color: var(--blue); font-weight: 800; text-decoration: underline; cursor: pointer; }
.privacy { margin: 6px 0 0 41px; color: var(--muted); font-size: 12.5px; }
.consent .err { margin-left: 41px; }
.form-alert { margin-bottom: 16px; padding: 14px 16px; border-radius: 14px; background: #fdecee; color: #a81d27; font-size: 14.5px; font-weight: 600; }
.form-alert.is-ok { background: #e7f8ef; color: #0d6a3c; }
.form-alert.is-info { background: #e8f3ff; color: var(--navy); }
.form-closed { margin-bottom: 22px; padding: 18px 20px; border-radius: 18px; background: #fff3cd; color: #6d4d00; font-weight: 700; }
.spin { display: none; width: 20px; height: 20px; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
.submit.is-loading .spin { display: inline-block; }
.submit.is-loading { opacity: 0.85; cursor: progress; }

/* ------------------------------------------------------------ QR */
.qr { background: radial-gradient(520px 380px at 100% 0, rgba(255, 212, 59, 0.24), transparent 70%), #fff; }
.qr-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 50px; max-width: 1080px; }
.qr-steps { display: grid; gap: 14px; margin-top: 26px; }
.qr-steps li { display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 600; }
.qr-steps b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; background: linear-gradient(145deg, #1689ee, #0754b8); color: #fff; font-weight: 900; }
.qr-url { margin-top: 24px; color: var(--muted); }
.qr-url a { font-weight: 800; overflow-wrap: anywhere; }
.qr-frame { justify-self: center; padding: 22px 22px 14px; border: 8px solid var(--yellow); border-radius: 36px; background: #fff; box-shadow: 0 28px 60px rgba(9, 46, 104, 0.2), 0 0 0 10px rgba(255, 212, 59, 0.22); }
.qr-slot { display: grid; place-content: center; justify-items: center; gap: 12px; width: min(310px, 62vw); aspect-ratio: 1; border-radius: 18px; background: linear-gradient(160deg, #f4f9ff, #e8f3ff); color: var(--navy); text-align: center; }
.qr-slot .ic { width: 96px; height: 96px; color: var(--sky); }
.qr-slot p { font-size: 14.5px; font-weight: 700; color: var(--muted); }
.qr-slot img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.qr-cap { margin-top: 12px; color: var(--navy); font-size: 15px; font-weight: 900; letter-spacing: 0.06em; text-align: center; text-transform: uppercase; }

/* ------------------------------------------------------------ bổ sung video */
.addv { padding: 0 0 88px; background: #fff; }
.addv-card { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 36px; max-width: 1080px; }
.addv-card.wrap { padding-left: 24px; padding-right: 24px; }
.addv-card .lead { font-size: 15.5px; }
.addv-form { min-width: 0; padding: 26px; border-radius: var(--radius); background: var(--soft); }
.addv-form input[type="text"], .addv-form input[type="tel"], .addv-form input[type="url"] { background: #fff; }
.addv-form .vtabs { background: #dfebfb; }
.addv-form .btn { width: 100%; }

/* ------------------------------------------------------------ FAQ */
.faq { background: radial-gradient(520px 400px at 0 100%, rgba(84, 221, 245, 0.22), transparent 70%), #f6faff; }
.faq-wrap { max-width: 900px; }
.faq-list { display: grid; gap: 12px; }
.faq details { overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 8px 22px rgba(9, 46, 104, 0.07); }
.faq summary { position: relative; display: block; padding: 19px 66px 19px 22px; color: var(--navy); font-size: 16.5px; font-weight: 800; line-height: 1.5; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; display: grid; place-items: center; width: 34px; height: 34px; margin-top: -17px; border-radius: 12px; background: #e8f3ff; color: var(--blue); font-size: 23px; font-weight: 700; line-height: 1; transition: transform 0.25s, background-color 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--yellow); color: var(--navy); }
.faq .a { display: grid; gap: 8px; padding: 0 22px 20px; color: var(--muted); line-height: 1.75; }
.faq details[open] .a { animation: drop-in 0.3s ease; }
.faq .a b { color: var(--navy); }
.faq .pending { font-style: italic; }
.faq [data-faq] { white-space: pre-line; }
@keyframes drop-in { from { opacity: 0; transform: translateY(-6px); } }

/* ------------------------------------------------------------ chân trang */
.footer { padding: 58px 0 30px; color: #cfe3ff; background: linear-gradient(180deg, #092e68, #061f49); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 44px; }
.logos-foot { flex-wrap: wrap; }
.logos-foot .lg-ff { height: 36px; }
.logos-foot .lg-doan img { height: 44px; }
.logos-foot .lg-dme { height: 40px; }
.logos-foot .lg-doan small { font-size: 8.5px; }
.foot-name { max-width: 520px; margin-top: 20px; color: #fff; font-size: 19px; font-weight: 900; line-height: 1.5; text-transform: uppercase; }
.foot-link { margin-top: 10px; }
.foot-link a { color: var(--yellow); font-weight: 700; overflow-wrap: anywhere; }
.footer h3 { color: #fff; font-size: 15px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.contacts { display: grid; gap: 14px; margin-top: 18px; }
.contacts li { display: flex; gap: 13px; align-items: flex-start; }
.contacts .ic { width: 40px; height: 40px; padding: 9px; border-radius: 13px; background: rgba(255, 255, 255, 0.1); color: var(--cyan); }
.contacts li > span { min-width: 0; }
.contacts small { display: block; color: #93b6e6; font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.contacts [data-c] { display: block; overflow-wrap: anywhere; color: #fff; }
.contacts [data-c] a { color: #fff; }
.contacts .pending { color: #a9c6ec; font-style: italic; }
.foot-bot { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 13px; text-align: center; }

/* ------------------------------------------------------------ nút dính đáy (điện thoại) */
.mcta { position: fixed; left: 14px; right: 14px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 55; display: none; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border-radius: 999px; background: linear-gradient(180deg, #ffe87d, #ffc012); color: var(--navy); font-size: 16px; font-weight: 900; text-decoration: none; text-transform: uppercase; box-shadow: 0 14px 34px rgba(3, 20, 52, 0.4); transform: translateY(140%); transition: transform 0.28s ease, visibility 0.28s; visibility: hidden; }
.mcta.is-on { transform: none; visibility: visible; }

/* ------------------------------------------------------------ hộp thoại */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; overflow-y: auto; background: rgba(4, 22, 54, 0.76); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal-box { position: relative; width: min(500px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 32px 28px 26px; border-radius: 28px; background: #fff; text-align: center; box-shadow: 0 36px 90px rgba(0, 0, 0, 0.45); animation: pop 0.34s cubic-bezier(0.2, 0.9, 0.3, 1.25); }
.modal-box h2 { color: var(--navy); font-size: 25px; font-weight: 900; line-height: 1.35; text-transform: uppercase; }
.modal-box > p { margin-top: 10px; color: var(--muted); }
.modal-x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #edf3fc; color: var(--muted); cursor: pointer; }
.modal-x ~ h2 { padding: 8px 36px 0; }
.done-ic { display: inline-grid; place-items: center; width: 82px; height: 82px; margin-bottom: 14px; border-radius: 50%; background: linear-gradient(150deg, #3fd28b, #12945a); color: #fff; box-shadow: 0 0 0 10px #e4f8ee; }
.done-ic .ic { width: 44px; height: 44px; }
.modal-box dl { margin-top: 18px; padding: 6px 16px; border-radius: 18px; background: var(--soft); text-align: left; }
.modal-box dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 9px 0; }
.modal-box dl div + div { border-top: 1px dashed var(--line); }
.modal-box dt { color: var(--muted); font-size: 13.5px; }
.modal-box dd { font-weight: 800; color: var(--navy); text-align: right; }
.modal-box dd.code { font-size: 24px; font-weight: 900; color: var(--blue); letter-spacing: 0.03em; user-select: text; -webkit-user-select: text; }
.modal-box .done-note { margin-top: 14px; font-size: 14px; }
.modal-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.rm-list { margin-top: 16px; padding: 14px 18px; border-radius: 18px; background: var(--soft); text-align: left; }
.rm-list li { position: relative; padding: 5px 0 5px 20px; font-size: 14.5px; }
.rm-list li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 8px; height: 8px; border-radius: 2px; background: var(--sky); transform: rotate(45deg); }
.confetti svg { position: absolute; width: 26px; height: 26px; color: var(--yellow); animation: float 4s ease-in-out infinite; }
.confetti svg:nth-child(1) { left: 14%; top: 28px; }
.confetti svg:nth-child(2) { right: 14%; top: 36px; color: var(--sky); animation-delay: -1s; }
.confetti svg:nth-child(3) { left: 24%; top: 100px; width: 15px; height: 15px; color: var(--cyan); animation-delay: -2s; }
.confetti svg:nth-child(4) { right: 25%; top: 108px; width: 20px; height: 20px; color: #ef5b78; animation-delay: -3s; }
.confetti svg:nth-child(5) { right: 8%; top: 92px; width: 13px; height: 13px; animation-delay: -1.5s; }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(0.94); } }

/* ------------------------------------------------------------ màn hình hẹp dần */
@media (max-width: 1160px) {
  .burger { display: flex; }
  .top-cta { margin-left: auto; }
  .nav { position: absolute; left: 12px; right: 12px; top: calc(100% + 6px); display: grid; gap: 2px; margin: 0; padding: 10px; border-radius: 20px; background: #fff; box-shadow: 0 26px 60px rgba(3, 20, 52, 0.38); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 13px 16px; border-radius: 12px; color: var(--navy); font-size: 16px; text-shadow: none; }
  .nav a::after { display: none; }
  .nav a:hover, .nav a.is-active { background: #eaf3ff; color: var(--blue); }
}
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat { min-height: 480px; }
  .cat p { min-height: 0; }
  .boards { grid-template-columns: minmax(0, 1fr); max-width: 680px; margin-left: auto; margin-right: auto; }
  .reg-grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
  .reg-aside { position: static; grid-template-columns: 1fr 1fr; }
  .aside-link { grid-column: 1 / -1; justify-self: center; }
}
@media (max-width: 940px) {
  .hero { min-height: 0; padding-top: 86px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); text-align: center; gap: 8px; }
  .title { align-items: center; }
  .t-script { transform-origin: center; }
  .t-main { font-size: clamp(34px, 11vw, 80px); }
  .t-sub { font-size: clamp(23px, 6.4vw, 50px); }
  .t-ribbon span { padding: 8px 30px; clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 50%, 100% 100%, 0 100%, 12px 50%); border-radius: 0; }
  .slogan { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .countdown { justify-content: center; }
  .cd-label { max-width: none; }
  .cd-label b { display: inline; }
  .hero-art { max-width: 520px; margin-top: 8px; }
  .dates { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; }
  .about-grid, .rules-grid, .who-head, .foot-grid, .addv-card { grid-template-columns: minmax(0, 1fr); }
  .about-grid { gap: 42px; }
  .values { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 46px auto 0; }
  .value { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 18px; padding: 22px; }
  .vi { grid-row: span 2; margin: 0; }
  .timeline { gap: 22px; max-width: 640px; }
  .timeline::before { left: 27px; }
  .tl { grid-template-columns: 56px minmax(0, 1fr); gap: 16px; }
  .tl-node { grid-column: 1; width: 52px; height: 52px; border-width: 4px; box-shadow: 0 0 0 3px var(--c), 0 0 20px var(--c); }
  .tl-node .ic { width: 25px; height: 25px; }
  .tl .tl-card, .tl:nth-child(even) .tl-card { grid-column: 2; padding: 20px 18px; }
  .tl-card::after, .tl:nth-child(even) .tl-card::after { right: auto; left: -18px; width: 17px; top: 36px; }
  .qr-card { grid-template-columns: minmax(0, 1fr); gap: 34px; text-align: center; }
  .qr-steps { justify-content: center; }
  .rewards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 18px; }
  .sec { padding: 66px 0; }
  .about { padding-top: 52px; }
  .top-cta { display: none; }
  .burger { margin-left: auto; }
  .logos { gap: 9px; padding: 5px 10px; border-radius: 13px; }
  .lg-ff { height: 25px; }
  .lg-doan { padding: 0 9px; }
  .lg-doan img { height: 31px; }
  .lg-doan small { display: none; }
  .lg-dme { height: 27px; }
  .logos-foot .lg-doan small { display: block; }
  .hero { padding-bottom: 84px; }
  .rays { left: 50%; top: 62%; }
  .beam { width: 120px; }
  .floaters .f { transform: scale(0.8); }
  .f2, .f7, .f6 { display: none; }
  .t-star { right: -28px; width: 21px; height: 21px; }
  .slogan { margin-top: 14px; font-size: 15.5px; }
  .cta-row { gap: 10px; margin-top: 18px; }
  .cta-row .btn { width: 100%; max-width: 380px; }
  .cta-row .btn-ghost { min-height: 48px; }
  .countdown { margin-top: 18px; width: 100%; max-width: 380px; }
  .cd-label { font-size: 12.5px; }
  .badge { width: 70px; height: 70px; border-width: 3px; }
  .badge b { font-size: 16px; }
  .badge small { font-size: 9.5px; }
  .bd2 { width: 62px; height: 62px; }
  .bd3 { width: 60px; height: 60px; }
  .dates { gap: 10px; }
  .dates li { flex-direction: column; gap: 7px; padding: 12px 8px; text-align: center; }
  .dates .ic { width: 38px; height: 38px; padding: 7px; border-radius: 12px; }
  .dates small { font-size: 10px; }
  .dates b { font-size: 14px; }
  .wave { height: 50px; }
  .sec-head { margin-bottom: 34px; }
  .lead { font-size: 15.5px; }
  .moments { gap: 11px; }
  .moments img { border-radius: 18px; }
  .moments::before { right: -8px; width: 110px; height: 110px; }
  .moments::after { left: -10px; width: 120px; height: 120px; }
  .agebig { margin-top: 6px; }
  .board { grid-template-columns: minmax(0, 1fr); }
  .board-img { min-height: 0; aspect-ratio: 16 / 10; }
  .board-body { align-items: center; text-align: center; }
  .cat-grid { grid-template-columns: minmax(0, 1fr); max-width: 440px; margin: 0 auto; gap: 18px; }
  .cat { min-height: 0; aspect-ratio: 4 / 5.1; }
  .fn { gap: 16px; padding: 18px 20px; border-radius: 24px; }
  .fn-b { width: 100%; }
  .fn-text b { font-size: 17px; }
  .fn-text { font-size: 14px; }
  .rules .btn { width: 100%; }
  .podium { grid-template-columns: 1fr 1fr; gap: 12px; max-width: 460px; }
  .gold-card { grid-column: 1 / -1; order: -1; padding-bottom: 24px; }
  .cup { width: 160px; }
  .medal { width: 78px; }
  .prize { font-size: 17px; }
  .prize b { font-size: 42px; }
  .gold-card .prize b { font-size: 56px; }
  .per { font-size: 12.5px; }
  .totals { padding: 14px 6px; }
  .totals-title { font-size: 11.5px; }
  .total span { font-size: 12px; }
  .reward { padding: 18px; gap: 14px; }
  .rw-ic { width: 52px; height: 52px; border-radius: 16px; }
  .rw-ic .ic { width: 32px; height: 32px; }
  .reg-grid { gap: 20px; }
  .reg-aside { grid-template-columns: minmax(0, 1fr); }
  .aside-card { text-align: center; }
  .register .wrap { padding: 0 12px; }
  .register .sec-head { padding: 0 6px; }
  .form-card { padding: 22px 16px; border-radius: 24px; }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .pick4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vtabs { display: grid; grid-template-columns: 1fr 1fr; }
  .vtabs button { padding: 8px 6px; font-size: 13px; }
  .privacy, .consent .err { margin-left: 0; }
  .consent { padding: 14px; }
  .addv { padding-bottom: 64px; }
  .addv-card.wrap { padding-left: 18px; padding-right: 18px; gap: 22px; }
  .addv-form { padding: 18px 14px; }
  .faq summary { padding: 16px 60px 16px 16px; font-size: 15.5px; }
  .faq .a { padding: 0 16px 18px; }
  .footer { padding-bottom: 96px; }
  .modal-box { padding: 28px 18px 22px; }
  .modal-btns .btn { flex: 1 1 100%; }
  .mcta { display: flex; }
}
@media (max-width: 360px) {
  .logos { gap: 7px; padding: 5px 8px; }
  .lg-ff { height: 21px; }
  .lg-doan { padding: 0 7px; }
  .lg-doan img { height: 27px; }
  .lg-dme { height: 23px; }
  .cd-boxes span { min-width: 52px; }
  .fn-num { font-size: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .timeline::before { transform: scaleY(1); }
}
