/* ==========================================================================
   FLOWMINI.VN — MULTI-PAGE E-COMMERCE DESIGN SYSTEM
   Font chữ toàn trang: Quicksand | Khung rộng thoáng: 1440px | Cột đồng đều 100%
   Phong cách màu: Bento Dark Obsidian & Glowing Emerald
   ========================================================================== */

:root {
    --bg-canvas: #070b10;
    --bg-surface: #0d131b;
    --bg-card: #121923;
    --bg-card-hover: #16202d;
    --bg-elevated: #192434;
    --bg-input: #090e14;
    --bg-emerald-soft: linear-gradient(155deg, rgba(16, 185, 129, 0.15) 0%, rgba(6, 78, 59, 0.08) 55%, rgba(14, 20, 28, 0.98) 100%);
    --bg-vip-banner: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(245, 158, 11, 0.12) 55%, rgba(13, 19, 27, 0.98) 100%);

    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --zalo-blue: #0068ff;
    --zalo-blue-hover: #1b78ff;
    --danger-500: #ef4444;

    --text-primary: #f8fafc;
    --text-secondary: #d1dae6;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.15);
    --border-emerald: rgba(16, 185, 129, 0.4);

    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    /* Sử dụng đồng bộ 100% font Quicksand trên toàn bộ website */
    --font-sans: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'Quicksand', sans-serif;

    --shadow-card: 0 20px 48px -12px rgba(0, 0, 0, 0.65);
    --shadow-emerald: 0 10px 26px -6px rgba(16, 185, 129, 0.42);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-canvas);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-weight: 500;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

body {
    min-height: 100vh;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    font-family: var(--font-sans);
    background-color: var(--bg-canvas);
    background-image:
        radial-gradient(ellipse 85% 42% at 50% -8%, rgba(16, 185, 129, 0.15), transparent 70%),
        radial-gradient(ellipse 50% 35% at 92% 18%, rgba(14, 165, 233, 0.06), transparent 65%);
    overflow-x: hidden;
    overflow-x: clip;
}

main.page-main {
    flex: 1;
    min-width: 0;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

button, input, select, textarea, code, pre {
    font-family: var(--font-sans);
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Chiều rộng lớn thoáng đãng 1440px giúp không thành phần nào bị chật hay đè nhau */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 28px;
}

.mono {
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: 0.2px;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR & SPACIOUS HEADER
   ========================================================================== */
.topbar {
    background: linear-gradient(90deg, #05261c 0%, #0b3c2c 50%, #05261c 100%);
    border-bottom: 1px solid rgba(16, 185, 129, 0.28);
    padding: 9px 0;
    font-size: 13.5px;
    font-weight: 600;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.topbar-msg {
    color: #d1fae5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.topbar-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.brand-text-wrap {
    min-width: 0;
}

.brand-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-tagline {
    font-size: 12.5px;
    color: #94a3b8;
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-only-nav {
    display: none;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 13px;
    border-radius: 999px;
    background: rgba(10, 15, 22, 0.75);
    border: 1px solid rgba(16, 185, 129, 0.36);
    color: var(--emerald-400);
    font-weight: 700;
    font-size: 12.5px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald-400);
    box-shadow: 0 0 10px var(--emerald-400);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.28); opacity: 0.65; }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 250;
    background: rgba(9, 13, 19, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-subtle);
}

.site-header.is-static {
    position: relative;
    top: auto;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
}

.brand-emblem {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: linear-gradient(135deg, #34d399 0%, #059669 100%);
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.42);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 19px;
    color: #04150e;
    overflow: hidden;
}

.brand-emblem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand-name {
    font-weight: 800;
    font-size: 20px;
    color: #ffffff;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.brand-name-main {
    color: #ffffff;
}

.brand-name-accent {
    background: linear-gradient(95deg, #34d399 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-tagline-mobile {
    display: none;
}

.client-pro-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 7px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: var(--emerald-400);
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.center-pill-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 999px;
    background: rgba(18, 25, 36, 0.92);
    border: 1px solid var(--border-subtle);
}

.pill-nav-item {
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    white-space: nowrap;
}

.pill-nav-item:hover, .pill-nav-item.active {
    background: rgba(16, 185, 129, 0.16);
    color: var(--emerald-400);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Hệ thống Icon Vector SVG chuẩn SaaS hiện đại trên toàn trang */
.ui-ic {
    display: inline-block;
    vertical-align: -3px;
    flex-shrink: 0;
    stroke: currentColor;
}

.btn .ui-ic,
.header-cart-link .ui-ic,
.wallet-pill .ui-ic,
.cat-pill .ui-ic,
.miu-suggest-chip .ui-ic,
.vip-crown-pill .ui-ic,
.vip-sale-pill .ui-ic,
.user-menu-links .ui-ic,
.profile-nav-btn .ui-ic,
.footer-links .ui-ic {
    vertical-align: middle;
}

.benefit-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.18), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: var(--emerald-400);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px -6px rgba(16, 185, 129, 0.28);
}

.empty-icon-circle {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.32);
    color: var(--emerald-400);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.sec-title-ic {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.32);
    color: var(--emerald-400);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: -6px;
    margin-right: 8px;
}
.sec-title-ic.amber {
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.35);
    color: var(--amber-400);
}

/* Generous Buttons (Không bao giờ gò bó hay tràn chữ) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14.5px;
    line-height: 1.3;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-lg {
    min-height: 52px;
    padding: 13px 28px;
    font-size: 15.5px;
    border-radius: 14px;
}

.btn-emerald {
    background: linear-gradient(180deg, #13c68c 0%, #0ea574 100%);
    color: #ffffff;
    box-shadow: var(--shadow-emerald);
}
.btn-emerald:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.btn-combo-cta {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    color: #090d12;
    font-weight: 700;
    box-shadow: 0 8px 22px -6px rgba(245, 158, 11, 0.45);
}
.btn-combo-cta:hover {
    filter: brightness(1.07);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    color: var(--text-primary);
}
.btn-secondary:hover {
    border-color: var(--emerald-400);
    color: var(--emerald-400);
}

.btn-zalo {
    background: var(--zalo-blue);
    color: #ffffff;
}
.btn-zalo:hover {
    background: var(--zalo-blue-hover);
}

.btn-danger-soft {
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
}
.btn-danger-soft:hover {
    background: rgba(239, 68, 68, 0.24);
}

.header-cart-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.38);
    color: var(--emerald-400);
    font-weight: 700;
    font-size: 14px;
}
.header-cart-link:hover {
    background: rgba(16, 185, 129, 0.22);
}

.cart-badge {
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: var(--emerald-500);
    color: #04150e;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wallet-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 15px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-emerald);
    font-size: 14px;
    font-weight: 700;
    color: var(--emerald-400);
}
.wallet-pill:hover {
    background: rgba(16, 185, 129, 0.14);
    border-color: var(--emerald-400);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

/* ==========================================================================
   MIUSHARE-STYLE 3D PHONE CAROUSEL & NEON PEDESTAL HERO BANNER
   ========================================================================== */
.miu-hero-section {
    position: relative;
    background-color: #040812;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 48px 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    padding: 30px 0 42px;
    overflow: hidden;
}

.miu-glow-orb-left {
    position: absolute;
    left: 6%;
    top: 12%;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: rgba(0, 229, 153, 0.16);
    filter: blur(135px);
    pointer-events: none;
}

.miu-glow-orb-right {
    position: absolute;
    right: 8%;
    top: 20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.11);
    filter: blur(130px);
    pointer-events: none;
}

.miu-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 44px;
    align-items: center;
}

/* LEFT COLUMN: HERO VISUAL SHOWCASE COLUMN */
.miu-carousel-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.miu-phone-stage {
    position: relative;
    width: 100%;
    max-width: 650px;
    height: 515px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

/* Concentric Glowing Elliptical Neon Pedestal */
.miu-pedestal {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 560px;
    max-width: 96%;
    height: 108px;
    pointer-events: none;
    z-index: 4;
}

.miu-pedestal-mist {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 42px;
    height: 125px;
    background: radial-gradient(ellipse 65% 90% at 50% 100%, rgba(0, 240, 255, 0.24) 0%, rgba(0, 229, 153, 0.12) 48%, transparent 78%);
    pointer-events: none;
}

.miu-pedestal-bloom {
    position: absolute;
    inset: -12px -18px;
    border-radius: 50%;
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.32), rgba(0, 229, 153, 0.45), rgba(0, 240, 255, 0.32));
    filter: blur(28px);
    opacity: 0.9;
}

.miu-pedestal-ring-outer {
    position: absolute;
    inset: 14px 0;
    border-radius: 50%;
    border: 2.5px solid #00f0ff;
    background: radial-gradient(ellipse at center, rgba(6, 24, 38, 0.72) 0%, rgba(4, 10, 20, 0.9) 75%);
    box-shadow:
        0 0 22px #00f0ff,
        0 0 48px rgba(0, 240, 255, 0.65),
        inset 0 0 24px rgba(0, 240, 255, 0.35);
}

.miu-pedestal-ring-inner {
    position: absolute;
    inset: 26px 46px;
    border-radius: 50%;
    border: 2px solid #00e599;
    background: radial-gradient(ellipse at center, rgba(0, 229, 153, 0.24) 0%, rgba(8, 27, 42, 0.85) 75%);
    box-shadow: 0 0 20px rgba(0, 229, 153, 0.65), inset 0 0 18px rgba(0, 229, 153, 0.3);
}

/* 3D Phone Frame Cards */
.miu-phone-card {
    position: absolute;
    top: 12px;
    width: 256px;
    height: 454px;
    border-radius: 38px;
    padding: 9px;
    background: #090f1d;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition:
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.55s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
    user-select: none;
    will-change: transform, opacity;
}

.miu-phone-card.is-center {
    z-index: 30;
    opacity: 1;
    cursor: pointer;
    border: 3px solid #00f0ff;
    transform: translate3d(0, 0, 40px) rotateY(0deg) scale(1);
    box-shadow:
        0 0 26px rgba(0, 240, 255, 0.62),
        0 0 64px rgba(0, 229, 153, 0.3),
        0 26px 50px rgba(0, 0, 0, 0.8);
}

.miu-phone-card.is-left {
    z-index: 18;
    opacity: 0.92;
    cursor: pointer;
    transform: translate3d(-172px, 16px, -40px) rotateY(17deg) rotateZ(-2.5deg) scale(0.86);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.72);
}

.miu-phone-card.is-right {
    z-index: 18;
    opacity: 0.92;
    cursor: pointer;
    transform: translate3d(172px, 16px, -40px) rotateY(-17deg) rotateZ(2.5deg) scale(0.86);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.72);
}

.miu-phone-card.is-left:hover,
.miu-phone-card.is-right:hover {
    border-color: rgba(0, 229, 153, 0.75);
}

.miu-phone-card.is-hidden {
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, 24px, -150px) scale(0.7);
}

.miu-phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    clip-path: inset(0 round 30px);
    contain: layout paint;
    isolation: isolate;
    background: #060b14;
}

.miu-phone-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 5.5s ease-out;
}

.miu-phone-card.is-center .miu-phone-media {
    transform: scale(1.07);
}

.miu-phone-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(4, 8, 18, 0.58) 0%, transparent 24%, transparent 50%, rgba(4, 8, 18, 0.94) 100%);
    pointer-events: none;
}

.miu-dynamic-island {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 58px;
    height: 11px;
    border-radius: 999px;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 5;
}

.miu-phone-topbar {
    position: absolute;
    top: 24px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 5;
}

.miu-phone-cat-pill {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(6, 12, 24, 0.76);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.miu-sound-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(6, 12, 24, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 12px;
    display: none;
    align-items: center;
    justify-content: center;
}

.miu-phone-card.is-center .miu-sound-btn {
    display: inline-flex;
}

/* TikTok Social Metric Column on Center Phone */
.miu-social-col {
    position: absolute;
    right: 10px;
    bottom: 72px;
    z-index: 6;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.miu-phone-card.is-center .miu-social-col {
    display: flex;
}

.miu-social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.miu-social-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(8, 14, 26, 0.72);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.miu-phone-bottom {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 5;
}

.miu-hook-badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 6px;
    background: rgba(0, 240, 255, 0.16);
    border: 1px solid rgba(0, 240, 255, 0.45);
    color: #00f0ff;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 6px;
}

.miu-phone-title {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 3px;
}

.miu-phone-sub {
    font-size: 12.5px;
    color: #e2e8f0;
    line-height: 1.35;
    max-width: 178px;
}

.miu-phone-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    color: #cbd5e1;
    margin-top: 8px;
}

.miu-progress-track {
    width: 100%;
    height: 3px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.2);
    margin-top: 7px;
    overflow: hidden;
}

.miu-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00e599, #00f0ff);
}

.miu-phone-card.is-center .miu-progress-fill {
    animation: miuSlideProgress 5.2s linear infinite;
}

@keyframes miuSlideProgress {
    from { width: 0%; }
    to { width: 100%; }
}

/* Floating Thumbnail Pill Switcher Underneath Pedestal */
.miu-carousel-dock {
    margin-top: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(6, 12, 24, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    z-index: 15;
}

.miu-dock-arrow {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: #cbd5e1;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.miu-dock-arrow:hover {
    color: #00e599;
    background: rgba(255, 255, 255, 0.08);
}

.miu-dock-thumb {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    overflow: hidden;
    opacity: 0.45;
    transition: all 0.22s ease;
    border: 2px solid transparent;
    padding: 0;
}
.miu-dock-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.miu-dock-thumb:hover {
    opacity: 0.88;
}
.miu-dock-thumb.active {
    opacity: 1;
    border-color: #00e599;
    box-shadow: 0 0 12px rgba(0, 229, 153, 0.9);
    transform: scale(1.14);
}

/* RIGHT COLUMN: HEADLINE, TYPEWRITER SEARCH BAR, PILL CTAS & TRUST STRIP */
.miu-copy-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 600px;
}

.miu-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 15px;
    border-radius: 999px;
    background: rgba(0, 229, 153, 0.12);
    border: 1px solid rgba(0, 229, 153, 0.4);
    color: #00e599;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.miu-ping-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00e599;
    box-shadow: 0 0 10px #00e599;
    animation: pulseGlow 1.8s infinite;
}

.miu-h1 {
    font-size: clamp(34px, 3.6vw, 52px);
    font-weight: 700;
    line-height: 1.16;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.miu-h1-gradient {
    display: block;
    background: linear-gradient(90deg, #00e599 0%, #00f0ff 52%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 6px 24px rgba(0, 229, 153, 0.22));
}

.miu-subtitle {
    font-size: 16.5px;
    color: #cbd5e1;
    line-height: 1.65;
    margin-bottom: 22px;
}

.miu-subtitle strong {
    color: #ffffff;
    font-weight: 700;
}

/* Search Bar with Quick-Suggestions Popover */
.miu-search-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 18px;
    z-index: 40;
}

.miu-search-form {
    width: 100%;
    height: 54px;
    padding: 0 8px 0 18px;
    border-radius: 16px;
    background: rgba(8, 17, 32, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.miu-search-form:focus-within {
    border-color: #00e599;
    box-shadow: 0 0 0 3px rgba(0, 229, 153, 0.16);
}

.miu-search-icon {
    color: #00e599;
    font-size: 17px;
    flex-shrink: 0;
}

.miu-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 15.5px;
    font-weight: 600;
    color: #ffffff;
}

.miu-search-input::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.miu-search-submit {
    height: 38px;
    padding: 0 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.09);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.miu-search-submit:hover {
    background: #00e599;
    color: #041017;
}

.miu-quick-suggest {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #091322;
    border: 1px solid rgba(0, 229, 153, 0.35);
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.72);
    display: none;
}

.miu-quick-suggest.open {
    display: block;
}

.miu-suggest-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.miu-suggest-chip {
    padding: 6px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
}
.miu-suggest-chip:hover {
    border-color: #00e599;
    color: #00e599;
}

/* Dual Rounded-Full Pill CTA Buttons */
.miu-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.miu-btn-primary {
    min-height: 50px;
    padding: 0 26px;
    border-radius: 999px;
    background: #00e599;
    color: #040914;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(0, 229, 153, 0.36);
}
.miu-btn-primary:hover {
    background: #18f5ab;
    transform: translateY(-1px);
}

.miu-btn-secondary {
    min-height: 50px;
    padding: 0 26px;
    border-radius: 999px;
    background: rgba(7, 26, 38, 0.95);
    border: 1.5px solid rgba(56, 189, 248, 0.48);
    color: #38bdf8;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.miu-btn-secondary:hover {
    background: #0c2738;
    border-color: #00e599;
    color: #00e599;
    transform: translateY(-1px);
}

/* Bottom Trust Strip */
.miu-trust-strip {
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    font-size: 14px;
    font-weight: 600;
    color: #cbd5e1;
}

.miu-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.miu-check-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid #00e599;
    color: #00e599;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   PAGE HEADER / BREADCRUMB FOR INDEPENDENT SUBPAGES
   ========================================================================== */
.subpage-hero {
    padding: 34px 0 26px;
    border-bottom: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.06) 0%, transparent 100%);
    margin-bottom: 32px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.breadcrumb a:hover {
    color: var(--emerald-400);
}

.subpage-hero h1 {
    font-size: clamp(26px, 2.8vw, 36px);
    font-weight: 700;
    color: #ffffff;
}

.subpage-hero p {
    font-size: 15.5px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* ==========================================================================
   VIP PROMO CARD
   ========================================================================== */
.vip-banner-section {
    padding: 8px 0 40px;
}

.vip-promo-bento {
    background: var(--bg-vip-banner);
    border: 1.5px solid rgba(16, 185, 129, 0.42);
    border-radius: 24px;
    padding: 28px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: nowrap;
}

.vip-crown-pill {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 8px;
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: #090d12;
    font-size: 12px;
    font-weight: 700;
}

.vip-sale-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.42);
    color: #fca5a5;
    font-size: 12px;
    font-weight: 700;
}

.vip-crown-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vip-promo-info {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 720px;
}

.vip-badges-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.vip-promo-title {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.vip-promo-desc {
    font-size: 15px;
    color: #d1dae6;
}

.vip-promo-action {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
    flex-wrap: nowrap;
}

.vip-price-block {
    text-align: right;
}

.vip-price-main-row {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 0;
}

.vip-price-now {
    font-size: 30px;
    font-weight: 700;
    color: #fbbf24;
    line-height: 1.2;
}

.vip-price-old {
    font-size: 15px;
    color: #94a3b8;
    text-decoration: line-through;
}

.vip-price-note {
    font-size: 13px;
    color: #34d399;
    font-weight: 700;
    margin-top: 2px;
}

/* ==========================================================================
   EQUAL-WIDTH & EQUAL-HEIGHT PRODUCT CARDS GRID (ĐỒNG ĐỀU TUYỆT ĐỐI)
   ========================================================================== */
.catalog-section {
    padding: 12px 0 60px;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.section-title-wrap h2 {
    font-size: clamp(23px, 2.5vw, 31px);
    font-weight: 700;
    color: #ffffff;
}

.section-title-wrap p {
    color: var(--text-muted);
    font-size: 15px;
    margin-top: 5px;
}

.catalog-toolbar {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.category-pills {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cat-pill {
    min-height: 42px;
    padding: 8px 16px;
    border-radius: 11px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cat-pill.active, .cat-pill:hover {
    background: rgba(16, 185, 129, 0.16);
    border-color: var(--emerald-500);
    color: var(--emerald-400);
}

.cat-pill .count {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.search-inline {
    height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    background: var(--bg-input);
    border: 1px solid var(--border-strong);
    font-size: 14px;
    min-width: 260px;
}

.sort-select {
    height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    background: var(--bg-input);
    border: 1px solid var(--border-strong);
    font-size: 14px;
}

/* 4 cột bằng nhau tuyệt đối trên màn hình rộng 1440px */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.app-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.app-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.52);
    box-shadow: var(--shadow-card);
}

.app-thumb {
    position: relative;
    aspect-ratio: 45 / 64;
    background: #070b10;
    overflow: hidden;
    border-bottom: 1px solid var(--border-subtle);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    transition: transform 0.35s ease;
}

.app-thumb img[src$=".svg"],
.app-thumb img[src*=".svg?"] {
    object-fit: contain;
    object-position: center;
    padding: 8px;
}

.app-card:hover .app-thumb img {
    transform: scale(1.04);
}

.app-pill-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 11px;
    border-radius: 9px;
    background: rgba(10, 18, 26, 0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(251, 191, 36, 0.45);
    color: #fbbf24;
    font-size: 12px;
    font-weight: 700;
}

.app-pill-cat.cat-tone-0 { border-color: rgba(251, 191, 36, 0.48); color: #fbbf24; }
.app-pill-cat.cat-tone-1 { border-color: rgba(96, 165, 250, 0.48); color: #60a5fa; }
.app-pill-cat.cat-tone-2 { border-color: rgba(0, 229, 153, 0.48);  color: #00e599; }
.app-pill-cat.cat-tone-3 { border-color: rgba(192, 132, 252, 0.48); color: #c084fc; }
.app-pill-cat.cat-tone-4 { border-color: rgba(251, 113, 133, 0.48); color: #fb7185; }
.app-pill-cat.cat-tone-5 { border-color: rgba(34, 211, 238, 0.48);  color: #22d3ee; }
.app-pill-cat.cat-tone-6 { border-color: rgba(251, 146, 60, 0.48);  color: #fb923c; }
.app-pill-cat.cat-tone-7 { border-color: rgba(163, 230, 53, 0.48);  color: #a3e635; }

.app-pill-disc {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    border-radius: 9px;
    background: linear-gradient(135deg, #ef4444 0%, #ea580c 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.app-owned-ribbon {
    position: absolute;
    bottom: 10px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 7px;
    background: #10b981;
    color: #04150e;
    font-size: 11.5px;
    font-weight: 700;
}

.app-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.app-card-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.42;
    color: #ffffff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
}

.app-card-title:hover {
    color: var(--emerald-400);
}

.app-card-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}

/* ==========================================================================
   5 PHONG CÁCH CHÂN THẺ SẢN PHẨM CHUYÊN NGHIỆP (ĐỒNG ĐỀU TỪNG PIXEL)
   ========================================================================== */
.app-card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.svg-ic {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* --- Ý TƯỞNG 1: Minimalist SaaS Single-Bar (Gọn tinh tế kiểu Apple / Linear) --- */
.cf-v1-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
}

.cf-v1-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 46px;
}

.cf-v1-price-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 44px;
}

.cf-v1-price-main {
    font-size: 20px;
    font-weight: 800;
    color: #fbbf24;
    text-shadow: 0 0 18px rgba(251, 191, 36, 0.16);
    line-height: 1.15;
}

.cf-v1-price-main.is-free {
    color: #00e599;
    text-shadow: 0 0 18px rgba(0, 229, 153, 0.16);
}

.cf-v1-price-old {
    font-size: 12.5px;
    color: var(--text-dim);
    text-decoration: line-through;
    line-height: 1.2;
    margin-top: 2px;
}

.cf-v1-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cf-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-strong);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cf-icon-btn:hover {
    border-color: var(--emerald-400);
    color: var(--emerald-400);
    background: rgba(16, 185, 129, 0.12);
}

.cf-v1-buy {
    height: 40px;
    padding: 0 16px;
    border-radius: 11px;
    background: linear-gradient(180deg, #13c68c 0%, #0ea574 100%);
    color: #04140e;
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 6px 18px -4px rgba(16, 185, 129, 0.45);
}
.cf-v1-buy:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

/* --- Ý TƯỞNG 2: Full-Width Emerald CTA (Kiểu Gumroad / Framer Store) --- */
.cf-v2-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    min-height: 30px;
}

.cf-v2-prices {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.cf-v2-sold-pill {
    padding: 3px 9px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.cf-v2-fullbtn {
    width: 100%;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 20px -6px rgba(16, 185, 129, 0.45);
}
.cf-v2-fullbtn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

/* --- Ý TƯỞNG 3: Unified Dark Glass Dock (Kiểu App Store / Steam Pro) --- */
.cf-v3-dock {
    background: #0a0f16;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 10px 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 58px;
}

.cf-v3-price-col {
    min-width: 0;
}

.cf-v3-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    display: block;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cf-v3-price {
    font-size: 17px;
    font-weight: 800;
    color: #fbbf24;
    line-height: 1.25;
    white-space: nowrap;
}

.cf-v3-price.is-free {
    color: #00e599;
}

.cf-v3-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.cf-v3-cart-btn {
    width: 36px;
    height: 36px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.cf-v3-cart-btn:hover {
    border-color: #00e599;
    color: #00e599;
    background: rgba(0, 229, 153, 0.12);
}

.cf-v3-btn {
    height: 36px;
    padding: 0 13px;
    border-radius: 99px;
    background: #00e599;
    color: #04120c;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}
.cf-v3-btn:hover {
    background: #22f5ad;
}

/* --- Ý TƯỞNG 4: Clean Editorial Ghost Outline (Sang trọng kiểu UI8 / Envato) --- */
.cf-v4-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 32px;
}

.cf-v4-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.cf-v4-ghost {
    height: 40px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-secondary);
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.cf-v4-ghost:hover {
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

.cf-v4-emerald-outline {
    height: 40px;
    border-radius: 11px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.42);
    color: #34d399;
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.cf-v4-emerald-outline:hover {
    background: #10b981;
    border-color: #10b981;
    color: #04140e;
}

/* --- Ý TƯỞNG 5: Symmetrical Dual Bento Stat Boxes (Kiểu Vercel / AI Studio) --- */
.cf-v5-bento-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.cf-v5-box {
    background: #0b1119;
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 11px;
    padding: 8px 11px;
    height: 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cf-v5-box span {
    font-size: 11px;
    color: var(--text-dim);
    font-weight: 600;
    line-height: 1.2;
}

.cf-v5-box strong {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.cf-v5-box strong.emerald {
    color: #34d399;
}

.cf-v5-box strong.price-highlight {
    font-weight: 800;
    color: #fbbf24;
}

.cf-v5-box strong.price-highlight.is-free {
    color: #00e599;
}

/* ==========================================================================
   INDEPENDENT PRODUCT DETAIL PAGE (product.php)
   ========================================================================== */
.product-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr);
    gap: 34px;
    align-items: start;
    margin-bottom: 56px;
}
.product-page-grid > * {
    min-width: 0;
}

.product-content-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 22px;
    padding: 28px;
    min-width: 0;
}

.detail-main-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    aspect-ratio: 16 / 10;
    background: #080c12;
    user-select: none;
}
.detail-main-img > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-main-img > img.detail-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.035);
    transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1), transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
    pointer-events: none;
    z-index: 1;
}
.detail-main-img > img.detail-slide-img.is-leaving {
    opacity: 0;
    transform: scale(0.985);
    z-index: 2;
}
.detail-main-img > img.detail-slide-img.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 3;
}
.detail-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(7, 11, 16, 0.58);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #f8fafc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.25s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.detail-nav-btn.prev { left: 12px; }
.detail-nav-btn.next { right: 12px; }
.detail-main-img:hover .detail-nav-btn,
.detail-main-img:focus-within .detail-nav-btn {
    opacity: 1;
}
.detail-nav-btn:hover {
    background: rgba(16, 185, 129, 0.88);
    border-color: rgba(52, 211, 153, 0.95);
    color: #04150e;
    transform: translateY(-50%) scale(1.06);
}
.detail-slide-counter {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(7, 11, 16, 0.62);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #f8fafc;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    pointer-events: none;
}
.detail-progress-track {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.12);
    z-index: 5;
    pointer-events: none;
}
.detail-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #10b981, #34d399, #6ee7b7);
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.72);
}
@keyframes detailSlideProgress {
    from { width: 0%; }
    to { width: 100%; }
}
.detail-progress-fill.is-running {
    animation: detailSlideProgress 4500ms linear forwards;
}
.detail-main-img.is-paused .detail-progress-fill.is-running {
    animation-play-state: paused;
}

.detail-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
}
.detail-thumb-item {
    width: 96px;
    height: 62px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.62;
    flex-shrink: 0;
    transition: opacity 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.detail-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.detail-thumb-item.active, .detail-thumb-item:hover {
    border-color: var(--emerald-400);
    opacity: 1;
}
.detail-thumb-item.active {
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.16);
    transform: translateY(-1px);
}
@media (max-width: 768px) {
    .detail-nav-btn {
        opacity: 0.88;
        width: 34px;
        height: 34px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .detail-main-img > img.detail-slide-img {
        transition: opacity 0.2s ease;
        transform: none;
    }
}

.prod-action-sidebar {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-emerald);
    border-radius: 22px;
    padding: 28px;
    position: sticky;
    top: 102px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--shadow-card);
}

.spec-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 13px 16px;
    min-width: 0;
    max-width: 100%;
}
.spec-box span { display: block; font-size: 12.5px; color: var(--text-muted); margin-bottom: 3px; }
.spec-box strong { font-size: 14.5px; color: var(--text-primary); overflow-wrap: anywhere; word-break: break-word; }

/* Product Detail: Redesigned Unified Features Panel & Spec/Policy Bento Cards */
.pd-features-panel {
    padding: 18px 20px;
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(19, 27, 39, 0.94) 0%, rgba(11, 16, 24, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    margin-bottom: 16px;
}
.pd-sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 13px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    flex-wrap: wrap;
}
.pd-sec-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.pd-sec-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.28);
    color: #34d399;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pd-sec-title {
    font-size: 16.5px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin: 0;
}
.pd-sec-count {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    color: #a7f3d0;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.22);
    white-space: nowrap;
}

.pd-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}
.pd-feature-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 6px;
    border-radius: 10px;
    transition: background 0.18s ease;
    min-width: 0;
}
.pd-feature-row:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.pd-feature-row:hover {
    background: rgba(255, 255, 255, 0.025);
}
.pd-feature-ic {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: #34d399;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.pd-feature-text {
    font-size: 14.5px;
    font-weight: 600;
    color: #e2e8f0;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.pd-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 26px;
}
.pd-specs-grid.is-single {
    grid-template-columns: minmax(0, 1fr);
}
.pd-specs-grid > * {
    min-width: 0;
}
.pd-spec-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px 20px;
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(19, 27, 39, 0.94) 0%, rgba(11, 16, 24, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: border-color 0.2s ease, transform 0.2s ease;
    min-width: 0;
    max-width: 100%;
}
.pd-spec-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
}
.pd-spec-head {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}
.pd-spec-ic {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pd-spec-ic.is-sky {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.28);
    color: #38bdf8;
}
.pd-spec-ic.is-emerald {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.28);
    color: #34d399;
}
.pd-spec-label {
    font-size: 13.5px;
    font-weight: 700;
    color: #94a3b8;
    line-height: 1.35;
}
.pd-spec-body {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.pd-spec-line {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.58;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.pd-spec-line.has-dot::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.65);
    flex-shrink: 0;
    margin-top: 8px;
}

/* ==========================================================================
   INDEPENDENT SHOPPING CART & CHECKOUT PAGE (cart.php)
   ========================================================================== */
.cart-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
    gap: 32px;
    align-items: start;
    margin-bottom: 64px;
}
.cart-page-grid > * {
    min-width: 0;
}

.cart-left-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.cart-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 22px;
    padding: 28px;
    min-width: 0;
}

.cart-combo-tip {
    padding: 22px 26px;
    background: var(--bg-emerald-soft);
}
.cart-combo-tip-text {
    flex: 1 1 auto;
    min-width: 0;
}
.cart-combo-tip-title {
    font-size: 17px;
    color: #fff;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.45;
}
.cart-combo-tip-ic {
    color: #fbbf24;
    display: inline-flex;
    flex-shrink: 0;
    margin-top: 2px;
}

.cart-coupon-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}
.cart-coupon-row .form-control {
    flex: 1 1 auto;
    min-width: 0;
}
.cart-coupon-row .btn {
    flex-shrink: 0;
}

.cart-empty-box {
    text-align: center;
    padding: 54px 20px;
}
.cart-empty-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.cart-items-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    gap: 12px;
}
.cart-items-header-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 100%;
}

.cart-row-item {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-subtle);
}
.cart-row-item > * { min-width: 0; }
.cart-row-item:first-child { padding-top: 0; }
.cart-row-item:last-child { border-bottom: none; padding-bottom: 0; }

.cart-row-item img {
    width: 110px;
    height: 70px;
    object-fit: cover;
    border-radius: 11px;
    border: 1px solid var(--border-subtle);
}

.cart-row-title {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    overflow-wrap: break-word;
}

.cart-row-price-col {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

#cartCheckoutSidebar .vietqr-payment-box {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px;
    gap: 16px;
}

.vietqr-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.vietqr-spec-val {
    min-width: 0;
    flex: 1 1 160px;
    overflow-wrap: anywhere;
}
.vietqr-spec-row .btn {
    flex-shrink: 0;
}

/* ==========================================================================
   INDEPENDENT COMBOS PAGE (combos.php)
   ========================================================================== */
.combo-tiers-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 32px;
    align-items: stretch;
}
.combo-tiers-grid > * {
    min-width: 0;
}

.combo-tier-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(168deg, #131c29 0%, #0d141f 62%, #0a1019 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    padding: 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    min-width: 0;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.combo-tier-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
    opacity: 0.7;
    transition: opacity 0.22s ease, background 0.22s ease;
}

.combo-tier-card.is-popular::before {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.2), #fbbf24, rgba(245, 158, 11, 0.2));
    opacity: 0.85;
}

.combo-tier-card:hover {
    transform: translateY(-3px);
    border-color: rgba(52, 211, 153, 0.48);
    box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.7), 0 0 28px -12px rgba(16, 185, 129, 0.22);
}

.combo-tier-card.active {
    background: linear-gradient(165deg, rgba(16, 185, 129, 0.16) 0%, #0d1b18 55%, #0a111a 100%);
    border-color: #10b981;
    box-shadow: 0 20px 44px -14px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(16, 185, 129, 0.35), 0 0 34px -10px rgba(16, 185, 129, 0.35);
}

.combo-tier-card.active::before {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.2), #34d399, #38bdf8, rgba(56, 189, 248, 0.2));
    opacity: 1;
}

.ct-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ct-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.13);
    border: 1px solid rgba(56, 189, 248, 0.32);
    color: #7dd3fc;
    font-size: 11.5px;
    font-weight: 800;
    line-height: 1.2;
    max-width: 100%;
}

.ct-badge.is-hot {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(251, 191, 36, 0.42);
    color: #fbbf24;
}

.combo-tier-card.active .ct-badge {
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(52, 211, 153, 0.48);
    color: #34d399;
}

.ct-check-dot {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.03);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #03150e;
    transition: all 0.2s ease;
}

.combo-tier-card.active .ct-check-dot {
    background: #10b981;
    border-color: #34d399;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.55);
}

.ct-check-dot .ui-ic {
    width: 14px;
    height: 14px;
}

.ct-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ct-title {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.ct-desc {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 39px;
}

.ct-price-box {
    padding: 13px 14px;
    border-radius: 14px;
    background: rgba(7, 11, 17, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.combo-tier-card.active .ct-price-box {
    background: rgba(6, 17, 14, 0.72);
    border-color: rgba(16, 185, 129, 0.3);
}

.ct-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.ct-price-now {
    font-size: 27px;
    font-weight: 800;
    color: #34d399;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.ct-save-pill {
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(244, 63, 94, 0.16);
    border: 1px solid rgba(244, 63, 94, 0.38);
    color: #fb7185;
    font-size: 11.5px;
    font-weight: 800;
}

.ct-compare-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12.5px;
}

.ct-price-old {
    color: #64748b;
    font-weight: 600;
}

.ct-save-amt {
    color: #fbbf24;
    font-weight: 700;
}

.ct-per-app {
    margin-top: 2px;
    padding-top: 7px;
    border-top: 1px dashed rgba(255, 255, 255, 0.09);
    font-size: 12.5px;
    color: #cbd5e1;
}

.ct-per-app strong {
    color: #34d399;
    font-weight: 800;
}

.ct-perks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: 13px;
    color: #cbd5e1;
}

.ct-perks li {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    line-height: 1.4;
}

.ct-perks .ui-ic {
    width: 15px;
    height: 15px;
    color: #34d399;
    margin-top: 2px;
    flex-shrink: 0;
}

.ct-footer-btn {
    margin-top: auto;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    font-size: 13.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.combo-tier-card:hover .ct-footer-btn {
    border-color: rgba(52, 211, 153, 0.45);
    color: #34d399;
}

.combo-tier-card.active .ct-footer-btn {
    background: linear-gradient(180deg, #13c68c 0%, #0ea574 100%);
    border-color: transparent;
    color: #03150e;
    box-shadow: 0 8px 20px -6px rgba(16, 185, 129, 0.5);
}

.combo-tier-card.active .ct-footer-btn .ui-ic {
    width: 15px;
    height: 15px;
}

.combo-picker-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding-bottom: 20px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--border-subtle);
}

.combo-picker-search {
    flex: 1 1 260px;
    max-width: 420px;
    min-width: 0;
}

.combo-picker-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    min-width: 0;
    max-width: 100%;
}

.combo-picker-counter {
    font-size: 17px;
    font-weight: 700;
}

.combo-picker-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.combo-pick-item {
    background: var(--bg-card);
    border: 1.5px solid var(--border-subtle);
    border-radius: 15px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: all 0.18s ease;
}

.combo-pick-item.picked {
    background: rgba(16, 185, 129, 0.16);
    border-color: var(--emerald-400);
}

.combo-pick-item img {
    width: 74px;
    height: 48px;
    object-fit: cover;
    border-radius: 9px;
    flex-shrink: 0;
}

/* ==========================================================================
   ARTICLES, BENEFITS & TESTIMONIALS (EQUAL HEIGHT COLUMNS)
   ========================================================================== */
.articles-section, .benefits-section, .testimonials-section {
    padding: 48px 0;
    border-top: 1px solid var(--border-subtle);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-emerald);
}

.article-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-bottom: 1px solid var(--border-subtle);
}

.article-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.benefits-grid, .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.benefit-card, .testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Forms & VietQR */
.form-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid-2 > * { min-width: 0; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; min-width: 0; }
.form-group label { font-size: 13.5px; font-weight: 700; color: var(--text-secondary); }
.form-control {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 46px;
    padding: 11px 15px;
    border-radius: 12px;
    background: var(--bg-input);
    border: 1px solid var(--border-strong);
    font-size: 14.5px;
    color: var(--text-primary);
}
.form-control:focus { outline: none; border-color: var(--emerald-500); }

.vietqr-payment-box {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 22px;
    background: var(--bg-emerald-soft);
    border: 1px solid var(--border-emerald);
    border-radius: 18px;
    padding: 22px;
    align-items: center;
    min-width: 0;
}
.vietqr-payment-box > * { min-width: 0; }
.vietqr-img-wrap { background: #fff; padding: 12px; border-radius: 14px; text-align: center; }
.vietqr-img-wrap img { margin: 0 auto; max-width: 220px; }

/* Video Demo Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 600;
    background: rgba(3, 6, 10, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-backdrop.open { display: flex; }

.modal-dialog {
    width: 100%;
    max-width: 820px;
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.modal-header {
    padding: 16px 22px;
    background: #121923;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
    font-size: 16px;
    font-weight: 700;
}

/* Custom Confirm Popup Modal */
.confirm-modal-dialog {
    max-width: 460px;
    animation: authModalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.confirm-modal-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.confirm-modal-icon.is-emerald {
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
}
.confirm-modal-icon.is-vip {
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(245, 158, 11, 0.38);
    color: #fbbf24;
}
.confirm-modal-icon.is-danger {
    background: rgba(239, 68, 68, 0.16);
    border: 1px solid rgba(239, 68, 68, 0.38);
    color: #f87171;
}
.confirm-modal-body {
    padding: 20px 22px;
    font-size: 15px;
    line-height: 1.65;
    color: #e2e8f0;
}
.confirm-modal-body p {
    margin: 0;
}
.confirm-modal-footer {
    padding: 14px 22px 18px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-subtle);
    background: rgba(10, 14, 20, 0.55);
}
.confirm-modal-footer .btn {
    min-height: 40px;
    padding: 0 18px;
}

/* System & Welcome Notice Modal (.sn-*) */
.sn-modal-backdrop {
    padding: 16px;
}

.sn-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(165deg, #111927 0%, #0b1019 58%, #080c13 100%);
    border: 1px solid rgba(16, 185, 129, 0.32);
    box-shadow: 0 32px 72px -12px rgba(0, 0, 0, 0.85), 0 0 44px -16px rgba(16, 185, 129, 0.24);
    animation: authModalPop 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.sn-modal-dialog.is-warn {
    border-color: rgba(245, 158, 11, 0.38);
    box-shadow: 0 32px 72px -12px rgba(0, 0, 0, 0.85), 0 0 44px -16px rgba(245, 158, 11, 0.22);
}

.sn-glow-line {
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.12) 0%, #34d399 45%, #38bdf8 78%, rgba(56, 189, 248, 0.12) 100%);
}

.sn-modal-dialog.is-warn .sn-glow-line {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.12) 0%, #fbbf24 50%, #f97316 82%, rgba(245, 158, 11, 0.12) 100%);
}

.sn-ambient-orb {
    position: absolute;
    top: -65px;
    left: -45px;
    width: 240px;
    height: 180px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.sn-modal-dialog.is-warn .sn-ambient-orb {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.16) 0%, transparent 70%);
}

.sn-header {
    position: relative;
    z-index: 2;
    padding: 20px 24px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.sn-head-left {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    flex: 1;
}

.sn-icon-orb {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sn-icon-orb.is-emerald {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.24), rgba(5, 150, 105, 0.08));
    border: 1px solid rgba(52, 211, 153, 0.45);
    color: #34d399;
    box-shadow: 0 8px 20px -6px rgba(16, 185, 129, 0.4);
}

.sn-icon-orb.is-warn {
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.24), rgba(217, 119, 6, 0.08));
    border: 1px solid rgba(251, 191, 36, 0.45);
    color: #fbbf24;
    box-shadow: 0 8px 20px -6px rgba(245, 158, 11, 0.35);
}

.sn-head-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}

.sn-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: #34d399;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    max-width: 100%;
}

.sn-badge-pill.is-warn {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(251, 191, 36, 0.4);
    color: #fbbf24;
}

.sn-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
    flex-shrink: 0;
}

.sn-brand-sub {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.sn-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    transition: all 0.18s ease;
}

.sn-close-btn:hover {
    background: rgba(239, 68, 68, 0.16);
    border-color: rgba(239, 68, 68, 0.42);
    color: #fca5a5;
}

.sn-body {
    position: relative;
    z-index: 2;
    padding: 20px 24px 22px;
}

.sn-title {
    font-size: 20.5px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.35;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
    overflow-wrap: break-word;
}

.sn-message {
    font-size: 14.5px;
    color: #cbd5e1;
    line-height: 1.68;
    white-space: pre-line;
    overflow-wrap: break-word;
}

.sn-extra-box {
    margin-top: 14px;
    padding: 11px 14px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.sn-footer {
    position: relative;
    z-index: 2;
    padding: 15px 24px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.065);
    background: rgba(6, 10, 16, 0.55);
}

.sn-footer-note {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
}

.sn-note-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    flex-shrink: 0;
}

.sn-footer-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-wrap: wrap;
}

.sn-footer .btn {
    min-height: 41px;
    padding: 8px 18px;
    font-size: 14px;
    border-radius: 11px;
}

@media (max-width: 560px) {
    .sn-header {
        padding: 17px 18px 14px;
    }
    .sn-body {
        padding: 16px 18px 18px;
    }
    .sn-title {
        font-size: 18px;
    }
    .sn-footer {
        padding: 14px 18px 16px;
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 10px;
    }
    .sn-footer-note {
        justify-content: center;
    }
    .sn-footer-actions {
        width: 100%;
        margin-left: 0;
    }
    .sn-footer-actions .btn,
    .sn-zalo-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Order Confirm Popup Modal (2-column checkout popup with coupon) */
.oc-modal-dialog {
    max-width: 780px;
    width: 100%;
    border-radius: 22px;
    background: #0d1118;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 28px 70px -12px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    animation: authModalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.oc-grid {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    min-height: 400px;
}

.oc-left {
    position: relative;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #090c12;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 22px 22px;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.oc-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    background: #131923;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.7);
}

.oc-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.oc-cart-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(15, 20, 28, 0.82);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(249, 115, 22, 0.32);
    color: #f97316;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.oc-right {
    position: relative;
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
}

.oc-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
}

.oc-title {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    padding-right: 36px;
}

.oc-subtitle {
    margin: 6px 0 18px;
    font-size: 13.5px;
    color: #94a3b8;
}

.oc-summary-card {
    background: #10141c;
    border: 1px solid rgba(249, 115, 22, 0.25);
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.oc-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.oc-prod-name {
    font-size: 15.5px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
}

.oc-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
}

.oc-coupon-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 6px 6px 12px;
    border-radius: 11px;
    background: #080b10;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: border-color 0.15s ease;
}

.oc-coupon-box:focus-within {
    border-color: rgba(249, 115, 22, 0.55);
}

.oc-tag-ic {
    color: #94a3b8;
    display: inline-flex;
    flex-shrink: 0;
}

.oc-coupon-input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: #f8fafc;
    font-size: 13.5px;
    font-weight: 600;
    text-transform: uppercase;
}

.oc-coupon-input::placeholder {
    color: #64748b;
    text-transform: none;
    font-weight: 500;
}

.oc-apply-btn {
    padding: 7px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #1c222d;
    color: #e2e8f0;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.oc-apply-btn:hover {
    background: rgba(249, 115, 22, 0.18);
    border-color: rgba(249, 115, 22, 0.45);
    color: #fb923c;
}

.oc-coupon-feedback {
    margin-top: 8px;
    padding: 8px 11px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.oc-coupon-feedback.is-ok {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.28);
    color: #6ee7b7;
}

.oc-coupon-feedback.is-err {
    background: rgba(239, 68, 68, 0.09);
    border: 1px solid rgba(239, 68, 68, 0.26);
    color: #fca5a5;
}

.oc-fb-left {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    flex-wrap: wrap;
}

.oc-fb-code {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.18);
    color: #34d399;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.oc-coupon-clear {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 7px;
    color: #cbd5e1;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 9px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.oc-coupon-clear:hover {
    background: rgba(239, 68, 68, 0.16);
    border-color: rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

.oc-inline-alert {
    margin-top: 12px;
    padding: 11px 13px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.oc-inline-alert.is-warn {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0.04) 100%);
    border: 1px solid rgba(245, 158, 11, 0.32);
}

.oc-inline-alert.is-err {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.oc-inline-ic {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.oc-inline-alert.is-warn .oc-inline-ic {
    background: rgba(245, 158, 11, 0.18);
    color: #fbbf24;
}

.oc-inline-alert.is-err .oc-inline-ic {
    background: rgba(239, 68, 68, 0.18);
    color: #f87171;
}

.oc-inline-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.oc-inline-copy strong {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.oc-inline-alert.is-warn .oc-inline-copy strong {
    color: #fde68a;
}

.oc-inline-alert.is-err .oc-inline-copy strong {
    color: #fca5a5;
}

.oc-inline-copy span {
    font-size: 12px;
    color: #cbd5e1;
    line-height: 1.45;
}

.oc-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.oc-price-wrap {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}

.oc-old-price {
    font-size: 13.5px;
    color: #64748b;
}

.oc-final-price {
    font-size: 24px;
    font-weight: 800;
    color: #f97316;
    line-height: 1;
}

.oc-actions {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 12px;
}

.oc-btn-close {
    height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #131822;
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.oc-btn-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.oc-btn-confirm {
    height: 46px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(90deg, #ff7a18 0%, #f97316 55%, #ea580c 100%);
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 10px 26px -8px rgba(249, 115, 22, 0.55);
    transition: filter 0.15s ease, transform 0.15s ease;
}

.oc-btn-confirm:hover {
    filter: brightness(1.07);
    transform: translateY(-1px);
}

.oc-btn-confirm:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 720px) {
    .oc-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .oc-grid > * {
        min-width: 0;
    }
    .oc-left {
        padding: 18px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .oc-img-box {
        max-width: 220px;
    }
    .oc-right {
        padding: 20px 18px;
    }
    .oc-actions {
        grid-template-columns: 1fr 1.4fr;
    }
}

/* Auth Popup Modal (Admin Console Window Style) */
.auth-modal-backdrop {
    padding: 16px;
    overflow-y: auto;
}

.auth-modal-dialog {
    max-width: 460px;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    animation: authModalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes authModalPop {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.auth-win-card {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    background: #0e121a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    box-shadow: 0 32px 70px rgba(0, 0, 0, 0.75);
    overflow: hidden;
    position: relative;
}

.auth-win-card.is-modal {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 32px);
}

.auth-win-bar {
    height: 42px;
    padding: 0 16px;
    background: #131823;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    color: #94a3b8;
    flex-shrink: 0;
}

.auth-win-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.auth-win-bar-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.auth-win-dots {
    display: flex;
    gap: 7px;
    flex-shrink: 0;
}
.auth-win-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.auth-win-dots .r { background: #ff5f57; }
.auth-win-dots .y { background: #febc2e; }
.auth-win-dots .g { background: #28c840; }

.auth-win-ver {
    font-size: 11px;
    color: #34d399;
    flex-shrink: 0;
}

.auth-close-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.auth-close-btn:hover {
    background: rgba(239, 68, 68, 0.16);
    border-color: rgba(239, 68, 68, 0.42);
    color: #fca5a5;
}

.auth-win-body {
    padding: 26px 28px;
}

.auth-win-card.is-modal .auth-win-body {
    overflow-y: auto;
}

.auth-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    margin-bottom: 20px;
}

.auth-brand-emblem {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 900;
    flex-shrink: 0;
    margin: 0;
}

.auth-head-text {
    min-width: 0;
}

.auth-card-title {
    font-size: 19px;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.25;
}

.auth-card-sub {
    font-size: 12.5px;
    color: #94a3b8;
    margin-top: 2px;
    line-height: 1.45;
}

.auth-tab-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 4px;
    border-radius: 12px;
    background: #090c12;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 18px;
}

.auth-tab-row .btn {
    min-height: 38px;
    padding: 7px 12px;
    font-size: 13.5px;
    border-radius: 9px;
}

.auth-tab-row .btn-secondary {
    background: transparent;
    border-color: transparent;
    color: #94a3b8;
    box-shadow: none;
}

.auth-tab-row .btn-secondary:hover {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.04);
}

.auth-win-body .form-group label {
    font-size: 12.5px;
}

.auth-win-body .form-control {
    min-height: 42px;
    padding: 9px 13px;
    border-radius: 11px;
    background: #090c12;
    border-color: rgba(255, 255, 255, 0.12);
    font-size: 14px;
}

.auth-submit-btn {
    width: 100%;
    min-height: 44px;
    padding: 11px 16px;
    margin-top: 4px;
    font-size: 14.5px;
    border-radius: 11px;
}

.auth-win-foot {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: #94a3b8;
}

.auth-win-foot-link {
    color: #34d399;
    font-weight: 700;
    font-size: 12.5px;
}
.auth-win-foot-link:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .auth-win-body {
        padding: 20px 18px;
    }

    .auth-card-title {
        font-size: 17.5px;
    }
}

/* Footer */
.site-footer {
    background: #05080c;
    border-top: 1px solid var(--border-subtle);
    padding: 56px 0 28px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
    gap: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--border-subtle);
}

.footer-grid.cols-3 {
    grid-template-columns: 1.4fr 1fr 1.15fr;
}

.footer-grid.cols-2 {
    grid-template-columns: 1.35fr 1fr;
}

.footer-col h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 14px; color: var(--text-muted); }
.footer-links a:hover { color: var(--emerald-400); }

.footer-bottom {
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13.5px;
    color: var(--text-muted);
}

/* Social Proof & Floating Support */
.social-proof-popup {
    position: fixed;
    left: 14px;
    bottom: 14px;
    z-index: 400;
    width: 256px;
    max-width: calc(100vw - 28px);
    background: linear-gradient(155deg, rgba(13, 21, 33, 0.94) 0%, rgba(9, 14, 23, 0.96) 100%);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border: 1px solid rgba(52, 211, 153, 0.32);
    border-radius: 15px;
    padding: 9px 11px 10px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.56), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, 16px, 0) scale(0.96);
    transition:
        opacity 0.36s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.36s ease,
        border-color 0.2s ease;
}

.social-proof-popup::before {
    content: "";
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.65), transparent);
    pointer-events: none;
}

.social-proof-popup.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
}

.social-proof-popup:hover {
    border-color: rgba(52, 211, 153, 0.58);
}

.sp-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.sp-head-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}

.sp-avatar {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.24), rgba(6, 182, 212, 0.14));
    border: 1px solid rgba(52, 211, 153, 0.4);
    color: #34d399;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sp-live-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 2px #0a101a, 0 0 8px #34d399;
}

.sp-top-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.sp-user {
    font-size: 11.5px;
    font-weight: 700;
    color: #f8fafc;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-time-row {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.15;
}

.sp-verified-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #34d399;
    flex-shrink: 0;
}

.sp-time {
    color: #94a3b8;
    font-size: 10.5px;
    font-weight: 600;
    white-space: nowrap;
}

.sp-item {
    font-size: 12px;
    font-weight: 700;
    color: #e2e8f0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.sp-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 6px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.sp-status-tag {
    font-size: 10.5px;
    font-weight: 600;
    color: #34d399;
    white-space: nowrap;
}

.sp-price {
    font-size: 11px;
    font-weight: 800;
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.13);
    border: 1px solid rgba(245, 158, 11, 0.28);
    padding: 2px 7px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.25;
}

.sp-close {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.16s ease, color 0.16s ease;
}

.sp-close:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

.sp-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2.5px;
    background: linear-gradient(90deg, #10b981, #38bdf8);
    transform-origin: left center;
    transform: scaleX(0);
    opacity: 0.85;
}

.social-proof-popup.show .sp-progress {
    animation: spProgressShrink 4.8s linear forwards;
}

.social-proof-popup:hover .sp-progress {
    animation-play-state: paused;
}

@keyframes spProgressShrink {
    from { transform: scaleX(1); }
    to   { transform: scaleX(0); }
}

.floating-support {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 400;
}

.float-zalo-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 38px;
    padding: 4px 13px 4px 5px;
    border-radius: 999px;
    background: rgba(9, 15, 28, 0.86);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(56, 189, 248, 0.34);
    color: #e2e8f0;
    font-weight: 700;
    font-size: 12.5px;
    line-height: 1;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 104, 255, 0.14);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.float-zalo-pill:hover,
.float-zalo-pill:focus-visible {
    transform: translateY(-2px);
    background: rgba(12, 22, 42, 0.96);
    border-color: rgba(56, 189, 248, 0.68);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(0, 104, 255, 0.32), 0 0 16px rgba(56, 189, 248, 0.22);
}

.fz-icon-badge {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0088ff 0%, #005ae0 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 104, 255, 0.45);
}

.fz-online-dot {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    border: 1.5px solid #090f1c;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.85);
}

.fz-text-group {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.fz-label {
    letter-spacing: 0.2px;
}

.fz-phone {
    display: inline-block;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    color: #7dd3fc;
    margin-left: 0;
    transition: max-width 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease, margin-left 0.22s ease;
}

.float-zalo-pill:hover .fz-phone,
.float-zalo-pill:focus-visible .fz-phone {
    max-width: 130px;
    opacity: 1;
    margin-left: 5px;
}

@media (max-width: 640px) {
    .floating-support {
        right: 12px;
        bottom: 12px;
    }
    .float-zalo-pill {
        height: 36px;
        padding: 3px 10px 3px 4px;
        font-size: 12px;
    }
    .fz-icon-badge {
        width: 26px;
        height: 26px;
    }
    .float-zalo-pill:hover .fz-phone {
        max-width: 0;
        opacity: 0;
        margin-left: 0;
    }
}

.toast-container {
    position: fixed;
    top: 94px;
    right: 22px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast-msg {
    min-width: 280px;
    max-width: 410px;
    padding: 14px 18px;
    border-radius: 14px;
    background: #101e1a;
    border: 1px solid var(--emerald-500);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    box-shadow: var(--shadow-card);
}
.toast-msg.error { background: #241216; border-color: var(--danger-500); }

/* ==========================================================================
   HEADER USER AVATAR MENU & MEMBER PERSONAL PROFILE PAGE (profile.php)
   ========================================================================== */
.user-menu-wrapper {
    position: relative;
}

.header-avatar-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(6, 95, 70, 0.55));
    border: 1.5px solid rgba(16, 185, 129, 0.55);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    transition: all 0.2s ease;
}

.header-avatar-btn:hover,
.header-avatar-btn.active {
    border-color: var(--emerald-400);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
    transform: translateY(-1px);
}

.header-avatar-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-menu-popover {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 270px;
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    padding: 14px;
    display: none;
    z-index: 330;
}

.user-menu-popover::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}

.user-menu-wrapper:hover .user-menu-popover,
.user-menu-wrapper:focus-within .user-menu-popover,
.user-menu-popover.open {
    display: block;
}

.user-menu-head {
    padding: 4px 6px 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.user-menu-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-menu-links a,
.user-menu-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 11px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: left;
    transition: all 0.15s ease;
}

.user-menu-links a:hover {
    background: rgba(16, 185, 129, 0.14);
    color: var(--emerald-400);
}

.user-menu-logout {
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 11px;
    color: #f87171;
}

.user-menu-logout:hover {
    background: rgba(239, 68, 68, 0.14);
}

/* Profile Bento Stat Cards */
.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.profile-stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.profile-stat-card.highlight {
    background: var(--bg-emerald-soft);
    border-color: var(--border-emerald);
}

.profile-stat-label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-muted);
}

.profile-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}

.profile-stat-sub {
    font-size: 12.5px;
    color: var(--text-secondary);
}

/* Profile 2-Column Layout */
.profile-layout-grid {
    display: grid;
    grid-template-columns: 350px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
.profile-layout-grid > *,
.profile-content-col,
.profile-section-pane {
    min-width: 0;
    max-width: 100%;
}

.profile-sidebar-card {
    position: sticky;
    top: 96px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 24px 20px;
    min-width: 0;
}

.profile-avatar-stage {
    position: relative;
    width: 108px;
    height: 108px;
    margin: 0 auto;
}

.profile-avatar-ring {
    width: 108px;
    height: 108px;
    border-radius: 26px;
    background: linear-gradient(135deg, #10b981 0%, #065f46 100%);
    border: 3px solid rgba(52, 211, 153, 0.65);
    box-shadow: 0 12px 28px -8px rgba(16, 185, 129, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-avatar-ring.is-vip {
    border-color: #fbbf24;
    box-shadow: 0 12px 28px -8px rgba(251, 191, 36, 0.45);
}

.profile-avatar-ring img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-initials {
    font-size: 34px;
    font-weight: 700;
    color: #04150e;
    letter-spacing: 1px;
}

.profile-avatar-cam-btn {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--bg-elevated);
    border: 1.5px solid var(--emerald-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
    transition: transform 0.15s ease;
}

.profile-avatar-cam-btn:hover {
    transform: scale(1.08);
}

.preset-avatar-strip {
    display: flex;
    justify-content: center;
    gap: 7px;
    flex-wrap: wrap;
}

.preset-avatar-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    border: 1.5px solid var(--border-subtle);
    background: var(--bg-card);
    transition: all 0.15s ease;
}

.preset-avatar-btn:hover,
.preset-avatar-btn.active {
    border-color: var(--emerald-400);
    transform: translateY(-2px);
}

.preset-avatar-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-completion-box {
    margin-top: 18px;
    padding: 13px 15px;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
}

.profile-progress-track {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.profile-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #10b981, #34d399);
    transition: width 0.35s ease;
}

.profile-quick-meta {
    margin-top: 16px;
    padding: 13px 15px;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
}

.profile-quick-meta div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.profile-quick-meta span {
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.profile-quick-meta strong {
    color: var(--text-primary);
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1;
}

.profile-side-nav {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-nav-btn {
    width: 100%;
    padding: 11px 14px;
    border-radius: 12px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.18s ease;
}

.profile-nav-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
}

.profile-nav-btn.active {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.42);
    color: var(--emerald-400);
}

.form-grid-3-responsive {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.form-grid-3-responsive > * { min-width: 0; }

/* Account Hero, Unlocked Apps Grid & Affiliate Share Boxes */
.account-hero-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.account-hero-intro {
    min-width: 0;
    flex: 1 1 320px;
}
.account-hero-intro p {
    overflow-wrap: anywhere;
}
.account-hero-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.owned-apps-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.owned-app-card {
    background: var(--bg-card);
    border: 1px solid var(--border-emerald);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
}
.owned-app-main {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-width: 0;
}
.owned-app-thumb {
    width: 84px;
    height: 54px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    border: 1px solid var(--border-subtle);
}
.owned-app-info {
    min-width: 0;
    flex: 1;
}
.owned-app-title {
    display: block;
    font-weight: 700;
    font-size: 15.5px;
    color: #ffffff;
    line-height: 1.38;
    overflow-wrap: break-word;
}
.owned-app-title:hover {
    color: var(--emerald-400);
}
.owned-app-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
    overflow-wrap: break-word;
}
.owned-app-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.owned-app-actions .btn {
    min-height: 40px;
    padding: 8px 14px;
    font-size: 13.5px;
}
.owned-app-report-btn {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
}
.owned-app-actions > .owned-app-report-btn + .owned-app-open-btn {
    margin-left: auto;
}

.aff-share-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-width: 0;
    max-width: 100%;
}
.aff-share-text {
    min-width: 0;
    flex: 1 1 160px;
}
.aff-share-code {
    display: block;
    font-size: 20px;
    color: #34d399;
    letter-spacing: 1px;
    overflow-wrap: anywhere;
}
.aff-share-url {
    display: block;
    font-size: 13.5px;
    color: #fbbf24;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.aff-share-btn {
    min-height: 38px;
    padding: 6px 14px;
    font-size: 13px;
    flex-shrink: 0;
    white-space: nowrap;
}

.pwd-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.pwd-input-wrap .form-control {
    padding-right: 46px;
}

.pwd-eye-btn {
    position: absolute;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--text-muted);
}

.pwd-eye-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.pwd-meter-wrap {
    margin-top: 7px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pwd-meter-track {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.pwd-meter-fill {
    width: 0%;
    height: 100%;
    border-radius: 999px;
    transition: width 0.25s ease, background-color 0.25s ease;
}

.pref-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.pref-toggle-row:hover {
    border-color: rgba(16, 185, 129, 0.45);
}

.pref-checkbox {
    width: 22px;
    height: 22px;
    accent-color: #10b981;
    flex-shrink: 0;
    cursor: pointer;
}

/* ==========================================================================
   5 REFINED PRODUCT BUY BOX DESIGNS (product.php & demo-buybox.php)
   ========================================================================== */
.buybox-demo-3col {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.buybox-demo-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.buybox-demo-col > .bb-card {
    flex: 1;
}

.buybox-state-label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.bb-card {
    background: #0c121b;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 20px 44px -16px rgba(0, 0, 0, 0.65);
}

.product-page-grid > .bb-card {
    position: sticky;
    top: 102px;
}

.bb-ic {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.bb-ic-amber {
    width: 14px;
    height: 14px;
    color: #fbbf24;
}

/* Shared Buy Box Primitives */
.bb-top-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.bb-cat-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(16, 185, 129, 0.11);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.bb-rating-inline {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #94a3b8;
    font-weight: 600;
}

.bb-rating-inline strong {
    color: #ffffff;
}

.bb-dot {
    color: #475569;
}

.bb-eyebrow {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
}

.bb-price-line {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.bb-price-hero {
    font-size: 35px;
    font-weight: 800;
    color: #fbbf24;
    background: linear-gradient(135deg, #fef08a 0%, #fbbf24 48%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 12px rgba(245, 158, 11, 0.28));
    letter-spacing: -0.6px;
    line-height: 1.1;
}

.bb-price-hero.is-free {
    color: #34d399;
    background: linear-gradient(135deg, #a7f3d0 0%, #34d399 48%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 12px rgba(16, 185, 129, 0.28));
}

.bb-price-strike {
    font-size: 15px;
    color: #64748b;
    text-decoration: line-through;
    font-weight: 600;
}

.bb-save-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(244, 63, 94, 0.16);
    border: 1px solid rgba(244, 63, 94, 0.38);
    color: #fb7185;
    font-size: 12px;
    font-weight: 800;
}

.bb-save-sub {
    margin-top: 6px;
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}

.bb-save-amount {
    color: #34d399;
    font-weight: 700;
}

.bb-status-notice {
    margin-top: 12px;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 12px 14px;
    border-radius: 12px;
}

.bb-status-notice.is-owned {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(16, 185, 129, 0.04) 100%);
    border: 1px solid rgba(16, 185, 129, 0.32);
}

.bb-status-notice.is-pending {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.11) 0%, rgba(245, 158, 11, 0.04) 100%);
    border: 1px solid rgba(245, 158, 11, 0.28);
}

.bb-status-ic {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.bb-status-notice.is-owned .bb-status-ic {
    background: rgba(16, 185, 129, 0.18);
    color: #34d399;
}

.bb-status-notice.is-pending .bb-status-ic {
    background: rgba(245, 158, 11, 0.16);
    color: #fbbf24;
}

.bb-status-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.bb-status-copy strong {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.3;
}

.bb-status-notice.is-owned .bb-status-copy strong {
    color: #6ee7b7;
}

.bb-status-notice.is-pending .bb-status-copy strong {
    color: #fde68a;
}

.bb-status-copy span {
    font-size: 12.5px;
    color: #cbd5e1;
    line-height: 1.45;
}

.bb-btn.bb-btn-pending {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.34);
    color: #fbbf24;
    cursor: not-allowed;
    opacity: 0.92;
}

.bb-btn.bb-btn-unavailable {
    opacity: 0.48;
    color: #94a3b8;
    border-style: dashed;
    border-color: rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.45);
    cursor: not-allowed;
}

.bb-btn.bb-btn-unavailable:hover {
    transform: none;
    color: #94a3b8;
    border-color: rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.45);
}

.bb-owned-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    font-size: 12px;
    font-weight: 700;
}

/* Unified Clean Buttons inside Buy Box */
.bb-cta-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bb-split-primary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 10px;
}

.bb-split-equal {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.bb-btn {
    min-height: 48px;
    min-width: 0;
    max-width: 100%;
    padding: 0 18px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.bb-btn-primary {
    background: linear-gradient(180deg, #14c98e 0%, #0d9f6e 100%);
    color: #03160f;
    box-shadow: 0 10px 24px -8px rgba(16, 185, 129, 0.45);
}

.bb-btn-buy {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.45px;
    text-transform: uppercase;
}

.bb-btn-primary:hover {
    filter: brightness(1.07);
    transform: translateY(-1px);
}

.bb-btn-amber {
    background: linear-gradient(135deg, #fbbf24 0%, #e5930b 100%);
    color: #090d12;
    box-shadow: 0 10px 24px -8px rgba(245, 158, 11, 0.4);
}

.bb-btn-amber:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.bb-btn-ghost {
    min-height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.11);
    color: #e2e8f0;
    font-size: 13.5px;
}

.bb-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.24);
    color: #ffffff;
}

.bb-btn-subtle {
    min-height: 42px;
    padding: 0 12px;
    border-radius: 11px;
    background: #121a26;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-size: 13px;
}

.bb-btn-subtle:hover {
    border-color: rgba(52, 211, 153, 0.45);
    color: #34d399;
}

.bb-btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.13);
    color: #e2e8f0;
}

.bb-btn-icon.round {
    border-radius: 999px;
}

.bb-btn-icon:hover {
    border-color: #34d399;
    color: #34d399;
    background: rgba(16, 185, 129, 0.1);
}

/* --- Ý TƯỞNG 1: Minimalist Linear / Stripe Card --- */
.bb-s1 {
    border-color: rgba(52, 211, 153, 0.28);
}

.bb-s1-price-area {
    padding: 6px 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.bb-upsell-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 13px;
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.08) 0%, rgba(251, 191, 36, 0.02) 100%);
    border: 1px solid rgba(251, 191, 36, 0.25);
    transition: all 0.18s ease;
}

.bb-upsell-banner:hover {
    border-color: rgba(251, 191, 36, 0.55);
    background: rgba(251, 191, 36, 0.12);
}

.bb-upsell-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bb-upsell-copy {
    flex: 1;
    min-width: 0;
}

.bb-upsell-copy strong {
    display: block;
    font-size: 13.5px;
    color: #fef3c7;
    line-height: 1.3;
}

.bb-upsell-copy span {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
}

.bb-upsell-arrow {
    color: #fbbf24;
    font-weight: 700;
    font-size: 15px;
}

.bb-trust-grid-clean {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    padding-top: 4px;
    font-size: 12.5px;
    color: #94a3b8;
    font-weight: 600;
}

.bb-trust-grid-clean > div {
    display: flex;
    align-items: center;
    gap: 7px;
}

.bb-trust-grid-clean .bb-ic {
    width: 15px;
    height: 15px;
    color: #34d399;
}

.bb-support-foot {
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: #64748b;
}

.bb-online-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.bb-support-foot a {
    color: #cbd5e1;
    font-weight: 700;
    margin-left: auto;
}

.bb-support-foot a:hover {
    color: #34d399;
}

/* --- Ý TƯỞNG 2: Gumroad / LemonSqueezy Tiered Radio Selector --- */
.bb-mini-demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 700;
}

.bb-mini-demo-btn:hover {
    border-color: #34d399;
    color: #34d399;
}

.bb-mini-demo-btn .bb-ic {
    width: 13px;
    height: 13px;
}

.bb-tier-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bb-tier-opt {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 15px;
    border-radius: 14px;
    background: #111824;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.18s ease;
}

.bb-tier-opt:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.bb-tier-opt.active {
    background: rgba(16, 185, 129, 0.08);
    border-color: #10b981;
}

.bb-tier-opt[data-tier="combo"].active {
    background: rgba(251, 191, 36, 0.08);
    border-color: #fbbf24;
}

.bb-radio-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #475569;
    margin-top: 2px;
    flex-shrink: 0;
    position: relative;
}

.bb-tier-opt.active .bb-radio-dot {
    border-color: #34d399;
}

.bb-tier-opt.active .bb-radio-dot::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #34d399;
}

.bb-tier-opt[data-tier="combo"].active .bb-radio-dot {
    border-color: #fbbf24;
}

.bb-tier-opt[data-tier="combo"].active .bb-radio-dot::after {
    background: #fbbf24;
}

.bb-tier-body {
    flex: 1;
    min-width: 0;
}

.bb-tier-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.bb-tier-row strong {
    font-size: 14px;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bb-tier-price {
    font-size: 16px;
    font-weight: 700;
    color: #34d399;
    white-space: nowrap;
}

.bb-tier-price.amber {
    color: #fbbf24;
}

.bb-hot-chip {
    padding: 1px 6px;
    border-radius: 5px;
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    font-size: 10.5px;
    font-weight: 700;
}

.bb-tier-sub {
    margin-top: 4px;
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.bb-tier-sub del {
    color: #64748b;
}

.bb-s2-footer-meta {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: #94a3b8;
}

.bb-s2-footer-meta span,
.bb-s2-footer-meta a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.bb-s2-footer-meta a {
    color: #cbd5e1;
    font-weight: 700;
}

.bb-s2-footer-meta a:hover {
    color: #34d399;
}

/* --- Ý TƯỞNG 3: Symmetrical Dual-Bento & Dock (Kiểu Vercel) --- */
.bb-s3-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.bb-bento-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.bb-bento-cell {
    background: #111926;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 13px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 4px;
}

.bb-bento-cell.highlight {
    background: linear-gradient(160deg, rgba(16, 185, 129, 0.12) 0%, #111926 100%);
    border-color: rgba(16, 185, 129, 0.32);
}

.bb-cell-label {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 700;
}

.bb-cell-val {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1.2;
}

.bb-cell-val.emerald {
    color: #34d399;
}

.bb-cell-val small {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.bb-cell-sub {
    font-size: 11.5px;
    color: #94a3b8;
}

.bb-s3-dock {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.bb-micro-bento-4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.bb-micro-item {
    padding: 9px 11px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 7px;
}

.bb-micro-item .bb-ic {
    width: 14px;
    height: 14px;
    color: #34d399;
}

.bb-micro-item.link {
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.12);
}

.bb-micro-item.link:hover {
    border-color: #34d399;
    color: #34d399;
}

.bb-s3-combo-bar {
    margin-top: auto;
    padding: 11px 14px;
    border-radius: 12px;
    background: #111824;
    border: 1px solid rgba(251, 191, 36, 0.25);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #cbd5e1;
}

.bb-s3-combo-bar span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.bb-s3-combo-bar .bb-ic {
    width: 15px;
    height: 15px;
    color: #fbbf24;
}

.bb-s3-combo-price {
    color: #fbbf24;
    font-weight: 700;
}

.bb-s3-combo-bar:hover {
    border-color: #fbbf24;
}

/* --- Ý TƯỞNG 4: Luxury Editorial Checklist Card (Kiểu UI8) --- */
.bb-s4 {
    background: #090e15;
    border-color: rgba(255, 255, 255, 0.1);
}

.bb-s4-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.bb-s4-kicker {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #34d399;
}

.bb-s4-plan {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 2px;
}

.bb-s4-price-right {
    text-align: right;
}

.bb-s4-price {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #fbbf24;
    background: linear-gradient(135deg, #fef08a 0%, #fbbf24 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.15;
}

.bb-s4-price.is-free {
    color: #34d399;
    background: linear-gradient(135deg, #a7f3d0 0%, #34d399 50%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bb-s4-price-right del {
    font-size: 13px;
    color: #64748b;
}

.bb-s4-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13.5px;
    color: #cbd5e1;
}

.bb-s4-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
}

.bb-chk {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.14);
    color: #34d399;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.bb-chk .bb-ic {
    width: 13px;
    height: 13px;
}

.bb-s4-foot {
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: #64748b;
}

.bb-s4-foot a {
    color: #fbbf24;
    font-weight: 700;
}

.bb-s4-foot a:hover {
    text-decoration: underline;
}

/* --- Ý TƯỞNG 5: App Store / Steam Pro Split-Stat Pod --- */
.bb-s5-statbar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    text-align: center;
}

.bb-s5-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.bb-s5-stat + .bb-s5-stat {
    border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.bb-s5-lbl {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: #64748b;
}

.bb-s5-stat strong {
    font-size: 14.5px;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.bb-s5-pod {
    background: linear-gradient(180deg, #111a26 0%, #0d141e 100%);
    border: 1px solid rgba(52, 211, 153, 0.25);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bb-s5-pod-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.bb-s5-cat {
    font-size: 11.5px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
}

.bb-btn-pill-emerald {
    border-radius: 999px;
    background: #10b981;
    color: #03150e;
    box-shadow: 0 8px 22px -6px rgba(16, 185, 129, 0.5);
}

.bb-btn-pill-emerald:hover {
    background: #34d399;
    transform: translateY(-1px);
}

/* Nút MUA NGAY đồng bộ màu nút Nâng Cấp VIP */
.bb-btn.bb-btn-buy {
    position: relative;
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    border: 1px solid rgba(253, 224, 71, 0.42);
    color: #090d12;
    font-weight: 800;
    box-shadow:
        0 8px 22px -6px rgba(245, 158, 11, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.bb-btn.bb-btn-buy .bb-ic {
    animation: bbBoltPulse 2.2s ease-in-out infinite;
}

.bb-btn.bb-btn-buy:hover {
    background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
    filter: brightness(1.06);
    transform: translateY(-2px) scale(1.012);
    box-shadow:
        0 12px 28px -6px rgba(245, 158, 11, 0.58),
        inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.bb-btn.bb-btn-buy:active {
    transform: translateY(0) scale(0.99);
}

@keyframes bbBoltPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    45%      { transform: scale(1.16) rotate(-6deg); }
    65%      { transform: scale(1.05) rotate(3deg); }
}

.bb-btn-combo-outline {
    min-height: 44px;
    padding: 0 12px;
    border-radius: 12px;
    background: rgba(251, 191, 36, 0.06);
    border: 1px solid rgba(251, 191, 36, 0.32);
    color: #fcd34d;
    font-size: 13px;
}

.bb-btn-combo-outline:hover {
    background: rgba(251, 191, 36, 0.14);
    border-color: #fbbf24;
}

.bb-s5-perks {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.bb-s5-perks span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.bb-s5-perks .bb-ic {
    width: 13px;
    height: 13px;
    color: #34d399;
}

.bb-s5-perks a {
    color: #cbd5e1;
    font-weight: 700;
}

.bb-s5-perks a:hover {
    color: #34d399;
}

/* ==========================================================================
   5 REFINED WALLET TOP-UP DESIGNS (account.php?tab=topup & demo-topup.php)
   ========================================================================== */
.tp-ic {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.tp-panel {
    background: #0c121b;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.tp-head-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.tp-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tp-icon-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tp-title-group h3 {
    font-size: 19.5px;
    font-weight: 700;
    color: #ffffff;
}

.tp-title-group p {
    font-size: 13.5px;
    color: #94a3b8;
    margin-top: 2px;
}

.tp-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.11);
    border: 1px solid rgba(16, 185, 129, 0.32);
    color: #34d399;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.tp-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.tp-label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #94a3b8;
}

.tp-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.7px;
    color: #34d399;
}

/* Symmetrical 3x2 Denomination Grid (Zero uneven wrapping!) */
.tp-preset-grid-3x2 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.tp-denom-btn {
    min-height: 50px;
    padding: 12px 10px;
    border-radius: 13px;
    background: #111926;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-align: center;
    transition: all 0.18s ease;
}

.tp-denom-btn strong {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.2px;
}

.tp-denom-btn span {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 600;
}

.tp-denom-btn:hover {
    border-color: rgba(52, 211, 153, 0.45);
    transform: translateY(-1px);
}

.tp-denom-btn.active {
    background: rgba(16, 185, 129, 0.12);
    border-color: #10b981;
    box-shadow: 0 8px 20px -8px rgba(16, 185, 129, 0.35);
}

.tp-denom-btn.active strong {
    color: #34d399;
}

.tp-denom-btn.active span {
    color: #a7f3d0;
}

.tp-input-action-bar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
}

.tp-money-field {
    position: relative;
    display: flex;
    align-items: center;
}

.tp-amount-inp {
    width: 100%;
    height: 50px;
    padding: 0 58px 0 16px;
    border-radius: 13px;
    background: #080d14;
    border: 1.5px solid rgba(255, 255, 255, 0.13);
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.tp-amount-inp:focus {
    outline: none;
    border-color: #10b981;
}

.tp-unit {
    position: absolute;
    right: 16px;
    font-size: 12.5px;
    font-weight: 700;
    color: #64748b;
    pointer-events: none;
}

.tp-cta-btn {
    height: 50px;
    padding: 0 24px;
    border-radius: 13px;
    background: linear-gradient(180deg, #14c98e 0%, #0d9f6e 100%);
    color: #03160f;
    font-size: 14.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 10px 24px -8px rgba(16, 185, 129, 0.45);
    transition: all 0.18s ease;
}

.tp-cta-btn:hover {
    filter: brightness(1.07);
    transform: translateY(-1px);
}

/* --- MẪU 1 (t1): Fintech Minimalist Split-Bento --- */
.tp-s1-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.95fr;
    gap: 24px;
    align-items: stretch;
}

.tp-s1-main {
    border-color: rgba(52, 211, 153, 0.25);
}

.tp-fee-note {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #94a3b8;
}

.tp-fee-note span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.tp-fee-note .tp-ic {
    width: 14px;
    height: 14px;
    color: #34d399;
}

.tp-fee-note strong {
    color: #34d399;
}

.tp-balance-preview-card {
    padding: 15px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.11) 0%, #111926 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.tp-bal-col span {
    display: block;
    font-size: 11.5px;
    color: #94a3b8;
    font-weight: 600;
}

.tp-bal-col strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 2px;
}

.tp-bal-col.after {
    text-align: right;
}

.tp-bal-col.after strong {
    color: #34d399;
}

.tp-bal-arrow {
    color: #34d399;
    font-weight: 700;
    font-size: 16px;
}

.tp-steps-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tp-step-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tp-step-num {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(16, 185, 129, 0.13);
    border: 1px solid rgba(16, 185, 129, 0.32);
    color: #34d399;
    font-size: 11.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.tp-step-item strong {
    display: block;
    font-size: 13.5px;
    color: #ffffff;
}

.tp-step-item span {
    display: block;
    font-size: 12.5px;
    color: #94a3b8;
    line-height: 1.45;
    margin-top: 2px;
}

.tp-side-foot {
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: #94a3b8;
}

.tp-side-foot span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tp-side-foot .tp-ic {
    width: 14px;
    height: 14px;
    color: #34d399;
}

.tp-side-foot a {
    color: #e2e8f0;
    font-weight: 700;
}

.tp-side-foot a:hover {
    color: #34d399;
}

/* --- MẪU 1 PRO UPGRADES (tp-s1-pro-*) --- */
.tp-s1-pro-main {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.1) 0%, rgba(12, 18, 27, 0.98) 54%);
    border-color: rgba(52, 211, 153, 0.28);
    gap: 20px;
}

.tp-s1-pro-main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.6), transparent);
    pointer-events: none;
}

.tp-s1-pro-side {
    background: linear-gradient(180deg, rgba(16, 24, 36, 0.96) 0%, #0b1119 100%);
    border-color: rgba(255, 255, 255, 0.11);
    gap: 16px;
}

.tp-s1-head-split {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.tp-s1-icon-glow {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(5, 150, 105, 0.1));
    box-shadow: 0 8px 20px -8px rgba(16, 185, 129, 0.55);
}

.tp-s1-eyebrow-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 3px;
}

.tp-s1-fee-chip {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.34);
    color: #fbbf24;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.tp-s1-section-box {
    background: rgba(15, 23, 34, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 15px 16px;
}

.tp-s1-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.tp-s1-hint {
    font-size: 12px;
    font-weight: 600;
    color: #34d399;
}

.tp-s1-denom-card {
    position: relative;
    min-height: 68px;
    padding: 13px 10px;
    gap: 4px;
}

.tp-s1-denom-card strong {
    font-size: 16.5px;
}

.tp-s1-denom-card span:not(.tp-s1-pop-tag) {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

.tp-s1-denom-card.active span:not(.tp-s1-pop-tag) {
    color: #a7f3d0;
}

.tp-s1-pop-tag {
    position: absolute;
    top: -8px;
    right: 10px;
    padding: 2px 7px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    color: #0b1119 !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.4px;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35);
}

.tp-s1-tx-strip {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed rgba(255, 255, 255, 0.09);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.tp-s1-tx-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.tp-s1-tx-item span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    color: #94a3b8;
}

.tp-s1-tx-item .tp-ic {
    width: 13px;
    height: 13px;
    color: #34d399;
}

.tp-s1-tx-item strong {
    font-size: 13.5px;
    color: #e2e8f0;
    font-weight: 700;
}

.tp-s1-tx-item .js-tp-receive {
    color: #34d399;
}

.tp-s1-trust-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 4px;
}

.tp-s1-banks-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tp-s1-bank-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    white-space: nowrap;
}

.tp-s1-bank-label .tp-ic {
    width: 14px;
    height: 14px;
    color: #34d399;
}

.tp-s1-bank-pills {
    margin-top: 0;
    justify-content: flex-start;
}

.tp-s1-usage-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
}

.tp-s1-usage-note .tp-ic {
    width: 15px;
    height: 15px;
    color: #34d399;
    margin-top: 1px;
}

/* Right Side Cards */
.tp-s1-wallet-card {
    padding: 15px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.16) 0%, #101926 60%, rgba(16, 185, 129, 0.08) 100%);
    border: 1px solid rgba(16, 185, 129, 0.34);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tp-s1-wallet-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tp-s1-wallet-owner {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.tp-s1-member-code {
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.34);
    color: #a7f3d0;
    font-size: 11px;
    font-weight: 700;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.tp-s1-wallet-owner strong {
    font-size: 13.5px;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tp-s1-tier-pill {
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 700;
}

.tp-s1-tier-pill.is-vip {
    background: rgba(251, 191, 36, 0.16);
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: #fbbf24;
}

.tp-s1-wallet-eq {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.tp-s1-delta-pill {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}

.tp-s1-info-card {
    padding: 13px 15px;
    border-radius: 14px;
    background: #101824;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tp-s1-info-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.45px;
}

.tp-s1-info-title .tp-ic {
    width: 15px;
    height: 15px;
    color: #34d399;
}

.tp-s1-info-rows {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.tp-s1-info-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    font-size: 12.5px;
    padding-bottom: 6px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.tp-s1-info-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.tp-s1-info-row span {
    color: #94a3b8;
    flex-shrink: 0;
}

.tp-s1-info-row strong {
    color: #f1f5f9;
    font-weight: 700;
    text-align: right;
    word-break: break-word;
}

.tp-s1-info-row strong small {
    color: #94a3b8;
    font-weight: 500;
}

.tp-s1-info-row strong.emerald {
    color: #34d399;
}

.tp-s1-info-row strong.mono-acc {
    color: #fbbf24;
}

.tp-s1-steps {
    gap: 10px;
}

.tp-s1-sec-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #fde68a;
    font-size: 12px;
    line-height: 1.5;
}

.tp-s1-sec-note .tp-ic {
    width: 15px;
    height: 15px;
    color: #fbbf24;
    margin-top: 2px;
}

.tp-s1-foot-links {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tp-s1-foot-links .sep {
    color: #475569;
}

/* --- MẪU 2 (t2): Revolut / Wise Centered Express Pod --- */
.tp-s2-pod {
    max-width: 960px;
    margin: 0 auto;
    border-color: rgba(52, 211, 153, 0.28);
    padding: 28px;
}

.tp-s2-topbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.tp-s2-stat span {
    display: block;
    font-size: 12px;
    color: #94a3b8;
}

.tp-s2-stat strong {
    font-size: 18px;
    color: #ffffff;
}

.tp-s2-stat strong.emerald {
    color: #34d399;
}

.tp-s2-stat.right {
    text-align: right;
}

.tp-s2-center-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 6px 0;
}

.tp-s2-prompt {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #64748b;
}

.tp-s2-big-input-box {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.tp-s2-big-inp {
    height: 64px;
    font-size: 30px;
    text-align: center;
    padding: 0 56px 0 24px;
    border-radius: 16px;
    background: #070b11;
    border-color: rgba(52, 211, 153, 0.35);
    color: #34d399;
}

.tp-s2-currency {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
}

.tp-s2-chips-6 {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.tp-chip-btn {
    padding: 10px 6px;
    border-radius: 12px;
    background: #111926;
    border: 1px solid rgba(255, 255, 255, 0.09);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transition: all 0.16s ease;
}

.tp-chip-btn strong {
    font-size: 13.5px;
    color: #ffffff;
}

.tp-chip-btn small {
    font-size: 10.5px;
    color: #fbbf24;
    font-weight: 700;
}

.tp-chip-btn.active {
    background: rgba(16, 185, 129, 0.14);
    border-color: #10b981;
}

.tp-chip-btn.active strong {
    color: #34d399;
}

.tp-s2-submit {
    width: 100%;
    max-width: 420px;
    height: 52px;
    border-radius: 999px;
}

.tp-s2-perks-4 {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    font-size: 12.5px;
    color: #94a3b8;
    font-weight: 600;
}

.tp-s2-perks-4 > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tp-s2-perks-4 .tp-ic {
    width: 15px;
    height: 15px;
    color: #34d399;
}

/* --- MẪU 3 (t3): Goal-Based Smart Tier Cards & Receipt --- */
.tp-s3-grid {
    display: grid;
    grid-template-columns: 1.45fr 0.85fr;
    gap: 24px;
    align-items: stretch;
}

.tp-s3-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.tp-goal-card {
    padding: 15px;
    border-radius: 15px;
    background: #111824;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.18s ease;
}

.tp-goal-card:hover {
    border-color: rgba(255, 255, 255, 0.22);
}

.tp-goal-card.active {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
}

.tp-goal-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 20px;
}

.tp-goal-radio {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #475569;
    position: relative;
}

.tp-goal-card.active .tp-goal-radio {
    border-color: #34d399;
}

.tp-goal-card.active .tp-goal-radio::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #34d399;
}

.tp-goal-badge {
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(251, 191, 36, 0.18);
    color: #fbbf24;
    font-size: 10px;
    font-weight: 700;
}

.tp-goal-tag {
    font-size: 10.5px;
    font-weight: 700;
    color: #34d399;
}

.tp-goal-amt {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 2px;
}

.tp-goal-desc {
    font-size: 12px;
    color: #94a3b8;
}

.tp-s3-receipt {
    background: #090e15;
    border-color: rgba(52, 211, 153, 0.26);
}

.tp-receipt-rows {
    padding: 14px 16px;
    border-radius: 13px;
    background: #101722;
    border: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13.5px;
}

.tp-receipt-rows > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94a3b8;
}

.tp-receipt-rows strong {
    color: #ffffff;
}

.tp-receipt-rows > div.total {
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.tp-receipt-rows > div.total strong {
    font-size: 19px;
    color: #34d399;
}

.tp-receipt-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: #64748b;
}

.tp-receipt-foot .tp-ic {
    width: 14px;
    height: 14px;
    color: #34d399;
}

/* --- MẪU 4 (t4): Symmetrical Dual-Station Live QR Dock (50% / 50%) --- */
.tp-s4-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.tp-s4-mini-perks {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: #94a3b8;
    font-weight: 600;
}

.tp-s4-mini-perks span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.tp-s4-mini-perks .tp-ic {
    width: 14px;
    height: 14px;
    color: #34d399;
}

.tp-s4-right {
    border-style: dashed;
    border-color: rgba(52, 211, 153, 0.32);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.04) 0%, #0c121b 100%);
    justify-content: center;
}

.tp-qr-placeholder {
    text-align: center;
    max-width: 380px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.tp-qr-frame-mock {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: rgba(16, 185, 129, 0.12);
    border: 1.5px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.tp-qr-frame-mock .tp-ic {
    width: 32px;
    height: 32px;
}

.tp-qr-placeholder h4 {
    font-size: 17.5px;
    font-weight: 700;
    color: #ffffff;
}

.tp-qr-placeholder p {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.55;
}

.tp-bank-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 6px;
}

.tp-bank-tags span {
    padding: 3px 9px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 11.5px;
    color: #cbd5e1;
    font-weight: 600;
}

.tp-inline-qr-live {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tp-qr-status-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #34d399;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.12);
}

.tp-inline-qr-body {
    display: grid;
    grid-template-columns: 165px 1fr;
    gap: 14px;
    align-items: center;
}

.tp-qr-white-box {
    background: #ffffff;
    padding: 10px;
    border-radius: 12px;
    text-align: center;
}

.tp-qr-white-box img {
    width: 100%;
    height: auto;
}

.tp-qr-white-box span {
    display: block;
    margin-top: 5px;
    font-size: 10.5px;
    font-weight: 700;
    color: #0f172a;
}

.tp-qr-meta-col {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.tp-qr-meta-col .spec-box {
    padding: 8px 12px;
}

/* --- MẪU 5 (t5): Luxury Digital Wallet Card & Console --- */
.tp-s5-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.35fr;
    gap: 24px;
    align-items: stretch;
}

.tp-virtual-card {
    border-radius: 18px;
    padding: 22px;
    background:
        radial-gradient(circle at 90% 15%, rgba(16, 185, 129, 0.35), transparent 55%),
        linear-gradient(135deg, #071914 0%, #0b131e 100%);
    border: 1px solid rgba(52, 211, 153, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 205px;
    box-shadow: 0 18px 36px -14px rgba(16, 185, 129, 0.3);
}

.tp-vcard-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #34d399;
}

.tp-vcard-id {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
}

.tp-vcard-mid {
    margin: 18px 0;
}

.tp-vcard-mid span {
    display: block;
    font-size: 12px;
    color: #94a3b8;
}

.tp-vcard-mid strong {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.tp-vcard-bot {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
}

.tp-vcard-bot span {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: #64748b;
}

.tp-vcard-bot strong {
    font-size: 14px;
    color: #e2e8f0;
}

.tp-s5-notes {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-size: 13px;
    color: #94a3b8;
}

.tp-s5-notes > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tp-s5-notes .tp-ic {
    width: 15px;
    height: 15px;
    color: #34d399;
}

.tp-s5-notes a {
    color: #34d399;
    font-weight: 700;
    text-decoration: underline;
}

.tp-quick-plus {
    display: inline-flex;
    gap: 6px;
}

.tp-quick-plus button {
    padding: 3px 9px;
    border-radius: 7px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    font-size: 11.5px;
    font-weight: 700;
}

.tp-quick-plus button:hover {
    background: #10b981;
    color: #03150e;
}

/* Responsive Breakpoints */
@media (max-width: 1380px) {
    .header-inner {
        gap: 12px;
    }
    .site-header .brand {
        gap: 10px;
    }
    .site-header .brand-name {
        font-size: 17.5px;
    }
    .site-header .brand-tagline {
        max-width: 185px;
    }
    .pill-nav-item {
        padding: 8px 11px;
        font-size: 13px;
    }
    .header-actions {
        gap: 8px;
    }
    .header-cart-link {
        padding: 0 11px;
        font-size: 13px;
    }
    .header-login-btn {
        padding: 0 14px;
        font-size: 13.5px;
    }
}

@media (max-width: 1260px) {
    .products-grid, .articles-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .center-pill-nav { display: none; }
    .center-pill-nav.mobile-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        position: absolute;
        top: calc(100% + 8px);
        left: 16px;
        right: 16px;
        border-radius: 18px;
        padding: 12px;
        background: rgba(12, 19, 30, 0.98);
        backdrop-filter: blur(18px);
        border: 1px solid var(--border-strong);
        box-shadow: 0 24px 50px rgba(0, 0, 0, 0.85);
        z-index: 340;
    }
    .center-pill-nav.mobile-open .pill-nav-item {
        width: 100%;
        padding: 11px 14px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .center-pill-nav.mobile-open .mobile-only-nav {
        display: flex;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
        margin-top: 4px;
        padding-top: 12px;
        color: #a7f3d0;
    }
    .mobile-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
}

@media (max-width: 1024px) {
    .vip-promo-bento {
        flex-wrap: wrap;
    }
    .miu-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
    .miu-copy-col {
        max-width: 100%;
    }
    .product-page-grid, .cart-page-grid, .profile-layout-grid, .buybox-demo-3col,
    .tp-s1-grid, .tp-s3-grid, .tp-s4-dual, .tp-s5-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .tp-s1-grid > *, .tp-s3-grid > *, .tp-s4-dual > *, .tp-s5-grid > * {
        min-width: 0;
    }
    .tp-s2-chips-6 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .tp-s2-perks-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .prod-action-sidebar, .profile-sidebar-card, .product-page-grid > .bb-card {
        position: static;
    }
    .profile-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .combo-tiers-grid, .combo-picker-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .container { padding: 0 14px; }
    .topbar {
        padding: 7px 0;
        font-size: 12px;
    }
    .topbar-inner {
        gap: 8px;
    }
    .topbar-msg {
        width: 100%;
    }
    .topbar-msg span:last-child {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .topbar-meta {
        display: none;
    }
    .header-inner {
        min-height: 60px;
        gap: 8px;
    }
    .site-header .brand {
        gap: 9px;
        min-width: 0;
        flex: 1 1 auto;
        flex-shrink: 1;
        padding-right: 4px;
    }
    .site-header .brand-emblem {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        font-size: 16px;
        flex-shrink: 0;
    }
    .site-header .brand-text-wrap {
        display: flex;
        flex-direction: column;
        min-width: 0;
        gap: 2px;
    }
    .site-header .brand-title-row {
        min-width: 0;
        max-width: 100%;
    }
    .site-header .brand-name {
        font-size: 15px;
        font-weight: 800;
        line-height: 1.12;
        letter-spacing: -0.025em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .site-header .brand .client-pro-badge {
        display: none;
    }
    .site-header .brand-tagline {
        display: block;
        min-width: 0;
        font-size: 10px;
        font-weight: 700;
        color: #94a3b8;
        text-transform: uppercase;
        letter-spacing: 0.75px;
        line-height: 1.2;
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .site-header .brand-tagline-desktop {
        display: none;
    }
    .site-header .brand-tagline-mobile {
        display: inline;
    }
    .header-actions {
        gap: 6px;
        flex-shrink: 0;
    }
    .header-cart-link {
        position: relative;
        width: 36px;
        min-height: 36px;
        height: 36px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    .header-cart-link .cart-text {
        display: none;
    }
    .header-cart-link .cart-badge {
        position: absolute;
        top: -4px;
        right: -4px;
        min-width: 17px;
        height: 17px;
        padding: 0 4px;
        font-size: 10px;
        line-height: 17px;
    }
    .wallet-pill {
        display: none;
    }
    .header-avatar-btn,
    .mobile-menu-btn {
        width: 36px;
        height: 36px;
        border-radius: 50%;
    }
    .header-login-btn {
        min-height: 36px;
        height: 36px;
        padding: 0 12px;
        font-size: 12.5px;
        border-radius: 999px;
        gap: 5px;
        white-space: nowrap;
        box-shadow: 0 4px 16px rgba(0, 229, 153, 0.35);
    }
    .user-menu-popover {
        right: -45px;
        width: min(270px, calc(100vw - 24px));
    }
    .miu-hero-section {
        padding: 16px 0 24px;
    }
    .miu-hero-grid {
        gap: 16px;
    }
    .miu-hero-section .miu-copy-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin: 0 auto;
    }
    .miu-copy-col .miu-status-pill {
        align-self: center;
        margin-bottom: 10px;
        padding: 5px 13px;
        font-size: 11px;
        gap: 7px;
    }
    .miu-copy-col .miu-h1 {
        font-size: clamp(25px, 6.6vw, 34px);
        line-height: 1.18;
        margin-bottom: 8px;
        text-align: center;
    }
    .miu-copy-col .miu-subtitle {
        font-size: 13.5px;
        line-height: 1.5;
        margin-bottom: 14px;
        text-align: center;
        max-width: 96%;
    }
    .miu-copy-col .miu-search-wrap {
        width: 100%;
        margin-bottom: 12px;
    }
    .miu-copy-col .miu-search-form {
        height: 48px;
        border-radius: 16px;
        padding: 0 6px 0 14px;
        gap: 8px;
    }
    .miu-copy-col .miu-search-input {
        font-size: 13.5px;
        min-width: 0;
    }
    .miu-copy-col .miu-search-submit {
        height: 36px;
        padding: 0 14px;
        border-radius: 12px;
        font-size: 13px;
    }
    .miu-copy-col .miu-cta-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        width: 100%;
        margin-bottom: 12px;
    }
    .miu-copy-col .miu-btn-primary,
    .miu-copy-col .miu-btn-secondary {
        width: 100%;
        min-height: 44px;
        padding: 6px 10px;
        font-size: 13px;
        justify-content: center;
        border-radius: 999px;
        gap: 6px;
        line-height: 1.2;
    }
    .miu-copy-col .miu-trust-strip {
        justify-content: center;
        gap: 8px 12px;
        padding-top: 12px;
        font-size: 11.5px;
    }
    .miu-copy-col .miu-check-circle {
        width: 16px;
        height: 16px;
    }
    .vip-banner-section {
        padding: 4px 0 26px;
    }
    .vip-promo-bento {
        padding: 18px;
        border-radius: 18px;
        gap: 14px;
        flex-wrap: wrap;
    }
    .vip-badges-row {
        gap: 7px;
        margin-bottom: 8px;
    }
    .vip-crown-pill,
    .vip-sale-pill {
        font-size: 11px;
        padding: 4px 10px;
    }
    .vip-promo-title {
        font-size: 19.5px;
        margin-bottom: 4px;
    }
    .vip-promo-desc {
        font-size: 13px;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .vip-promo-action {
        width: 100%;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.09);
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .vip-price-block {
        text-align: left;
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 4px 12px;
    }
    .vip-price-main-row {
        flex-direction: row;
        align-items: baseline;
        justify-content: flex-start;
        gap: 8px;
    }
    .vip-price-now {
        font-size: 24px;
    }
    .vip-price-old {
        font-size: 13.5px;
    }
    .vip-price-note {
        font-size: 12px;
    }
    .vip-cta-btn {
        width: 100%;
        min-height: 44px;
        padding: 10px 18px;
        font-size: 14.5px;
        border-radius: 12px;
    }
    .products-grid, .articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    .app-card-body {
        padding: 14px;
        gap: 10px;
    }
    .app-pill-cat, .app-pill-disc {
        font-size: 11px;
        padding: 4px 8px;
    }
    .cf-v1-bar, .cf-v3-dock {
        flex-wrap: wrap;
        gap: 8px;
    }
    .cf-v1-price-main {
        font-size: 17px;
    }
    .owned-apps-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
    .owned-app-card {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
        gap: 12px;
    }
    .owned-app-main {
        flex: none;
        width: 100%;
    }
    .owned-app-thumb {
        width: 76px;
        height: 50px;
    }
    .owned-app-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
        padding-top: 10px;
    }
    .owned-app-actions .btn {
        min-height: 40px;
        padding: 8px 14px;
        white-space: nowrap;
        font-size: 13.5px;
    }
    .owned-app-actions > .owned-app-report-btn + .owned-app-open-btn {
        margin-left: 0;
    }
    .owned-app-actions .owned-app-open-btn {
        flex: 1 1 auto;
    }
    .benefits-grid, .testimonials-grid, .footer-grid, .footer-grid.cols-3, .footer-grid.cols-2, .vietqr-payment-box {
        grid-template-columns: minmax(0, 1fr);
    }
    .cart-row-item {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
    .cart-row-price-col {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        width: 100%;
        padding-top: 10px;
        border-top: 1px dashed rgba(255, 255, 255, 0.08);
    }
    .miu-phone-card.is-left {
        transform: translate3d(-120px, 18px, -60px) rotateY(18deg) scale(0.8);
    }
    .miu-phone-card.is-right {
        transform: translate3d(120px, 18px, -60px) rotateY(-18deg) scale(0.8);
    }
}

@media (max-width: 640px) {
    .topbar {
        display: none;
    }
    .site-header .container {
        padding: 0 11px;
    }
    .site-header .brand {
        flex: 1 1 auto;
        min-width: 0;
    }
    .site-header .brand-text-wrap {
        display: flex;
    }
    .site-header .brand-name {
        font-size: 14px;
        font-weight: 700;
        letter-spacing: -0.3px;
    }
    .subpage-hero {
        padding: 22px 0 18px;
        margin-bottom: 22px;
    }
    .subpage-hero h1 {
        font-size: 22px;
        line-height: 1.32;
    }
    .subpage-hero p {
        font-size: 14px;
    }
    .account-hero-tabs {
        width: 100%;
        gap: 8px;
    }
    .account-hero-tabs .btn {
        min-height: 38px;
        padding: 7px 12px;
        font-size: 13px;
        flex: 1 1 auto;
    }
    .btn {
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }
    .btn-lg {
        padding: 12px 18px;
        font-size: 14.5px;
    }
    .catalog-toolbar {
        padding: 14px;
        gap: 12px;
    }
    .category-pills {
        gap: 8px;
    }
    .cat-pill {
        min-height: 38px;
        padding: 6px 12px;
        font-size: 13px;
    }
    .toolbar-right {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .search-inline,
    .sort-select,
    .toolbar-right .btn {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
    .cart-panel,
    .product-content-card,
    .prod-action-sidebar,
    .profile-sidebar-card,
    .bb-card {
        padding: 18px 15px;
        border-radius: 18px;
    }
    .pd-specs-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .bb-btn {
        padding: 8px 12px;
        white-space: normal;
        text-align: center;
        line-height: 1.28;
    }
    .bb-split-equal .bb-btn {
        padding: 8px 10px;
        font-size: 13px;
        gap: 6px;
    }
    .bb-split-equal {
        gap: 8px;
    }
    .profile-stat-card {
        padding: 16px;
    }
    .profile-stat-value {
        font-size: 20px;
    }
    .aff-share-box {
        flex-wrap: wrap;
        padding: 12px 14px;
    }
    .aff-share-text {
        flex: 1 1 180px;
        min-width: 0;
    }
    .toast-container {
        top: 76px;
        left: 12px;
        right: 12px;
    }
    .toast-msg {
        min-width: 0;
        max-width: 100%;
        width: 100%;
    }
    .footer-legal-bar {
        gap: 8px 10px !important;
    }
    .footer-legal-bar > span[aria-hidden="true"] {
        display: none;
    }
    .footer-legal-bar > a {
        padding: 4px 10px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 12.5px;
    }
    #payTabWallet,
    #payTabVietqr {
        transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
    }
    #payTabWallet.btn-emerald,
    #payTabVietqr.btn-emerald,
    #payTabWallet.btn-emerald:hover,
    #payTabVietqr.btn-emerald:hover {
        color: #ffffff;
    }
    .cart-combo-tip {
        padding: 18px 16px;
        gap: 14px;
    }
    .cart-combo-tip-btn {
        width: 100%;
    }
    .cart-coupon-row {
        flex-wrap: wrap;
    }
    .cart-empty-box {
        padding: 28px 8px;
    }
    .cart-empty-actions .btn {
        width: 100%;
    }
    .cart-items-header-actions {
        width: 100%;
    }
    .cart-items-header-actions .btn {
        flex: 1 1 auto;
    }
    .vietqr-payment-box,
    #cartCheckoutSidebar .vietqr-payment-box {
        padding: 14px;
        gap: 14px;
    }
    .combo-picker-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding-bottom: 16px;
        margin-bottom: 18px;
    }
    .combo-picker-search {
        flex: none;
        width: 100%;
        max-width: 100%;
    }
    .combo-picker-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
    }
    #comboPageBuyBtn {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .products-grid, .articles-grid, .combo-tiers-grid, .combo-picker-grid, .form-grid-2, .form-grid-3-responsive, .profile-stats-grid,
    .tp-input-action-bar, .tp-s2-topbar, .tp-s2-perks-4, .tp-inline-qr-body {
        grid-template-columns: minmax(0, 1fr);
    }
    .tp-preset-grid-3x2, .tp-s3-cards-grid, .tp-s2-chips-6 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .tp-s1-tx-strip {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }
    .tp-s1-tx-item {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .tp-s1-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    .tp-s1-info-row strong {
        text-align: left;
    }
    .social-proof-popup { display: none !important; }
}

/* ==========================================================================
   5 SÂN KHẤU 3D & HOLOGRAM HERO SHOWCASE ĐỘC ĐÁO (legacy + h1 .. h5)
   ========================================================================== */

@keyframes hscProgressFill {
    from { width: 0%; }
    to   { width: 100%; }
}

@keyframes hscWaveBounce {
    0%, 100% { transform: scaleY(0.32); opacity: 0.55; }
    50%      { transform: scaleY(1);    opacity: 1; }
}

@keyframes hscSlowSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes hscHoloSweep {
    0%   { background-position: -180% 0%; }
    100% { background-position: 220% 0%; }
}

@keyframes hscLaserScan {
    0%   { top: 0%; opacity: 0; }
    12%  { opacity: 0.95; }
    88%  { opacity: 0.95; }
    100% { top: 100%; opacity: 0; }
}

@keyframes hscPulseGlow {
    0%, 100% { opacity: 0.72; transform: scale(0.985); }
    50%      { opacity: 1;    transform: scale(1.015); }
}

.hsc-root {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    position: relative;
    min-width: 0;
}

.hsc-stage-viewport,
.hsc-stage-scaler {
    width: 100%;
}

.hsc-legacy {
    --hsc-stage-h: 515px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hsc-pro-coverflow { --hsc-stage-h: 522px; }
.hsc-holo-fan { --hsc-stage-h: 492px; }
.hsc-spatial { --hsc-stage-h: 506px; }
.hsc-dual-rig { --hsc-stage-h: 432px; }
.hsc-orbit-ring { --hsc-stage-h: 504px; }

.hsc-root:hover .hsc-thumb-bar,
.hsc-root:hover .hsc-cf-bar-wrap span,
.hsc-root:hover .miu-progress-fill {
    animation-play-state: paused;
}

.hsc-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00e599;
    box-shadow: 0 0 10px #00e599, 0 0 0 3px rgba(0, 229, 153, 0.25);
    flex-shrink: 0;
}

.hsc-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    color: #00f0ff;
    margin-bottom: 4px;
}

.hsc-sp-dots {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hsc-sp-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
}

.hsc-sp-dots span:nth-child(1) { background: #fb7185; }
.hsc-sp-dots span:nth-child(2) { background: #fbbf24; }
.hsc-sp-dots span:nth-child(3) { background: #34d399; }

.hsc-wave-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 22px;
}

.hsc-wave-bars.mini {
    height: 18px;
    width: 34px;
    flex-shrink: 0;
}

.hsc-wave-bars span {
    flex: 1;
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(180deg, #00f0ff, #00e599);
    transform-origin: bottom;
    animation: hscWaveBounce 1.15s ease-in-out infinite;
}

.hsc-wave-bars span:nth-child(2n) { animation-delay: 0.2s; }
.hsc-wave-bars span:nth-child(3n) { animation-delay: 0.38s; }
.hsc-wave-bars span:nth-child(4n) { animation-delay: 0.55s; }

.hsc-cf-dock-wrap {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(8, 15, 28, 0.86);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 240, 255, 0.22);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65), 0 0 24px rgba(0, 229, 153, 0.12);
    max-width: 100%;
}

.hsc-nav-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.hsc-nav-arrow:hover {
    background: rgba(0, 240, 255, 0.18);
    border-color: #00f0ff;
    color: #ffffff;
    box-shadow: 0 0 14px rgba(0, 240, 255, 0.45);
}

.hsc-thumb-bar {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #00f0ff, #00e599);
}

/* ==========================================================================
   MẪU 1 (h1): 5-SCREEN 3D COVERFLOW PRO & AURORA MIRROR STAGE
   ========================================================================== */
.hsc-pro-coverflow {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hsc-cf-stage {
    position: relative;
    width: 100%;
    height: 522px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1350px;
    transform-style: preserve-3d;
}

.hsc-cf-aurora-pillar {
    position: absolute;
    top: 4px;
    bottom: 50px;
    width: 310px;
    background: radial-gradient(
        ellipse at 50% 80%,
        rgba(0, 240, 255, 0.28) 0%,
        rgba(0, 229, 153, 0.16) 44%,
        transparent 74%
    );
    filter: blur(28px);
    pointer-events: none;
    z-index: 2;
}

.hsc-cf-pedestal {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 620px;
    max-width: 98%;
    height: 112px;
    pointer-events: none;
    z-index: 4;
}

.hsc-cf-ped-glow {
    position: absolute;
    inset: -16px -22px;
    border-radius: 50%;
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.36), rgba(0, 229, 153, 0.52), rgba(56, 189, 248, 0.36));
    filter: blur(32px);
}

.hsc-cf-ped-outer {
    position: absolute;
    inset: 14px 0;
    border-radius: 50%;
    border: 2.5px solid #00f0ff;
    background: radial-gradient(ellipse at center, rgba(6, 26, 40, 0.78) 0%, rgba(3, 9, 18, 0.94) 76%);
    box-shadow:
        0 0 26px #00f0ff,
        0 0 58px rgba(0, 240, 255, 0.55),
        inset 0 0 28px rgba(0, 240, 255, 0.36);
}

.hsc-cf-ped-spinner {
    position: absolute;
    inset: 25px 38px;
    border-radius: 50%;
    border: 2px dashed #00e599;
    box-shadow: 0 0 20px rgba(0, 229, 153, 0.6);
    animation: hscPulseGlow 3s ease-in-out infinite;
}

.hsc-cf-ped-core {
    position: absolute;
    inset: 37px 104px;
    border-radius: 50%;
    border: 1.5px solid #a7f3d0;
    background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.32) 0%, rgba(0, 229, 153, 0.14) 55%, transparent 80%);
    box-shadow: 0 0 24px #00e599;
}

.hsc-cf-phone {
    position: absolute;
    top: 12px;
    width: 242px;
    height: 432px;
    cursor: pointer;
    user-select: none;
    transform-style: preserve-3d;
    transition:
        transform 0.68s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.55s ease,
        filter 0.55s ease;
    will-change: transform, opacity;
}

.hsc-cf-phone.slot-0 {
    z-index: 30;
    opacity: 1;
    filter: none;
    transform: translate3d(0, 0, 56px) rotateY(calc(var(--tilt-y, 0deg) * 0.65)) rotateX(calc(var(--tilt-x, 0deg) * 0.5)) scale(1);
}

.hsc-cf-phone.slot-l1 {
    z-index: 20;
    opacity: 0.9;
    filter: brightness(0.8);
    transform: translate3d(-146px, 14px, -24px) rotateY(22deg) rotateZ(-2deg) scale(0.85);
}

.hsc-cf-phone.slot-r1 {
    z-index: 20;
    opacity: 0.9;
    filter: brightness(0.8);
    transform: translate3d(146px, 14px, -24px) rotateY(-22deg) rotateZ(2deg) scale(0.85);
}

.hsc-cf-phone.slot-l2 {
    z-index: 10;
    opacity: 0.52;
    filter: brightness(0.55) saturate(0.85);
    transform: translate3d(-248px, 32px, -110px) rotateY(34deg) rotateZ(-4deg) scale(0.71);
}

.hsc-cf-phone.slot-r2 {
    z-index: 10;
    opacity: 0.52;
    filter: brightness(0.55) saturate(0.85);
    transform: translate3d(248px, 32px, -110px) rotateY(-34deg) rotateZ(4deg) scale(0.71);
}

.hsc-cf-bezel {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 36px;
    padding: 7px;
    background: linear-gradient(145deg, #0f1b2d, #060b14);
    border: 2px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transform-style: flat;
    clip-path: inset(0 round 36px);
    contain: paint;
    isolation: isolate;
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.78);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.hsc-cf-phone.slot-0 .hsc-cf-bezel {
    border: 2.5px solid #00f0ff;
    box-shadow:
        0 0 28px rgba(0, 240, 255, 0.68),
        0 0 68px rgba(0, 229, 153, 0.36),
        0 28px 54px rgba(0, 0, 0, 0.85),
        inset 0 0 18px rgba(0, 240, 255, 0.28);
}

.hsc-cf-phone.slot-l1:hover .hsc-cf-bezel,
.hsc-cf-phone.slot-r1:hover .hsc-cf-bezel,
.hsc-cf-phone.slot-l2:hover .hsc-cf-bezel,
.hsc-cf-phone.slot-r2:hover .hsc-cf-bezel {
    border-color: rgba(0, 229, 153, 0.8);
}

.hsc-cf-img {
    width: 100%;
    height: 100%;
    border-radius: 29px;
    object-fit: cover;
    transition: transform 5.4s ease-out;
}

.hsc-cf-phone.slot-0 .hsc-cf-img {
    transform: scale(1.07);
}

.hsc-cf-phone.slot-0 .hsc-yt-wrap.hsc-cf-img,
.miu-phone-card.is-center .hsc-yt-wrap.miu-phone-media {
    transform: none;
}

.hsc-cf-glare {
    position: absolute;
    inset: 7px;
    border-radius: 29px;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.03) 26%, transparent 44%);
    pointer-events: none;
    z-index: 3;
}

.hsc-cf-scrim {
    position: absolute;
    inset: 7px;
    border-radius: 29px;
    background: linear-gradient(180deg, rgba(4, 10, 20, 0.48) 0%, transparent 34%, rgba(4, 10, 20, 0.92) 100%);
    pointer-events: none;
    z-index: 2;
}

.hsc-cf-island {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    background: #02060d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 6;
}

.hsc-cf-cam {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: radial-gradient(circle, #38bdf8 20%, #0f172a 80%);
}

.hsc-mini-eq {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 10px;
}

.hsc-mini-eq span {
    width: 2px;
    height: 100%;
    border-radius: 2px;
    background: #00e599;
    animation: hscWaveBounce 0.95s ease-in-out infinite;
}

.hsc-mini-eq span:nth-child(2) { animation-delay: 0.2s; }
.hsc-mini-eq span:nth-child(3) { animation-delay: 0.4s; }
.hsc-mini-eq span:nth-child(4) { animation-delay: 0.15s; }

.hsc-cf-top {
    position: absolute;
    top: 44px;
    left: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 5;
}

.hsc-cf-cat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(5, 12, 24, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 240, 255, 0.35);
    font-size: 10px;
    font-weight: 700;
    color: #e0f2fe;
}

.hsc-cf-4k {
    padding: 3px 7px;
    border-radius: 6px;
    background: rgba(0, 229, 153, 0.22);
    border: 1px solid rgba(0, 229, 153, 0.5);
    font-size: 9.5px;
    font-weight: 800;
    color: #6ee7b7;
}

.hsc-cf-float-stats {
    position: absolute;
    right: 14px;
    bottom: 132px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 6;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.hsc-cf-phone.slot-0 .hsc-cf-float-stats {
    opacity: 1;
    transform: translateX(0);
}

.hsc-cf-stat-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 5px;
    border-radius: 12px;
    background: rgba(6, 13, 24, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hsc-cf-stat-btn small {
    font-size: 9.5px;
    font-weight: 700;
    color: #e2e8f0;
}

.hsc-cf-glass-card {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 11px 12px;
    border-radius: 20px;
    background: rgba(6, 13, 25, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    z-index: 5;
}

.hsc-cf-hook {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #00f0ff;
    margin-bottom: 3px;
}

.hsc-cf-title {
    font-size: 16.5px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.22;
}

.hsc-cf-sub {
    font-size: 11.5px;
    color: #cbd5e1;
    line-height: 1.38;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hsc-cf-bar-wrap {
    margin-top: 8px;
    height: 3px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.hsc-cf-bar-wrap span {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00f0ff, #00e599);
}

.hsc-cf-phone.slot-0 .hsc-cf-bar-wrap span {
    animation: hscProgressFill 5.2s linear forwards;
}

/* Phản chiếu gương nước dưới đáy màn hình lên bệ sáng */
.hsc-cf-reflection {
    position: absolute;
    left: 8px;
    right: 8px;
    top: calc(100% + 4px);
    height: 64px;
    border-radius: 28px;
    overflow: hidden;
    transform: scaleY(-1);
    opacity: 0.28;
    filter: blur(2.5px);
    mask-image: linear-gradient(to bottom, transparent 30%, rgba(0, 0, 0, 0.88) 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 30%, rgba(0, 0, 0, 0.88) 100%);
    pointer-events: none;
}

.hsc-cf-reflection img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: bottom;
}

.hsc-cf-thumbs {
    display: flex;
    align-items: center;
    gap: 7px;
}

.hsc-cf-thumb {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: all 0.25s ease;
}

.hsc-cf-thumb img,
.hsc-cf-thumb video {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.hsc-cf-thumb-lbl {
    display: none;
    font-size: 11.5px;
    font-weight: 700;
    color: #ecfdf5;
    padding-right: 8px;
    white-space: nowrap;
}

.hsc-cf-thumb.is-active {
    background: rgba(0, 229, 153, 0.16);
    border-color: #00e599;
    box-shadow: 0 0 18px rgba(0, 229, 153, 0.45);
}

.hsc-cf-thumb.is-active .hsc-cf-thumb-lbl {
    display: inline-block;
}

/* ==========================================================================
   MẪU 2 (h2): HOLOGRAPHIC FOIL FAN-DECK (BỘ BÀI HOLOGRAM 5 LÁ XÒE QUẠT 3D)
   ========================================================================== */
.hsc-holo-fan {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hsc-fan-stage {
    position: relative;
    width: 100%;
    height: 492px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1300px;
}

.hsc-fan-halo-bg {
    position: absolute;
    width: 430px;
    height: 430px;
    pointer-events: none;
    animation: hscSlowSpin 38s linear infinite;
    z-index: 1;
}

.hsc-fan-halo-bg svg {
    width: 100%;
    height: 100%;
}

.hsc-fan-nebula {
    position: absolute;
    width: 360px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.25) 0%, rgba(16, 185, 129, 0.18) 45%, transparent 72%);
    filter: blur(36px);
    pointer-events: none;
    z-index: 1;
}

.hsc-holo-card {
    position: absolute;
    top: 28px;
    width: 242px;
    height: 404px;
    border-radius: 26px;
    padding: 2.5px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(0, 240, 255, 0.22), rgba(0, 229, 153, 0.28));
    cursor: pointer;
    user-select: none;
    transform-origin: 50% 112%;
    transition:
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s ease,
        opacity 0.45s ease,
        filter 0.45s ease;
}

.hsc-holo-card.slot-0 {
    z-index: 30;
    opacity: 1;
    filter: none;
    background: linear-gradient(135deg, #00f0ff 0%, #00e599 36%, #fbbf24 70%, #38bdf8 100%);
    transform: translate3d(0, -14px, 78px) rotateZ(0deg) rotateY(calc(var(--tilt-y, 0deg) * 0.65)) rotateX(calc(var(--tilt-x, 0deg) * 0.5)) scale(1.04);
    box-shadow:
        0 0 32px rgba(0, 240, 255, 0.52),
        0 0 70px rgba(0, 229, 153, 0.28),
        0 28px 56px rgba(0, 0, 0, 0.86);
}

.hsc-holo-card.slot-l1 {
    z-index: 20;
    opacity: 0.92;
    filter: brightness(0.78);
    transform: translate3d(-118px, 10px, 0px) rotateZ(-11deg) rotateY(15deg) scale(0.89);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.72);
}

.hsc-holo-card.slot-r1 {
    z-index: 20;
    opacity: 0.92;
    filter: brightness(0.78);
    transform: translate3d(118px, 10px, 0px) rotateZ(11deg) rotateY(-15deg) scale(0.89);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.72);
}

.hsc-holo-card.slot-l2 {
    z-index: 10;
    opacity: 0.68;
    filter: brightness(0.58);
    transform: translate3d(-206px, 36px, -65px) rotateZ(-22deg) rotateY(24deg) scale(0.77);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65);
}

.hsc-holo-card.slot-r2 {
    z-index: 10;
    opacity: 0.68;
    filter: brightness(0.58);
    transform: translate3d(206px, 36px, -65px) rotateZ(22deg) rotateY(-24deg) scale(0.77);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.65);
}

.hsc-holo-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 23.5px;
    overflow: hidden;
    background: #060c18;
}

.hsc-holo-art {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 5s ease;
}

.hsc-holo-card.slot-0 .hsc-holo-art {
    transform: scale(1.06);
}

.hsc-holo-foil {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        115deg,
        transparent 22%,
        rgba(0, 240, 255, 0.22) 38%,
        rgba(255, 255, 255, 0.34) 45%,
        rgba(251, 191, 36, 0.18) 52%,
        rgba(0, 229, 153, 0.22) 60%,
        transparent 76%
    );
    background-size: 240% 100%;
    mix-blend-mode: screen;
    opacity: 0;
    pointer-events: none;
    z-index: 3;
}

.hsc-holo-card.slot-0 .hsc-holo-foil {
    opacity: 0.85;
    animation: hscHoloSweep 4.8s ease-in-out infinite;
}

.hsc-holo-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 9, 18, 0.52) 0%, transparent 32%, rgba(4, 9, 18, 0.94) 100%);
    z-index: 2;
}

.hsc-holo-head {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 4;
}

.hsc-holo-serial {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 10.5px;
    font-weight: 700;
    color: #a5f3fc;
    padding: 3px 8px;
    border-radius: 7px;
    background: rgba(5, 14, 26, 0.72);
    border: 1px solid rgba(0, 240, 255, 0.35);
}

.hsc-holo-views {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 700;
    color: #fde68a;
    padding: 3px 8px;
    border-radius: 7px;
    background: rgba(5, 14, 26, 0.72);
    border: 1px solid rgba(251, 191, 36, 0.35);
}

.hsc-holo-foot {
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 15px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hsc-holo-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(0, 229, 153, 0.2);
    border: 1px solid rgba(0, 229, 153, 0.5);
    font-size: 10px;
    font-weight: 700;
    color: #6ee7b7;
}

.hsc-holo-title {
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    margin: 2px 0 0;
    line-height: 1.2;
}

.hsc-holo-desc {
    font-size: 12px;
    color: #cbd5e1;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hsc-holo-cta-bar {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #94a3b8;
}

.hsc-holo-cta-bar strong {
    color: #00f0ff;
    font-weight: 700;
}

.hsc-fan-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin-top: 8px;
}

.hsc-fan-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(10, 18, 32, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.22s ease;
}

.hsc-fan-pill .idx {
    color: #38bdf8;
    font-size: 10.5px;
}

.hsc-fan-pill:hover {
    border-color: rgba(0, 240, 255, 0.45);
    color: #ffffff;
}

.hsc-fan-pill.is-active {
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.18), rgba(0, 229, 153, 0.22));
    border-color: #00f0ff;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
}

/* ==========================================================================
   MẪU 3 (h3): VISION-OS 3D SPATIAL MULTI-PLANE STUDIO
   ========================================================================== */
.hsc-sp-scene {
    position: relative;
    width: 100%;
    height: 506px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

.hsc-sp-floor-grid {
    position: absolute;
    left: 4%;
    right: 4%;
    bottom: 6px;
    height: 170px;
    background-image:
        linear-gradient(to right, rgba(0, 240, 255, 0.22) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 229, 153, 0.22) 1px, transparent 1px);
    background-size: 36px 28px;
    transform: perspective(460px) rotateX(68deg);
    mask-image: radial-gradient(ellipse at 50% 60%, rgba(0, 0, 0, 0.9) 15%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 60%, rgba(0, 0, 0, 0.9) 15%, transparent 72%);
    pointer-events: none;
}

.hsc-sp-orb-cyan {
    position: absolute;
    left: 12%;
    top: 14%;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.22);
    filter: blur(55px);
    pointer-events: none;
}

.hsc-sp-orb-emerald {
    position: absolute;
    right: 12%;
    bottom: 14%;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(0, 229, 153, 0.22);
    filter: blur(55px);
    pointer-events: none;
}

.hsc-sp-rig {
    position: relative;
    width: 94%;
    height: 446px;
    transform-style: preserve-3d;
    transform: rotateY(calc(-8deg + var(--tilt-y, 0deg) * 0.7)) rotateX(calc(4deg + var(--tilt-x, 0deg) * 0.55));
    transition: transform 0.22s ease-out;
}

.hsc-sp-window {
    position: absolute;
    left: 22px;
    right: 62px;
    top: 16px;
    bottom: 34px;
    border-radius: 26px;
    background: rgba(9, 16, 30, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1.5px solid rgba(0, 240, 255, 0.42);
    box-shadow:
        0 30px 65px rgba(0, 0, 0, 0.84),
        0 0 44px rgba(0, 240, 255, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateZ(14px);
}

.hsc-sp-win-bar {
    height: 38px;
    padding: 0 16px;
    background: rgba(5, 11, 22, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-shrink: 0;
}

.hsc-sp-win-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.7px;
    color: #cbd5e1;
}

.hsc-sp-live-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 800;
    color: #34d399;
}

.hsc-sp-canvas {
    position: relative;
    flex: 1;
    overflow: hidden;
    background: #040914;
}

.hsc-sp-laser-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00f0ff, #00e599, transparent);
    box-shadow: 0 0 16px #00f0ff, 0 0 28px #00e599;
    z-index: 6;
    pointer-events: none;
    animation: hscLaserScan 4.2s ease-in-out infinite;
}

.hsc-sp-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.48s ease, visibility 0.48s ease;
}

.hsc-sp-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 3;
}

.hsc-sp-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    transform: scale(1.06);
    transition: transform 5.4s ease;
}

.hsc-sp-slide.is-active img {
    transform: scale(1);
}

.hsc-sp-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 40%, rgba(4, 9, 18, 0.65) 100%);
}

/* Pod Nổi 3D Góc Trái Trên */
.hsc-sp-pod-top {
    position: absolute;
    left: -4px;
    top: 64px;
    padding: 11px 15px;
    border-radius: 18px;
    background: rgba(8, 16, 30, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(0, 240, 255, 0.42);
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.78), 0 0 24px rgba(0, 240, 255, 0.22);
    display: flex;
    align-items: center;
    gap: 11px;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 8px, 64px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
    z-index: 12;
}

.hsc-sp-pod-top.is-active {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 64px);
}

.hsc-sp-pod-ic {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.22), rgba(0, 229, 153, 0.22));
    border: 1px solid rgba(0, 240, 255, 0.45);
    color: #00f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hsc-sp-pod-top small {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    color: #6ee7b7;
}

.hsc-sp-pod-top strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
}

/* Pod Nổi 3D Góc Dưới Trái */
.hsc-sp-pod-bottom {
    position: absolute;
    left: 0;
    right: 78px;
    bottom: 2px;
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(8, 15, 28, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 229, 153, 0.42);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.85), 0 0 28px rgba(0, 229, 153, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, 10px, 74px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
    z-index: 14;
}

.hsc-sp-pod-bottom.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 74px);
}

.hsc-sp-pod-info {
    min-width: 0;
    flex: 1;
}

.hsc-sp-pod-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 2px;
}

.hsc-sp-pod-info p {
    font-size: 12.5px;
    color: #cbd5e1;
    margin: 0 0 7px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hsc-sp-prompt-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 9px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 0;
}

.hsc-sp-prompt-chip span {
    font-size: 9.5px;
    font-weight: 800;
    color: #00f0ff;
    flex-shrink: 0;
}

.hsc-sp-prompt-chip code {
    font-size: 11px;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hsc-sp-go-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #00f0ff, #00e599);
    color: #03150e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 22px rgba(0, 229, 153, 0.5);
    transition: transform 0.2s ease;
}

.hsc-sp-go-btn:hover {
    transform: scale(1.08);
}

/* Khay 5 Thẻ Kính Lơ Lửng Cạnh Phải */
.hsc-sp-reel-rail {
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translate3d(0, -54%, 56px);
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    border-radius: 20px;
    background: rgba(8, 16, 30, 0.84);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.78);
    z-index: 15;
}

.hsc-sp-reel-btn {
    position: relative;
    width: 48px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.14);
    background: #060c18;
    cursor: pointer;
    transition: all 0.22s ease;
}

.hsc-sp-reel-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.hsc-sp-reel-btn span {
    position: absolute;
    right: 4px;
    bottom: 3px;
    font-size: 9.5px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 1px 4px #000;
}

.hsc-sp-reel-btn.is-active {
    border-color: #00f0ff;
    transform: scale(1.08) translateX(-3px);
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.65);
}

.hsc-sp-reel-btn.is-active img {
    opacity: 1;
}

/* ==========================================================================
   MẪU 4 (h4): 3D DUAL-SCREEN CREATOR RIG (MONITOR STUDIO + ĐIỆN THOẠI NỔI)
   ========================================================================== */
.hsc-dual-rig {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hsc-dr-stage {
    position: relative;
    width: 100%;
    height: 432px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1350px;
}

.hsc-dr-glow {
    position: absolute;
    inset: 28px 40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.22) 0%, rgba(0, 229, 153, 0.16) 48%, transparent 74%);
    filter: blur(36px);
    pointer-events: none;
}

.hsc-dr-3d-group {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: rotateY(calc(var(--tilt-y, 0deg) * 0.6)) rotateX(calc(var(--tilt-x, 0deg) * 0.45));
    transition: transform 0.22s ease-out;
}

.hsc-dr-monitor {
    position: absolute;
    left: 4px;
    top: 18px;
    width: 75%;
    height: 362px;
    border-radius: 22px;
    background: #070f1d;
    border: 1.5px solid rgba(0, 240, 255, 0.38);
    box-shadow:
        0 28px 60px rgba(0, 0, 0, 0.84),
        0 0 42px rgba(0, 240, 255, 0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translate3d(0, 0, -8px) rotateY(10deg);
}

.hsc-dr-mon-top {
    height: 34px;
    padding: 0 14px;
    background: #040913;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: #94a3b8;
}

.hsc-dr-mon-top .emerald {
    color: #00e599;
}

.hsc-dr-mon-screen {
    position: relative;
    flex: 1;
    overflow: hidden;
}

.hsc-dr-mon-pane {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.hsc-dr-mon-pane.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 3;
}

.hsc-dr-mon-pane img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transform: scale(1.05);
    transition: transform 5.2s ease;
}

.hsc-dr-mon-pane.is-active img {
    transform: scale(1);
}

.hsc-dr-mon-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 9, 18, 0.25) 0%, rgba(4, 9, 18, 0.1) 35%, rgba(4, 9, 18, 0.94) 100%);
}

.hsc-dr-mon-overlay {
    position: absolute;
    left: 18px;
    right: 68px;
    bottom: 16px;
    z-index: 4;
}

.hsc-dr-mon-overlay h3 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
}

.hsc-dr-prompt-line {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border-radius: 10px;
    background: rgba(8, 16, 30, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.11);
    color: #34d399;
    min-width: 0;
}

.hsc-dr-prompt-line span {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    color: #cbd5e1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hsc-dr-sync-orb {
    position: absolute;
    right: 192px;
    top: 44px;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, #00f0ff, #00e599);
    color: #03150e;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 0 24px rgba(0, 240, 255, 0.7);
    transform: translateZ(88px);
    z-index: 16;
}

.hsc-dr-phone {
    position: absolute;
    right: 6px;
    bottom: 8px;
    width: 204px;
    height: 372px;
    border-radius: 34px;
    padding: 7px;
    background: #08111f;
    border: 2.5px solid #00e599;
    box-shadow:
        -20px 24px 52px rgba(0, 0, 0, 0.88),
        0 0 30px rgba(0, 229, 153, 0.55),
        0 0 60px rgba(0, 240, 255, 0.25);
    transform: translate3d(0, 0, 68px) rotateY(-13deg) rotateZ(1.5deg);
    z-index: 12;
}

.hsc-dr-phone-island {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 58px;
    height: 16px;
    border-radius: 999px;
    background: #02060d;
    z-index: 8;
}

.hsc-dr-phone-pane {
    position: absolute;
    inset: 7px;
    border-radius: 27px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s ease;
    display: block;
}

.hsc-dr-phone-pane.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 4;
}

.hsc-dr-phone-pane img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hsc-dr-phone-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 10, 20, 0.48) 0%, transparent 36%, rgba(4, 10, 20, 0.95) 100%);
}

.hsc-dr-phone-top {
    position: absolute;
    top: 32px;
    left: 11px;
    right: 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}

.hsc-dr-phone-top .tag {
    font-size: 9px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(0, 240, 255, 0.2);
    border: 1px solid rgba(0, 240, 255, 0.45);
    color: #a5f3fc;
}

.hsc-dr-phone-top .dur {
    font-size: 10px;
    font-weight: 700;
    color: #e2e8f0;
}

.hsc-dr-phone-bot {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 13px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hsc-dr-phone-bot .views {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 700;
    color: #fbbf24;
}

.hsc-dr-phone-bot strong {
    font-size: 12px;
    color: #ffffff;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hsc-dr-phone-bot .cta {
    margin-top: 3px;
    font-size: 11px;
    font-weight: 800;
    color: #00e599;
}

.hsc-dr-launchpad {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.hsc-dr-key {
    position: relative;
    height: 62px;
    border-radius: 14px;
    overflow: hidden;
    padding: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.11);
    background: #091220;
    cursor: pointer;
    text-align: left;
    transition: all 0.22s ease;
}

.hsc-dr-key img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.38;
    transition: opacity 0.25s ease, transform 0.35s ease;
}

.hsc-dr-key .meta {
    position: absolute;
    inset: 0;
    padding: 7px 9px;
    background: linear-gradient(180deg, rgba(4, 9, 18, 0.2) 0%, rgba(4, 9, 18, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hsc-dr-key small {
    font-size: 9px;
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: 0.5px;
}

.hsc-dr-key strong {
    font-size: 10.5px;
    font-weight: 700;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hsc-dr-key.is-active {
    border-color: #00f0ff;
    box-shadow: 0 8px 24px -6px rgba(0, 240, 255, 0.45);
    transform: translateY(-2px);
}

.hsc-dr-key.is-active img {
    opacity: 0.85;
    transform: scale(1.06);
}

.hsc-dr-key.is-active .hsc-thumb-bar {
    animation: hscProgressFill 5.2s linear forwards;
}

/* ==========================================================================
   MẪU 5 (h5): 360° 3D ORBITAL HOLOGRAM RING & REACTOR CORE
   ========================================================================== */
.hsc-orbit-ring {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hsc-orb-stage {
    position: relative;
    width: 100%;
    height: 504px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1400px;
    transform-style: preserve-3d;
}

.hsc-orb-core-beam {
    position: absolute;
    top: 20px;
    bottom: 44px;
    width: 160px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(0, 240, 255, 0.12) 35%,
        rgba(0, 229, 153, 0.34) 85%,
        rgba(0, 240, 255, 0.5) 100%
    );
    filter: blur(22px);
    pointer-events: none;
    z-index: 12;
}

.hsc-orb-reactor {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 580px;
    max-width: 98%;
    height: 150px;
    pointer-events: none;
    z-index: 4;
}

.hsc-orb-reactor-bloom {
    position: absolute;
    inset: 12px 30px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.42) 0%, rgba(0, 229, 153, 0.28) 45%, transparent 75%);
    filter: blur(26px);
}

.hsc-orb-radar-svg {
    position: relative;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.55));
}

.hsc-orb-portal {
    position: absolute;
    top: 34px;
    width: 232px;
    height: 398px;
    border-radius: 28px;
    cursor: pointer;
    user-select: none;
    transition:
        transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.55s ease,
        filter 0.55s ease;
}

/* Quỹ đạo 360°: slot-0 trước mặt, l1/r1 hai cánh, l2/r2 bay vòng phía sau lõi sáng */
.hsc-orb-portal.slot-0 {
    z-index: 30;
    opacity: 1;
    filter: none;
    transform: translate3d(0, 8px, 105px) rotateY(calc(var(--tilt-y, 0deg) * 0.65)) rotateX(calc(var(--tilt-x, 0deg) * 0.5)) scale(1.02);
}

.hsc-orb-portal.slot-l1 {
    z-index: 20;
    opacity: 0.88;
    filter: brightness(0.76);
    transform: translate3d(-176px, -4px, -6px) rotateY(28deg) scale(0.81);
}

.hsc-orb-portal.slot-r1 {
    z-index: 20;
    opacity: 0.88;
    filter: brightness(0.76);
    transform: translate3d(176px, -4px, -6px) rotateY(-28deg) scale(0.81);
}

.hsc-orb-portal.slot-l2 {
    z-index: 8;
    opacity: 0.46;
    filter: brightness(0.5) blur(0.6px);
    transform: translate3d(-100px, -28px, -135px) rotateY(45deg) scale(0.63);
}

.hsc-orb-portal.slot-r2 {
    z-index: 8;
    opacity: 0.46;
    filter: brightness(0.5) blur(0.6px);
    transform: translate3d(100px, -28px, -135px) rotateY(-45deg) scale(0.63);
}

.hsc-orb-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    background: #060d1a;
    border: 2px solid rgba(0, 240, 255, 0.26);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.8);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.hsc-orb-portal.slot-0 .hsc-orb-card-inner {
    border: 2.5px solid #00e599;
    box-shadow:
        0 0 30px rgba(0, 229, 153, 0.65),
        0 0 72px rgba(0, 240, 255, 0.35),
        0 28px 56px rgba(0, 0, 0, 0.88),
        inset 0 0 22px rgba(0, 240, 255, 0.25);
}

.hsc-orb-card-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 5.4s ease;
}

.hsc-orb-portal.slot-0 .hsc-orb-card-inner img {
    transform: scale(1.06);
}

.hsc-orb-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 10, 20, 0.48) 0%, transparent 35%, rgba(4, 10, 20, 0.94) 100%);
}

.hsc-orb-card-top {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 4;
}

.hsc-orb-card-top .orb-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.2);
    border: 1px solid #00f0ff;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hsc-orb-card-top .orb-cat {
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(5, 13, 25, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 10px;
    font-weight: 700;
    color: #e2e8f0;
}

.hsc-orb-card-bot {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 4;
}

.hsc-orb-card-bot .orb-eng {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 700;
    color: #00f0ff;
    margin-bottom: 3px;
}

.hsc-orb-card-bot h4 {
    font-size: 18.5px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px;
}

.hsc-orb-card-bot p {
    font-size: 12px;
    color: #cbd5e1;
    line-height: 1.4;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hsc-orb-card-bot .orb-foot {
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: #fde68a;
    font-weight: 700;
}

.hsc-orb-card-bot .orb-foot span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.hsc-orb-card-bot .orb-foot strong {
    color: #00e599;
}

.hsc-orb-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.hsc-orb-dot-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 11.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hsc-orb-dot-btn span {
    font-size: 10.5px;
    font-weight: 800;
    color: #38bdf8;
}

.hsc-orb-dot-btn strong {
    display: none;
    color: #ffffff;
    font-weight: 700;
}

.hsc-orb-dot-btn.is-active {
    background: rgba(0, 229, 153, 0.18);
    border-color: #00e599;
    box-shadow: 0 0 16px rgba(0, 229, 153, 0.4);
}

.hsc-orb-dot-btn.is-active strong {
    display: inline;
}

/* ==========================================================================
   STAGE MÔ PHỎNG TRÊN TRANG DEMO-HERO.PHP
   ========================================================================== */
.demo-hero-jumpbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.demo-hero-jump-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.11);
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.18s ease;
}

.demo-hero-jump-pill:hover {
    border-color: #00f0ff;
    color: #ffffff;
    transform: translateY(-1px);
}

.demo-hero-jump-pill.active {
    background: rgba(16, 185, 129, 0.18);
    border-color: #10b981;
    color: #34d399;
}

.demo-hero-stage-box {
    position: relative;
    border-radius: 22px;
    padding: 30px;
    background-color: #040812;
    background-image:
        radial-gradient(circle at 22% 45%, rgba(0, 229, 153, 0.16), transparent 46%),
        radial-gradient(circle at 82% 30%, rgba(0, 240, 255, 0.11), transparent 45%),
        linear-gradient(to right, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: auto, auto, 48px 48px, 48px 48px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    overflow: hidden;
}

.demo-hero-pros-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-hero-pro-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.5;
}

.demo-hero-pro-icon {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(52, 211, 153, 0.38);
    color: #34d399;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

@media (max-width: 760px) {
    .hsc-cf-phone.slot-l1 { transform: translate3d(-96px, 16px, -40px) rotateY(22deg) scale(0.8); }
    .hsc-cf-phone.slot-r1 { transform: translate3d(96px, 16px, -40px) rotateY(-22deg) scale(0.8); }
    .hsc-cf-phone.slot-l2, .hsc-cf-phone.slot-r2 { opacity: 0; pointer-events: none; }

    .hsc-holo-card.slot-l1 { transform: translate3d(-84px, 12px, 0) rotateZ(-10deg) scale(0.84); }
    .hsc-holo-card.slot-r1 { transform: translate3d(84px, 12px, 0) rotateZ(10deg) scale(0.84); }
    .hsc-holo-card.slot-l2, .hsc-holo-card.slot-r2 { opacity: 0; pointer-events: none; }

    .hsc-sp-window { left: 8px; right: 54px; }
    .hsc-sp-pod-top { display: none; }

    .hsc-dr-monitor { width: 88%; left: 0; transform: none; }
    .hsc-dr-phone { width: 158px; height: 292px; right: 0; }
    .hsc-dr-sync-orb { display: none; }

    .hsc-orb-portal.slot-l1 { transform: translate3d(-108px, 0, -20px) rotateY(28deg) scale(0.76); }
    .hsc-orb-portal.slot-r1 { transform: translate3d(108px, 0, -20px) rotateY(-28deg) scale(0.76); }
    .hsc-orb-portal.slot-l2, .hsc-orb-portal.slot-r2 { opacity: 0.25; }

    .demo-hero-stage-box { padding: 18px; }
}

@media (max-width: 640px) {
    .miu-hero-section {
        padding: 18px 0 22px;
    }
    .miu-glow-orb-left {
        left: 50%;
        top: 2%;
        transform: translateX(-50%);
        width: 280px;
        height: 280px;
        filter: blur(90px);
        background: rgba(0, 229, 153, 0.2);
    }
    .miu-glow-orb-right {
        right: 0;
        top: 12%;
        width: 220px;
        height: 220px;
        filter: blur(90px);
    }
    .miu-hero-grid {
        gap: 12px;
    }
    .hsc-root {
        --hsc-scale: 0.68;
        max-width: 100%;
        min-width: 0;
        overflow: visible;
    }
    .hsc-legacy {
        --hsc-stage-h: 512px;
    }
    .hsc-legacy .miu-phone-stage {
        height: 512px;
    }
    .hsc-legacy .miu-phone-card {
        top: 24px;
    }
    .hsc-pro-coverflow {
        --hsc-stage-h: 516px;
    }
    .hsc-pro-coverflow .hsc-cf-stage {
        height: 516px;
    }
    .hsc-holo-fan {
        --hsc-stage-h: 500px;
    }
    .hsc-holo-fan .hsc-fan-stage {
        height: 500px;
    }
    .hsc-holo-fan .hsc-holo-card {
        top: 56px;
    }
    .hsc-stage-viewport {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        height: calc(var(--hsc-stage-h, 500px) * var(--hsc-scale, 0.68));
        overflow-x: clip;
        overflow-y: visible;
    }
    .hsc-stage-scaler {
        width: 480px;
        flex-shrink: 0;
        transform: scale(var(--hsc-scale, 0.68));
        transform-origin: top center;
    }
    .miu-carousel-dock {
        max-width: 100%;
        overflow-x: auto;
        margin-top: 2px;
        padding: 5px 10px;
        gap: 6px;
        scrollbar-width: none;
    }
    .hsc-cf-dock-wrap {
        margin-top: 2px;
        padding: 6px 10px;
        gap: 6px;
        max-width: 100%;
    }
    .hsc-cf-thumbs {
        overflow-x: auto;
        max-width: 100%;
        scrollbar-width: none;
    }
    .hsc-cf-thumb,
    .hsc-cf-thumb img {
        flex-shrink: 0;
    }
    .hsc-cf-thumb-lbl {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .hsc-orb-dots {
        gap: 4px;
    }
    .hsc-orb-dot-btn {
        padding: 4px 8px;
        font-size: 11px;
        max-width: 150px;
    }
    .hsc-orb-dot-btn strong {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 105px;
    }
    .hsc-fan-controls {
        flex-wrap: nowrap;
        overflow-x: auto;
        max-width: 100%;
        margin-top: 4px;
        padding: 2px 4px;
        gap: 6px;
        scrollbar-width: none;
    }
    .hsc-fan-pill {
        padding: 5px 10px;
        font-size: 11px;
        flex-shrink: 0;
    }
    .hsc-dr-launchpad {
        gap: 6px;
    }
    .hsc-dr-key {
        height: 52px;
        border-radius: 11px;
    }
}

@media (max-width: 480px) {
    .hsc-root {
        --hsc-scale: 0.56;
    }
}

@media (max-width: 420px) {
    .site-header .container {
        padding: 0 10px;
    }
    .site-header .brand {
        gap: 6px;
        padding-right: 2px;
    }
    .site-header .brand-emblem {
        width: 32px;
        height: 32px;
        border-radius: 9px;
        font-size: 13px;
    }
    .site-header .brand-name {
        font-size: 12.2px;
        font-weight: 700;
        letter-spacing: -0.45px;
    }
    .site-header .brand-tagline {
        font-size: 9px;
        letter-spacing: 0.6px;
    }
    .header-actions {
        gap: 5px;
    }
    .header-cart-link {
        width: 31px;
        height: 31px;
        min-height: 31px;
        padding: 0;
    }
    .header-login-btn {
        height: 31px;
        min-height: 31px;
        padding: 0 9px;
        font-size: 11px;
        gap: 4px;
    }
    .header-login-btn .ui-ic {
        width: 14px;
        height: 14px;
    }
    .header-avatar-btn,
    .mobile-menu-btn {
        width: 31px;
        height: 31px;
    }
}

@media (max-width: 380px) {
    .hsc-root {
        --hsc-scale: 0.52;
    }
}

/* --- Hỗ trợ Video MP4 / WebM / YouTube & Số lượng Slide tùy biến --- */
.hsc-media-fill,
.hsc-video-el,
.hsc-thumb-vid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hsc-yt-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 29px;
    clip-path: inset(0 round 29px);
    contain: paint;
    isolation: isolate;
    background: #040914;
}

.hsc-yt-wrap .hsc-yt-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hsc-yt-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
    border: 0;
    pointer-events: none;
}

/* Chỉ hiển thị iframe YouTube ở thẻ chính diện đang active để tránh lỗi tràn compositor trên thẻ xoay 3D */
.hsc-cf-phone:not(.slot-0) .hsc-yt-wrap iframe,
.hsc-holo-card:not(.slot-0) .hsc-yt-wrap iframe,
.hsc-orb-portal:not(.slot-0) .hsc-yt-wrap iframe,
.miu-phone-card:not(.is-center) .hsc-yt-wrap iframe {
    display: none;
}

.hsc-cf-phone.slot-hidden,
.hsc-holo-card.slot-hidden,
.hsc-orb-portal.slot-hidden {
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, 40px, -180px) scale(0.6);
}

.hsc-sp-slide .hsc-media-fill,
.hsc-dr-mon-pane .hsc-media-fill,
.hsc-dr-phone-pane .hsc-media-fill,
.hsc-orb-card-inner .hsc-media-fill {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   HERO RIGHT-COLUMN UPGRADE SYSTEM (5 DEMOS: c1 .. c5 + legacy)
   Đồng bộ cấu trúc, chiều cao & thẩm mỹ kính phát sáng với Sân Khấu 3D Cột Trái
   ========================================================================== */
.miu-copy-col:has(.hcp-root:not(.hcp-legacy)) {
    width: 100%;
    max-width: 640px;
}

.hcp-root {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.hcp-legacy {
    align-items: flex-start;
}

/* --- Shared Primitives --- */
.hcp-eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0, 229, 153, 0.11);
    border: 1px solid rgba(0, 229, 153, 0.36);
    color: #34d399;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.45px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.hcp-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00e599;
    box-shadow: 0 0 10px #00e599;
    flex-shrink: 0;
    animation: pulseGlow 1.8s infinite;
}

.hcp-title {
    font-size: clamp(28px, 2.75vw, 41px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin: 0 0 12px;
}

.hcp-title-lg {
    font-size: clamp(29px, 2.9vw, 43px);
}

.hcp-title-grad {
    display: block;
    background: linear-gradient(90deg, #00e599 0%, #00f0ff 54%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 6px 22px rgba(0, 229, 153, 0.2));
}

.hcp-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0 0 18px;
}

.hcp-search-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 16px;
    z-index: 35;
}

.hcp-search-bar {
    width: 100%;
    height: 52px;
    padding: 0 7px 0 16px;
    border-radius: 14px;
    background: rgba(6, 13, 25, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    gap: 11px;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.hcp-search-bar.is-sleek {
    background: linear-gradient(180deg, rgba(11, 22, 38, 0.92) 0%, rgba(7, 14, 26, 0.96) 100%);
    border-color: rgba(0, 240, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hcp-search-bar:focus-within {
    border-color: #00e599;
    box-shadow: 0 0 0 3px rgba(0, 229, 153, 0.16), 0 12px 28px -10px rgba(0, 240, 255, 0.25);
}

.hcp-search-ic {
    display: inline-flex;
    align-items: center;
    color: #34d399;
    flex-shrink: 0;
}

.hcp-search-inp {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    font-size: 14.5px;
    font-weight: 600;
    color: #ffffff;
}

.hcp-search-inp::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.hcp-search-btn-emerald {
    height: 38px;
    padding: 0 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, #00e599 0%, #0ea574 100%);
    color: #03150e;
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    transition: all 0.2s ease;
    box-shadow: 0 6px 16px -4px rgba(0, 229, 153, 0.45);
}

.hcp-search-btn-emerald kbd {
    font-size: 11px;
    padding: 1px 5px;
    border-radius: 5px;
    background: rgba(4, 18, 12, 0.22);
    color: #03150e;
    font-weight: 800;
}

.hcp-search-btn-emerald:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.hcp-inline-chips {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 9px;
}

.hcp-chip-lbl {
    font-size: 11.5px;
    font-weight: 700;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: 2px;
}

.hcp-mini-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #dbeafe;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.18s ease;
}

.hcp-mini-chip:hover {
    background: rgba(0, 229, 153, 0.14);
    border-color: #00e599;
    color: #00e599;
    transform: translateY(-1px);
}

.hcp-dual-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.hcp-btn-emerald-lg {
    min-height: 50px;
    padding: 0 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #00e599 0%, #00c48c 100%);
    color: #03130d;
    font-size: 14.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 10px 26px -6px rgba(0, 229, 153, 0.44);
    transition: all 0.2s ease;
}

.hcp-btn-emerald-lg:hover {
    filter: brightness(1.07);
    transform: translateY(-1.5px);
}

.hcp-btn-glass-combo {
    min-height: 50px;
    padding: 0 18px;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(12, 28, 46, 0.92), rgba(7, 17, 31, 0.96));
    border: 1.5px solid rgba(0, 240, 255, 0.36);
    color: #e0f2fe;
    font-size: 14.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.hcp-btn-glass-combo:hover {
    border-color: #00f0ff;
    color: #ffffff;
    box-shadow: 0 8px 24px -8px rgba(0, 240, 255, 0.42);
    transform: translateY(-1.5px);
}

.hcp-save-tag {
    font-style: normal;
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(251, 191, 36, 0.2);
    border: 1px solid rgba(251, 191, 36, 0.45);
    color: #fbbf24;
    font-size: 11px;
    font-weight: 800;
}

.hcp-btn-outline-pro {
    min-height: 50px;
    padding: 0 20px;
    border-radius: 14px;
    background: rgba(11, 23, 39, 0.85);
    border: 1.5px solid rgba(56, 189, 248, 0.38);
    color: #7dd3fc;
    font-size: 14.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.hcp-btn-outline-pro:hover {
    border-color: #00e599;
    color: #00e599;
    background: rgba(0, 229, 153, 0.09);
    transform: translateY(-1.5px);
}

/* ==========================================================================
   ĐỀ XUẤT 1 (c1): STUDIO COMMAND DECK
   ========================================================================== */
.hcp-c1-deck {
    border-radius: 22px;
    background: linear-gradient(165deg, rgba(10, 20, 36, 0.92) 0%, rgba(5, 11, 22, 0.96) 100%);
    border: 1.5px solid rgba(0, 240, 255, 0.2);
    box-shadow:
        0 26px 56px -14px rgba(0, 0, 0, 0.78),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.hcp-c1-topbar {
    height: 38px;
    padding: 0 18px;
    background: rgba(3, 8, 17, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.hcp-c1-top-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hcp-c1-sys-title {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.65px;
    color: #94a3b8;
}

.hcp-c1-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #34d399;
}

.hcp-c1-body {
    padding: 22px 24px 20px;
}

.hcp-c1-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.hcp-c1-stat-cell {
    padding: 10px 12px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.hcp-c1-stat-cell strong {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.15;
    color: #34d399;
}

.hcp-c1-stat-cell.is-cyan strong {
    color: #38bdf8;
}

.hcp-c1-stat-cell.is-amber strong {
    color: #fbbf24;
}

.hcp-c1-stat-cell.is-amber:hover {
    border-color: rgba(251, 191, 36, 0.45);
    transform: translateY(-1px);
}

.hcp-c1-stat-cell span {
    font-size: 11.5px;
    font-weight: 600;
    color: #94a3b8;
}

.hcp-c1-search-panel {
    padding: 12px;
    border-radius: 16px;
    background: rgba(4, 9, 19, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 16px;
}

.hcp-c1-footer {
    padding: 11px 24px;
    background: rgba(3, 8, 17, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: #cbd5e1;
}

.hcp-c1-footer span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hcp-c1-footer .ui-ic {
    color: #00e599;
}

/* ==========================================================================
   ĐỀ XUẤT 2 (c2): EDITORIAL SAAS & SYMMETRICAL BENTO
   ========================================================================== */
.hcp-c2-kicker-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.hcp-c2-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 4px 12px 4px 5px;
    border-radius: 999px;
    background: rgba(15, 26, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.13);
}

.hcp-kicker-tag {
    padding: 3px 9px;
    border-radius: 999px;
    background: linear-gradient(90deg, #00e599, #00f0ff);
    color: #03150e;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.hcp-kicker-txt {
    font-size: 11.5px;
    font-weight: 700;
    color: #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.35px;
}

.hcp-c2-rating {
    font-size: 12.5px;
    color: #fbbf24;
    font-weight: 700;
}

.hcp-c2-rating strong {
    color: #ffffff;
    margin-left: 3px;
}

.hcp-c2-bento-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin-bottom: 16px;
}

.hcp-c2-bento-card {
    padding: 13px 15px;
    border-radius: 16px;
    background: linear-gradient(155deg, rgba(13, 24, 40, 0.9) 0%, rgba(7, 14, 26, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.hcp-c2-bento-ic {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hcp-c2-bento-ic.emerald {
    background: rgba(0, 229, 153, 0.14);
    border: 1px solid rgba(0, 229, 153, 0.35);
    color: #34d399;
}

.hcp-c2-bento-ic.cyan {
    background: rgba(0, 240, 255, 0.13);
    border: 1px solid rgba(0, 240, 255, 0.35);
    color: #38bdf8;
}

.hcp-c2-bento-card strong {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}

.hcp-c2-bento-card span {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
}

.hcp-c2-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin-top: 16px;
}

.hcp-c2-trust-pill {
    padding: 9px 11px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 600;
    color: #cbd5e1;
}

.hcp-c2-trust-pill .ic {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0, 229, 153, 0.16);
    color: #00e599;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ==========================================================================
   ĐỀ XUẤT 3 (c3): CONVERSION ACTION HUB & UPSELL CARDS
   ========================================================================== */
.hcp-c3-top-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.hcp-c3-counter-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.11);
    border: 1px solid rgba(251, 191, 36, 0.34);
    color: #fde68a;
    font-size: 12px;
    font-weight: 600;
}

.hcp-c3-counter-badge strong {
    color: #fbbf24;
    font-weight: 700;
}

.hcp-c3-search-block {
    width: 100%;
    margin: 4px 0 16px;
}

.hcp-c3-action-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    width: 100%;
    margin-bottom: 14px;
}

.hcp-c3-card {
    padding: 16px 18px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.hcp-c3-card.is-store {
    background: linear-gradient(155deg, rgba(0, 229, 153, 0.16) 0%, rgba(7, 20, 32, 0.96) 70%);
    border: 1.5px solid rgba(0, 229, 153, 0.42);
}

.hcp-c3-card.is-store:hover {
    border-color: #00e599;
    box-shadow: 0 16px 34px -10px rgba(0, 229, 153, 0.32);
    transform: translateY(-2px);
}

.hcp-c3-card.is-combo {
    background: linear-gradient(155deg, rgba(251, 191, 36, 0.14) 0%, rgba(8, 20, 36, 0.96) 72%);
    border: 1.5px solid rgba(251, 191, 36, 0.38);
}

.hcp-c3-card.is-combo:hover {
    border-color: #fbbf24;
    box-shadow: 0 16px 34px -10px rgba(251, 191, 36, 0.28);
    transform: translateY(-2px);
}

.hcp-c3-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.hcp-c3-card-ic {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(0, 229, 153, 0.16);
    color: #00e599;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hcp-c3-card-ic.amber {
    background: rgba(251, 191, 36, 0.18);
    color: #fbbf24;
}

.hcp-c3-pill {
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.hcp-c3-pill.emerald {
    background: rgba(0, 229, 153, 0.18);
    color: #6ee7b7;
}

.hcp-c3-pill.amber {
    background: rgba(251, 191, 36, 0.2);
    color: #fde68a;
}

.hcp-c3-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 5px;
}

.hcp-c3-card p {
    font-size: 12.5px;
    line-height: 1.48;
    color: #cbd5e1;
    margin: 0 0 12px;
    flex: 1;
}

.hcp-c3-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #00e599;
}

.hcp-c3-card.is-combo .hcp-c3-card-cta {
    color: #fbbf24;
}

.hcp-c3-assurance-bar {
    width: 100%;
    padding: 11px 16px;
    border-radius: 14px;
    background: rgba(8, 16, 30, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.09);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.hcp-c3-assure-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 12.5px;
    color: #cbd5e1;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.hcp-c3-assure-item:last-child {
    border-right: none;
}

.hcp-c3-assure-item .ui-ic {
    color: #34d399;
}

.hcp-c3-assure-item strong {
    color: #ffffff;
}

/* ==========================================================================
   ĐỀ XUẤT 4 (c4): AI PROMPT CONSOLE & 2×2 CATEGORY LAUNCHPAD
   ========================================================================== */
.hcp-c4-prompt-box {
    width: 100%;
    border-radius: 18px;
    padding: 6px;
    background: linear-gradient(140deg, rgba(0, 240, 255, 0.22), rgba(0, 229, 153, 0.2), rgba(15, 23, 42, 0.9));
    box-shadow: 0 18px 40px -14px rgba(0, 240, 255, 0.25);
    margin: 4px 0 14px;
}

.hcp-c4-form {
    height: 52px;
    padding: 0 6px 0 15px;
    border-radius: 13px;
    background: #060d1b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hcp-c4-spark {
    color: #00f0ff;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.hcp-c4-submit {
    height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    background: linear-gradient(90deg, #00e599, #00f0ff);
    color: #03150e;
    font-size: 13.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    transition: filter 0.2s ease;
}

.hcp-c4-submit:hover {
    filter: brightness(1.08);
}

.hcp-c4-telemetry {
    padding: 8px 12px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #cbd5e1;
}

.hcp-c4-telemetry .emerald { color: #00e599; }
.hcp-c4-telemetry .cyan { color: #00f0ff; }
.hcp-c4-telemetry .dot { color: rgba(255, 255, 255, 0.26); }

.hcp-c4-matrix {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin-bottom: 14px;
}

.hcp-c4-tile {
    padding: 11px 13px;
    border-radius: 14px;
    background: rgba(9, 18, 33, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 11px;
    transition: all 0.2s ease;
}

.hcp-c4-tile:hover {
    border-color: #00f0ff;
    background: rgba(13, 27, 48, 0.95);
    transform: translateY(-1.5px);
}

.hcp-c4-tile-ic {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(0, 240, 255, 0.11);
    border: 1px solid rgba(0, 240, 255, 0.28);
    color: #38bdf8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hcp-c4-tile:hover .hcp-c4-tile-ic {
    background: rgba(0, 229, 153, 0.18);
    border-color: #00e599;
    color: #00e599;
}

.hcp-c4-tile-txt {
    flex: 1;
    min-width: 0;
}

.hcp-c4-tile-txt strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hcp-c4-tile-txt small {
    display: block;
    font-size: 11.5px;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hcp-c4-tile-arr {
    color: #64748b;
    display: inline-flex;
    transition: transform 0.2s ease, color 0.2s ease;
}

.hcp-c4-tile:hover .hcp-c4-tile-arr {
    color: #00e599;
    transform: translateX(2px);
}

.hcp-c4-foot-note {
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 600;
    color: #94a3b8;
}

.hcp-c4-foot-note span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hcp-c4-foot-note .ui-ic {
    color: #00e599;
}

/* ==========================================================================
   ĐỀ XUẤT 5 (c5): CYBER GLASS SPLIT-ARCHITECTURE & 3-POD PEDESTAL
   ========================================================================== */
.hcp-c5-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.hcp-c5-proof-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 13px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.13);
    font-size: 12px;
    color: #cbd5e1;
}

.hcp-c5-proof-pill .stars {
    color: #fbbf24;
    letter-spacing: 1px;
}

.hcp-c5-proof-pill strong {
    color: #ffffff;
}

.hcp-c5-callout {
    padding: 10px 15px;
    border-left: 3px solid #00e599;
    background: linear-gradient(90deg, rgba(0, 229, 153, 0.09) 0%, rgba(8, 17, 32, 0.35) 100%);
    border-radius: 0 12px 12px 0;
    margin-bottom: 16px;
}

.hcp-c5-callout p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: #cbd5e1;
}

.hcp-c5-callout strong {
    color: #ffffff;
}

.hcp-c5-search {
    width: 100%;
    height: 52px;
    padding: 0 7px 0 16px;
    border-radius: 15px;
    background: rgba(8, 17, 32, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 11px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hcp-c5-search:focus-within {
    border-color: #00f0ff;
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.16);
}

.hcp-c5-search-go {
    height: 38px;
    padding: 0 15px;
    border-radius: 10px;
    background: rgba(0, 229, 153, 0.16);
    border: 1px solid rgba(0, 229, 153, 0.45);
    color: #34d399;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.hcp-c5-search-go:hover {
    background: #00e599;
    color: #03150e;
}

.hcp-c5-cta-deck {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 12px;
    width: 100%;
    margin-bottom: 15px;
}

.hcp-c5-main-cta {
    min-height: 56px;
    border-radius: 16px;
}

.hcp-c5-ticket-cta {
    min-height: 56px;
    padding: 8px 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(14, 29, 49, 0.95), rgba(7, 15, 28, 0.98));
    border: 1.5px dashed rgba(56, 189, 248, 0.45);
    display: flex;
    align-items: center;
    gap: 11px;
    transition: all 0.2s ease;
}

.hcp-c5-ticket-cta:hover {
    border-style: solid;
    border-color: #00f0ff;
    transform: translateY(-1.5px);
}

.hcp-c5-ticket-ic {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hcp-c5-ticket-info small {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #fbbf24;
}

.hcp-c5-ticket-info strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
}

.hcp-c5-pedestal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.hcp-c5-pod {
    padding: 11px 12px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(14, 25, 42, 0.85) 0%, rgba(7, 14, 25, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 9px;
}

.hcp-c5-pod .pod-ic {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hcp-c5-pod .pod-ic.emerald {
    background: rgba(0, 229, 153, 0.15);
    color: #34d399;
}

.hcp-c5-pod .pod-ic.cyan {
    background: rgba(0, 240, 255, 0.14);
    color: #38bdf8;
}

.hcp-c5-pod .pod-ic.amber {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

.hcp-c5-pod strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.hcp-c5-pod small {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}

@media (max-width: 1024px) {
    .miu-copy-col:has(.hcp-root:not(.hcp-legacy)) {
        max-width: 100%;
    }
}

@media (max-width: 820px) {
    .hcp-root {
        align-items: center;
        text-align: center;
        min-width: 0;
        max-width: 100%;
    }
    .hcp-eyebrow-pill {
        align-self: center;
        margin-bottom: 10px;
        padding: 5px 13px;
        font-size: 11px;
        max-width: 100%;
    }
    .hcp-c2-kicker-row,
    .hcp-c3-top-row,
    .hcp-c5-header {
        justify-content: center;
        margin-bottom: 10px;
        max-width: 100%;
    }
    .hcp-c2-kicker {
        max-width: 100%;
        min-width: 0;
    }
    .hcp-kicker-tag {
        flex-shrink: 0;
    }
    .hcp-kicker-txt {
        font-size: 10.5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
    }
    .hcp-title,
    .hcp-title-lg {
        font-size: clamp(24px, 6.4vw, 34px);
        line-height: 1.18;
        margin-bottom: 8px;
        text-align: center;
        max-width: 100%;
    }
    .hcp-desc {
        font-size: 13.5px;
        line-height: 1.5;
        margin-bottom: 14px;
        text-align: center;
        max-width: 100%;
    }
    .hcp-search-wrap,
    .hcp-c3-search-block,
    .hcp-c1-search-panel,
    .hcp-c4-prompt-box {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-bottom: 12px;
    }
    .hcp-search-bar,
    .hcp-c5-search,
    .hcp-c4-form {
        height: 46px;
        border-radius: 16px;
        padding: 0 6px 0 12px;
        gap: 8px;
        min-width: 0;
        max-width: 100%;
    }
    .hcp-search-inp {
        font-size: 13.5px;
        min-width: 0;
    }
    .hcp-search-btn-emerald,
    .hcp-c5-search-go,
    .hcp-c4-submit {
        height: 34px;
        padding: 0 13px;
        border-radius: 11px;
        font-size: 12.5px;
    }
    .hcp-search-btn-emerald kbd {
        display: none;
    }
    .hcp-inline-chips {
        justify-content: center;
    }
    .hcp-dual-actions,
    .hcp-c5-cta-deck {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .hcp-dual-actions > *,
    .hcp-c5-cta-deck > * {
        min-width: 0;
    }
    .hcp-btn-emerald-lg,
    .hcp-btn-outline-pro,
    .hcp-btn-glass-combo {
        width: 100%;
        min-width: 0;
        min-height: 44px;
        padding: 6px 8px;
        border-radius: 999px;
        font-size: 12.5px;
        gap: 5px;
        line-height: 1.2;
        text-align: center;
    }
    .hcp-c5-main-cta,
    .hcp-c5-ticket-cta {
        min-height: 46px;
        border-radius: 16px;
        padding: 6px 8px;
    }
    .hcp-c5-callout {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .hcp-c2-rating,
    .hcp-c2-bento-pair,
    .hcp-c1-topbar {
        display: none;
    }
    .hcp-c1-stats,
    .hcp-c5-pedestal-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }
    .hcp-c1-stat-cell {
        padding: 8px 6px;
    }
    .hcp-c1-stat-cell strong {
        font-size: 15px;
    }
    .hcp-c1-stat-cell span {
        font-size: 10px;
    }
    .hcp-c3-action-cards,
    .hcp-c4-matrix {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .hcp-c3-card {
        padding: 12px;
        text-align: left;
    }
    .hcp-c3-card h3 {
        font-size: 14.5px;
    }
    .hcp-c3-card p {
        font-size: 11.5px;
    }
    .hcp-c2-trust-grid {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 6px 12px;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.09);
        max-width: 100%;
    }
    .hcp-c2-trust-pill {
        padding: 0;
        border: none;
        background: transparent;
        font-size: 11.5px;
        gap: 5px;
    }
    .hcp-c2-trust-pill .ic {
        width: 15px;
        height: 15px;
    }
    .hcp-c3-assurance-bar {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 12px;
        padding: 10px 12px;
    }
    .hcp-c3-assure-item {
        border-right: none;
        justify-content: center;
        font-size: 11.5px;
    }
    .hcp-c1-body {
        padding: 16px 14px;
    }
    .hcp-c1-footer {
        padding: 10px 12px;
        justify-content: center;
        gap: 8px 12px;
        font-size: 11.5px;
    }
    .hcp-c4-foot-note {
        justify-content: center;
        gap: 8px 12px;
        font-size: 11.5px;
    }
    .hcp-c5-pod {
        padding: 8px;
        gap: 6px;
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .hcp-c2-editorial .hcp-btn-emerald-lg > .ui-ic:first-child {
        display: none;
    }
    .miu-copy-col .miu-btn-primary,
    .miu-copy-col .miu-btn-secondary,
    .hcp-btn-emerald-lg,
    .hcp-btn-outline-pro,
    .hcp-btn-glass-combo {
        font-size: 11.5px;
        padding: 6px 7px;
        min-height: 42px;
        gap: 4px;
        white-space: nowrap;
    }
    .miu-copy-col .miu-btn-primary .ui-ic,
    .miu-copy-col .miu-btn-secondary .ui-ic,
    .hcp-btn-emerald-lg .ui-ic,
    .hcp-btn-outline-pro .ui-ic,
    .hcp-btn-glass-combo .ui-ic {
        width: 14px;
        height: 14px;
    }
    .hcp-btn-glass-combo .hcp-save-tag {
        display: none;
    }
    .miu-copy-col .miu-trust-strip,
    .hcp-c2-trust-grid {
        gap: 5px 6px;
        font-size: 10px;
    }
    .hcp-c2-trust-pill,
    .miu-copy-col .miu-trust-item {
        font-size: 10px;
        gap: 3px;
        white-space: nowrap;
    }
    .hcp-c2-trust-pill .ic,
    .miu-copy-col .miu-check-circle {
        width: 13px;
        height: 13px;
    }
    .hcp-c2-trust-pill .ic .ui-ic,
    .miu-copy-col .miu-check-circle .ui-ic {
        width: 8px;
        height: 8px;
    }
}

/* ==========================================================================
   PRODUCT DETAIL RIGHT-SIDEBAR EXTENSION (5 DEMOS: s1 .. s5)
   Lấp đầy khoảng trống cân đối bên dưới Khung Đặt Mua trên product.php
   ========================================================================== */
.product-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.product-page-grid > .product-sidebar-col.is-only-buybox > .bb-card {
    position: sticky;
    top: 102px;
}

@media (max-width: 1024px) {
    .product-page-grid > .product-sidebar-col.is-only-buybox > .bb-card {
        position: static;
    }
}

.psb-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.psb-card {
    background: #0c121b;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 20px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.65);
}

.psb-card-head {
    display: flex;
    align-items: center;
    gap: 9px;
}

.psb-card-head h4 {
    font-size: 15px;
    font-weight: 700;
    color: #f8fafc;
    margin: 0;
}

.psb-card-head-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.psb-head-ic {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.34);
    color: #34d399;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.psb-head-ic.amber {
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.36);
    color: #fbbf24;
}

.psb-head-ic.cyan {
    background: rgba(56, 189, 248, 0.14);
    border-color: rgba(56, 189, 248, 0.35);
    color: #38bdf8;
}

.psb-title {
    font-size: 16.5px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.38;
    margin: 0;
}

.psb-sub {
    font-size: 13px;
    line-height: 1.55;
    color: #94a3b8;
    margin: 0;
}

.psb-sub strong {
    color: #e2e8f0;
}

.psb-link-more {
    font-size: 12.5px;
    font-weight: 700;
    color: #34d399;
    white-space: nowrap;
}

.psb-link-more:hover {
    text-decoration: underline;
}

/* VIP Spotlight Card (s1) */
.psb-vip-spotlight {
    background: linear-gradient(155deg, rgba(245, 158, 11, 0.14) 0%, rgba(16, 185, 129, 0.08) 45%, #0c121b 100%);
    border-color: rgba(251, 191, 36, 0.32);
}

.psb-vip-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.psb-pill-amber {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 7px;
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: #090d12;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.35px;
}

.psb-pill-save {
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(52, 211, 153, 0.36);
    color: #6ee7b7;
    font-size: 11px;
    font-weight: 700;
}

.psb-vip-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.psb-strike {
    display: block;
    font-size: 12px;
    color: #64748b;
    text-decoration: line-through;
}

.psb-vip-price {
    font-size: 21px;
    font-weight: 700;
    color: #fbbf24;
    line-height: 1.2;
}

.psb-btn-sm-amber {
    min-height: 38px;
    padding: 0 15px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: #090d12;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.psb-btn-sm-amber:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.psb-btn-sm-emerald {
    min-height: 38px;
    padding: 0 15px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(52, 211, 153, 0.42);
    color: #34d399;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* 3-Step Timeline (s1) */
.psb-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.psb-step-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.psb-step-num {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.34);
    color: #34d399;
    font-size: 11.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.psb-step-item strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #f8fafc;
}

.psb-step-item p {
    margin: 2px 0 0;
    font-size: 12.5px;
    line-height: 1.48;
    color: #94a3b8;
}

/* FAQ Accordion (s1) */
.psb-faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.psb-faq-item {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 10px 13px;
}

.psb-faq-item[open] {
    border-color: rgba(52, 211, 153, 0.3);
    background: rgba(16, 185, 129, 0.05);
}

.psb-faq-item summary {
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    color: #e2e8f0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.psb-faq-item summary::-webkit-details-marker {
    display: none;
}

.psb-faq-item summary::after {
    content: '+';
    color: #34d399;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.psb-faq-item[open] summary::after {
    content: '−';
}

.psb-faq-item p {
    margin: 8px 0 0;
    font-size: 12.5px;
    line-height: 1.52;
    color: #94a3b8;
}

/* Combo Comparison & Cross-sell (s2) */
.psb-combo-compare {
    background: linear-gradient(155deg, rgba(16, 185, 129, 0.08) 0%, #0c121b 65%);
}

.psb-compare-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.psb-compare-box {
    padding: 11px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.psb-compare-box.is-best {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(251, 191, 36, 0.42);
}

.psb-compare-box span {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
}

.psb-compare-box strong {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.psb-compare-box.is-best strong {
    color: #fbbf24;
}

.psb-compare-box small {
    font-size: 11px;
    color: #64748b;
}

.psb-compare-box.is-best small {
    color: #fde68a;
}

.psb-btn-block-amber {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 11px;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(251, 191, 36, 0.42);
    color: #fbbf24;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: all 0.2s ease;
}

.psb-btn-block-amber:hover {
    background: rgba(245, 158, 11, 0.24);
    color: #fde68a;
}

.psb-rel-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.psb-rel-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.065);
    transition: border-color 0.2s ease;
}

.psb-rel-item:hover {
    border-color: rgba(52, 211, 153, 0.35);
}

.psb-rel-thumb {
    width: 58px;
    height: 44px;
    border-radius: 9px;
    overflow: hidden;
    flex-shrink: 0;
    background: #070b10;
}

.psb-rel-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.psb-rel-info {
    flex: 1;
    min-width: 0;
}

.psb-rel-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.psb-rel-name:hover {
    color: #34d399;
}

.psb-rel-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
}

.psb-rel-meta strong {
    color: #34d399;
}

.psb-rel-meta strong.is-free {
    color: #fbbf24;
}

.psb-rel-btn {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.psb-rel-btn:hover {
    background: #10b981;
    color: #03150e;
}

.psb-rel-btn.is-owned {
    background: rgba(56, 189, 248, 0.14);
    border-color: rgba(56, 189, 248, 0.35);
    color: #38bdf8;
}

.psb-support-strip {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.psb-support-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.psb-support-left strong {
    display: block;
    font-size: 13.5px;
    color: #ffffff;
}

.psb-support-left p {
    margin: 2px 0 0;
    font-size: 12px;
    color: #94a3b8;
}

.psb-btn-sm-zalo {
    min-height: 36px;
    padding: 0 14px;
    border-radius: 9px;
    background: var(--zalo-blue);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.psb-btn-sm-zalo:hover {
    background: var(--zalo-blue-hover);
}

/* Social Proof & Guarantee (s3) */
.psb-rating-pill {
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.38);
    color: #fbbf24;
    font-size: 12px;
    font-weight: 700;
}

.psb-rating-summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: center;
    padding: 12px 14px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.065);
}

.psb-rating-big {
    text-align: center;
}

.psb-rating-big strong {
    display: block;
    font-size: 28px;
    line-height: 1;
    color: #ffffff;
}

.psb-rating-big .stars {
    color: #fbbf24;
    font-size: 12.5px;
    margin: 4px 0 2px;
}

.psb-rating-big span {
    font-size: 11px;
    color: #94a3b8;
}

.psb-rating-bars {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.psb-bar-row {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
    color: #94a3b8;
}

.psb-bar-row .track {
    flex: 1;
    height: 6px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.psb-bar-row .track i {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, #10b981, #fbbf24);
}

.psb-bar-row em {
    font-style: normal;
    width: 28px;
    text-align: right;
    font-weight: 700;
    color: #cbd5e1;
}

.psb-quote-box {
    padding: 11px 13px;
    border-left: 2.5px solid #34d399;
    background: rgba(16, 185, 129, 0.06);
    border-radius: 0 11px 11px 0;
}

.psb-quote-box p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: #e2e8f0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.psb-quote-box span {
    display: block;
    margin-top: 5px;
    font-size: 11.5px;
    font-weight: 700;
    color: #34d399;
}

.psb-badge-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.psb-badge-cell {
    padding: 11px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.psb-badge-cell .ic {
    color: #34d399;
    display: inline-flex;
    margin-bottom: 5px;
}

.psb-badge-cell strong {
    display: block;
    font-size: 13px;
    color: #f8fafc;
}

.psb-badge-cell small {
    display: block;
    font-size: 11.5px;
    color: #94a3b8;
    margin-top: 2px;
}

.psb-btn-outline-emerald {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 11px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.4);
    color: #34d399;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: all 0.2s ease;
}

.psb-btn-outline-emerald:hover {
    background: #10b981;
    color: #03150e;
}

/* Deliverables & Free Hub (s4) */
.psb-deliverables {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.psb-deliv-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.psb-deliv-row .ic {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(52, 211, 153, 0.12);
    color: #34d399;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.psb-deliv-row strong {
    display: block;
    font-size: 13px;
    color: #f8fafc;
}

.psb-deliv-row small {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.45;
}

.psb-audience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.psb-audience-tags span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    font-weight: 600;
    color: #e2e8f0;
}

.psb-audience-tags span .ui-ic {
    color: #38bdf8;
}

.psb-free-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.psb-free-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.psb-free-item:hover {
    border-color: #34d399;
    transform: translateY(-1px);
}

.psb-free-item img {
    width: 52px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.psb-free-item .meta {
    flex: 1;
    min-width: 0;
}

.psb-free-item .meta strong {
    display: block;
    font-size: 13px;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.psb-free-item .meta span {
    font-size: 11.5px;
    color: #34d399;
    font-weight: 600;
}

.psb-free-item .go {
    color: #94a3b8;
    display: inline-flex;
}

/* Studio Readiness Console (s5) */
.psb-console-card {
    padding: 0;
    overflow: hidden;
}

.psb-console-bar {
    height: 36px;
    padding: 0 16px;
    background: #070b12;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.55px;
    color: #94a3b8;
}

.psb-console-bar .dots {
    display: flex;
    gap: 5px;
}

.psb-console-bar .dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: block;
}

.psb-console-bar .dots i:nth-child(1) { background: #fb7185; }
.psb-console-bar .dots i:nth-child(2) { background: #fbbf24; }
.psb-console-bar .dots i:nth-child(3) { background: #34d399; }

.psb-console-body {
    padding: 14px 20px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.psb-console-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12.5px;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.07);
}

.psb-console-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.psb-console-row span {
    color: #94a3b8;
}

.psb-console-row strong {
    color: #f8fafc;
    font-weight: 700;
    text-align: right;
}

.psb-console-row strong.emerald {
    color: #34d399;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.psb-console-row strong.emerald .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.psb-console-row strong.cyan { color: #38bdf8; }
.psb-console-row strong.amber { color: #fbbf24; }

.psb-vip-dark-card {
    background: linear-gradient(155deg, rgba(245, 158, 11, 0.11) 0%, #0c121b 65%);
    border-color: rgba(251, 191, 36, 0.3);
}

.psb-vip-spotlight.is-vip-active,
.psb-vip-dark-card.is-vip-active {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0%, rgba(251, 191, 36, 0.16), transparent 50%),
        linear-gradient(155deg, rgba(16, 185, 129, 0.14) 0%, rgba(15, 23, 36, 0.96) 55%, #090e15 100%);
    border-color: rgba(52, 211, 153, 0.38);
    box-shadow: 0 18px 42px -18px rgba(16, 185, 129, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.psb-vip-spotlight.is-vip-active::before,
.psb-vip-dark-card.is-vip-active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.78), rgba(52, 211, 153, 0.85), transparent);
    pointer-events: none;
}

.psb-vip-active-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(52, 211, 153, 0.36);
    color: #6ee7b7;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}

.psb-vip-active-badge .dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #34d399;
    box-shadow: 0 0 8px #34d399;
    display: inline-block;
}

.psb-vip-active-title {
    font-size: 15.5px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.38;
    margin: 0;
}

.psb-vip-action-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.psb-vip-perk {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 34px;
    padding: 0 9px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 11.5px;
    font-weight: 600;
    color: #e2e8f0;
    white-space: nowrap;
    flex: 0 0 auto;
}

.psb-vip-perk .ui-ic {
    color: #34d399;
    flex-shrink: 0;
}

.psb-vip-active-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 1 1 auto;
    min-height: 34px;
    padding: 0 11px;
    border-radius: 9px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(16, 185, 129, 0.11) 100%);
    border: 1px solid rgba(52, 211, 153, 0.44);
    color: #6ee7b7;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.psb-vip-active-cta:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3) 0%, rgba(16, 185, 129, 0.18) 100%);
    border-color: rgba(52, 211, 153, 0.72);
    color: #ffffff;
    transform: translateY(-1px);
}

.psb-vip-dark-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.psb-vip-dark-price {
    font-size: 18px;
    font-weight: 700;
    color: #fbbf24;
}

.psb-dual-mini-btns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.psb-dual-mini-btns .psb-btn-sm-amber {
    justify-content: center;
}

.psb-btn-sm-ghost {
    min-height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #e2e8f0;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.psb-btn-sm-ghost:hover {
    border-color: #34d399;
    color: #34d399;
}

.psb-pay-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.psb-pay-chips span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 600;
    color: #cbd5e1;
}

.psb-pay-chips span .ui-ic {
    color: #34d399;
}

.psb-console-support {
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.075);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    color: #94a3b8;
    flex-wrap: wrap;
}

.psb-console-support a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    color: #38bdf8;
}

.psb-console-support a:hover {
    color: #34d399;
}

@media (max-width: 560px) {
    .psb-compare-grid,
    .psb-badge-grid,
    .psb-dual-mini-btns {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ==========================================================================
   ARTICLE DETAIL RIGHT-SIDEBAR UPGRADE (5 DEMOS: a1 .. a5)
   ========================================================================== */
.asb-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.asb-cta-highlight {
    background: linear-gradient(160deg, rgba(16, 185, 129, 0.11) 0%, #0c121b 65%);
    border-color: rgba(16, 185, 129, 0.32);
}

.asb-btn-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.asb-art-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.asb-art-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.065);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.asb-art-item:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-1px);
}

.asb-art-item img {
    width: 64px;
    height: 48px;
    border-radius: 9px;
    object-fit: cover;
    flex-shrink: 0;
    background: #070b10;
}

.asb-art-item div {
    flex: 1;
    min-width: 0;
}

.asb-art-item small {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    color: #34d399;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.asb-art-item strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12.5px;
    line-height: 1.38;
    color: #f8fafc;
    margin-top: 2px;
}

.asb-read-badge {
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #7dd3fc;
    font-size: 11.5px;
    font-weight: 700;
}

.asb-meta-rows {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.065);
}

.asb-meta-rows div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12.5px;
}

.asb-meta-rows span {
    color: #94a3b8;
}

.asb-meta-rows strong {
    color: #f8fafc;
    font-weight: 700;
}

.asb-cat-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.asb-cat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.065);
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
    transition: all 0.18s ease;
}

.asb-cat-row:hover {
    border-color: rgba(52, 211, 153, 0.45);
    color: #34d399;
}

.asb-cat-l {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.asb-cat-l .ui-ic {
    color: #34d399;
}

.asb-cat-cnt {
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    font-size: 11.5px;
    font-weight: 700;
}

.asb-trust-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 12px;
    color: #94a3b8;
}

.asb-trust-line span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.asb-trust-line .ui-ic {
    color: #34d399;
}

.asb-console-inner {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ==========================================================================
   SEO SOCIAL SHARE BAR (PRODUCT & ARTICLE DETAIL)
   ========================================================================== */
.seo-share-bar {
    margin: 22px 0 24px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.09);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.seo-share-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.seo-share-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.seo-share-ic {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: #34d399;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.seo-share-title-wrap strong {
    display: block;
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
}

.seo-share-title-wrap span {
    display: block;
    font-size: 12px;
    color: #94a3b8;
}

.seo-share-url-preview {
    max-width: 320px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(5, 8, 15, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11.5px;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.seo-share-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.seo-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    cursor: pointer;
    transition: transform 0.16s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.seo-share-btn:hover {
    transform: translateY(-1px);
    color: #ffffff;
}

.seo-share-btn.is-fb {
    background: rgba(24, 119, 242, 0.16);
    border-color: rgba(24, 119, 242, 0.45);
    color: #60a5fa;
}

.seo-share-btn.is-fb:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #ffffff;
}

.seo-share-btn.is-tg {
    background: rgba(34, 158, 217, 0.14);
    border-color: rgba(34, 158, 217, 0.42);
    color: #38bdf8;
}

.seo-share-btn.is-tg:hover {
    background: #229ed9;
    border-color: #229ed9;
    color: #ffffff;
}

.seo-share-btn.is-x:hover {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.4);
}

.seo-share-btn.is-copy {
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(52, 211, 153, 0.4);
    color: #34d399;
}

.seo-share-btn.is-copy:hover,
.seo-share-btn.is-copy.is-copied {
    background: #10b981;
    border-color: #10b981;
    color: #03150e;
}

.seo-share-aff-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    font-size: 12.5px;
    color: #cbd5e1;
}

.seo-share-aff-btns {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.seo-share-aff-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(24, 119, 242, 0.15);
    border: 1px solid rgba(24, 119, 242, 0.4);
    color: #93c5fd;
    cursor: pointer;
    transition: all 0.16s ease;
}

.seo-share-aff-btn:hover {
    background: #1877f2;
    color: #ffffff;
}

.seo-share-aff-btn.is-emerald {
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.4);
    color: #fbbf24;
}

.seo-share-aff-btn.is-emerald:hover,
.seo-share-aff-btn.is-emerald.is-copied {
    background: #f59e0b;
    color: #0b0f19;
}

@media (max-width: 640px) {
    .seo-share-url-preview {
        max-width: 100%;
    }
    .seo-share-btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}

/* ==========================================================================
   5 Ý TƯỞNG THIẾT KẾ LẠI THẺ VIP TRỌN ĐỜI (.vb-card)
   ========================================================================== */
.vb-card {
    position: relative;
    border-radius: 24px;
    border: 1px solid rgba(16, 185, 129, 0.25);
    background: linear-gradient(135deg, rgba(11, 27, 24, 0.92) 0%, rgba(11, 15, 25, 0.96) 55%, rgba(22, 18, 10, 0.9) 100%);
    padding: 28px 30px;
    overflow: hidden;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.45);
}

.vb-heading {
    font-size: clamp(19px, 1.9vw, 23px);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin: 10px 0 8px;
}

.vb-sub {
    font-size: 14.5px;
    color: #cbd5e1;
    line-height: 1.6;
}

.vb-price-hero {
    font-size: clamp(28px, 2.8vw, 36px);
    font-weight: 800;
    color: #fbbf24;
    line-height: 1.1;
}

.vb-strike {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 600;
}

.vb-strike-inline {
    font-size: 15px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 600;
}

.vb-full-btn {
    width: 100%;
    justify-content: center;
}

/* Ý TƯỞNG 1 (v1): Executive Split-Vault & 2x2 Matrix */
.vb-v1 {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 28px;
    align-items: center;
}

.vb-v1-matrix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}

.vb-v1-cell {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 11px 13px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.075);
}

.vb-cell-ic {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: #34d399;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vb-cell-ic.is-amber {
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.35);
    color: #fbbf24;
}

.vb-cell-ic.is-cyan {
    background: rgba(56, 189, 248, 0.14);
    border-color: rgba(56, 189, 248, 0.35);
    color: #38bdf8;
}

.vb-v1-cell strong {
    display: block;
    font-size: 13.5px;
    color: #ffffff;
    font-weight: 700;
}

.vb-v1-cell span {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
}

.vb-v1-vault {
    background: rgba(7, 11, 18, 0.86);
    border: 1px solid rgba(245, 158, 11, 0.36);
    border-radius: 20px;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.vb-vault-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.vb-vault-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.7px;
    color: #94a3b8;
}

.vb-vault-save {
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: #34d399;
    font-size: 11.5px;
    font-weight: 800;
}

.vb-vault-price-wrap {
    padding-bottom: 4px;
}

.vb-unit-note {
    margin-top: 6px;
    font-size: 13px;
    color: #cbd5e1;
}

.vb-unit-note strong {
    color: #34d399;
}

.vb-vault-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: #94a3b8;
    flex-wrap: wrap;
}

.vb-vault-foot span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Ý TƯỞNG 2 (v2): Comparison Deck */
.vb-v2 {
    display: grid;
    grid-template-columns: 1.05fr 1.25fr;
    gap: 28px;
    align-items: center;
}

.vb-v2-cta-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.vb-v2-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.vb-cmp-col {
    border-radius: 18px;
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vb-cmp-col.is-muted {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0.85;
}

.vb-cmp-col.is-vip {
    background: linear-gradient(160deg, rgba(16, 185, 129, 0.16) 0%, rgba(245, 158, 11, 0.14) 100%);
    border: 1.5px solid rgba(245, 158, 11, 0.52);
    box-shadow: 0 14px 36px rgba(245, 158, 11, 0.12);
}

.vb-cmp-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    color: #e2e8f0;
}

.vb-cmp-head span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.vb-cmp-head small {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 700;
}

.vb-cmp-badge {
    padding: 2px 8px;
    border-radius: 999px;
    background: #ef4444;
    color: #ffffff !important;
}

.vb-cmp-price {
    font-size: 24px;
    font-weight: 800;
}

.vb-cmp-price.is-old {
    color: #94a3b8;
    text-decoration: line-through;
}

.vb-cmp-price.is-gold {
    color: #fbbf24;
}

.vb-cmp-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: #cbd5e1;
}

.vb-cmp-list li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.vb-cmp-col.is-muted .vb-cmp-list .ui-ic {
    color: #f87171;
    flex-shrink: 0;
}

.vb-cmp-col.is-vip .vb-cmp-list .ui-ic {
    color: #34d399;
    flex-shrink: 0;
}

/* Ý TƯỞNG 3 (v3): 3D Metallic VIP Black-Card */
.vb-v3 {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 32px;
    align-items: center;
}

.vb-v3-card-stage {
    perspective: 1000px;
}

.vb-metal-card {
    position: relative;
    border-radius: 20px;
    padding: 22px 24px;
    aspect-ratio: 1.58 / 1;
    background: linear-gradient(135deg, #1b202c 0%, #090c12 52%, #231a0c 100%);
    border: 1.5px solid rgba(251, 191, 36, 0.55);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.7), 0 0 28px rgba(245, 158, 11, 0.16);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transform: rotateY(7deg) rotateX(3deg);
    transition: transform 0.3s ease;
}

.vb-v3:hover .vb-metal-card {
    transform: rotateY(0deg) rotateX(0deg);
}

.vb-metal-glow {
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 30% 25%, rgba(251, 191, 36, 0.22), transparent 55%);
    pointer-events: none;
}

.vb-metal-top,
.vb-metal-chip-row,
.vb-metal-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.vb-metal-brand {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #e2e8f0;
}

.vb-metal-tier {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.18);
    border: 1px solid rgba(251, 191, 36, 0.45);
    color: #fbbf24;
    font-size: 11px;
    font-weight: 800;
}

.vb-metal-chip {
    width: 38px;
    height: 28px;
    border-radius: 6px;
    background: linear-gradient(135deg, #fde68a 0%, #d97706 100%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: inline-block;
}

.vb-metal-serial {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #94a3b8;
}

.vb-metal-bottom small {
    display: block;
    font-size: 10px;
    color: #94a3b8;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.vb-metal-bottom strong {
    display: block;
    font-size: 13px;
    color: #ffffff;
    font-weight: 800;
    margin-top: 2px;
}

.vb-metal-pct {
    padding: 5px 11px;
    border-radius: 10px;
    background: #10b981;
    color: #03150e;
    font-size: 13px;
    font-weight: 800;
}

.vb-v3-top-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.vb-v3-lifetime {
    font-size: 13px;
    font-weight: 700;
    color: #34d399;
}

.vb-v3-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 14px 0 18px;
    font-size: 13.5px;
    color: #e2e8f0;
}

.vb-v3-perks span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vb-v3-perks .ui-ic {
    color: #34d399;
}

.vb-v3-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.vb-v3-price-inline {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

/* Ý TƯỞNG 4 (v4): Studio Console & Unlocked App Dock */
.vb-v4 {
    padding: 0;
}

.vb-v4-head {
    padding: 13px 24px;
    background: rgba(5, 8, 14, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.vb-v4-dots {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #94a3b8;
}

.vb-v4-dots i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    background: #334155;
}

.vb-v4-dots i:nth-child(1) { background: #ef4444; }
.vb-v4-dots i:nth-child(2) { background: #f59e0b; }
.vb-v4-dots i:nth-child(3) { background: #10b981; }

.vb-v4-dots span {
    margin-left: 6px;
}

.vb-v4-main {
    padding: 24px 26px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.vb-v4-copy {
    flex: 1 1 460px;
}

.vb-v4-copy .vb-heading {
    margin-top: 0;
}

.vb-v4-dock {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(7, 11, 18, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vb-v4-note {
    font-size: 12px;
    color: #34d399;
    font-weight: 700;
    margin-top: 3px;
}

.vb-v4-apps-strip {
    padding: 0 26px 22px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.vb-v4-app-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 0;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.vb-v4-app-chip:hover {
    border-color: rgba(52, 211, 153, 0.48);
    transform: translateY(-2px);
}

.vb-v4-app-chip img {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    object-fit: cover;
    flex-shrink: 0;
    background: #070b10;
}

.vb-v4-app-meta {
    min-width: 0;
}

.vb-v4-app-meta strong {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vb-v4-app-meta span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 700;
    color: #34d399;
}

/* Ý TƯỞNG 5 (v5): Centered Spotlight Hero & 3 Pillars */
.vb-v5 {
    text-align: center;
    padding: 34px 30px;
}

.vb-v5-glow {
    position: absolute;
    left: 50%;
    top: -120px;
    transform: translateX(-50%);
    width: 520px;
    height: 240px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, rgba(16, 185, 129, 0.12) 45%, transparent 72%);
    pointer-events: none;
}

.vb-v5-header,
.vb-v5-pillars,
.vb-v5-action-bar {
    position: relative;
    z-index: 2;
}

.vb-v5-desc {
    max-width: 720px;
    margin: 0 auto;
}

.vb-v5-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0;
    text-align: left;
}

.vb-v5-pillar {
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vb-pillar-ic {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: #34d399;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}

.vb-pillar-ic.is-amber {
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.35);
    color: #fbbf24;
}

.vb-pillar-ic.is-cyan {
    background: rgba(56, 189, 248, 0.14);
    border-color: rgba(56, 189, 248, 0.35);
    color: #38bdf8;
}

.vb-v5-pillar strong {
    font-size: 14.5px;
    color: #ffffff;
}

.vb-v5-pillar span {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
}

.vb-v5-action-bar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 10px 12px 10px 22px;
    border-radius: 20px;
    background: rgba(7, 11, 18, 0.85);
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.vb-v5-price-pill {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.vb-v5-tag {
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.14);
    color: #34d399;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 1080px) {
    .vb-v1,
    .vb-v2,
    .vb-v3 {
        grid-template-columns: minmax(0, 1fr);
    }
    .vb-v3-card-stage {
        max-width: 380px;
    }
    .vb-v4-apps-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .vb-card {
        padding: 20px 18px;
    }
    .vb-v4 {
        padding: 0;
    }
    .vb-v4-main,
    .vb-v4-apps-strip {
        padding-left: 18px;
        padding-right: 18px;
    }
    .vb-v1-matrix,
    .vb-v2-compare,
    .vb-v5-pillars,
    .vb-v4-apps-strip {
        grid-template-columns: minmax(0, 1fr);
    }
    .vb-v5-action-bar {
        width: 100%;
        padding: 14px;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .vb-v3-card-stage {
        display: none;
    }
}

/* ==========================================================================
   5 HIỆU ỨNG CHUYỂN ĐỘNG THẺ VIP TRỌN ĐỜI (.vb-anim-m1 .. .vb-anim-m5)
   ========================================================================== */
.vb-anim {
    position: relative;
}

.vb-anim .vb-v3-card-stage {
    transform-style: preserve-3d;
}

.vb-fx-beam,
.vb-fx-ring,
.vb-metal-sheen {
    position: absolute;
    pointer-events: none;
    opacity: 0;
}

.vb-metal-sheen {
    inset: -30%;
    z-index: 3;
    background: linear-gradient(
        112deg,
        transparent 34%,
        rgba(255, 243, 196, 0.14) 44%,
        rgba(251, 191, 36, 0.42) 50%,
        rgba(255, 255, 255, 0.16) 56%,
        transparent 66%
    );
    transform: translateX(-120%) skewX(-18deg);
}

@keyframes vbSheenSweep {
    0%   { opacity: 0; transform: translateX(-120%) skewX(-18deg); }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { opacity: 0; transform: translateX(130%) skewX(-18deg); }
}

@keyframes vbCtaGlowPulse {
    0%   { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.55); transform: scale(1); }
    45%  { box-shadow: 0 0 0 12px rgba(251, 191, 36, 0); transform: scale(1.03); }
    100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); transform: scale(1); }
}

/* --- M1: BAY TỪ NGOÀI MÀN HÌNH HAI CÁNH (DUAL-WING FLY-IN) --- */
.vb-card.vb-anim-m1,
.vip-promo-bento.vb-anim-m1 {
    overflow: visible;
}

.vb-anim-m1.is-armed:not(.is-played) .vb-v3-card-stage,
.vb-anim-m1.is-armed:not(.is-played) .vb-v1-left,
.vb-anim-m1.is-armed:not(.is-played) .vb-v2-intro,
.vb-anim-m1.is-armed:not(.is-played) .vb-v4-copy,
.vb-anim-m1.is-armed:not(.is-played) .vb-v5-header,
.vb-anim-m1.is-armed:not(.is-played) .vip-promo-info {
    opacity: 0;
    transform: translate3d(-55vw, -30px, 0) rotateY(-40deg) rotateZ(-12deg) scale(0.84);
}

.vb-anim-m1.is-armed:not(.is-played) .vb-v3-top-row,
.vb-anim-m1.is-armed:not(.is-played) .vb-v3-body .vb-heading,
.vb-anim-m1.is-armed:not(.is-played) .vb-v3-body .vb-sub,
.vb-anim-m1.is-armed:not(.is-played) .vb-v3-perks span,
.vb-anim-m1.is-armed:not(.is-played) .vb-v3-footer,
.vb-anim-m1.is-armed:not(.is-played) .vb-v1-vault,
.vb-anim-m1.is-armed:not(.is-played) .vb-v2-compare,
.vb-anim-m1.is-armed:not(.is-played) .vb-v4-dock,
.vb-anim-m1.is-armed:not(.is-played) .vb-v5-pillars,
.vb-anim-m1.is-armed:not(.is-played) .vb-v5-action-bar,
.vb-anim-m1.is-armed:not(.is-played) .vip-promo-action {
    opacity: 0;
    transform: translate3d(42vw, 0, 0);
}

@keyframes vbM1FlyLeft {
    0%   { opacity: 0; transform: translate3d(-55vw, -30px, 0) rotateY(-40deg) rotateZ(-12deg) scale(0.84); }
    72%  { opacity: 1; transform: translate3d(12px, 4px, 0) rotateY(4deg) rotateZ(2deg) scale(1.02); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) rotateY(0deg) rotateZ(0deg) scale(1); }
}

@keyframes vbM1FlyRight {
    0%   { opacity: 0; transform: translate3d(42vw, 0, 0); }
    74%  { opacity: 1; transform: translate3d(-8px, 0, 0); }
    100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

.vb-anim-m1.is-played .vb-v3-card-stage,
.vb-anim-m1.is-played .vb-v1-left,
.vb-anim-m1.is-played .vb-v2-intro,
.vb-anim-m1.is-played .vb-v4-copy,
.vb-anim-m1.is-played .vb-v5-header,
.vb-anim-m1.is-played .vip-promo-info {
    animation: vbM1FlyLeft 0.92s cubic-bezier(0.16, 1.12, 0.3, 1) both;
}

.vb-anim-m1.is-played .vb-metal-sheen {
    animation: vbSheenSweep 0.85s ease-out 0.72s both;
}

.vb-anim-m1.is-played .vb-v3-top-row   { animation: vbM1FlyRight 0.74s cubic-bezier(0.16, 1.08, 0.3, 1) 0.12s both; }
.vb-anim-m1.is-played .vb-v3-body .vb-heading { animation: vbM1FlyRight 0.74s cubic-bezier(0.16, 1.08, 0.3, 1) 0.20s both; }
.vb-anim-m1.is-played .vb-v3-body .vb-sub     { animation: vbM1FlyRight 0.74s cubic-bezier(0.16, 1.08, 0.3, 1) 0.28s both; }
.vb-anim-m1.is-played .vb-v3-perks span:nth-child(1) { animation: vbM1FlyRight 0.68s cubic-bezier(0.16, 1.08, 0.3, 1) 0.35s both; }
.vb-anim-m1.is-played .vb-v3-perks span:nth-child(2) { animation: vbM1FlyRight 0.68s cubic-bezier(0.16, 1.08, 0.3, 1) 0.42s both; }
.vb-anim-m1.is-played .vb-v3-perks span:nth-child(3) { animation: vbM1FlyRight 0.68s cubic-bezier(0.16, 1.08, 0.3, 1) 0.49s both; }
.vb-anim-m1.is-played .vb-v3-perks span:nth-child(4) { animation: vbM1FlyRight 0.68s cubic-bezier(0.16, 1.08, 0.3, 1) 0.56s both; }
.vb-anim-m1.is-played .vb-v3-footer,
.vb-anim-m1.is-played .vb-v1-vault,
.vb-anim-m1.is-played .vb-v2-compare,
.vb-anim-m1.is-played .vb-v4-dock,
.vb-anim-m1.is-played .vb-v5-pillars,
.vb-anim-m1.is-played .vb-v5-action-bar,
.vb-anim-m1.is-played .vip-promo-action {
    animation: vbM1FlyRight 0.78s cubic-bezier(0.16, 1.08, 0.3, 1) 0.46s both;
}

.vb-anim-m1.is-played .btn-combo-cta {
    animation: vbCtaGlowPulse 0.8s ease-out 1.1s 1;
}

/* --- M2: LẮP GHÉP CƠ KHÍ TRANSFORMER (MECHA ASSEMBLY) --- */
.vb-card.vb-anim-m2,
.vip-promo-bento.vb-anim-m2 {
    overflow: visible;
}

.vb-anim-m2.is-armed:not(.is-played) {
    opacity: 0;
    transform: scale(0.95);
}

.vb-anim-m2.is-armed:not(.is-played) .vb-metal-card {
    opacity: 0;
    transform: perspective(900px) rotateX(48deg) rotateY(-28deg) scale(0.72);
}

.vb-anim-m2.is-armed:not(.is-played) .vb-metal-brand      { opacity: 0; transform: translate3d(-44px, -34px, 0) scale(0.78); }
.vb-anim-m2.is-armed:not(.is-played) .vb-metal-tier       { opacity: 0; transform: translate3d(44px, -34px, 0) rotateZ(12deg); }
.vb-anim-m2.is-armed:not(.is-played) .vb-metal-chip       { opacity: 0; transform: translate3d(-24px, -22px, 0) scale(2.35) rotateZ(-90deg); }
.vb-anim-m2.is-armed:not(.is-played) .vb-metal-serial     { opacity: 0; transform: translate3d(60px, 0, 0); }
.vb-anim-m2.is-armed:not(.is-played) .vb-metal-bottom > div { opacity: 0; transform: translate3d(-34px, 34px, 0); }
.vb-anim-m2.is-armed:not(.is-played) .vb-metal-pct        { opacity: 0; transform: translate3d(38px, 34px, 0) scale(0.35); }

.vb-anim-m2.is-armed:not(.is-played) .vb-v3-top-row,
.vb-anim-m2.is-armed:not(.is-played) .vb-v3-body .vb-heading,
.vb-anim-m2.is-armed:not(.is-played) .vb-v3-body .vb-sub,
.vb-anim-m2.is-armed:not(.is-played) .vb-v3-perks span,
.vb-anim-m2.is-armed:not(.is-played) .vb-v3-footer,
.vb-anim-m2.is-armed:not(.is-played) .vb-v1-left,
.vb-anim-m2.is-armed:not(.is-played) .vb-v1-vault,
.vb-anim-m2.is-armed:not(.is-played) .vb-v2-intro,
.vb-anim-m2.is-armed:not(.is-played) .vb-v2-compare,
.vb-anim-m2.is-armed:not(.is-played) .vb-v4-copy,
.vb-anim-m2.is-armed:not(.is-played) .vb-v4-dock,
.vb-anim-m2.is-armed:not(.is-played) .vb-v5-header,
.vb-anim-m2.is-armed:not(.is-played) .vb-v5-pillars,
.vb-anim-m2.is-armed:not(.is-played) .vb-v5-action-bar,
.vb-anim-m2.is-armed:not(.is-played) .vip-promo-info,
.vb-anim-m2.is-armed:not(.is-played) .vip-promo-action {
    opacity: 0;
}

@keyframes vbM2FrameLock {
    0%   { opacity: 0; transform: scale(0.95); box-shadow: 0 22px 54px rgba(0, 0, 0, 0.45); }
    65%  { opacity: 1; transform: scale(1.012); box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.55), 0 22px 64px rgba(16, 185, 129, 0.25); }
    100% { opacity: 1; transform: scale(1); box-shadow: 0 22px 54px rgba(0, 0, 0, 0.45); }
}

@keyframes vbM2ChassisLock {
    0%   { opacity: 0; transform: perspective(900px) rotateX(48deg) rotateY(-28deg) scale(0.72); }
    68%  { opacity: 1; transform: perspective(900px) rotateX(-3deg) rotateY(11deg) scale(1.03); }
    100% { opacity: 1; transform: rotateY(7deg) rotateX(3deg) scale(1); }
}

@keyframes vbM2PartSnap {
    0%   { opacity: 0; }
    60%  { opacity: 1; }
    100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
}

@keyframes vbM2PlateTop {
    0%   { opacity: 0; transform: translate3d(0, -34px, 0) scale(0.95); }
    70%  { opacity: 1; transform: translate3d(0, 3px, 0) scale(1.01); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes vbM2PlateRight {
    0%   { opacity: 0; transform: translate3d(54px, 0, 0) skewX(-6deg); }
    70%  { opacity: 1; transform: translate3d(-4px, 0, 0) skewX(1deg); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) skewX(0deg); }
}

@keyframes vbM2PlateLeft {
    0%   { opacity: 0; transform: translate3d(-38px, 0, 0); }
    70%  { opacity: 1; transform: translate3d(4px, 0, 0); }
    100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes vbM2PlateBottom {
    0%   { opacity: 0; transform: translate3d(0, 36px, 0) scaleY(0.8); }
    70%  { opacity: 1; transform: translate3d(0, -3px, 0) scaleY(1.02); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) scaleY(1); }
}

@keyframes vbM2WeldFlash {
    0%   { opacity: 0; transform: scaleX(0.1); }
    45%  { opacity: 0.95; transform: scaleX(1); }
    100% { opacity: 0; transform: scaleX(1.02); }
}

.vb-anim-m2.is-played {
    animation: vbM2FrameLock 0.55s cubic-bezier(0.22, 1.25, 0.36, 1) both;
}

.vb-anim-m2.is-played .vb-metal-card {
    animation: vbM2ChassisLock 0.62s cubic-bezier(0.22, 1.28, 0.36, 1) 0.06s both;
}

.vb-anim-m2.is-played .vb-metal-brand        { animation: vbM2PartSnap 0.44s cubic-bezier(0.22, 1.38, 0.36, 1) 0.24s both; }
.vb-anim-m2.is-played .vb-metal-tier         { animation: vbM2PartSnap 0.44s cubic-bezier(0.22, 1.38, 0.36, 1) 0.32s both; }
.vb-anim-m2.is-played .vb-metal-chip         { animation: vbM2PartSnap 0.46s cubic-bezier(0.22, 1.4, 0.36, 1) 0.40s both; }
.vb-anim-m2.is-played .vb-metal-serial       { animation: vbM2PartSnap 0.42s cubic-bezier(0.22, 1.35, 0.36, 1) 0.48s both; }
.vb-anim-m2.is-played .vb-metal-bottom > div { animation: vbM2PartSnap 0.44s cubic-bezier(0.22, 1.35, 0.36, 1) 0.54s both; }
.vb-anim-m2.is-played .vb-metal-pct          { animation: vbM2PartSnap 0.46s cubic-bezier(0.22, 1.45, 0.36, 1) 0.62s both; }

.vb-anim-m2.is-played .vb-v3-top-row             { animation: vbM2PlateTop 0.46s cubic-bezier(0.22, 1.32, 0.36, 1) 0.22s both; }
.vb-anim-m2.is-played .vb-v3-body .vb-heading    { animation: vbM2PlateRight 0.48s cubic-bezier(0.22, 1.32, 0.36, 1) 0.32s both; }
.vb-anim-m2.is-played .vb-v3-body .vb-sub        { animation: vbM2PlateLeft 0.46s cubic-bezier(0.22, 1.28, 0.36, 1) 0.42s both; }
.vb-anim-m2.is-played .vb-v3-perks span:nth-child(1) { animation: vbM2PlateBottom 0.42s cubic-bezier(0.22, 1.36, 0.36, 1) 0.50s both; }
.vb-anim-m2.is-played .vb-v3-perks span:nth-child(2) { animation: vbM2PlateBottom 0.42s cubic-bezier(0.22, 1.36, 0.36, 1) 0.57s both; }
.vb-anim-m2.is-played .vb-v3-perks span:nth-child(3) { animation: vbM2PlateBottom 0.42s cubic-bezier(0.22, 1.36, 0.36, 1) 0.64s both; }
.vb-anim-m2.is-played .vb-v3-perks span:nth-child(4) { animation: vbM2PlateBottom 0.42s cubic-bezier(0.22, 1.36, 0.36, 1) 0.71s both; }
.vb-anim-m2.is-played .vb-v3-footer              { animation: vbM2PlateBottom 0.50s cubic-bezier(0.22, 1.36, 0.36, 1) 0.70s both; }

.vb-anim-m2.is-played .vb-v1-left,
.vb-anim-m2.is-played .vb-v2-intro,
.vb-anim-m2.is-played .vb-v4-copy,
.vb-anim-m2.is-played .vb-v5-header,
.vb-anim-m2.is-played .vip-promo-info { animation: vbM2PlateLeft 0.5s cubic-bezier(0.22, 1.3, 0.36, 1) 0.2s both; }

.vb-anim-m2.is-played .vb-v1-vault,
.vb-anim-m2.is-played .vb-v2-compare,
.vb-anim-m2.is-played .vb-v4-dock,
.vb-anim-m2.is-played .vb-v5-pillars,
.vb-anim-m2.is-played .vb-v5-action-bar,
.vb-anim-m2.is-played .vip-promo-action { animation: vbM2PlateRight 0.52s cubic-bezier(0.22, 1.3, 0.36, 1) 0.42s both; }

.vb-anim-m2 .vb-fx-beam {
    display: none;
}

.vb-anim-m2.is-played .vb-metal-sheen {
    animation: vbSheenSweep 0.75s ease-out 0.88s both;
}

/* --- M3: RƠI TỪ KHÔNG GIAN 3D & TIA QUÉT LASER HOLOGRAM --- */
.vb-anim-m3.is-armed:not(.is-played) .vb-metal-card {
    opacity: 0;
    transform: perspective(1000px) translate3d(0, -24px, 140px) rotateX(36deg) rotateY(-32deg) scale(0.74);
    filter: blur(6px);
}

.vb-anim-m3.is-armed:not(.is-played) .vb-v3-top-row,
.vb-anim-m3.is-armed:not(.is-played) .vb-v3-body .vb-heading,
.vb-anim-m3.is-armed:not(.is-played) .vb-v3-body .vb-sub,
.vb-anim-m3.is-armed:not(.is-played) .vb-v3-perks,
.vb-anim-m3.is-armed:not(.is-played) .vb-v3-footer,
.vb-anim-m3.is-armed:not(.is-played) .vb-v1-left,
.vb-anim-m3.is-armed:not(.is-played) .vb-v1-vault,
.vb-anim-m3.is-armed:not(.is-played) .vb-v2-intro,
.vb-anim-m3.is-armed:not(.is-played) .vb-v2-compare,
.vb-anim-m3.is-armed:not(.is-played) .vb-v4-copy,
.vb-anim-m3.is-armed:not(.is-played) .vb-v4-dock,
.vb-anim-m3.is-armed:not(.is-played) .vb-v5-header,
.vb-anim-m3.is-armed:not(.is-played) .vb-v5-pillars,
.vb-anim-m3.is-armed:not(.is-played) .vb-v5-action-bar,
.vb-anim-m3.is-armed:not(.is-played) .vip-promo-info,
.vb-anim-m3.is-armed:not(.is-played) .vip-promo-action {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
}

@keyframes vbM3PortalCard {
    0%   { opacity: 0; transform: perspective(1000px) translate3d(0, -24px, 140px) rotateX(36deg) rotateY(-32deg) scale(0.74); filter: blur(6px); }
    65%  { opacity: 1; filter: blur(0px); }
    100% { opacity: 1; transform: rotateY(7deg) rotateX(3deg) scale(1); filter: blur(0px); }
}

@keyframes vbM3LaserScan {
    0%   { opacity: 0; left: -6%; }
    12%  { opacity: 1; }
    88%  { opacity: 1; }
    100% { opacity: 0; left: 104%; }
}

@keyframes vbM3HoloReveal {
    0%   { opacity: 0; clip-path: inset(0 100% 0 0); filter: drop-shadow(0 0 10px rgba(52, 211, 153, 0.7)); }
    70%  { opacity: 1; filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.35)); }
    100% { opacity: 1; clip-path: inset(0 0 0 0); filter: none; }
}

.vb-anim-m3.is-played .vb-metal-card {
    animation: vbM3PortalCard 0.88s cubic-bezier(0.19, 1, 0.22, 1) both;
}

.vb-anim-m3.is-played .vb-fx-beam {
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, transparent, #34d399 20%, #a7f3d0 50%, #fbbf24 80%, transparent);
    box-shadow: 0 0 24px 6px rgba(52, 211, 153, 0.55), -38px 0 42px rgba(16, 185, 129, 0.18);
    z-index: 8;
    animation: vbM3LaserScan 1.1s cubic-bezier(0.4, 0, 0.2, 1) 0.14s both;
}

.vb-anim-m3.is-played .vb-v3-top-row          { animation: vbM3HoloReveal 0.62s ease-out 0.34s both; }
.vb-anim-m3.is-played .vb-v3-body .vb-heading { animation: vbM3HoloReveal 0.65s ease-out 0.42s both; }
.vb-anim-m3.is-played .vb-v3-body .vb-sub     { animation: vbM3HoloReveal 0.65s ease-out 0.50s both; }
.vb-anim-m3.is-played .vb-v3-perks            { animation: vbM3HoloReveal 0.65s ease-out 0.58s both; }
.vb-anim-m3.is-played .vb-v3-footer           { animation: vbM3HoloReveal 0.65s ease-out 0.66s both; }

.vb-anim-m3.is-played .vb-v1-left,
.vb-anim-m3.is-played .vb-v2-intro,
.vb-anim-m3.is-played .vb-v4-copy,
.vb-anim-m3.is-played .vb-v5-header,
.vb-anim-m3.is-played .vip-promo-info { animation: vbM3HoloReveal 0.65s ease-out 0.28s both; }

.vb-anim-m3.is-played .vb-v1-vault,
.vb-anim-m3.is-played .vb-v2-compare,
.vb-anim-m3.is-played .vb-v4-dock,
.vb-anim-m3.is-played .vb-v5-pillars,
.vb-anim-m3.is-played .vb-v5-action-bar,
.vb-anim-m3.is-played .vip-promo-action { animation: vbM3HoloReveal 0.68s ease-out 0.56s both; }

/* --- M4: SÓNG XUNG KÍCH & BẢNG GIÁ NHẢY SỐ (SHOCKWAVE & ROLL-UP) --- */
.vb-anim-m4.is-armed:not(.is-played) .vb-v3-card-stage,
.vb-anim-m4.is-armed:not(.is-played) .vb-v1-left,
.vb-anim-m4.is-armed:not(.is-played) .vb-v2-intro,
.vb-anim-m4.is-armed:not(.is-played) .vb-v4-copy,
.vb-anim-m4.is-armed:not(.is-played) .vb-v5-header,
.vb-anim-m4.is-armed:not(.is-played) .vip-promo-info {
    opacity: 0;
    transform: translate3d(0, -88px, 0) scale(1.14) rotateX(18deg);
}

.vb-anim-m4.is-armed:not(.is-played) .vb-v3-top-row,
.vb-anim-m4.is-armed:not(.is-played) .vb-v3-body .vb-heading,
.vb-anim-m4.is-armed:not(.is-played) .vb-v3-body .vb-sub,
.vb-anim-m4.is-armed:not(.is-played) .vb-v3-perks span,
.vb-anim-m4.is-armed:not(.is-played) .vb-v3-footer,
.vb-anim-m4.is-armed:not(.is-played) .vb-v1-vault,
.vb-anim-m4.is-armed:not(.is-played) .vb-v2-compare,
.vb-anim-m4.is-armed:not(.is-played) .vb-v4-dock,
.vb-anim-m4.is-armed:not(.is-played) .vb-v5-pillars,
.vb-anim-m4.is-armed:not(.is-played) .vb-v5-action-bar,
.vb-anim-m4.is-armed:not(.is-played) .vip-promo-action {
    opacity: 0;
    transform: translate3d(-18px, 0, 0) scale(0.92);
}

@keyframes vbM4ImpactDrop {
    0%   { opacity: 0; transform: translate3d(0, -88px, 0) scale(1.14) rotateX(18deg); }
    58%  { opacity: 1; transform: translate3d(0, 6px, 0) scale(0.96) rotateX(-4deg); }
    78%  { transform: translate3d(0, -3px, 0) scale(1.02) rotateX(2deg); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotateX(0deg); }
}

@keyframes vbM4ShockwaveRing {
    0%   { opacity: 0.9; transform: translate(-50%, -50%) scale(0.2); border-width: 4px; }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(3.4); border-width: 1px; }
}

@keyframes vbM4MagneticPop {
    0%   { opacity: 0; transform: translate3d(-18px, 0, 0) scale(0.92); }
    68%  { opacity: 1; transform: translate3d(4px, 0, 0) scale(1.02); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

.vb-anim-m4.is-played .vb-v3-card-stage,
.vb-anim-m4.is-played .vb-v1-left,
.vb-anim-m4.is-played .vb-v2-intro,
.vb-anim-m4.is-played .vb-v4-copy,
.vb-anim-m4.is-played .vb-v5-header,
.vb-anim-m4.is-played .vip-promo-info {
    animation: vbM4ImpactDrop 0.68s cubic-bezier(0.22, 1.25, 0.36, 1) both;
}

.vb-anim-m4.is-played .vb-fx-ring {
    left: 200px;
    top: 50%;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 3px solid rgba(251, 191, 36, 0.72);
    box-shadow: 0 0 36px rgba(16, 185, 129, 0.5), inset 0 0 24px rgba(251, 191, 36, 0.3);
    z-index: 1;
    animation: vbM4ShockwaveRing 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
}

.vb-anim-m4.is-played .vb-v3-top-row             { animation: vbM4MagneticPop 0.52s cubic-bezier(0.22, 1.28, 0.36, 1) 0.28s both; }
.vb-anim-m4.is-played .vb-v3-body .vb-heading    { animation: vbM4MagneticPop 0.52s cubic-bezier(0.22, 1.28, 0.36, 1) 0.35s both; }
.vb-anim-m4.is-played .vb-v3-body .vb-sub        { animation: vbM4MagneticPop 0.52s cubic-bezier(0.22, 1.28, 0.36, 1) 0.42s both; }
.vb-anim-m4.is-played .vb-v3-perks span:nth-child(1) { animation: vbM4MagneticPop 0.46s cubic-bezier(0.22, 1.32, 0.36, 1) 0.48s both; }
.vb-anim-m4.is-played .vb-v3-perks span:nth-child(2) { animation: vbM4MagneticPop 0.46s cubic-bezier(0.22, 1.32, 0.36, 1) 0.54s both; }
.vb-anim-m4.is-played .vb-v3-perks span:nth-child(3) { animation: vbM4MagneticPop 0.46s cubic-bezier(0.22, 1.32, 0.36, 1) 0.60s both; }
.vb-anim-m4.is-played .vb-v3-perks span:nth-child(4) { animation: vbM4MagneticPop 0.46s cubic-bezier(0.22, 1.32, 0.36, 1) 0.66s both; }
.vb-anim-m4.is-played .vb-v3-footer,
.vb-anim-m4.is-played .vb-v1-vault,
.vb-anim-m4.is-played .vb-v2-compare,
.vb-anim-m4.is-played .vb-v4-dock,
.vb-anim-m4.is-played .vb-v5-pillars,
.vb-anim-m4.is-played .vb-v5-action-bar,
.vb-anim-m4.is-played .vip-promo-action {
    animation: vbM4MagneticPop 0.56s cubic-bezier(0.22, 1.28, 0.36, 1) 0.56s both;
}

.vb-anim-m4.is-played .btn-combo-cta {
    animation: vbCtaGlowPulse 0.85s ease-out 1.05s 1;
}

/* --- M5: LẬT THẺ 180° & TƯƠNG TÁC 3D GYROSCOPE THEO CHUỘT --- */
.vb-anim-m5.is-armed:not(.is-played) .vb-metal-card,
.vb-anim-m5.is-armed:not(.is-played) .vb-v1-left,
.vb-anim-m5.is-armed:not(.is-played) .vb-v2-intro,
.vb-anim-m5.is-armed:not(.is-played) .vb-v4-copy,
.vb-anim-m5.is-armed:not(.is-played) .vb-v5-header,
.vb-anim-m5.is-armed:not(.is-played) .vip-promo-info {
    opacity: 0;
    transform: rotateY(180deg) scale(0.8);
}

.vb-anim-m5.is-armed:not(.is-played) .vb-v3-top-row,
.vb-anim-m5.is-armed:not(.is-played) .vb-v3-body .vb-heading,
.vb-anim-m5.is-armed:not(.is-played) .vb-v3-body .vb-sub,
.vb-anim-m5.is-armed:not(.is-played) .vb-v3-perks,
.vb-anim-m5.is-armed:not(.is-played) .vb-v3-footer,
.vb-anim-m5.is-armed:not(.is-played) .vb-v1-vault,
.vb-anim-m5.is-armed:not(.is-played) .vb-v2-compare,
.vb-anim-m5.is-armed:not(.is-played) .vb-v4-dock,
.vb-anim-m5.is-armed:not(.is-played) .vb-v5-pillars,
.vb-anim-m5.is-armed:not(.is-played) .vb-v5-action-bar,
.vb-anim-m5.is-armed:not(.is-played) .vip-promo-action {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
}

@keyframes vbM5CardFlip {
    0%   { opacity: 0; transform: rotateY(180deg) scale(0.8); }
    62%  { opacity: 1; transform: rotateY(-10deg) rotateX(4deg) scale(1.04); }
    100% { opacity: 1; transform: rotateY(7deg) rotateX(3deg) scale(1); }
}

@keyframes vbM5SilkUp {
    0%   { opacity: 0; transform: translate3d(0, 24px, 0); }
    100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes vbM5SheenLoop {
    0%, 55% { opacity: 0; transform: translateX(-120%) skewX(-18deg); }
    68%     { opacity: 0.95; }
    88%     { opacity: 0.95; transform: translateX(130%) skewX(-18deg); }
    100%    { opacity: 0; transform: translateX(130%) skewX(-18deg); }
}

.vb-anim-m5.is-played:not(.is-gyro-ready) .vb-metal-card {
    animation: vbM5CardFlip 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.vb-anim-m5.is-played .vb-v1-left,
.vb-anim-m5.is-played .vb-v2-intro,
.vb-anim-m5.is-played .vb-v4-copy,
.vb-anim-m5.is-played .vb-v5-header,
.vb-anim-m5.is-played .vip-promo-info {
    animation: vbM5CardFlip 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.vb-anim-m5.is-played .vb-v3-top-row          { animation: vbM5SilkUp 0.56s ease-out 0.16s both; }
.vb-anim-m5.is-played .vb-v3-body .vb-heading { animation: vbM5SilkUp 0.56s ease-out 0.24s both; }
.vb-anim-m5.is-played .vb-v3-body .vb-sub     { animation: vbM5SilkUp 0.56s ease-out 0.32s both; }
.vb-anim-m5.is-played .vb-v3-perks            { animation: vbM5SilkUp 0.56s ease-out 0.40s both; }
.vb-anim-m5.is-played .vb-v3-footer,
.vb-anim-m5.is-played .vb-v1-vault,
.vb-anim-m5.is-played .vb-v2-compare,
.vb-anim-m5.is-played .vb-v4-dock,
.vb-anim-m5.is-played .vb-v5-pillars,
.vb-anim-m5.is-played .vb-v5-action-bar,
.vb-anim-m5.is-played .vip-promo-action {
    animation: vbM5SilkUp 0.58s ease-out 0.48s both;
}

.vb-anim-m5.is-played .vb-metal-sheen {
    animation: vbM5SheenLoop 3.2s ease-in-out 0.25s infinite;
}

.vb-anim-m5.is-gyro-ready .vb-metal-card,
.vb-anim-m5.is-gyro-ready:hover .vb-metal-card {
    animation: none;
    transform: rotateY(var(--ry, 7deg)) rotateX(var(--rx, 3deg));
    transition: transform 0.14s ease-out, box-shadow 0.2s ease;
    will-change: transform;
}

.vb-anim-m5.is-gyro-ready .vb-metal-glow {
    background: radial-gradient(
        circle at var(--gx, 30%) var(--gy, 25%),
        rgba(251, 191, 36, 0.34),
        rgba(16, 185, 129, 0.1) 36%,
        transparent 62%
    );
    transition: background 0.12s ease-out;
}

/* Nút chạy lại hiệu ứng trên trang demo */
.vip-motion-replay-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 15px;
    border-radius: 11px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.42);
    color: #6ee7b7;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.vip-motion-replay-btn:hover {
    background: rgba(16, 185, 129, 0.25);
    border-color: #34d399;
    color: #ffffff;
    transform: translateY(-1px);
}

.vip-motion-replay-btn:active {
    transform: scale(0.97);
}

/* ==========================================================================
   PHẦN 1 HERO: 5 HIỆU ỨNG SÂN KHẤU 3D CỘT TRÁI (.hsc-anim-hm1 .. .hsc-anim-hm5)
   ========================================================================== */
.hsc-anim,
.hcp-anim {
    position: relative;
}

.hsc-anim .hsc-holo-inner {
    z-index: 2;
}

.hsc-fx-beam,
.hsc-fx-ring,
.hcp-fx-beam,
.hcp-fx-ring {
    position: absolute;
    pointer-events: none;
    opacity: 0;
}

/* --- HM1: BAY TỪ NGOÀI MÀN HÌNH TRÁI & BUNG QUẠT 3D --- */
.hsc-anim-hm1.is-armed:not(.is-played) .hsc-holo-card,
.hsc-anim-hm1.is-armed:not(.is-played) .hsc-cf-phone,
.hsc-anim-hm1.is-armed:not(.is-played) .hsc-orb-portal,
.hsc-anim-hm1.is-armed:not(.is-played) .miu-phone-card {
    opacity: 0;
}
.hsc-anim-hm1.is-armed:not(.is-played) .hsc-3d-tilt,
.hsc-anim-hm1.is-armed:not(.is-played) .miu-phone-stage {
    opacity: 0;
    transform: translate3d(-56vw, 24px, 0) rotateY(-34deg) rotateZ(-10deg) scale(0.76);
}

.hsc-anim-hm1.is-armed:not(.is-played) .hsc-holo-inner,
.hsc-anim-hm1.is-armed:not(.is-played) .hsc-cf-bezel,
.hsc-anim-hm1.is-armed:not(.is-played) .miu-phone-screen,
.hsc-anim-hm1.is-armed:not(.is-played) .hsc-orb-card-inner,
.hsc-anim-hm1.is-armed:not(.is-played) .hsc-sp-window,
.hsc-anim-hm1.is-armed:not(.is-played) .hsc-dr-monitor {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.84);
}

.hsc-anim-hm1.is-armed:not(.is-played) .hsc-fan-controls,
.hsc-anim-hm1.is-armed:not(.is-played) .hsc-cf-dock-wrap,
.hsc-anim-hm1.is-armed:not(.is-played) .miu-carousel-dock,
.hsc-anim-hm1.is-armed:not(.is-played) .hsc-dr-launchpad {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
}

@keyframes hscHm1SwoopIn {
    0%   { opacity: 0; transform: translate3d(-56vw, 24px, 0) rotateY(-34deg) rotateZ(-10deg) scale(0.76); }
    72%  { opacity: 1; transform: translate3d(14px, -4px, 0) rotateY(4deg) rotateZ(2deg) scale(1.02); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) rotateY(0deg) rotateZ(0deg) scale(1); }
}

@keyframes hscHm1FanUnfold {
    0%   { opacity: 0; transform: translate3d(0, 18px, 0) scale(0.84); }
    70%  { opacity: 1; transform: translate3d(0, -3px, 0) scale(1.03); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes hscDockRise {
    0%   { opacity: 0; transform: translate3d(0, 32px, 0); }
    100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

.hsc-anim-hm1.is-played .hsc-3d-tilt,
.hsc-anim-hm1.is-played .miu-phone-stage {
    animation: hscHm1SwoopIn 0.94s cubic-bezier(0.16, 1.1, 0.3, 1) both;
}

.hsc-anim-hm1.is-played .hsc-holo-inner,
.hsc-anim-hm1.is-played .hsc-cf-bezel,
.hsc-anim-hm1.is-played .miu-phone-screen,
.hsc-anim-hm1.is-played .hsc-orb-card-inner,
.hsc-anim-hm1.is-played .hsc-sp-window,
.hsc-anim-hm1.is-played .hsc-dr-monitor {
    animation: hscHm1FanUnfold 0.72s cubic-bezier(0.22, 1.25, 0.36, 1) 0.24s both;
}

.hsc-anim-hm1.is-played .hsc-holo-card.slot-0 .hsc-holo-inner { animation-delay: 0.18s; }
.hsc-anim-hm1.is-played .hsc-holo-card.slot-l1 .hsc-holo-inner,
.hsc-anim-hm1.is-played .hsc-holo-card.slot-r1 .hsc-holo-inner { animation-delay: 0.28s; }
.hsc-anim-hm1.is-played .hsc-holo-card.slot-l2 .hsc-holo-inner,
.hsc-anim-hm1.is-played .hsc-holo-card.slot-r2 .hsc-holo-inner { animation-delay: 0.38s; }

.hsc-anim-hm1.is-played .hsc-fan-controls,
.hsc-anim-hm1.is-played .hsc-cf-dock-wrap,
.hsc-anim-hm1.is-played .miu-carousel-dock,
.hsc-anim-hm1.is-played .hsc-dr-launchpad {
    animation: hscDockRise 0.62s cubic-bezier(0.22, 1.2, 0.36, 1) 0.44s both;
}

/* --- HM2: LẮP GHÉP CƠ KHÍ TRANSFORMER (MECHA CARD ASSEMBLY) --- */
.hsc-anim-hm2.is-armed:not(.is-played) .hsc-holo-card,
.hsc-anim-hm2.is-armed:not(.is-played) .hsc-cf-phone,
.hsc-anim-hm2.is-armed:not(.is-played) .hsc-orb-portal,
.hsc-anim-hm2.is-armed:not(.is-played) .miu-phone-card {
    opacity: 0;
}

.hsc-anim-hm2.is-armed:not(.is-played) .hsc-fan-halo-bg {
    opacity: 0;
    transform: scale(0.32) rotate(-140deg);
}

.hsc-anim-hm2.is-armed:not(.is-played) .hsc-cf-pedestal,
.hsc-anim-hm2.is-armed:not(.is-played) .hsc-orb-reactor,
.hsc-anim-hm2.is-armed:not(.is-played) .miu-pedestal {
    opacity: 0;
    transform: translateX(-50%) scale(0.32);
}

.hsc-anim-hm2.is-armed:not(.is-played) .hsc-holo-inner,
.hsc-anim-hm2.is-armed:not(.is-played) .hsc-cf-bezel,
.hsc-anim-hm2.is-armed:not(.is-played) .miu-phone-screen,
.hsc-anim-hm2.is-armed:not(.is-played) .hsc-orb-card-inner,
.hsc-anim-hm2.is-armed:not(.is-played) .hsc-sp-window,
.hsc-anim-hm2.is-armed:not(.is-played) .hsc-dr-monitor {
    opacity: 0;
    transform: translate3d(0, -48px, 0) rotateX(36deg) scale(0.76);
}

.hsc-anim-hm2.is-armed:not(.is-played) .hsc-holo-head,
.hsc-anim-hm2.is-armed:not(.is-played) .hsc-cf-top,
.hsc-anim-hm2.is-armed:not(.is-played) .hsc-orb-card-top,
.hsc-anim-hm2.is-armed:not(.is-played) .miu-phone-topbar,
.hsc-anim-hm2.is-armed:not(.is-played) .hsc-sp-pod-top.is-active {
    opacity: 0;
    transform: translate3d(0, -28px, 0);
}

.hsc-anim-hm2.is-armed:not(.is-played) .hsc-holo-foot,
.hsc-anim-hm2.is-armed:not(.is-played) .hsc-cf-glass-card,
.hsc-anim-hm2.is-armed:not(.is-played) .hsc-orb-card-bot,
.hsc-anim-hm2.is-armed:not(.is-played) .miu-phone-bottom,
.hsc-anim-hm2.is-armed:not(.is-played) .hsc-sp-pod-bottom.is-active,
.hsc-anim-hm2.is-armed:not(.is-played) .hsc-dr-phone-pane.is-active {
    opacity: 0;
    transform: translate3d(0, 36px, 0);
}

.hsc-anim-hm2.is-armed:not(.is-played) .hsc-fan-pill,
.hsc-anim-hm2.is-armed:not(.is-played) .hsc-cf-thumb,
.hsc-anim-hm2.is-armed:not(.is-played) .miu-dock-thumb,
.hsc-anim-hm2.is-armed:not(.is-played) .hsc-dr-key,
.hsc-anim-hm2.is-armed:not(.is-played) .hsc-orb-dot-btn {
    opacity: 0;
    transform: translate3d(0, 24px, 0) scale(0.75);
}

@keyframes hscHm2HaloSnap {
    0%   { opacity: 0; transform: scale(0.32) rotate(-140deg); }
    72%  { opacity: 1; transform: scale(1.06) rotate(8deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes hscHm2PedestalSnap {
    0%   { opacity: 0; transform: translateX(-50%) scale(0.32); }
    72%  { opacity: 1; transform: translateX(-50%) scale(1.06); }
    100% { opacity: 1; transform: translateX(-50%) scale(1); }
}

@keyframes hscHm2PlateLock {
    0%   { opacity: 0; transform: translate3d(0, -48px, 0) rotateX(36deg) scale(0.76); }
    68%  { opacity: 1; transform: translate3d(0, 4px, 0) rotateX(-4deg) scale(1.03); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) rotateX(0deg) scale(1); }
}

@keyframes hscHm2PartTop {
    0%   { opacity: 0; transform: translate3d(0, -28px, 0); }
    65%  { opacity: 1; transform: translate3d(0, 3px, 0); }
    100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes hscHm2PartBot {
    0%   { opacity: 0; transform: translate3d(0, 36px, 0); }
    65%  { opacity: 1; transform: translate3d(0, -3px, 0); }
    100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes hscHm2PillSnap {
    0%   { opacity: 0; transform: translate3d(0, 24px, 0) scale(0.75); }
    68%  { opacity: 1; transform: translate3d(0, -2px, 0) scale(1.05); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

.hsc-anim-hm2.is-played .hsc-fan-halo-bg {
    animation: hscHm2HaloSnap 0.7s cubic-bezier(0.22, 1.32, 0.36, 1) both;
}

.hsc-anim-hm2.is-played .hsc-cf-pedestal,
.hsc-anim-hm2.is-played .hsc-orb-reactor,
.hsc-anim-hm2.is-played .miu-pedestal {
    animation: hscHm2PedestalSnap 0.7s cubic-bezier(0.22, 1.32, 0.36, 1) both;
}

.hsc-anim-hm2.is-played .hsc-holo-inner,
.hsc-anim-hm2.is-played .hsc-cf-bezel,
.hsc-anim-hm2.is-played .miu-phone-screen,
.hsc-anim-hm2.is-played .hsc-orb-card-inner,
.hsc-anim-hm2.is-played .hsc-sp-window,
.hsc-anim-hm2.is-played .hsc-dr-monitor {
    animation: hscHm2PlateLock 0.62s cubic-bezier(0.22, 1.35, 0.36, 1) 0.14s both;
}

.hsc-anim-hm2.is-played .hsc-holo-card:nth-of-type(3) .hsc-holo-inner { animation-delay: 0.16s; }
.hsc-anim-hm2.is-played .hsc-holo-card:nth-of-type(4) .hsc-holo-inner { animation-delay: 0.23s; }
.hsc-anim-hm2.is-played .hsc-holo-card:nth-of-type(5) .hsc-holo-inner { animation-delay: 0.30s; }
.hsc-anim-hm2.is-played .hsc-holo-card:nth-of-type(6) .hsc-holo-inner { animation-delay: 0.37s; }
.hsc-anim-hm2.is-played .hsc-holo-card:nth-of-type(7) .hsc-holo-inner { animation-delay: 0.44s; }

.hsc-anim-hm2.is-played .hsc-holo-head,
.hsc-anim-hm2.is-played .hsc-cf-top,
.hsc-anim-hm2.is-played .hsc-orb-card-top,
.hsc-anim-hm2.is-played .miu-phone-topbar,
.hsc-anim-hm2.is-played .hsc-sp-pod-top.is-active {
    animation: hscHm2PartTop 0.44s cubic-bezier(0.22, 1.38, 0.36, 1) 0.42s both;
}

.hsc-anim-hm2.is-played .hsc-holo-foot,
.hsc-anim-hm2.is-played .hsc-cf-glass-card,
.hsc-anim-hm2.is-played .hsc-orb-card-bot,
.hsc-anim-hm2.is-played .miu-phone-bottom,
.hsc-anim-hm2.is-played .hsc-sp-pod-bottom.is-active,
.hsc-anim-hm2.is-played .hsc-dr-phone-pane.is-active {
    animation: hscHm2PartBot 0.48s cubic-bezier(0.22, 1.35, 0.36, 1) 0.50s both;
}

.hsc-anim-hm2.is-played .hsc-fan-pill,
.hsc-anim-hm2.is-played .hsc-cf-thumb,
.hsc-anim-hm2.is-played .miu-dock-thumb,
.hsc-anim-hm2.is-played .hsc-dr-key,
.hsc-anim-hm2.is-played .hsc-orb-dot-btn {
    animation: hscHm2PillSnap 0.42s cubic-bezier(0.22, 1.38, 0.36, 1) 0.56s both;
}
.hsc-anim-hm2.is-played .hsc-fan-pill:nth-child(2) { animation-delay: 0.62s; }
.hsc-anim-hm2.is-played .hsc-fan-pill:nth-child(3) { animation-delay: 0.68s; }
.hsc-anim-hm2.is-played .hsc-fan-pill:nth-child(4) { animation-delay: 0.74s; }
.hsc-anim-hm2.is-played .hsc-fan-pill:nth-child(5) { animation-delay: 0.80s; }

/* --- HM3: KHÔNG GIAN 3D & TIA QUÉT LASER HOLOGRAM --- */
.hsc-anim-hm3 {
    overflow: hidden;
    border-radius: 24px;
}

.hsc-anim-hm3.is-armed:not(.is-played) .hsc-3d-tilt,
.hsc-anim-hm3.is-armed:not(.is-played) .miu-phone-stage {
    opacity: 0;
    transform: translate3d(0, -18px, 160px) rotateX(26deg) scale(0.76);
    filter: blur(7px);
}

.hsc-anim-hm3.is-armed:not(.is-played) .hsc-fan-controls,
.hsc-anim-hm3.is-armed:not(.is-played) .hsc-cf-dock-wrap,
.hsc-anim-hm3.is-armed:not(.is-played) .miu-carousel-dock,
.hsc-anim-hm3.is-armed:not(.is-played) .hsc-dr-launchpad {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
}

@keyframes hscHm3Portal {
    0%   { opacity: 0; transform: translate3d(0, -18px, 160px) rotateX(26deg) scale(0.76); filter: blur(7px); }
    65%  { opacity: 1; filter: blur(0px); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) rotateX(0deg) scale(1); filter: blur(0px); }
}

@keyframes hscHm3LaserSweep {
    0%   { opacity: 0; left: -6%; }
    12%  { opacity: 1; }
    88%  { opacity: 1; }
    100% { opacity: 0; left: 105%; }
}

@keyframes hscHm3DockClip {
    0%   { opacity: 0; clip-path: inset(0 100% 0 0); }
    100% { opacity: 1; clip-path: inset(0 0 0 0); }
}

.hsc-anim-hm3.is-played .hsc-3d-tilt,
.hsc-anim-hm3.is-played .miu-phone-stage {
    animation: hscHm3Portal 0.9s cubic-bezier(0.19, 1, 0.22, 1) both;
}

.hsc-anim-hm3.is-played .hsc-fx-beam {
    top: 12px;
    bottom: 64px;
    width: 4px;
    background: linear-gradient(180deg, transparent, #00f0ff 20%, #a7f3d0 50%, #00e599 80%, transparent);
    box-shadow: 0 0 26px 6px rgba(0, 240, 255, 0.6), -36px 0 42px rgba(16, 185, 129, 0.2);
    z-index: 40;
    animation: hscHm3LaserSweep 1.08s cubic-bezier(0.4, 0, 0.2, 1) 0.12s both;
}

.hsc-anim-hm3.is-played .hsc-fan-controls,
.hsc-anim-hm3.is-played .hsc-cf-dock-wrap,
.hsc-anim-hm3.is-played .miu-carousel-dock,
.hsc-anim-hm3.is-played .hsc-dr-launchpad {
    animation: hscHm3DockClip 0.72s ease-out 0.42s both;
}

/* --- HM4: RƠI SÓNG XUNG KÍCH & BUNG NĂNG LƯỢNG TÂM --- */
.hsc-anim-hm4.is-armed:not(.is-played) .hsc-3d-tilt,
.hsc-anim-hm4.is-armed:not(.is-played) .miu-phone-stage {
    opacity: 0;
    transform: translate3d(0, -96px, 0) scale(1.12);
}

.hsc-anim-hm4.is-armed:not(.is-played) .hsc-fan-pill,
.hsc-anim-hm4.is-armed:not(.is-played) .hsc-cf-thumb,
.hsc-anim-hm4.is-armed:not(.is-played) .miu-dock-thumb,
.hsc-anim-hm4.is-armed:not(.is-played) .hsc-dr-key,
.hsc-anim-hm4.is-armed:not(.is-played) .hsc-orb-dot-btn {
    opacity: 0;
    transform: scale(0.6);
}

@keyframes hscHm4DropImpact {
    0%   { opacity: 0; transform: translate3d(0, -96px, 0) scale(1.12); }
    58%  { opacity: 1; transform: translate3d(0, 8px, 0) scale(0.95); }
    78%  { transform: translate3d(0, -3px, 0) scale(1.02); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes hscHm4ShockRing {
    0%   { opacity: 0.92; transform: translate(-50%, -50%) scale(0.18); border-width: 4px; }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(2.8); border-width: 1px; }
}

@keyframes hscHm4PillPop {
    0%   { opacity: 0; transform: scale(0.6); }
    70%  { opacity: 1; transform: scale(1.08); }
    100% { opacity: 1; transform: scale(1); }
}

.hsc-anim-hm4.is-played .hsc-3d-tilt,
.hsc-anim-hm4.is-played .miu-phone-stage {
    animation: hscHm4DropImpact 0.72s cubic-bezier(0.22, 1.25, 0.36, 1) both;
}

.hsc-anim-hm4.is-played .hsc-fx-ring {
    left: 50%;
    top: 46%;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 3px solid rgba(0, 240, 255, 0.78);
    box-shadow: 0 0 38px rgba(0, 229, 153, 0.55), inset 0 0 26px rgba(0, 240, 255, 0.32);
    z-index: 2;
    animation: hscHm4ShockRing 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
}

.hsc-anim-hm4.is-played .hsc-fan-pill,
.hsc-anim-hm4.is-played .hsc-cf-thumb,
.hsc-anim-hm4.is-played .miu-dock-thumb,
.hsc-anim-hm4.is-played .hsc-dr-key,
.hsc-anim-hm4.is-played .hsc-orb-dot-btn {
    animation: hscHm4PillPop 0.48s cubic-bezier(0.22, 1.38, 0.36, 1) 0.38s both;
}
.hsc-anim-hm4.is-played .hsc-fan-pill:nth-child(3) { animation-delay: 0.32s; }
.hsc-anim-hm4.is-played .hsc-fan-pill:nth-child(2),
.hsc-anim-hm4.is-played .hsc-fan-pill:nth-child(4) { animation-delay: 0.42s; }
.hsc-anim-hm4.is-played .hsc-fan-pill:nth-child(1),
.hsc-anim-hm4.is-played .hsc-fan-pill:nth-child(5) { animation-delay: 0.52s; }

/* --- HM5: LẬT THẺ BÀI 180° LIÊN HOÀN & ÁNH KIM SỐNG ĐỘNG --- */
.hsc-anim-hm5.is-armed:not(.is-played) .hsc-holo-card,
.hsc-anim-hm5.is-armed:not(.is-played) .hsc-cf-phone,
.hsc-anim-hm5.is-armed:not(.is-played) .hsc-orb-portal,
.hsc-anim-hm5.is-armed:not(.is-played) .miu-phone-card {
    opacity: 0;
}

.hsc-anim-hm5.is-armed:not(.is-played) .hsc-holo-inner,
.hsc-anim-hm5.is-armed:not(.is-played) .hsc-cf-bezel,
.hsc-anim-hm5.is-armed:not(.is-played) .miu-phone-screen,
.hsc-anim-hm5.is-armed:not(.is-played) .hsc-orb-card-inner,
.hsc-anim-hm5.is-armed:not(.is-played) .hsc-sp-window,
.hsc-anim-hm5.is-armed:not(.is-played) .hsc-dr-monitor {
    opacity: 0;
    transform: rotateY(175deg) scale(0.8);
}

.hsc-anim-hm5.is-armed:not(.is-played) .hsc-fan-controls,
.hsc-anim-hm5.is-armed:not(.is-played) .hsc-cf-dock-wrap,
.hsc-anim-hm5.is-armed:not(.is-played) .miu-carousel-dock,
.hsc-anim-hm5.is-armed:not(.is-played) .hsc-dr-launchpad {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
}

@keyframes hscHm5FlipDeal {
    0%   { opacity: 0; transform: rotateY(175deg) scale(0.8); }
    66%  { opacity: 1; transform: rotateY(-8deg) scale(1.03); }
    100% { opacity: 1; transform: rotateY(0deg) scale(1); }
}

.hsc-anim-hm5.is-played .hsc-holo-inner,
.hsc-anim-hm5.is-played .hsc-cf-bezel,
.hsc-anim-hm5.is-played .miu-phone-screen,
.hsc-anim-hm5.is-played .hsc-orb-card-inner,
.hsc-anim-hm5.is-played .hsc-sp-window,
.hsc-anim-hm5.is-played .hsc-dr-monitor {
    animation: hscHm5FlipDeal 0.88s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hsc-anim-hm5.is-played .hsc-holo-card:nth-of-type(3) .hsc-holo-inner { animation-delay: 0.04s; }
.hsc-anim-hm5.is-played .hsc-holo-card:nth-of-type(4) .hsc-holo-inner { animation-delay: 0.11s; }
.hsc-anim-hm5.is-played .hsc-holo-card:nth-of-type(5) .hsc-holo-inner { animation-delay: 0.18s; }
.hsc-anim-hm5.is-played .hsc-holo-card:nth-of-type(6) .hsc-holo-inner { animation-delay: 0.25s; }
.hsc-anim-hm5.is-played .hsc-holo-card:nth-of-type(7) .hsc-holo-inner { animation-delay: 0.32s; }

.hsc-anim-hm5.is-played .hsc-fan-controls,
.hsc-anim-hm5.is-played .hsc-cf-dock-wrap,
.hsc-anim-hm5.is-played .miu-carousel-dock,
.hsc-anim-hm5.is-played .hsc-dr-launchpad {
    animation: hscDockRise 0.56s ease-out 0.42s both;
}


/* ==========================================================================
   PHẦN 2 HERO: 5 HIỆU ỨNG CỘT NỘI DUNG PHẢI (.hcp-anim-cm1 .. .hcp-anim-cm5)
   ========================================================================== */

/* --- CM1: BAY TỪ NGOÀI MÀN HÌNH PHẢI VÀO THEO NHỊP --- */
.hcp-anim-cm1.is-armed:not(.is-played) > :not(.hcp-fx-beam):not(.hcp-fx-ring) {
    opacity: 0;
    transform: translate3d(54vw, 0, 0);
}

@keyframes hcpCm1FlyRight {
    0%   { opacity: 0; transform: translate3d(54vw, 0, 0); }
    74%  { opacity: 1; transform: translate3d(-10px, 0, 0); }
    100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

.hcp-anim-cm1.is-played > :not(.hcp-fx-beam):not(.hcp-fx-ring) {
    animation: hcpCm1FlyRight 0.76s cubic-bezier(0.16, 1.08, 0.3, 1) both;
}
.hcp-anim-cm1.is-played > :nth-child(3) { animation-delay: 0.04s; }
.hcp-anim-cm1.is-played > :nth-child(4) { animation-delay: 0.12s; }
.hcp-anim-cm1.is-played > :nth-child(5) { animation-delay: 0.20s; }
.hcp-anim-cm1.is-played > :nth-child(6) { animation-delay: 0.28s; }
.hcp-anim-cm1.is-played > :nth-child(7) { animation-delay: 0.36s; }
.hcp-anim-cm1.is-played > :nth-child(8) { animation-delay: 0.44s; }
.hcp-anim-cm1.is-played > :nth-child(9) { animation-delay: 0.52s; }
.hcp-anim-cm1.is-played .hcp-btn-emerald-lg,
.hcp-anim-cm1.is-played .miu-btn-primary {
    animation: vbCtaGlowPulse 0.85s ease-out 0.95s 1;
}

/* --- CM2: LẮP GHÉP KHỐI BENTO KIỂU TRANSFORMER --- */
.hcp-anim-cm2.is-armed:not(.is-played) > :not(.hcp-fx-beam):not(.hcp-fx-ring),
.hcp-anim-cm2.is-armed:not(.is-played) .hcp-c2-bento-card,
.hcp-anim-cm2.is-armed:not(.is-played) .hcp-c2-trust-pill,
.hcp-anim-cm2.is-armed:not(.is-played) .hcp-c1-stat-cell {
    opacity: 0;
}

.hcp-anim-cm2.is-armed:not(.is-played) > :nth-child(3) { transform: translate3d(0, -34px, 0) scale(0.92); }
.hcp-anim-cm2.is-armed:not(.is-played) > :nth-child(4) { transform: translate3d(58px, 0, 0) skewX(-7deg); }
.hcp-anim-cm2.is-armed:not(.is-played) > :nth-child(5) { transform: translate3d(-44px, 0, 0); }
.hcp-anim-cm2.is-armed:not(.is-played) .hcp-c2-bento-card:first-child { transform: translate3d(-54px, 0, 0) scale(0.88); }
.hcp-anim-cm2.is-armed:not(.is-played) .hcp-c2-bento-card:last-child  { transform: translate3d(54px, 0, 0) scale(0.88); }
.hcp-anim-cm2.is-armed:not(.is-played) .hcp-search-wrap,
.hcp-anim-cm2.is-armed:not(.is-played) .hcp-c1-search-panel,
.hcp-anim-cm2.is-armed:not(.is-played) .hcp-c3-search-block,
.hcp-anim-cm2.is-armed:not(.is-played) .hcp-c4-prompt-box,
.hcp-anim-cm2.is-armed:not(.is-played) .miu-search-wrap { transform: scaleX(0.45) scaleY(0.75); }
.hcp-anim-cm2.is-armed:not(.is-played) .hcp-dual-actions,
.hcp-anim-cm2.is-armed:not(.is-played) .hcp-c5-cta-deck,
.hcp-anim-cm2.is-armed:not(.is-played) .miu-cta-row { transform: translate3d(0, 42px, 0) scale(0.92); }
.hcp-anim-cm2.is-armed:not(.is-played) .hcp-c2-trust-pill { transform: translate3d(0, 26px, 0) scale(0.8); }

@keyframes hcpCm2Top    { 0% { opacity: 0; transform: translate3d(0, -34px, 0) scale(0.92); } 68% { opacity: 1; transform: translate3d(0, 3px, 0) scale(1.01); } 100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); } }
@keyframes hcpCm2Right  { 0% { opacity: 0; transform: translate3d(58px, 0, 0) skewX(-7deg); } 68% { opacity: 1; transform: translate3d(-4px, 0, 0) skewX(1deg); } 100% { opacity: 1; transform: translate3d(0, 0, 0) skewX(0deg); } }
@keyframes hcpCm2Left   { 0% { opacity: 0; transform: translate3d(-48px, 0, 0); } 68% { opacity: 1; transform: translate3d(4px, 0, 0); } 100% { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes hcpCm2Search { 0% { opacity: 0; transform: scaleX(0.45) scaleY(0.75); } 68% { opacity: 1; transform: scaleX(1.02) scaleY(1); } 100% { opacity: 1; transform: scaleX(1) scaleY(1); } }
@keyframes hcpCm2Bot    { 0% { opacity: 0; transform: translate3d(0, 40px, 0) scale(0.9); } 68% { opacity: 1; transform: translate3d(0, -3px, 0) scale(1.02); } 100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); } }

.hcp-anim-cm2.is-played > :nth-child(3) { animation: hcpCm2Top 0.46s cubic-bezier(0.22, 1.35, 0.36, 1) 0.05s both; }
.hcp-anim-cm2.is-played > :nth-child(4) { animation: hcpCm2Right 0.50s cubic-bezier(0.22, 1.35, 0.36, 1) 0.14s both; }
.hcp-anim-cm2.is-played > :nth-child(5) { animation: hcpCm2Left 0.48s cubic-bezier(0.22, 1.35, 0.36, 1) 0.22s both; }
.hcp-anim-cm2.is-played > :nth-child(6) { animation: hcpCm2Top 0.46s cubic-bezier(0.22, 1.32, 0.36, 1) 0.30s both; }
.hcp-anim-cm2.is-played > :nth-child(7) { animation: hcpCm2Search 0.48s cubic-bezier(0.22, 1.35, 0.36, 1) 0.42s both; }
.hcp-anim-cm2.is-played > :nth-child(8) { animation: hcpCm2Bot 0.50s cubic-bezier(0.22, 1.35, 0.36, 1) 0.52s both; }
.hcp-anim-cm2.is-played > :nth-child(9) { animation: hcpCm2Bot 0.46s cubic-bezier(0.22, 1.35, 0.36, 1) 0.60s both; }

.hcp-anim-cm2.is-played .hcp-c2-bento-card:first-child { animation: hcpCm2Left 0.46s cubic-bezier(0.22, 1.36, 0.36, 1) 0.30s both; }
.hcp-anim-cm2.is-played .hcp-c2-bento-card:last-child  { animation: hcpCm2Right 0.46s cubic-bezier(0.22, 1.36, 0.36, 1) 0.38s both; }
.hcp-anim-cm2.is-played .hcp-c2-trust-pill:nth-child(1) { animation: hcpCm2Bot 0.42s cubic-bezier(0.22, 1.38, 0.36, 1) 0.62s both; }
.hcp-anim-cm2.is-played .hcp-c2-trust-pill:nth-child(2) { animation: hcpCm2Bot 0.42s cubic-bezier(0.22, 1.38, 0.36, 1) 0.70s both; }
.hcp-anim-cm2.is-played .hcp-c2-trust-pill:nth-child(3) { animation: hcpCm2Bot 0.42s cubic-bezier(0.22, 1.38, 0.36, 1) 0.78s both; }

.hcp-anim-cm2 .hcp-fx-beam {
    display: none;
}

/* --- CM3: TIA QUÉT LASER GIẢI MÃ NỘI DUNG --- */
.hcp-anim-cm3 {
    overflow: hidden;
}

.hcp-anim-cm3.is-armed:not(.is-played) > :not(.hcp-fx-beam):not(.hcp-fx-ring) {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
}

.hcp-anim-cm3.is-played .hcp-fx-beam {
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, transparent, #00f0ff 20%, #a7f3d0 50%, #34d399 80%, transparent);
    box-shadow: 0 0 24px 6px rgba(0, 240, 255, 0.55), -34px 0 38px rgba(16, 185, 129, 0.2);
    z-index: 10;
    animation: vbM3LaserScan 1.05s cubic-bezier(0.4, 0, 0.2, 1) 0.08s both;
}

.hcp-anim-cm3.is-played > :not(.hcp-fx-beam):not(.hcp-fx-ring) {
    animation: vbM3HoloReveal 0.62s ease-out both;
}
.hcp-anim-cm3.is-played > :nth-child(3) { animation-delay: 0.14s; }
.hcp-anim-cm3.is-played > :nth-child(4) { animation-delay: 0.22s; }
.hcp-anim-cm3.is-played > :nth-child(5) { animation-delay: 0.30s; }
.hcp-anim-cm3.is-played > :nth-child(6) { animation-delay: 0.38s; }
.hcp-anim-cm3.is-played > :nth-child(7) { animation-delay: 0.46s; }
.hcp-anim-cm3.is-played > :nth-child(8) { animation-delay: 0.54s; }
.hcp-anim-cm3.is-played > :nth-child(9) { animation-delay: 0.62s; }

/* --- CM4: SÓNG XUNG KÍCH & ĐẾM SỐ LƯỢT MỞ KHÓA --- */
.hcp-anim-cm4.is-armed:not(.is-played) > :not(.hcp-fx-beam):not(.hcp-fx-ring) {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.92);
}

@keyframes hcpCm4WavePop {
    0%   { opacity: 0; transform: translate3d(0, 26px, 0) scale(0.92); }
    68%  { opacity: 1; transform: translate3d(0, -4px, 0) scale(1.02); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

.hcp-anim-cm4.is-played > :not(.hcp-fx-beam):not(.hcp-fx-ring) {
    animation: hcpCm4WavePop 0.55s cubic-bezier(0.22, 1.32, 0.36, 1) both;
}
.hcp-anim-cm4.is-played > :nth-child(3) { animation-delay: 0.04s; }
.hcp-anim-cm4.is-played > :nth-child(4) { animation-delay: 0.12s; }
.hcp-anim-cm4.is-played > :nth-child(5) { animation-delay: 0.20s; }
.hcp-anim-cm4.is-played > :nth-child(6) { animation-delay: 0.28s; }
.hcp-anim-cm4.is-played > :nth-child(7) { animation-delay: 0.36s; }
.hcp-anim-cm4.is-played > :nth-child(8) { animation-delay: 0.44s; }
.hcp-anim-cm4.is-played > :nth-child(9) { animation-delay: 0.52s; }

.hcp-anim-cm4.is-played .hcp-fx-ring {
    left: 50%;
    top: 48%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 3px solid rgba(16, 185, 129, 0.72);
    box-shadow: 0 0 36px rgba(0, 240, 255, 0.42);
    z-index: 0;
    animation: hscHm4ShockRing 0.92s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.hcp-anim-cm4.is-played .hcp-btn-emerald-lg,
.hcp-anim-cm4.is-played .miu-btn-primary {
    animation: vbCtaGlowPulse 0.85s ease-out 0.85s 1;
}

/* --- CM5: TRƯỢT KÍNH MƯỢT MÀ & NÚT CTA PHÁT SÁNG TUẦN HOÀN --- */
.hcp-anim-cm5.is-armed:not(.is-played) > :not(.hcp-fx-beam):not(.hcp-fx-ring) {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    filter: blur(6px);
}

@keyframes hcpCm5SilkRise {
    0%   { opacity: 0; transform: translate3d(0, 28px, 0); filter: blur(6px); }
    100% { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0px); }
}

@keyframes hcpCm5CtaSheen {
    0%, 64% { left: -90%; opacity: 0; }
    72%     { opacity: 0.85; }
    92%     { left: 130%; opacity: 0.85; }
    100%    { left: 130%; opacity: 0; }
}

.hcp-anim-cm5.is-played > :not(.hcp-fx-beam):not(.hcp-fx-ring) {
    animation: hcpCm5SilkRise 0.62s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hcp-anim-cm5.is-played > :nth-child(3) { animation-delay: 0.05s; }
.hcp-anim-cm5.is-played > :nth-child(4) { animation-delay: 0.13s; }
.hcp-anim-cm5.is-played > :nth-child(5) { animation-delay: 0.21s; }
.hcp-anim-cm5.is-played > :nth-child(6) { animation-delay: 0.29s; }
.hcp-anim-cm5.is-played > :nth-child(7) { animation-delay: 0.37s; }
.hcp-anim-cm5.is-played > :nth-child(8) { animation-delay: 0.45s; }
.hcp-anim-cm5.is-played > :nth-child(9) { animation-delay: 0.53s; }

.hcp-anim-cm5.is-played .hcp-btn-emerald-lg,
.hcp-anim-cm5.is-played .miu-btn-primary {
    position: relative;
    overflow: hidden;
}

.hcp-anim-cm5.is-played .hcp-btn-emerald-lg::after,
.hcp-anim-cm5.is-played .miu-btn-primary::after {
    content: "";
    position: absolute;
    top: -20%;
    bottom: -20%;
    left: -90%;
    width: 48%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.48), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
    animation: hcpCm5CtaSheen 3.8s ease-in-out 0.9s infinite;
}

/* ==========================================================================
   HOME LOAD ALL PRODUCTS — LUXURY SKELETON SHIMMER & STAGGERED CASCADE REVEAL
   ========================================================================== */
#homeProductsGrid,
.home-load-more-wrap {
    overflow-anchor: none;
}

.home-load-more-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
    min-height: 52px;
}

.home-load-all-btn {
    position: relative;
    overflow: hidden;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(28, 35, 50, 0.92) 0%, rgba(16, 21, 31, 0.96) 100%);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.home-load-all-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    border-color: rgba(16, 185, 129, 0.55);
    box-shadow: 0 14px 32px rgba(16, 185, 129, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.home-load-all-btn .home-load-all-ic {
    display: inline-flex;
    transition: transform 0.2s ease;
}

.home-load-all-btn:hover:not(:disabled) .home-load-all-ic {
    transform: translateX(3px);
}

.home-load-all-spinner {
    display: none;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 2px solid rgba(52, 211, 153, 0.24);
    border-top-color: #34d399;
    border-right-color: #38bdf8;
    animation: homeSpinLoader 0.72s linear infinite;
    flex-shrink: 0;
}

.home-load-all-btn.is-loading {
    cursor: wait;
    border-color: rgba(52, 211, 153, 0.55);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.16) 0%, rgba(15, 23, 42, 0.95) 60%, rgba(56, 189, 248, 0.14) 100%);
    box-shadow: 0 0 28px rgba(16, 185, 129, 0.24);
    color: #e2e8f0;
}

.home-load-all-btn.is-loading::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 20%, rgba(52, 211, 153, 0.18) 50%, transparent 80%);
    transform: translateX(-100%);
    animation: homeBtnSheen 1.25s ease-in-out infinite;
    pointer-events: none;
}

.home-load-all-btn.is-loading .home-load-all-spinner {
    display: inline-block;
}

.home-load-all-btn.is-loading .home-load-all-ic {
    display: none;
}

/* Skeleton Shimmer Cards */
.home-skeleton-card {
    background: linear-gradient(180deg, #111827 0%, #0b0f19 100%);
    border: 1px solid rgba(52, 211, 153, 0.18);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    opacity: 0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    animation:
        homeSkeletonEnter 0.36s cubic-bezier(0.22, 1, 0.36, 1) var(--sk-delay, 0ms) forwards,
        homeSkeletonPulse 1.4s ease-in-out var(--sk-delay, 0ms) infinite;
}

.home-sk-thumb {
    position: relative;
    aspect-ratio: 45 / 64;
    background: linear-gradient(135deg, #121a2a 0%, #0c121e 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.home-sk-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 96px;
    height: 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.11);
}

.home-sk-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.home-sk-line {
    height: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.10);
    position: relative;
    overflow: hidden;
}

.home-sk-line.is-title {
    height: 16px;
    width: 84%;
    background: rgba(255, 255, 255, 0.13);
}

.home-sk-line.is-title-2 {
    height: 16px;
    width: 58%;
    margin-bottom: 4px;
    background: rgba(255, 255, 255, 0.11);
}

.home-sk-line.is-desc {
    width: 94%;
}

.home-sk-line.is-desc-2 {
    width: 72%;
}

.home-sk-foot {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.home-sk-price {
    width: 88px;
    height: 24px;
    border-radius: 8px;
    background: rgba(16, 185, 129, 0.22);
}

.home-sk-btn {
    width: 100px;
    height: 36px;
    border-radius: 10px;
    background: rgba(56, 189, 248, 0.16);
}

.home-sk-thumb::after,
.home-sk-line::after,
.home-sk-price::after,
.home-sk-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 15%, rgba(52, 211, 153, 0.16) 42%, rgba(255, 255, 255, 0.18) 50%, rgba(56, 189, 248, 0.14) 58%, transparent 85%);
    transform: translateX(-120%);
    animation: homeSkeletonSweep 1.15s ease-in-out infinite;
}

.home-sk-price,
.home-sk-btn {
    position: relative;
    overflow: hidden;
}

/* Staggered Reveal for Home Initial & Loaded Product Cards */
#homeProductsGrid.is-staging-reveal > .app-card:not([data-home-extra]) {
    display: none;
}

.app-card.home-reveal-pending {
    opacity: 0;
    transform: translate3d(0, 34px, 0) scale(0.92);
    filter: blur(5px);
    transition: none;
}

.app-card.home-reveal-card {
    position: relative;
    opacity: 0;
    animation: homeCardCascade 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms) both;
    will-change: transform, opacity, filter;
    transition: none;
}

.app-card.home-reveal-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: inherit;
    background: linear-gradient(115deg, transparent 20%, rgba(52, 211, 153, 0.28) 50%, transparent 80%);
    transform: translateX(-120%);
    pointer-events: none;
    animation: homeCardGlowSweep 0.85s ease-out calc(var(--reveal-delay, 0ms) + 140ms) 1 both;
}

/* Summary Bar sau khi tải hết tất cả sản phẩm */
.home-loaded-summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 8px 14px 8px 16px;
    border-radius: 999px;
    background: rgba(15, 23, 38, 0.88);
    border: 1px solid rgba(52, 211, 153, 0.32);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
    animation: homeSummaryPop 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.home-loaded-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: #e2e8f0;
}

.home-loaded-badge i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 10px #34d399;
    display: inline-block;
}

.home-loaded-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.home-collapse-btn,
.home-filter-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.16s ease;
}

.home-collapse-btn {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
}

.home-collapse-btn:hover {
    background: rgba(255, 255, 255, 0.11);
    color: #ffffff;
}

.home-filter-link {
    border: 1px solid rgba(52, 211, 153, 0.35);
    background: rgba(16, 185, 129, 0.14);
    color: #34d399;
}

.home-filter-link:hover {
    background: rgba(16, 185, 129, 0.24);
    color: #6ee7b7;
}

@keyframes homeSpinLoader {
    to { transform: rotate(360deg); }
}

@keyframes homeBtnSheen {
    0%   { transform: translateX(-120%); }
    100% { transform: translateX(120%); }
}

@keyframes homeSkeletonEnter {
    0%   { opacity: 0; transform: translateY(20px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes homeSkeletonPulse {
    0%, 100% { border-color: rgba(52, 211, 153, 0.16); }
    50%      { border-color: rgba(52, 211, 153, 0.42); }
}

@keyframes homeSkeletonSweep {
    0%   { transform: translateX(-120%); }
    100% { transform: translateX(120%); }
}

@keyframes homeCardCascade {
    0%   { opacity: 0; transform: translate3d(0, 34px, 0) scale(0.92); filter: blur(5px); }
    65%  { opacity: 1; transform: translate3d(0, -4px, 0) scale(1.015); filter: blur(0); }
    100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
}

@keyframes homeCardGlowSweep {
    0%   { transform: translateX(-120%); opacity: 1; }
    100% { transform: translateX(120%); opacity: 0; }
}

@keyframes homeSummaryPop {
    0%   { opacity: 0; transform: translateY(10px) scale(0.96); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==========================================================================
   HEADER NOTIFICATION BELL, POPOVER & DEDICATED INBOX PAGE (/hop-thu)
   ========================================================================== */
.notif-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.header-notif-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(18, 25, 36, 0.92);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.header-notif-btn:hover,
.header-notif-btn.active {
    border-color: rgba(16, 185, 129, 0.45);
    color: var(--emerald-400);
    background: rgba(16, 185, 129, 0.12);
}

.notif-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f87171 0%, #ef4444 50%, #dc2626 100%);
    color: #ffffff;
    border: 1.5px solid #090d13;
    font-size: 10.5px;
    font-weight: 800;
    line-height: 16px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.6);
}

.mobile-menu-btn {
    position: relative;
}

.mobile-menu-dot {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.9);
    border: 1.5px solid #090d13;
}

.nav-unread-badge,
.user-menu-badge {
    margin-left: auto;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ef4444;
    border: 1px solid rgba(248, 113, 113, 0.55);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.notif-popover {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 370px;
    max-width: calc(100vw - 24px);
    background: rgba(12, 19, 30, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-strong);
    border-radius: 18px;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.85);
    overflow: hidden;
    display: none;
    z-index: 360;
}

.notif-popover.open {
    display: block;
}

.notif-pop-head {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.notif-pop-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
}

.notif-pop-title .ui-ic {
    color: var(--emerald-400);
}

.notif-pop-count {
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.16);
    color: #34d399;
    font-size: 11px;
    font-weight: 700;
}

.notif-mark-all-btn {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    padding: 4px 8px;
    border-radius: 8px;
}

.notif-mark-all-btn:hover {
    color: #34d399;
    background: rgba(16, 185, 129, 0.1);
}

.notif-pop-list {
    max-height: 360px;
    overflow-y: auto;
}

.notif-pop-empty {
    padding: 28px 18px;
    text-align: center;
    color: #94a3b8;
    font-size: 13.5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.notif-pop-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.16s ease;
}

.notif-pop-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.notif-pop-item.is-unread {
    background: rgba(16, 185, 129, 0.055);
}

.notif-pop-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
    background: transparent;
}

.notif-pop-item.is-unread .notif-pop-dot {
    background: #34d399;
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.85);
}

.notif-pop-content {
    flex: 1;
    min-width: 0;
}

.notif-pop-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.notif-pop-head-left {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 1;
    min-width: 0;
}

.notif-pop-time {
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
    flex-shrink: 0;
}

.notif-type-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.notif-type-tag.is-hot {
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: #34d399;
}

.notif-type-tag.is-promo {
    background: rgba(245, 158, 11, 0.16);
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: #fbbf24;
}

.notif-type-tag.is-system {
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #7dd3fc;
}

.notif-pop-item-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #f8fafc;
    line-height: 1.35;
    margin: 0;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-pop-item-desc {
    font-size: 12.5px;
    color: #94a3b8;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notif-pop-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px 16px;
    background: rgba(7, 11, 16, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    font-weight: 700;
    color: #34d399;
}

.notif-pop-footer:hover {
    background: rgba(16, 185, 129, 0.12);
    color: #6ee7b7;
}

/* Dedicated Inbox Page (/hop-thu) */
.inbox-hero-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.inbox-hero-intro h1 {
    font-size: clamp(23px, 2.7vw, 32px);
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.inbox-hero-intro p {
    color: var(--text-muted);
    font-size: 14.5px;
}

.inbox-hero-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.inbox-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 15px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    font-size: 13.5px;
    color: var(--text-secondary);
}

.inbox-stat-pill .dot {
    color: var(--text-dim);
}

.inbox-layout {
    display: grid;
    grid-template-columns: minmax(310px, 420px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.inbox-list-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.inbox-list-item {
    display: block;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid transparent;
    transition: background 0.16s ease, border-color 0.16s ease;
}

.inbox-list-item:last-child {
    border-bottom: none;
}

.inbox-list-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.inbox-list-item.is-unread {
    background: rgba(16, 185, 129, 0.05);
}

.inbox-list-item.is-active {
    background: rgba(16, 185, 129, 0.11);
    border-left-color: #34d399;
}

.inbox-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}

.inbox-item-head-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.inbox-item-time-wrap {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}

.inbox-item-time {
    font-size: 11.5px;
    color: var(--text-muted);
    white-space: nowrap;
}

.inbox-unread-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: none;
    background: #34d399;
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.9);
}

.inbox-list-item.is-unread .inbox-unread-dot {
    display: inline-block;
}

.inbox-item-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
    margin: 0;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inbox-item-preview {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.48;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.inbox-reader-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 24px 26px;
    position: sticky;
    top: 102px;
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
}

.inbox-reader-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.inbox-reader-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.inbox-sender-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px 3px 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.11);
    font-size: 11.5px;
    font-weight: 700;
    color: #e2e8f0;
}

.inbox-sender-ic {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.18);
    color: #34d399;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.inbox-read-pill {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.inbox-read-pill.is-unread {
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(52, 211, 153, 0.4);
    color: #34d399;
}

.inbox-read-pill.is-read {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

.inbox-reader-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.inbox-reader-content-box {
    background: rgba(7, 11, 16, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 18px;
}

.inbox-content-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}

.inbox-content-icon {
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.inbox-reader-title {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.35;
    letter-spacing: -0.015em;
    margin: 0;
    word-break: break-word;
}

.inbox-reader-body {
    font-size: 14.5px;
    line-height: 1.8;
    color: #cbd5e1;
    margin: 0;
    word-break: break-word;
}

.inbox-reader-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 16px 18px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.12) 0%, rgba(12, 19, 30, 0.92) 75%);
    border: 1px solid rgba(52, 211, 153, 0.32);
    margin-bottom: 22px;
}

.inbox-reader-cta-box strong {
    display: block;
    font-size: 14px;
    color: #ffffff;
}

.inbox-reader-cta-box span {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
}

.inbox-reader-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.inbox-reader-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.inbox-empty-card {
    text-align: center;
    padding: 46px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.inbox-empty-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: #34d399;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.inbox-empty-card h3 {
    font-size: 19px;
    color: #ffffff;
}

.inbox-empty-card p {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 460px;
    margin-bottom: 6px;
}

@media (max-width: 960px) {
    .inbox-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .inbox-reader-panel {
        position: static;
    }
}

@media (max-width: 640px) {
    .notif-wrapper {
        display: none;
    }
    .inbox-reader-panel {
        padding: 18px 16px;
        border-radius: 18px;
    }
    .inbox-list-item {
        padding: 14px 15px;
    }
    .inbox-reader-cta-box .btn {
        width: 100%;
    }
}
