/* ===== Khung chung Livestream Battle. Màu lấy từ theme-*.css (biến CSS). ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Be Vietnam Pro", system-ui, sans-serif; font-size: 16px; line-height: 1.5; color: var(--text); background: var(--page-bg); background-attachment: fixed; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 14px; background: var(--primary); color: #fff; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 900; }
small { font-size: .62em; }
:root { --ease: cubic-bezier(0.16, 1, 0.3, 1); --ease-out: cubic-bezier(0.32, 0.72, 0, 1); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 0; border-radius: var(--btn-radius); font: 800 15px/1 inherit; font-family: inherit; text-decoration: none; text-transform: none; white-space: nowrap; cursor: pointer; transition: transform .5s var(--ease-out), box-shadow .3s, filter .3s; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--btn-grad); color: #fff; box-shadow: 0 14px 30px -14px var(--primary); }
.btn--primary:hover { filter: brightness(1.06); box-shadow: 0 18px 36px -14px var(--primary); }
.btn--ghost { background: transparent; color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--lg { min-height: 58px; font-size: 17px; text-transform: uppercase; letter-spacing: .01em; }
.btn--block { width: 100%; white-space: normal; text-align: center; line-height: 1.2; padding-block: 12px; }
.btn i { font-size: 18px; transition: transform .5s var(--ease-out); }
.btn:hover i { transform: translateX(3px); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; padding-top: 12px; }
.top__bar { display: flex; align-items: center; gap: 28px; min-height: 68px; padding: 8px 10px 8px 28px; background: rgb(255 255 255 / .86); backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%); border-radius: var(--bar-radius); box-shadow: 0 0 0 1px rgb(255 255 255 / .9), 0 16px 40px -24px var(--shadow-c); }
.top__logo img { height: 44px; width: auto; }
.top__mall { margin-left: auto; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--title); }
.top__mall i { font-size: 24px; color: #111; }
.top__zalo { display: flex; align-items: center; gap: 10px; }
.top__zalo small { display: block; font-size: 12px; color: var(--muted); }
.top__zalo b { font-size: 17px; font-weight: 800; color: var(--title); letter-spacing: .01em; }
.zalo-badge { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #0068ff; color: #fff; font-size: 10px; font-weight: 800; }

/* Hero */
.hero { position: relative; padding-block: 36px 64px; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: -1; }
.hero::before { width: 520px; height: 520px; left: -160px; top: -120px; background: var(--blob-1); }
.hero::after { width: 560px; height: 560px; right: -180px; bottom: -200px; background: var(--blob-2); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.hero__grid > * { min-width: 0; }
.pill { display: inline-block; padding: 9px 20px; border-radius: 999px; background: var(--pill-bg); color: #fff; font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .02em; box-shadow: 0 10px 24px -12px var(--primary); }
.hero__title { margin-top: 18px; font-weight: 900; line-height: .92; letter-spacing: -0.02em; text-transform: uppercase; }
.hero__brand { display: block; font-size: clamp(56px, 8vw, 104px); background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .04em; }
.hero__battle { display: block; font-size: clamp(42px, 6vw, 76px); background: var(--battle-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.hero__tagline { margin-top: 10px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; color: var(--tagline); }
.hero__product { position: relative; }

/* Hero: 4 thẻ quyền lợi */
.hl-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; max-width: 560px; }
.hl-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--card); border-radius: 16px; box-shadow: 0 0 0 1px var(--card-line), 0 14px 30px -22px var(--shadow-c); }
.hl-card p { font-size: 14px; line-height: 1.35; color: var(--title); }
.hl-card b { color: var(--primary); font-weight: 800; }
.hl-card em { font-style: normal; font-weight: 900; color: var(--value); font-size: 1.15em; }
.hl-card__ico { flex: none; width: 52px; height: 52px; object-fit: contain; display: grid; place-items: center; font-size: 40px; color: var(--primary); }

/* Hero: danh sách tick */
.hl-list { display: grid; gap: 10px; margin-top: 20px; }
.hl-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--title); font-size: 16px; }
.hl-list i { font-size: 22px; color: var(--accent2); flex: none; margin-top: 1px; }
.hl-list b { color: var(--value); font-weight: 800; }

/* Countdown */
.countdown { margin-top: 22px; padding: 16px 24px; max-width: 400px; text-align: center; background: var(--card); border-radius: 18px; box-shadow: 0 0 0 1px var(--card-line), 0 14px 30px -22px var(--shadow-c); }
.countdown__label { font-weight: 800; color: var(--primary); font-size: 15px; }
.countdown__units { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 6px; }
.countdown__units div + div { border-left: 1px solid var(--card-line); }
.countdown span { display: block; font-size: 36px; font-weight: 900; color: var(--value-strong); font-variant-numeric: tabular-nums; line-height: 1.05; }
.countdown small { font-size: 14px; color: var(--muted); }
.countdown__live { display: none; font-weight: 800; color: var(--primary); }
.countdown[data-live="true"] .countdown__units { display: none; }
.countdown[data-live="true"] .countdown__live { display: block; }

/* Form */
.bezel { padding: 6px; border-radius: calc(var(--radius) + 6px); background: rgb(255 255 255 / .5); box-shadow: 0 0 0 1px rgb(255 255 255 / .9), 0 40px 80px -40px var(--shadow-c); }
.form { position: relative; padding: 28px 28px 24px; background: rgb(255 255 255 / .92); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--card-line); }
.form__head h2 { font-size: clamp(28px, 2.8vw, 34px); font-weight: 900; color: var(--form-title); line-height: 1.1; }
.form__head p { margin-top: 6px; font-size: 18px; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 6px; }
.form__head b { font-weight: 900; }
.form__fields { display: grid; gap: 12px; margin-top: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; color: var(--title); }
.field__box { position: relative; }
.field__box i { position: absolute; left: 14px; top: 50%; translate: 0 -50%; font-size: 20px; color: var(--muted); pointer-events: none; }
.field input { width: 100%; min-height: 50px; padding: 0 14px 0 44px; font: 500 16px inherit; font-family: inherit; color: var(--title); background: #fff; border: 1.5px solid var(--input-line); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder { color: #8b8f97; }
.field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--focus-ring); }
.field [aria-invalid="true"] { border-color: #c81e3a; }
.field__error { font-size: 13px; color: #c81e3a; }
.field__error:empty { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--primary); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { text-align: center; font-size: 14px; color: var(--muted); }
.form__status:empty { display: none; }
.form[data-state="error"] .form__status { color: #c81e3a; }
.btn__spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .4); border-top-color: #fff; animation: spin .8s linear infinite; }
.form[data-state="loading"] .btn__spinner { display: inline-block; }
.form[data-state="loading"] [type=submit] { opacity: .85; cursor: progress; }
.form__success { display: none; text-align: center; padding: 40px 8px 28px; }
.form__success i { font-size: 60px; color: var(--primary); }
.form__success h3 { margin-top: 10px; font-size: 26px; font-weight: 900; color: var(--form-title); }
.form__success p { margin: 8px 0 22px; color: var(--muted); }
.form[data-state="success"] .form__fields { display: none; }
.form[data-state="success"] .form__success { display: block; animation: pop .5s var(--ease); }
@keyframes spin { to { rotate: 360deg; } }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }

/* Section heads */
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.sec-head--center { justify-content: center; }
.sec-head h2, .sec-title { font-size: clamp(24px, 3vw, 38px); font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; color: var(--h2); line-height: 1.1; }
.sec-title { text-align: center; margin: 64px 0 24px; }
.sec-title:first-child { margin-top: 0; }
.total { display: inline-flex; align-items: center; gap: 8px; padding: 8px 22px; border-radius: 999px; background: var(--badge-grad); color: var(--badge-ink); font-weight: 800; font-size: 18px; text-transform: uppercase; box-shadow: 0 10px 24px -12px rgb(180 120 20 / .6), inset 0 1px 0 rgb(255 255 255 / .7); }
.total i { font-size: 24px; color: #d79a1d; }
.total b { font-size: 30px; font-weight: 900; }

/* ===== Sáng tạo thêm ===== */
.progress { position: fixed; left: 0; top: 0; z-index: 40; height: 3px; width: 100%; background: var(--btn-grad); transform-origin: left; transform: scaleX(0); }
@supports (animation-timeline: scroll()) { .progress { animation: grow linear both; animation-timeline: scroll(root); } }
@keyframes grow { to { transform: scaleX(1); } }

.live-tag { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .06em; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 0 var(--primary); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.particle { position: absolute; left: var(--x); bottom: -40px; width: 22px; height: 22px; opacity: 0; background: var(--particle); border-radius: var(--particle-radius); transform: scale(var(--s)); animation: drift var(--d) linear var(--delay) infinite; }
@keyframes drift { 0% { transform: translate(0, 0) rotate(0) scale(var(--s)); opacity: 0; } 10% { opacity: var(--o); } 90% { opacity: var(--o); } 100% { transform: translate(60px, -110vh) rotate(300deg) scale(var(--s)); opacity: 0; } }
.hero__grid { position: relative; z-index: 1; }

.band { overflow: hidden; background: var(--band-bg); color: #fff; }
.band__track { display: flex; width: max-content; }
.band ul { display: flex; flex: none; gap: 28px; padding: 14px 14px; font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.band li[aria-hidden] { opacity: .6; }
@keyframes band { to { transform: translateX(-50%); } }

.hero__img { transition: transform 1.2s var(--ease-out); }
.hero[data-pointer-parallax] .hero__img { translate: calc(var(--mx, 0) * -10px) calc(var(--my, 0) * -8px); }

.hero__brand { position: relative; }
.hero__brand::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .55) 50%, transparent 70%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; mix-blend-mode: screen; animation: sheen 5s ease-in-out 1.5s infinite; pointer-events: none; }
@keyframes sheen { 0%, 60% { background-position: 120% 0; } 100% { background-position: -120% 0; } }

[data-tilt] { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); transform-style: preserve-3d; }
[data-tilt]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 50%), rgb(255 255 255 / .35), transparent 60%); opacity: 0; transition: opacity .4s; }
[data-tilt]:hover::after { opacity: 1; }
.prod { position: relative; }

.top1 { isolation: isolate; }
.top1::before { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 3px; background: conic-gradient(from var(--ang, 0deg), #f6d365, #fda085, #f6d365, #ffe9a3, #f6d365); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; animation: spin-border 6s linear infinite; }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin-border { to { --ang: 360deg; } }
.top1 > * { position: relative; }
.top1::after { z-index: 1; }

.countdown span.tick { animation: tick .5s var(--ease-out); }
@keyframes tick { 0% { transform: translateY(-40%); opacity: 0; } 100% { transform: none; opacity: 1; } }

.board { position: relative; overflow: hidden; }
.watermark { position: absolute; left: 50%; top: 40px; translate: -50% 0; font-size: clamp(120px, 22vw, 320px); font-weight: 900; letter-spacing: -0.04em; color: var(--watermark); pointer-events: none; line-height: 1; user-select: none; }
.board .wrap { position: relative; }

.milestones { position: relative; }
.milestones b { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--accent2); transform: scale(.6); opacity: 0; transition: transform .6s var(--ease-out), opacity .6s; }
.milestones.is-in b { transform: none; opacity: 1; }
.milestones.is-in b:nth-of-type(2) { transition-delay: .25s; }
.milestones.is-in b:nth-of-type(3) { transition-delay: .5s; }
.milestones i { opacity: 0; transition: opacity .4s .3s; }
.milestones.is-in i { opacity: 1; }

.confetti { position: fixed; inset: 0; z-index: 60; width: 100%; height: 100%; pointer-events: none; }
.sticky-cta__clock { font-size: 12px; font-weight: 700; opacity: .9; padding-right: 10px; border-right: 1px solid rgb(255 255 255 / .4); }

@media (prefers-reduced-motion: no-preference) { .band__track { animation: band 28s linear infinite; } .band:hover .band__track { animation-play-state: paused; } }
@media (prefers-reduced-motion: reduce) { .live-dot, .hero__brand::after, .top1::before, .progress { animation: none; } .band ul[aria-hidden] { display: none; } .band__track { width: auto; } .band ul { flex-wrap: wrap; white-space: normal; } }
@media (max-width: 640px) { .watermark { top: 20px; } .sticky-cta { justify-content: space-between; padding: 0 16px; } }

/* Products */
.products { padding-block: 48px 24px; }
.sec-sub { text-align: center; margin-top: 8px; color: var(--muted); font-size: 17px; }
.prods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.prod { display: grid; grid-template-rows: 230px auto; background: var(--card); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--card-line), 0 20px 40px -32px var(--shadow-c); overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.prod:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px var(--card-line), 0 34px 54px -30px var(--shadow-c); }
.prod__img { margin: 0; display: grid; place-items: center; padding: 18px; background: var(--prod-bg); }
.prod__img img { max-height: 200px; width: auto; max-width: 100%; filter: drop-shadow(0 18px 20px var(--shadow-c)); transition: transform .7s var(--ease-out); }
.prod:hover .prod__img img { transform: translateY(-6px) scale(1.04); }
.prod--wide .prod__img { padding: 0; }
.prod--wide .prod__img img { max-height: none; height: 100%; width: 100%; object-fit: cover; filter: none; }
.prod__text { padding: 16px 18px 20px; }
.prod h3 { font-size: 17px; font-weight: 800; color: var(--h2); }
.prod p { margin-top: 6px; font-size: 14px; color: var(--title); line-height: 1.45; }
.top__link { font-weight: 700; font-size: 15px; color: var(--title); text-decoration: none; }
.top__link:hover { color: var(--primary); }
.perk__ico--img { background: #fff; overflow: hidden; }
.perk__ico--img img { height: 56px; width: auto; max-width: 56px; object-fit: contain; }

/* Kit */
.kit { padding-block: 40px 24px; }
.kit__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; padding: 40px 48px; border-radius: var(--radius); background: var(--kit-bg); box-shadow: 0 0 0 1px var(--card-line), 0 30px 60px -36px var(--shadow-c); overflow: hidden; position: relative; }
.kit__grid > * { min-width: 0; }
.kit h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 900; text-transform: uppercase; color: var(--h2); line-height: 1.1; }
.kit__sub { margin-top: 10px; color: var(--title); font-size: 16px; }
.kit__list { display: grid; gap: 8px; margin: 18px 0 22px; }
.kit__list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--title); }
.kit__list i { font-size: 20px; color: var(--accent2); }
.kit__stage { position: relative; height: 340px; }
.kit__img { position: absolute; bottom: 0; filter: drop-shadow(0 24px 24px var(--shadow-c)); }
.kit__stage--6 .kit__img--0 { left: 0; bottom: 36%; width: 46%; z-index: 1; }
.kit__stage--6 .kit__img--1 { right: 0; bottom: 42%; width: 44%; }
.kit__stage--6 .kit__img--2 { left: 18%; height: 70%; z-index: 3; }
.kit__stage--6 .kit__img--3 { left: 40%; height: 76%; z-index: 4; }
.kit__stage--6 .kit__img--4 { left: 62%; height: 70%; z-index: 3; }
.kit__stage--6 .kit__img--5 { left: 2%; width: 30%; bottom: 0; z-index: 2; border-radius: 12px; filter: drop-shadow(0 16px 20px var(--shadow-c)); }
.kit__stage--4 .kit__img { height: 86%; }
.kit__stage--4 .kit__img--0 { left: 4%; height: 78%; }
.kit__stage--4 .kit__img--1 { left: 24%; }
.kit__stage--4 .kit__img--2 { left: 48%; z-index: 2; }
.kit__stage--4 .kit__img--3 { left: 72%; height: 78%; }
.kit__stage::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -16px; height: 46px; border-radius: 50%; background: radial-gradient(ellipse at center, var(--shadow-c) 0%, transparent 70%); opacity: .35; }
.kv { margin: 20px 0 0; position: relative; height: clamp(220px, 40vw, 520px); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -36px var(--shadow-c); }
.kv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kv--note { display: grid; place-items: center; align-content: center; gap: 10px; height: clamp(200px, 30vw, 360px); background: repeating-linear-gradient(135deg, rgb(255 255 255 / .7) 0 14px, rgb(255 255 255 / .45) 14px 28px); border: 2px dashed var(--accent2); box-shadow: none; color: var(--accent2); text-align: center; padding: 24px; }
.kv--note i { font-size: 64px; }
.kv--note p { font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; line-height: 1.3; max-width: 36ch; }
@media (max-width: 640px) { .kv--note { height: auto; min-height: 220px; } .kv--note p { font-size: 20px; } }

/* Product thumbs rải khắp trang */
.band li img { height: 34px; width: auto; filter: drop-shadow(0 4px 6px rgb(0 0 0 / .25)); }
.band li[aria-hidden] { opacity: 1; }
.rank { overflow: hidden; }
.rank__thumb { position: absolute; right: -6px; bottom: -14px; height: 92px; width: auto; opacity: .9; rotate: 12deg; filter: drop-shadow(0 10px 12px var(--shadow-c)); transition: transform .6s var(--ease-out); }
.rank:hover .rank__thumb { transform: translateY(-6px) rotate(-4deg); }
.form__head { position: relative; padding-right: 70px; }
.form__thumb { position: absolute; right: -6px; top: -10px; height: 92px; width: auto; rotate: 10deg; filter: drop-shadow(0 12px 14px var(--shadow-c)); }
.step__ico { position: relative; }
.step__thumb { position: absolute; right: -16px; bottom: -8px; height: 54px; width: auto; rotate: 14deg; filter: drop-shadow(0 8px 10px var(--shadow-c)); }
.activation { position: relative; overflow: hidden; }
.decor { position: absolute; top: 50%; translate: 0 -50%; height: 70%; width: auto; opacity: .14; pointer-events: none; filter: blur(1px); }
.decor--l { left: -3%; rotate: -14deg; }
.decor--r { right: -3%; rotate: 14deg; }
.activation .wrap { position: relative; }

/* Board */
.board { padding-block: 56px 32px; }
.top1 { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 340px); align-items: center; gap: 24px; margin-top: 24px; padding: 28px 40px; background: var(--card-strong); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--card-line), 0 30px 60px -36px var(--shadow-c); overflow: hidden; }
.top1--left { grid-template-columns: minmax(0, 300px) 1fr; }
.top1--left .top1__img { order: -1; }
.top1__text { text-align: center; }
.top1 h3 { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(26px, 3vw, 38px); font-weight: 900; text-transform: uppercase; color: var(--h2); }
.top1 h3 i, .duration h3 i, .buyer h3 i { color: #e2a31f; font-size: 1.1em; }
.top1__desc { margin-top: 6px; font-size: 19px; font-weight: 600; color: var(--title); }
.top1__prize { margin-top: 6px; font-size: clamp(30px, 3.6vw, 48px); font-weight: 900; color: var(--prize-ink); line-height: 1.1; }
.top1__prize b { font-weight: 900; }
.top1__prize .gold { font-size: 1.12em; }
.top1__note { margin-top: 8px; font-size: 18px; color: var(--title); }
.top1__img { margin: 0; }
.top1__img img { width: 100%; mix-blend-mode: multiply; }

.ranks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.rank { position: relative; display: flex; align-items: center; justify-content: center; gap: 18px; padding: 20px; background: var(--card); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--card-line), 0 20px 40px -32px var(--shadow-c); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.rank:hover, .act:hover, .perk-list li:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--card-line), 0 30px 50px -30px var(--shadow-c); }
.rank__ico { flex: none; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--ico-bg); color: var(--primary); font-size: 38px; }
.rank__num { position: absolute; display: none; }
.rank__label { font-size: 20px; font-weight: 800; color: var(--rank-label); text-transform: uppercase; }
.rank__value { font-size: 38px; font-weight: 900; line-height: 1.05; color: var(--value); }
.rank__value small { font-size: .72em; }
.rank__note { font-size: 17px; color: var(--title); }

.prizes { display: grid; gap: 16px; margin-top: 16px; }
.prizes--split { grid-template-columns: 1fr 1.25fr; }
.duration, .buyer { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 40px; border-radius: var(--radius); overflow: hidden; }
.duration { background: var(--card-strong); box-shadow: 0 0 0 1px var(--card-line), 0 20px 40px -32px var(--shadow-c); }
.duration h3, .buyer h3 { display: flex; align-items: center; gap: 10px; font-size: clamp(22px, 2.6vw, 32px); font-weight: 900; text-transform: uppercase; color: var(--h2); line-height: 1.1; }
.duration__prize { margin-top: 8px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; color: var(--prize-ink); }
.duration__value { font-size: clamp(26px, 3vw, 40px); font-weight: 800; color: var(--prize-ink); }
.duration__img { height: 170px; width: auto; mix-blend-mode: multiply; }
.buyer { background: var(--buyer-bg); color: #fff; box-shadow: 0 30px 60px -30px var(--shadow-c); }
.buyer h3 { color: #fff; }
.buyer__sub { font-size: 20px; font-weight: 800; text-transform: uppercase; }
.buyer__prize { margin-top: 8px; font-size: 18px; font-weight: 600; }
.buyer__prize span { white-space: normal; }
.duration > *, .buyer > * { min-width: 0; }
.buyer__prize b { color: var(--buyer-hl); font-weight: 900; font-size: 1.3em; }
.buyer__rule { display: inline-block; margin-top: 10px; padding: 6px 16px; border-radius: 999px; background: rgb(255 255 255 / .2); font-weight: 600; }
.buyer__total { margin-top: 10px; font-size: 22px; font-weight: 800; }
.buyer__total b { font-size: 1.5em; color: var(--buyer-hl); }
.buyer__note { margin-top: 10px; font-size: 14px; opacity: .92; max-width: 46ch; }
.buyer__img { flex: none; display: flex; align-items: flex-end; }
.buyer__img img { max-height: 220px; width: auto; }

/* Activation */
.activation { padding-block: 64px 32px; }
.milestones { display: inline-flex; align-items: center; gap: 10px; font-size: 32px; font-weight: 900; color: var(--accent2); }
.milestones i { font-size: 22px; }
.milestones span { font-size: 28px; }
.acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.act { display: flex; gap: 18px; align-items: center; padding: 22px 24px; background: var(--card); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--card-line), 0 20px 40px -32px var(--shadow-c); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.act__ico { flex: none; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--ico-bg); color: var(--primary); font-size: 40px; }
.act__title { font-size: 18px; font-weight: 800; color: var(--act-title); text-transform: uppercase; }
.act__formula { font-size: 28px; font-weight: 900; line-height: 1.1; color: var(--value); }
.act__fund { font-size: 18px; font-weight: 600; color: var(--title); }
.act__fund b { font-size: 1.4em; font-weight: 900; color: var(--value); }
.act__desc { font-size: 14px; color: var(--muted); margin-top: 2px; }
.act__big { font-size: 44px; font-weight: 900; color: var(--value); line-height: 1.1; }
.note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 16px; font-size: 14px; color: var(--note); }

/* Perks & steps */
.perks { padding-block: 48px 72px; }
.perk-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.perk-list li { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--card); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--card-line), 0 20px 40px -32px var(--shadow-c); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.perk__ico { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ico-bg); color: var(--primary); font-size: 34px; }
.perk-list p { font-size: 17px; font-weight: 700; color: var(--title); line-height: 1.3; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; display: grid; justify-items: center; text-align: center; gap: 8px; padding: 18px 12px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 48px; right: -26px; width: 36px; height: 2px; background: var(--primary); opacity: .6; }
.step__num { font-size: 40px; font-weight: 900; color: var(--step-num); line-height: 1; }
.step__ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--primary); font-size: 32px; box-shadow: 0 12px 24px -16px var(--shadow-c); transition: transform .6s var(--ease-out); }
.step:hover .step__ico { transform: translateY(-4px) rotate(-6deg); }
.step p { font-size: 16px; font-weight: 600; color: var(--title); line-height: 1.35; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.info { padding: 24px 28px; background: var(--card); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--card-line), 0 20px 40px -32px var(--shadow-c); }
.info h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 900; text-transform: uppercase; color: var(--h2); }
.info h3 i { font-size: 30px; color: var(--primary); }
.info ul { display: grid; gap: 10px; margin-top: 14px; }
.info li { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 500; color: var(--title); }
.info li i { font-size: 22px; color: var(--accent2); }

/* Footer */
.foot { padding-block: 28px 32px; background: rgb(255 255 255 / .75); border-top: 1px solid var(--card-line); }
.foot__row { display: flex; align-items: center; gap: 32px; }
.foot__row img { height: 48px; width: auto; }
.foot__meta { display: flex; flex-wrap: wrap; gap: 6px 28px; padding-left: 32px; border-left: 1px solid var(--card-line); font-size: 15px; color: var(--title); }

/* Sticky CTA mobile */
.sticky-cta { display: none; }
.sticky-cta.is-hidden { opacity: 0; pointer-events: none; transform: translateY(16px); }

/* Draft mode: ?draft=1 */
.is-draft [data-ph] { outline: 2px dashed #e69500; outline-offset: 4px; }

/* Motion */
[data-magnetic] { transition: transform .6s var(--ease-out), box-shadow .3s, filter .3s; }
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out), filter 1s var(--ease-out); }
  [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
  .js [data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), box-shadow .5s; transition-delay: calc(var(--i) * 80ms); }
  .js [data-stagger].is-in > * { opacity: 1; transform: none; }
  .js [data-stagger].is-in > *:hover { transform: translateY(-4px); transition-delay: 0s; }
  .js [data-clip] img { clip-path: inset(0 0 100% 0); scale: 1.12; transition: clip-path 1.2s cubic-bezier(.7,0,.2,1), scale 1.6s var(--ease-out); }
  .js [data-clip].is-in img { clip-path: inset(0); scale: 1; }
  .hero__copy > .pill, .hero__title, .hero__tagline { animation: rise 1s var(--ease-out) both; }
  .hero__title { animation-delay: .08s; }
  .hero__tagline { animation-delay: .16s; }
  .hero__img { animation: rise 1.2s var(--ease-out) both, float 6s ease-in-out 1.2s infinite; }
  .hero__img--1 { animation-delay: .15s, 1.6s; }
  .hero__img--2 { animation-delay: .25s, 2s; }
  .hero__img--3 { animation-delay: .35s, 2.4s; }
  .countdown span { transition: transform .3s; }
  .total { animation: shine 3.5s ease-in-out infinite; }
}
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }
@keyframes float { 50% { translate: 0 -10px; } }
@keyframes shine { 50% { box-shadow: 0 10px 30px -8px rgb(226 163 31 / .8), inset 0 1px 0 rgb(255 255 255 / .7); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1024px) {
  .top__mall { display: none; }
  .top__zalo { margin-left: auto; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .prizes--split { grid-template-columns: 1fr; }
  .acts { grid-template-columns: 1fr 1fr; }
  .perk-list, .prods { grid-template-columns: 1fr 1fr; }
  .kit__grid { grid-template-columns: 1fr; padding: 32px 24px; }
  .kit__stage { height: 300px; max-width: 520px; margin-inline: auto; width: 100%; }
  .decor { display: none; }
  .top__link { display: none; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 80px; }
  .btn--lg { font-size: 15px; }
  .hero__brand { font-size: clamp(44px, 15vw, 60px); }
  .hero__battle { font-size: clamp(30px, 10.5vw, 44px); }
  .top { padding-top: 8px; }
  .top__bar { gap: 12px; padding: 6px 6px 6px 16px; min-height: 58px; }
  .top__logo img { height: 34px; }
  .top__zalo { display: none; }
  .top__bar .btn { margin-left: auto; min-height: 40px; padding: 0 14px; font-size: 14px; }
  .top__bar .btn i { display: none; }
  .hero { padding-block: 20px 40px; }
  .pill { font-size: 12px; padding: 7px 14px; }
  .hl-cards { grid-template-columns: 1fr; }
  .countdown { max-width: none; }
  .form { padding: 22px 18px; }
  .sec-head { justify-content: center; text-align: center; }
  .top1, .top1--left { grid-template-columns: 1fr; padding: 24px 20px; }
  .top1__img { max-width: 240px; margin-inline: auto; }
  .ranks { grid-template-columns: 1fr; }
  .rank { justify-content: flex-start; }
  .duration, .buyer { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
  .duration__img { align-self: center; height: 140px; }
  .buyer__img { align-self: center; max-width: 100%; }
  .buyer__text { width: 100%; }
  .buyer__img img { max-height: 170px; }
  .acts, .perk-list, .info-grid { grid-template-columns: 1fr; }
  .prods { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kit__grid { padding: 24px 18px; }
  .kit__stage { height: 230px; }
  .rank__thumb { height: 76px; }
  .form__thumb { height: 76px; right: -4px; }
  .prod { grid-template-rows: 170px auto; }
  .prod__img img { max-height: 150px; }
  .prod__text { padding: 12px; }
  .prod h3 { font-size: 15px; }
  .prod p { font-size: 13px; }
  .act { padding: 18px; }
  .act__ico { width: 60px; height: 60px; font-size: 32px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .step::after { display: none; }
  .foot__row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .foot__meta { padding-left: 0; border-left: 0; flex-direction: column; }
  .sticky-cta { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; transition: opacity .3s, transform .3s; }
  .foot { padding-bottom: 96px; }
}

/* Quà chưa có ảnh: icon lớn. Hạng thưởng là hiện vật: chữ thay cho số tiền. */
.prize-ico { flex: none; display: grid; place-items: center; width: 150px; height: 150px; border-radius: 50%; background: var(--ico-bg); color: var(--primary); font-size: 84px; }
.top1__ico { justify-self: center; width: 190px; height: 190px; font-size: 108px; }
.buyer__ico { background: rgb(255 255 255 / .22); color: inherit; }
.ranks--4 { grid-template-columns: repeat(2, 1fr); }
.ranks--4 .rank { justify-content: flex-start; }
.rank__value--text { font-size: 24px; line-height: 1.2; }
.duration__note { margin-top: 6px; font-size: 17px; color: var(--title); }
.buyer__extra { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgb(255 255 255 / .35); font-size: 17px; font-weight: 600; }
.buyer__extra b { display: block; font-size: 1.15em; font-weight: 900; }
.buyer__extra small { display: block; margin-top: 2px; font-size: 14px; font-weight: 500; }
.board__note { text-align: center; }
@media (max-width: 640px) {
  .ranks--4 { grid-template-columns: 1fr; }
  .prize-ico { width: 110px; height: 110px; font-size: 60px; align-self: center; }
  .top1__ico { width: 130px; height: 130px; font-size: 72px; }
}

/* ===== Sửa theo comment khách 13/11 ===== */
/* Hero dạng thẻ quà + cụm sản phẩm bay (dùng chung 2 brand) */
.hero--cards .hero__copy { display: grid; grid-template-columns: minmax(0, 1fr) var(--hero-prod-w, 250px); column-gap: 12px; align-items: start; grid-template-areas: "pill pill" "title prod" "tag prod" "live prod" "cards cards" "cd cd"; }
.hero--cards .pill { grid-area: pill; justify-self: start; }
.hero--cards .hero__title { grid-area: title; }
.hero--cards .hero__tagline { grid-area: tag; }
.hero--cards .live-tag { grid-area: live; justify-self: start; }
.hero--cards .hero__product { grid-area: prod; position: relative; height: 330px; align-self: end; }
.hero--cards .hl-cards { grid-area: cards; max-width: none; }
.hero--cards .countdown { grid-area: cd; justify-self: center; width: min(100%, 400px); }
.hero--cards .hero__brand { font-size: clamp(48px, 5.6vw, 72px); padding-bottom: .02em; }
.hero--cards .hero__battle { font-size: clamp(34px, 4.2vw, 54px); }
.hero--cards .hero__img, .hero__fig { position: absolute; }
.hero__fig { margin: 0; display: grid; justify-items: center; gap: 6px; }
.hero__fig .hero__img { position: static; }
.hero__names { position: absolute; left: 50%; bottom: 0; translate: -50% 0; z-index: 5; display: flex; gap: 5px; width: max-content; }
.hero__names li { padding: 3px 9px; border-radius: 999px; background: var(--card-strong); box-shadow: 0 0 0 1px var(--card-line); backdrop-filter: blur(6px); color: var(--title); font-size: 11px; font-weight: 700; white-space: nowrap; }
.hl-card__ico--img { border-radius: 12px; }
/* Header không còn Zalo */
@media (max-width: 1024px) { .top__bar .btn { margin-left: auto; } }
/* Form: ô bắt buộc */
.req { color: #c81e3a; font-weight: 800; }
.form__req { font-size: 13px; color: var(--muted); }
/* Sản phẩm: USP từng sản phẩm + dải USP thương hiệu */
.prods--3 { grid-template-columns: repeat(3, 1fr); }
.prod__img { min-height: 0; overflow: hidden; }
.prod__usps { display: grid; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--card-line); }
.prod__usps li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--title); }
.prod__usps i { flex: none; margin-top: 1px; font-size: 17px; color: var(--accent2); }
.usps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px; }
.usp { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--card); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--card-line), 0 20px 40px -32px var(--shadow-c); }
.usp__ico { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ico-bg); color: var(--primary); font-size: 30px; }
.usp p { font-size: 14px; line-height: 1.35; color: var(--title); }
.usp b { display: block; font-size: 18px; font-weight: 900; color: var(--value); line-height: 1.2; }
/* Bộ sample: 3 hộp, hoặc dàn hàng có tên sản phẩm */
.kit__stage--3 .kit__img--0 { left: 0; bottom: 30%; width: 52%; z-index: 1; }
.kit__stage--3 .kit__img--1 { right: 0; bottom: 34%; width: 50%; }
.kit__stage--3 .kit__img--2 { left: 33%; bottom: 0; width: 34%; z-index: 2; border-radius: 14px; }
.kit__stage--lineup { display: flex; align-items: flex-end; justify-content: center; gap: clamp(10px, 2.4vw, 30px); height: auto; }
.kit__stage--lineup figure { margin: 0; display: grid; justify-items: center; gap: 10px; }
.kit__stage--lineup img { height: 270px; width: auto; filter: drop-shadow(0 24px 24px var(--shadow-c)); }
.kit__stage--lineup figcaption { font-size: 14px; font-weight: 700; color: var(--title); text-align: center; }
.kit__stage--lineup::after { display: none; }
/* Thưởng thêm */
.acts--1 { grid-template-columns: minmax(0, 520px); justify-content: center; }
.acts--2 { grid-template-columns: repeat(2, 1fr); }
.act__desc { font-size: 15px; margin-top: 6px; }
@media (max-width: 1024px) {
  .hero--cards .hero__copy { grid-template-columns: 1fr; grid-template-areas: "pill" "title" "tag" "live" "prod" "cards" "cd"; }
  .hero--cards .hero__product { width: min(100%, 320px); height: 290px; margin: 16px auto 8px; justify-self: center; }
  .prods--3 { grid-template-columns: 1fr 1fr; }
  .usps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .prods--3, .usps, .acts--2 { grid-template-columns: 1fr; }
  .prods--3 .prod { grid-template-rows: 200px auto; }
  .kit__stage--lineup img { height: 170px; }
  .kit__stage--lineup figcaption { font-size: 12px; }
  .hero--cards .countdown { width: 100%; }
}

/* Ảnh quà: ảnh sản phẩm thật. iPhone và E-Voucher nền trong suốt, các ảnh còn lại nền trắng nên đặt trong ô trắng bo góc. */
.nb { white-space: nowrap; }
.top1__img img[src*="prize-"], .duration__img[src*="prize-"], .buyer__img img[src*="prize-"] { mix-blend-mode: normal; }
.rank__ico--img, .act__ico .ico--img, .hl-card__ico--img { object-fit: contain; }
.rank__ico--img[src$=".svg"] { padding: 6px; }
.rank__ico--img[src$=".webp"] { background: #fff; padding: 3px; }
.act__ico .ico--img { width: 100%; height: 100%; padding: 8px; }
.hl-card__ico--img[src$=".svg"], .hl-card__ico--img[src*="iphone"] { border-radius: 0; }
.top1__img img[src*="iphone"] { width: auto; height: 250px; margin-inline: auto; filter: drop-shadow(0 22px 26px var(--shadow-c)); }
.duration__img[src$=".svg"] { height: 170px; border-radius: 0; }
.duration__img[src$=".webp"] { border-radius: 16px; }
.buyer__img { align-items: center; gap: 12px; }
.buyer__img img[src*="prize-"] { height: 130px; width: auto; border-radius: 16px; filter: none; }
.buyer__img img[src*="iphone"] { height: 170px; border-radius: 0; filter: drop-shadow(0 16px 20px rgb(0 0 0 / .35)); }
@media (max-width: 640px) { .top1__img img[src*="iphone"] { height: 200px; } .buyer__img img[src*="iphone"] { height: 150px; } .buyer__img img[src*="prize-"]:not([src*="iphone"]) { height: 110px; } }
.duration__img[src$=".webp"] { flex: none; width: 150px; height: 150px; object-fit: contain; background: #fff; }
.theme-rihair .duration__img[src$=".webp"] { height: 150px; }
@media (max-width: 640px) { .duration__img[src$=".webp"] { width: 130px; height: 130px; } }

/* ===== Dải quà tặng nổi bật (theo poster Black Friday khách gửi): vệt sáng neon, quà bay, thẻ tên bóng ===== */
.gifts { position: relative; isolation: isolate; margin-top: 20px; padding: 44px 28px 36px; border-radius: calc(var(--radius) + 6px); background: var(--gifts-bg); box-shadow: 0 0 0 1px var(--gift-neon), 0 0 44px -6px var(--gift-glow), 0 40px 70px -40px var(--shadow-c); overflow: hidden; }
.gifts::before, .gifts::after { content: ""; position: absolute; z-index: -1; left: -25%; right: -25%; height: 130%; border-radius: 50%; border: 2px solid var(--gift-neon); box-shadow: 0 0 22px 3px var(--gift-glow), inset 0 0 22px 3px var(--gift-glow); pointer-events: none; }
.gifts::before { top: 34%; rotate: -9deg; opacity: .6; }
.gifts::after { top: 58%; rotate: 8deg; opacity: .32; }
.gifts > * { position: relative; }
.gifts__spark { position: absolute !important; width: 18px; height: 18px; background: #fff; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); filter: drop-shadow(0 0 6px var(--gift-neon)); animation: gift-twinkle 2.6s ease-in-out infinite; }
.gifts__spark--1 { left: 7%; top: 12%; }
.gifts__spark--2 { right: 8%; top: 20%; width: 26px; height: 26px; animation-delay: .8s; }
.gifts__spark--3 { left: 30%; top: 40%; width: 12px; height: 12px; animation-delay: 1.4s; }
.gifts__spark--4 { right: 31%; top: 9%; width: 14px; height: 14px; animation-delay: .4s; }
.gifts__title { display: flex; align-items: center; justify-content: center; gap: 18px; font-size: clamp(20px, 2.8vw, 36px); font-weight: 900; letter-spacing: .04em; line-height: 1.15; text-transform: uppercase; text-align: center; color: var(--gifts-title); text-shadow: 0 0 22px var(--gift-glow), 0 2px 0 rgb(0 0 0 / .25); }
.gifts__title::before, .gifts__title::after { content: ""; flex: 1; max-width: 130px; height: 2px; background: linear-gradient(90deg, transparent, var(--gift-neon)); box-shadow: 0 0 10px var(--gift-glow); }
.gifts__title::after { background: linear-gradient(270deg, transparent, var(--gift-neon)); }
.gifts__date { display: table; margin: 14px auto 0; padding: 6px 26px; border-radius: 999px; border: 2px solid var(--gift-neon); background: rgb(0 0 0 / .28); box-shadow: 0 0 16px var(--gift-glow), inset 0 0 12px var(--gift-glow); color: #fff; font-size: clamp(15px, 1.6vw, 20px); font-weight: 900; letter-spacing: .06em; }
.gifts__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: end; margin-top: 18px; }
.gifts__row--3 { grid-template-columns: 1fr 1.25fr 1fr; }
.gifts__row--4 { grid-template-columns: 1fr 1.2fr 1fr 1fr; }
.gift { display: grid; justify-items: center; transition: transform .6s var(--ease-out); }
.gift:hover { transform: translateY(-6px); }
.gift__img { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 240px; margin-bottom: -34px; }
.gift__img::before { content: ""; position: absolute; z-index: -1; left: 8%; right: 8%; bottom: 10px; height: 54px; border-radius: 50%; background: radial-gradient(ellipse at center, var(--gift-neon) 0%, var(--gift-glow) 35%, transparent 72%); filter: blur(8px); opacity: .9; }
.gift__img img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 0 20px var(--gift-glow)) drop-shadow(0 18px 16px rgb(0 0 0 / .5)); animation: gift-float 5s ease-in-out infinite alternate; }
.gift:nth-child(2) .gift__img img { animation-delay: -1.6s; }
.gift:nth-child(3) .gift__img img { animation-delay: -3.1s; }
.gift:nth-child(4) .gift__img img { animation-delay: -4.2s; }
.gift__img img[src*="gift-halio"], .gift__img img[src*="gift-panasonic"] { filter: none; -webkit-mask-image: radial-gradient(ellipse 50% 50% at center, #000 58%, transparent 98%); mask-image: radial-gradient(ellipse 50% 50% at center, #000 58%, transparent 98%); }
.gift--main .gift__img { height: 320px; }
/* Vòng sáng ôm quanh quà chính, giống poster */
.gift--main .gift__img::after { content: ""; position: absolute; left: -6%; right: -6%; top: 40%; height: 30%; border-radius: 50%; border: 3px solid transparent; border-bottom-color: #fff; rotate: -13deg; filter: drop-shadow(0 0 8px var(--gift-neon)) drop-shadow(0 0 16px var(--gift-glow)); pointer-events: none; }
.gift__label { position: relative; overflow: hidden; width: 100%; padding: 46px 14px 18px; border-radius: 24px; border: 2px solid rgb(255 255 255 / .9); background: var(--gift-card); text-align: center; box-shadow: 0 0 0 1px var(--gift-neon), 0 0 34px var(--gift-glow), inset 0 2px 0 #fff, inset 0 -26px 34px -22px var(--gift-card-shade); }
.gift__label::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 38%, rgb(255 255 255 / .75) 50%, transparent 62%); translate: -130% 0; animation: gift-sheen 5s ease-in-out infinite; pointer-events: none; }
.gift:nth-child(2) .gift__label::after { animation-delay: .5s; }
.gift:nth-child(3) .gift__label::after { animation-delay: 1s; }
.gift:nth-child(4) .gift__label::after { animation-delay: 1.5s; }
.gift__label h3 { font-size: clamp(15px, 1.55vw, 21px); font-weight: 900; line-height: 1.15; text-transform: uppercase; color: var(--gift-ink); }
.gift--main .gift__label { padding-bottom: 22px; }
.gift--main .gift__label h3 { font-size: clamp(20px, 2.3vw, 31px); background: var(--btn-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gift__tag { position: relative; display: inline-block; margin-top: 11px; padding: 7px 16px; border-radius: 999px; background: var(--btn-grad); box-shadow: 0 6px 16px -6px var(--gift-accent), inset 0 1px 0 rgb(255 255 255 / .45); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; line-height: 1.25; }
@keyframes gift-float { from { transform: translateY(4px) rotate(-1.2deg); } to { transform: translateY(-10px) rotate(1.2deg); } }
@keyframes gift-sheen { 0%, 55% { translate: -130% 0; } 85%, 100% { translate: 130% 0; } }
@keyframes gift-twinkle { 0%, 100% { opacity: .25; scale: .6; } 50% { opacity: 1; scale: 1.15; } }
@media (prefers-reduced-motion: reduce) { .gift__img img, .gift__label::after, .gifts__spark { animation: none; } }
.buyer__img img[src*="gift-"] { height: 150px; width: auto; border-radius: 0; background: none; mix-blend-mode: normal; }
.duration__img[src*="gift-"] { flex: none; width: auto; height: 170px; background: none; border-radius: 0; mix-blend-mode: normal; }
.top1__img img[src*="gift-"] { width: auto; height: 250px; margin-inline: auto; mix-blend-mode: normal; filter: drop-shadow(0 22px 26px var(--shadow-c)); }
.hl-card__ico--img[src*="gift-"] { border-radius: 0; background: none; }
@media (max-width: 640px) {
  .gifts { padding: 30px 14px 20px; }
  .gifts__title::before, .gifts__title::after { max-width: 28px; }
  .gifts__row, .gifts__row--3, .gifts__row--4 { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .gifts__row .gift--main { grid-column: 1 / -1; order: -1; }
  .gift__img { height: 170px; margin-bottom: -28px; }
  .gift--main .gift__img { height: 250px; }
  .gift__label { padding: 38px 10px 14px; border-radius: 20px; }
  .gift__tag { font-size: 11px; padding: 5px 10px; }
  .gifts__row--4 .gift:last-child { grid-column: 1 / -1; }
  .gifts__row--4 .gift:last-child .gift__label { max-width: 62%; }
  .top1__img img[src*="gift-"] { height: 200px; }
  .buyer__img img[src*="gift-"] { height: 120px; }
}

/* ===== Sửa theo comment khách 17-19/11 ===== */
/* Dải chữ chạy: chữ nằm giữa dải màu */
.band ul { align-items: center; }
.band li { display: flex; align-items: center; line-height: 1; }
/* Tagline không rớt dòng */
.hero--cards .hero__tagline { white-space: nowrap; font-size: clamp(17px, 1.9vw, 23px); }
.hero__names { gap: 4px; }
.hero__names li { font-size: 10px; padding: 3px 7px; }
/* Khung thẻ nổi hơn trên nền */
.hl-card, .countdown, .prod, .usp, .rank, .act, .info, .perk-list li, .duration { box-shadow: 0 0 0 1.5px var(--card-line), 0 0 26px -8px var(--shadow-c), 0 20px 40px -30px var(--shadow-c); }
/* USP: hình/logo thay icon */
.usps--3 { grid-template-columns: repeat(3, 1fr); }
.usp__ico--img { width: 72px; height: 72px; border-radius: 14px; background: #fff; object-fit: contain; padding: 2px; }
.usp__ico--img[src*="logo-"] { padding: 8px; }
.usp b { font-size: 17px; }
/* Bộ sample 3 hộp: xếp cạnh nhau, không chồng */
.kit__stage--3 { display: flex; align-items: flex-end; justify-content: center; gap: 14px; height: auto; min-height: 240px; }
.kit__stage--3 .kit__img { position: static; }
.kit__stage--3 .kit__img--0, .kit__stage--3 .kit__img--1 { width: 37%; left: auto; right: auto; bottom: auto; }
.kit__stage--3 .kit__img--2 { width: 22%; left: auto; bottom: auto; border-radius: 12px; }
.kit__stage--lineup figcaption { font-size: 13px; max-width: 110px; line-height: 1.25; }
/* Top 1: viền sáng làm nổi quà */
.top1__img { position: relative; padding: 16px; border-radius: 26px; border: 2px solid var(--gift-neon); background: radial-gradient(circle at 50% 45%, rgb(255 255 255 / .2), transparent 72%); box-shadow: 0 0 30px var(--gift-glow), inset 0 0 30px var(--gift-glow); overflow: visible; clip-path: none !important; }
.top1__img img { filter: drop-shadow(0 0 16px var(--gift-neon)) drop-shadow(0 16px 20px rgb(0 0 0 / .45)) !important; }
/* Thẻ hạng: Top / E-Voucher XX Triệu / số giải */
.rank__value--text { font-size: 26px; }
/* Giải người mua: mỗi giải một hàng, ảnh ngang hàng với giải */
.buyer--rows { display: block; }
.buyer__row { display: grid; grid-template-columns: minmax(0, 1fr) 130px; gap: 18px; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .35); }
.buyer--rows h3 + .buyer__row { border-top: 0; padding-top: 0; }
.buyer__sub { display: flex; align-items: center; gap: 8px; font-size: 19px; }
.buyer__sub i { font-size: 1.15em; }
.buyer--rows .buyer__prize { margin-top: 4px; font-size: clamp(21px, 2.2vw, 27px); font-weight: 900; line-height: 1.2; }
.buyer--rows .buyer__prize span { font-size: .72em; font-weight: 600; white-space: nowrap; }
.buyer--rows .buyer__rule { font-size: 14px; }
.buyer__pic { justify-self: center; max-height: 140px; width: auto; max-width: 130px; object-fit: contain; filter: drop-shadow(0 14px 16px rgb(0 0 0 / .35)); }
.buyer__pic[src*="gift-halio"] { border-radius: 16px; filter: none; box-shadow: 0 10px 24px -10px rgb(0 0 0 / .5); }
/* Dải quà: bỏ vòng tròn, ảnh Halio rõ trong ô trắng */
.gift--main .gift__img::after { display: none; }
.gift__img img[src*="gift-halio"] { height: 74%; margin-bottom: 40px; border-radius: 22px; filter: none; -webkit-mask-image: none; mask-image: none; box-shadow: 0 0 0 2px #fff, 0 0 30px var(--gift-glow); }
.gifts__row--4 .gift__label h3 { font-size: clamp(14px, 1.35vw, 18px); }
.gifts__row--4 .gift--main .gift__label h3 { font-size: clamp(17px, 1.75vw, 23px); }
.kv--note { margin-top: 20px; }
@media (max-width: 1024px) { .usps--3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .buyer__row { grid-template-columns: minmax(0, 1fr) 96px; gap: 12px; }
  .buyer__pic { max-width: 96px; max-height: 110px; }
  .kit__stage--3 { min-height: 0; gap: 8px; }
  .top1__img { padding: 12px; }
  .gift__img img[src*="gift-halio"] { margin-bottom: 34px; }
}
.kit__stage--3 .kit__img--2 { width: auto; height: 250px; border-radius: 0; }
.kit__stage--3 .kit__img--0, .kit__stage--3 .kit__img--1 { width: 36%; }
@media (max-width: 640px) { .kit__stage--3 .kit__img--2 { height: 150px; } }

/* 19/11 17:03: dải quà cân xứng - các ô cao bằng nhau, ảnh cùng một tầm, quà Top 1 chỉ to hơn một chút */
.gifts__row, .gifts__row--3, .gifts__row--4 { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); align-items: stretch; }
.gifts__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gifts__row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gift { grid-template-rows: auto 1fr; }
.gift__img, .gift--main .gift__img { height: 250px; margin-bottom: -34px; }
.gift__img img { height: 84%; }
.gift--main .gift__img img { height: 100%; }
.gift__img img[src*="gift-halio"] { height: 60%; margin-bottom: 44px; }
.gift__label, .gift--main .gift__label { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; min-height: 150px; padding: 46px 12px 18px; }
.gift__label h3, .gifts__row--4 .gift__label h3 { font-size: clamp(14px, 1.4vw, 18px); }
.gift--main .gift__label h3, .gifts__row--4 .gift--main .gift__label h3 { font-size: clamp(15px, 1.55vw, 20px); }
.gift__tag { margin-top: auto; }
.gift__label h3 { margin-bottom: 10px; }
@media (max-width: 640px) {
  .gifts__row, .gifts__row--3, .gifts__row--4 { grid-template-columns: 1fr 1fr; }
  .gifts__row .gift--main { grid-column: auto; order: 0; }
  .gifts__row--3 .gift:last-child { grid-column: 1 / -1; }
  .gifts__row--3 .gift:last-child .gift__label { max-width: 62%; justify-self: center; }
  .gifts__row--4 .gift:last-child { grid-column: auto; }
  .gifts__row--4 .gift:last-child .gift__label { max-width: none; }
  .gift__img, .gift--main .gift__img { height: 180px; margin-bottom: -28px; }
  .gift__label, .gift--main .gift__label { min-height: 132px; padding: 38px 8px 14px; }
  .gift__img img[src*="gift-halio"] { margin-bottom: 34px; }
}

/* 19/11 17:09: viền sáng quanh ảnh quà ở các thẻ hero cho nổi bật */
.hl-card__ico--img, .hl-card__ico--img[src$=".svg"], .hl-card__ico--img[src*="iphone"], .hl-card__ico--img[src*="gift-"] { width: 58px; height: 58px; padding: 5px; border-radius: 14px; background: rgb(255 255 255 / .14); box-shadow: 0 0 0 2px var(--gift-neon), 0 0 16px 2px var(--gift-glow), inset 0 0 10px rgb(255 255 255 / .18); }
.hl-card__ico--img[src*="halio"] { padding: 0; background: #fff; }
.hero__box { position: absolute; }
.hero__lid { position: absolute; z-index: 1; animation: gift-float 6s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) { .hero__lid { animation: none; } }

/* 19/11 17:24: bỏ viền quanh ảnh quà, chỉ để nền sáng phía sau cho đỡ rối */
.top1__img { padding: 10px; border: 0; border-radius: 0; box-shadow: none; background: radial-gradient(ellipse at 50% 52%, rgb(255 255 255 / .55) 0%, var(--gift-glow) 32%, transparent 70%); }
.top1__img img { filter: drop-shadow(0 16px 20px rgb(0 0 0 / .45)) !important; }
.hl-card__ico--img, .hl-card__ico--img[src$=".svg"], .hl-card__ico--img[src*="iphone"], .hl-card__ico--img[src*="gift-"] { padding: 3px; border-radius: 50%; box-shadow: none; background: radial-gradient(circle at 50% 50%, rgb(255 255 255 / .6) 0%, var(--gift-glow) 42%, transparent 72%); }
.hl-card__ico--img[src*="halio"] { padding: 0; border-radius: 12px; background: #fff; box-shadow: 0 0 16px 2px var(--gift-glow); }

/* 19/11 17:44: ảnh quà ở thẻ hero không bo góc/cắt ảnh nữa - để nguyên ảnh như phần quà bên dưới, vầng sáng phía sau */
.hl-card__ico--img, .hl-card__ico--img[src$=".svg"], .hl-card__ico--img[src*="iphone"], .hl-card__ico--img[src*="gift-"] { width: 60px; height: 60px; padding: 0; border-radius: 0; object-fit: contain; box-shadow: none; background: radial-gradient(circle at 50% 50%, rgb(255 255 255 / .5) 0%, var(--gift-glow) 38%, transparent 70%); }
.hl-card__ico--img[src*="halio"] { border-radius: 10px; background: #fff; box-shadow: 0 0 14px 2px var(--gift-glow); }

/* ===== RiHair: tone đen + đỏ theo poster "Mega Live RiHair" khách gửi 13/11 (bản sáng cũ: theme-rihair-light.css.bak) ===== */
.theme-rihair {
  --page-bg: radial-gradient(900px 600px at 6% -5%, rgb(255 30 40 / .26), transparent 60%), radial-gradient(900px 700px at 100% 40%, rgb(255 30 40 / .14), transparent 60%), #0a0506;
  --primary: #ff3b44; --accent2: #ff6b72;
  --btn-grad: linear-gradient(95deg, #ff2a33, #c4161c);
  --pill-bg: linear-gradient(95deg, #45484f, #1b1c20);
  --brand-grad: linear-gradient(100deg, #ffffff 0%, #ffd9db 50%, #ff5a61 100%);
  --battle-grad: linear-gradient(100deg, #ff5a61 0%, #e02027 100%);
  --tagline: #ffffff; --title: #f6eded; --muted: #b9aaac; --text: #f6eded;
  --h2: #ff3b44; --form-title: #c4161c; --value: #ff4d55; --value-strong: #ff4d55; --prize-ink: #ffffff;
  --rank-label: #ffffff; --act-title: #ff6b72; --step-num: #fff; --note: #c9b8ba;
  --gold-grad: linear-gradient(95deg, #ff6b72, #ff2a33);
  --badge-grad: linear-gradient(95deg, #ffffff, #d9dde3); --badge-ink: #c4161c;
  --card: rgb(255 255 255 / .05); --card-strong: rgb(255 255 255 / .07); --card-line: rgb(255 70 80 / .32);
  --ico-bg: rgb(255 42 51 / .16); --input-line: #e6cfd1; --focus-ring: rgb(196 22 28 / .18);
  --shadow-c: rgb(255 30 40 / .4);
  --buyer-bg: linear-gradient(110deg, #e02027, #8f0c11); --buyer-hl: #ffffff;
  --blob-1: rgb(255 30 40 / .3); --blob-2: rgb(255 30 40 / .16);
  --prod-bg: linear-gradient(160deg, #2a0d0f, #120708);
  --particle: radial-gradient(circle at 35% 30%, #fff 0%, rgb(255 90 97 / .9) 45%, rgb(196 22 28 / .4) 100%);
  --particle-radius: 50%;
  --band-bg: linear-gradient(95deg, #e02027, #8f0c11);
  --watermark: rgb(255 42 51 / .07);
  --confetti: #ff2a33, #ffffff, #c4161c, #d9dde3, #ff6b72;
  --kit-bg: linear-gradient(135deg, rgb(255 255 255 / .06), rgb(255 42 51 / .14));
  --radius: 18px; --btn-radius: 10px; --bar-radius: 16px;
}
/* Khối nền sáng (thanh menu, form) giữ chữ tối */
.theme-rihair .top__bar, .theme-rihair .form { --title: #1b1214; --muted: #6b5c5e; --primary: #c4161c; --card-line: #f0d9da; }
.theme-rihair .top__bar { background: rgb(255 255 255 / .95); box-shadow: 0 0 0 1px rgb(255 70 80 / .5), 0 16px 40px -24px var(--shadow-c); }
.theme-rihair .bezel { background: rgb(255 42 51 / .22); box-shadow: 0 0 0 1px rgb(255 70 80 / .5), 0 40px 80px -40px var(--shadow-c); }
.theme-rihair .form { background: #fff; }
.theme-rihair .pill { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .45), 0 10px 24px -12px var(--shadow-c); }
.theme-rihair .total i { color: #c4161c; }
.theme-rihair .top1 h3 i, .theme-rihair .duration h3 i { color: #e9edf2; }
.theme-rihair .top1::before { background: conic-gradient(from var(--ang, 0deg), #ff2a33, #ffffff, #ff2a33, #d9dde3, #ff2a33); }
.theme-rihair .top1__img img, .theme-rihair .duration__img { mix-blend-mode: normal; border-radius: 14px; }
.theme-rihair .buyer__prize { font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; line-height: 1.15; }
.theme-rihair .buyer__prize span { font-size: .7em; font-weight: 600; }
.theme-rihair .milestones b { background: #1c0a0b; }
.theme-rihair .step__ico { background: rgb(255 42 51 / .16); }
.theme-rihair .perk__ico--img { background: #2a0d0f; }
.theme-rihair .kv--note { background: repeating-linear-gradient(135deg, rgb(255 255 255 / .06) 0 14px, rgb(255 255 255 / .02) 14px 28px); }
.theme-rihair .foot { background: #060303; }
.theme-rihair { --hero-prod-w: 264px; }
.theme-rihair .hero__product::before { content: ""; position: absolute; left: 50%; bottom: 22px; translate: -50% 0; width: 100%; height: 70px; border-radius: 50%; background: radial-gradient(ellipse at center, rgb(255 70 80 / .6) 0%, rgb(196 22 28 / .28) 55%, transparent 72%); }
.theme-rihair .hero__img { width: auto; filter: drop-shadow(0 24px 24px rgb(255 30 40 / .35)); }
.theme-rihair .hero__fig--0 { left: 0; bottom: 56px; rotate: -12deg; --unrotate: 12deg; z-index: 2; }
.theme-rihair .hero__fig--1 { left: 25%; bottom: 38px; rotate: -4deg; --unrotate: 4deg; z-index: 3; }
.theme-rihair .hero__fig--2 { left: 50%; bottom: 38px; rotate: 4deg; --unrotate: -4deg; z-index: 3; }
.theme-rihair .hero__fig--3 { left: 74%; bottom: 56px; rotate: 12deg; --unrotate: -12deg; z-index: 2; }
.theme-rihair .hero__fig .hero__img { height: 216px; }
.theme-rihair .hero__fig--0 .hero__img, .theme-rihair .hero__fig--3 .hero__img { height: 192px; }
.theme-rihair .rank__num { display: none; place-items: center; position: absolute; left: 22px; top: 18px; width: 22px; height: 22px; border-radius: 50%; background: #c4161c; color: #fff; font-size: 12px; font-weight: 900; }
.theme-rihair .countdown { margin-top: 16px; }
.theme-rihair .countdown__units { display: flex; justify-content: center; gap: 8px; }
.theme-rihair .countdown__units div { display: flex; align-items: baseline; gap: 4px; }
.theme-rihair .countdown__units div + div { border-left: 0; }
.theme-rihair .countdown__units div + div::before { content: "·"; margin-right: 8px; color: var(--muted); }
.theme-rihair .countdown small { font-size: 16px; font-weight: 700; color: var(--title); }
.theme-rihair .step__num { background: #c4161c; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; }
.theme-rihair .act__ico, .theme-rihair .perk__ico, .theme-rihair .rank__ico { color: #ff4d55; }
.theme-rihair .foot__row img { height: 56px; padding: 6px 14px; background: #fff; border-radius: 12px; }
.theme-rihair .prizes--split { grid-template-columns: 1fr 1.3fr; }
.theme-rihair .duration { padding: 24px 28px; }
.theme-rihair .duration h3 { font-size: 22px; }
.theme-rihair .duration__prize { font-size: 22px; }
.theme-rihair .duration__value { font-size: 30px; }
.theme-rihair .duration__img { height: 150px; }
@media (max-width: 1024px) { .theme-rihair .prizes--split { grid-template-columns: 1fr; } }
.theme-rihair .hero--cards .hero__battle { font-size: clamp(32px, 3.9vw, 50px); }
@media (max-width: 1024px) { .theme-rihair .hero--cards .hero__product { width: 264px; } }
.theme-rihair { --gifts-bg: radial-gradient(120% 90% at 50% 0%, #6a1014 0%, #2c0a0c 55%, #120506 100%); --gifts-title: #ffffff; --gift-card: linear-gradient(180deg, #ffffff 0%, #e2e5eb 100%); --gift-ink: #1b1214; --gift-accent: #c4161c; --gift-glow: rgb(255 42 51 / .6); }
.theme-rihair { --gift-neon: #ff6b72; --gift-card-shade: rgb(150 160 182 / .55); }
/* 19/11: nền bớt đen, pha đỏ + đen; khung thẻ pha đỏ cho nổi; viên tiêu đề đỏ như nút Đăng ký */
.theme-rihair {
  --page-bg: radial-gradient(1100px 700px at 6% -5%, rgb(255 30 40 / .55), transparent 62%), radial-gradient(1000px 800px at 100% 30%, rgb(255 30 40 / .36), transparent 62%), radial-gradient(1000px 800px at 12% 70%, rgb(196 22 28 / .36), transparent 60%), radial-gradient(900px 700px at 92% 96%, rgb(255 50 60 / .3), transparent 60%), #3c0b0f;
  --pill-bg: linear-gradient(95deg, #ff2a33, #c4161c);
  --card: rgb(255 80 88 / .17); --card-strong: rgb(255 80 88 / .21); --card-line: rgb(255 120 126 / .65);
  --prod-bg: linear-gradient(160deg, #70161b, #3d0b0e);
  --kit-bg: linear-gradient(135deg, rgb(255 255 255 / .1), rgb(255 42 51 / .28));
  --muted: #e2cfd1; --watermark: rgb(255 80 88 / .09);
}
.theme-rihair .top__bar, .theme-rihair .form { --muted: #6b5c5e; --card-line: #f0d9da; }
.theme-rihair .pill { box-shadow: 0 10px 24px -12px var(--shadow-c); }
.theme-rihair .foot { background: #1d0507; }
/* 19/11: hero - 4 sản phẩm bay lên từ hộp quà, không đè lên nhau */
.theme-rihair { --hero-prod-w: 290px; }
.theme-rihair .hero--cards .hero__battle { font-size: clamp(30px, 3.6vw, 46px); }
.theme-rihair .hero--cards .hero__product { height: 360px; }
.theme-rihair .hero__product::before { left: 50%; translate: -50% 0; bottom: 136px; width: 226px; height: 52px; border-radius: 50%; background: radial-gradient(ellipse at center, #3d0507 0%, #8f0c11 100%); box-shadow: 0 0 0 2px rgb(255 255 255 / .7), 0 -30px 70px 30px rgb(255 60 70 / .45); z-index: 1; }
.theme-rihair .hero__fig { z-index: 2; }
.theme-rihair .hero__fig--0 { left: 1%; bottom: 152px; rotate: -19deg; }
.theme-rihair .hero__fig--1 { left: 26%; bottom: 170px; rotate: -6deg; }
.theme-rihair .hero__fig--2 { left: 53%; bottom: 170px; rotate: 6deg; }
.theme-rihair .hero__fig--3 { left: 77%; bottom: 152px; rotate: 19deg; }
.theme-rihair .hero__fig .hero__img { height: 168px; }
.theme-rihair .hero__fig--0 .hero__img, .theme-rihair .hero__fig--3 .hero__img { height: 156px; }
.theme-rihair .hero__box { left: calc(50% - 110px); bottom: 30px; width: 220px; height: auto; z-index: 5; filter: drop-shadow(0 18px 22px rgb(255 30 40 / .45)); }
@media (max-width: 1024px) { .theme-rihair .hero--cards .hero__product { width: 300px; height: 360px; } }
/* Hộp quà vẽ lại */
.theme-rihair .hero__product::before { bottom: 172px; width: 196px; height: 32px; border-radius: 0; clip-path: polygon(7% 0, 93% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, #2e0406, #7a0c11); box-shadow: none; }
.theme-rihair .hero__product::after { content: ""; position: absolute; left: 50%; translate: -50% 0; bottom: 168px; width: 320px; height: 220px; background: radial-gradient(ellipse at 50% 100%, rgb(255 90 100 / .55), transparent 68%); z-index: 0; pointer-events: none; }
.theme-rihair .hero__fig--0, .theme-rihair .hero__fig--3 { bottom: 164px; }
.theme-rihair .hero__fig--1, .theme-rihair .hero__fig--2 { bottom: 180px; }
.theme-rihair .hero__box { left: calc(50% - 113px); width: 272px; bottom: 28px; }
.theme-rihair .hero--cards .hero__product { height: 372px; }
@media (max-width: 1024px) { .theme-rihair .hero--cards .hero__product { height: 372px; } }
.theme-rihair .hero__box { left: calc(50% - 113px); width: 226px; }
/* Hộp tròn tối viền neon + nắp bay (theo key visual brand) */
.theme-rihair .hero__product::before { bottom: 145px; width: 217px; height: 36px; clip-path: none; border-radius: 50%; background: radial-gradient(ellipse at 50% 60%, #5a0c12 0%, #170405 75%); box-shadow: 0 0 0 2px #ffc9cc, 0 0 14px 3px #ff2a33; }
.theme-rihair .hero__product::after { bottom: 150px; }
.theme-rihair .hero__fig--0, .theme-rihair .hero__fig--3 { bottom: 152px; }
.theme-rihair .hero__fig--1, .theme-rihair .hero__fig--2 { bottom: 164px; }
.theme-rihair .hero__box { left: calc(50% - 113px); width: 226px; bottom: 28px; filter: drop-shadow(0 14px 22px rgb(255 30 40 / .5)); }
.theme-rihair .hero__lid { top: -18px; right: -26px; width: 180px; rotate: 22deg; filter: drop-shadow(0 0 14px rgb(255 42 51 / .6)); }
/* 19/11: RiHair cũng bỏ hộp quà - sản phẩm bay lơ lửng, có vòng sáng uốn lượn và bong bóng như ALFE */
.theme-rihair .hero--cards .hero__product { height: 356px; }
.theme-rihair .hero__product::before { left: calc(50% - 150px); translate: none; bottom: 83px; width: 300px; height: 110px; rotate: -10deg; border-radius: 50%; background: none; border: 2.5px solid rgb(255 255 255 / .8); box-shadow: 0 0 20px 5px rgb(255 60 70 / .75), inset 0 0 20px 4px rgb(255 60 70 / .6); z-index: 1; }
.theme-rihair .hero__product::after { bottom: 44px; width: 340px; height: 300px; background: radial-gradient(ellipse at 50% 50%, rgb(255 80 90 / .6), transparent 66%); }
.theme-rihair .hero__fig--0 { left: 0; bottom: 112px; }
.theme-rihair .hero__fig--1 { left: 26%; bottom: 128px; }
.theme-rihair .hero__fig--2 { left: 53%; bottom: 128px; }
.theme-rihair .hero__fig--3 { left: 78%; bottom: 112px; }
.theme-rihair .hero__fig .hero__img { height: 184px; }
.theme-rihair .hero__fig--0 .hero__img, .theme-rihair .hero__fig--3 .hero__img { height: 170px; }
.theme-rihair .hero__fig { animation: gift-float 5.5s ease-in-out infinite alternate; }
.theme-rihair .hero__fig--1 { animation-delay: -1.4s; }
.theme-rihair .hero__fig--2 { animation-delay: -2.8s; }
.theme-rihair .hero__fig--3 { animation-delay: -4s; }
.theme-rihair .hero__box { left: calc(50% - 160px); bottom: 28px; width: 320px; height: auto; filter: none; pointer-events: none; }
@media (max-width: 1024px) { .theme-rihair .hero--cards .hero__product { height: 356px; } }
@media (min-width: 1025px) { .theme-rihair .hero__product { margin-left: 14px; } .theme-rihair .hero__product::before { left: calc(50% - 132px); } .theme-rihair .hero__box { left: calc(50% - 142px); } }
@media (prefers-reduced-motion: reduce) { .theme-rihair .hero__fig { animation: none; } }
