body {
    opacity: 0;
    transition: opacity 2.2s cubic-bezier(.4,0,.2,1);
}
body.page-loaded {
    opacity: 1;
}

:root {
    --bg-main: #08080f;
    --bg-soft: #0c0c18;
    --surface: #111122;
    --surface-2: #1a1a2e;
    --text-main: #f0f0f5;
    --text-soft: #a0a0b8;
    --accent: #a855f7;
    --accent-deep: #7c3aed;
    --accent-pink: #ec4899;
    --accent-cyan: #06b6d4;
    --accent-gradient: linear-gradient(135deg, #a855f7, #ec4899, #06b6d4);
    --accent-gradient-text: linear-gradient(90deg, #c084fc, #f472b6, #22d3ee, #c084fc);
    --glow-purple: rgba(168, 85, 247, 0.25);
    --glow-pink: rgba(236, 72, 153, 0.2);
    --glow-cyan: rgba(6, 182, 212, 0.2);
    --line: rgba(168, 85, 247, 0.12);
    --radius-xl: 2.4rem;
    --radius-lg: 1.6rem;
    --radius-md: 1.2rem;
    --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(168, 85, 247, 0.15);
}

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    color: var(--text-main);
    background: linear-gradient(270deg, #0a0618, #0f0a1e, #0d0520, #08101a, #0a0618);
    background-size: 600% 600%;
    animation: bg-color-cycle 16s ease infinite;
    min-height: 100vh;
    overflow-x: hidden;
}

@keyframes bg-color-cycle {
    0% { background-position: 0% 50%; }
    25% { background-position: 50% 25%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 75%; }
    100% { background-position: 0% 50%; }
}

a {
    text-decoration: none;
    color: inherit;
}

@keyframes float-orb {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(168, 85, 247, 0.3); }
    50% { box-shadow: 0 0 40px rgba(168, 85, 247, 0.6), 0 0 60px rgba(236, 72, 153, 0.2); }
}
@keyframes gradient-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes spin { to { rotate: 360deg } }
@keyframes accent-gradient-move {
    0% { background-position: left center; }
    50% { background-position: right center; }
    100% { background-position: left center; }
}
@keyframes product-nav-hint {
    0% { box-shadow: 0 0 0 rgba(168, 85, 247, 0); }
    50% { box-shadow: 0 0 16px rgba(168, 85, 247, 0.35); }
    100% { box-shadow: 0 0 0 rgba(168, 85, 247, 0); }
}
@keyframes swipe-hint-pulse {
    0% { opacity: 0.5; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(5px); }
    100% { opacity: 0.5; transform: translateX(0); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(70px);
    z-index: -1;
    animation: float-orb 10s ease-in-out infinite;
}

.orb-1 {
    width: 36rem;
    height: 36rem;
    top: -8rem;
    left: -10rem;
    background: var(--glow-purple);
    animation-delay: 0s;
}

.orb-2 {
    width: 32rem;
    height: 32rem;
    right: -8rem;
    top: 26rem;
    background: var(--glow-pink);
    animation-delay: -3s;
}

.orb-3 {
    width: 40rem;
    height: 40rem;
    right: -10rem;
    bottom: -10rem;
    background: var(--glow-cyan);
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: float-orb 12s ease-in-out infinite;
    animation-delay: -5s;
}

.section {
    width: min(116rem, 92%);
    margin: 0 auto;
    padding: 9.2rem 0;
}

.site-header {
    width: min(116rem, 92%);
    margin: 2rem auto 0;
    padding: 1.4rem 2rem;
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    background-color: rgba(12, 12, 24, 0.7);
    position: sticky;
    top: 1.2rem;
    z-index: 20;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.site-header:hover {
    border-color: rgba(168, 85, 247, 0.5);
    background-color: rgba(17, 17, 34, 0.85);
    box-shadow: var(--shadow-glow);
}

.logo {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.logo span {
    margin-left: 0.2rem;
}

.main-nav {
    display: flex;
    gap: 2.2rem;
}

.main-nav a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-soft);
    transition: color 0.22s ease;
    position: relative;
    padding-bottom: 0.4rem;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #a855f7, #ec4899);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--accent-gradient-text);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.menu-btn {
    display: none;
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
    padding: 0 1.1rem;
}

.menu-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
}

#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 5rem;
    align-items: center;
    padding-top: 7.2rem;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.eyebrow {
    font-size: 1.2rem;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1.6rem;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 3.8vw, 4.4rem);
    line-height: 1.15;
    margin-bottom: 1.8rem;
    background: var(--accent-gradient-text);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: gradient-flow 6s linear infinite;
}

.hero-desc {
    font-size: 1.8rem;
    line-height: 1.6;
    color: var(--text-soft);
    max-width: 62ch;
}

.hero-cta {
    display: flex;
    gap: 1.4rem;
    margin-top: 3.2rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 4.8rem;
    padding: 0 2.4rem;
    border-radius: 999px;
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
    background: linear-gradient(90deg, #a855f7, #ec4899, #06b6d4, #a855f7);
    color: #ffffff;
    background-size: 300% 100%;
    animation: gradient-flow 6s linear infinite;
}
.btn-primary:hover {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
    transform: translateY(-2px);
}
.btn-primary i {
    margin-left: 0.8rem;
}

.btn-outline {
    border: 1px solid var(--line);
    color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.03);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.stats {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(12rem, 1fr));
    gap: 1.2rem;
    margin-top: 2.8rem;
}

.stats li {
    border: 1px solid rgba(168, 85, 247, 0.12);
    border-radius: var(--radius-md);
    background: rgba(17, 17, 34, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.3rem 1.4rem;
    min-height: 10.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.stats li:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
    border-color: rgba(168, 85, 247, 0.5);
}

.stats strong {
    display: block;
    font-size: 2.2rem;
    line-height: 1.15;
}

.stats span {
    font-size: 1.25rem;
    color: var(--text-soft);
    line-height: 1.35;
    margin-top: 0.4rem;
}

.stats-rating {
    gap: 0.2rem;
}

.rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 0.1rem;
    color: #facc15;
    font-size: 1.35rem;
    margin-top: 0.2rem;
}

.hero-media {
    position: relative;
    z-index: 1;
}

.photo-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.photo-wrap::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: conic-gradient(from 0deg, #a855f7, #ec4899, #06b6d4, #a855f7);
    z-index: -1;
    animation: spin 4s linear infinite;
}

.photo-wrap img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 5;
    filter: saturate(1.08);
}

.section-heading {
    max-width: 78rem;
    margin-bottom: 3rem;
}

.section-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 2.8vw, 3.4rem);
    line-height: 1.15;
}

.products-guide {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.2rem;
    font-size: 1.3rem;
    color: var(--text-soft);
    line-height: 1.5;
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: var(--radius-md);
    padding: 0.65rem 1.4rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.products-guide i {
    color: #06b6d4;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.products-guide b {
    color: #f0f0f5;
    font-weight: 600;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
}

.about-card {
    border: 1px solid rgba(168, 85, 247, 0.12);
    border-radius: var(--radius-md);
    background: rgba(17, 17, 34, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.4rem 1.6rem;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0.7;
}

.about-card:hover {
    box-shadow: 0 0 0 1px #a855f7, var(--shadow-glow);
}

.about-icon {
    display: none;
}

.about-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.about-card p {
    font-size: 1.3rem;
    color: var(--text-soft);
    line-height: 1.45;
}

.filter-row {
    display: flex;
    gap: 0.9rem;
    margin-bottom: 2.4rem;
    flex-wrap: wrap;
}

.filter-btn {
    border: 1px solid var(--line);
    border-radius: 999px;
    background-color: transparent;
    color: var(--text-soft);
    font-size: 1.4rem;
    font-weight: 600;
    padding: 0.9rem 1.6rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(90deg, #a855f7, #ec4899);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

.product-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    touch-action: pan-x;
    align-items: stretch;
    -ms-overflow-style: none;
    gap: 1.8rem;
}

.product-slider-wrap {
    position: relative;
}

.product-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 999px;
    border: 1px solid rgba(168, 85, 247, 0.5);
    background: rgba(17, 17, 34, 0.75);
    color: #f0f0f5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    cursor: pointer;
    z-index: 5;
    transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
    animation: product-nav-hint 1.8s ease-in-out infinite;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.product-nav:hover {
    transform: translateY(-50%) scale(1.06);
    background: rgba(168, 85, 247, 0.28);
    color: #ffffff;
    border-color: #a855f7;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

.product-nav-prev {
    left: -2.2rem;
}

.product-nav-next {
    right: -2.2rem;
}

.product-grid::-webkit-scrollbar {
    display: none;
}

.swipe-hint {
    display: none;
    margin-top: 1.2rem;
    font-size: 1.25rem;
    color: #a0a0b8;
    text-align: center;
    letter-spacing: 0.02em;
    animation: swipe-hint-pulse 1.5s ease-in-out infinite;
}

.swipe-hint i {
    margin-right: 0.6rem;
    font-size: 1.55rem;
    vertical-align: -2px;
}

.product-card {
    flex: 0 0 calc((100% - 3.6rem) / 3);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(168, 85, 247, 0.16);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(17, 17, 34, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Hiệu ứng Glow Viền 3D & Nổi khi hover */
.product-card:hover {
    transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
    border-color: rgba(236, 72, 153, 0.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(168, 85, 247, 0.35), 0 0 15px rgba(236, 72, 153, 0.2);
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.4), rgba(236, 72, 153, 0.1), rgba(6, 182, 212, 0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: #a855f7;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.product-badge {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-radius: 0 0 0 1rem;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    animation: pulse 2s infinite;
}

.product-badge.best-seller {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    letter-spacing: 0.03em;
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
    box-shadow: 0 2px 12px rgba(245, 158, 11, 0.4);
}

.product-card.is-hidden {
    display: none;
}

.product-card.pagination-hidden {
    display: none;
}

.product-thumb {
    height: 23rem;
    background: #080808;
    border-bottom: 1px solid var(--line);
    position: relative;
}

.product-preview {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-playsinline: true;
    -webkit-media-controls-fullscreen-button: none;
}

.product-preview::-webkit-media-controls {
    display: none !important;
}
.product-preview::-webkit-media-controls-enclosure {
    display: none !important;
}
.product-preview::-webkit-media-controls-panel {
    display: none !important;
}
.product-preview::-webkit-media-controls-fullscreen-button {
    display: none !important;
}

.product-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: transparent;
    -webkit-tap-highlight-color: transparent;
}

.product-thumb.tiktok-mobile-mode .product-preview {
    display: none;
}

.product-thumb.tiktok-mobile-mode {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
}

.product-thumb.tiktok-mobile-mode::before {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.2rem;
    color: rgba(255, 255, 255, 0.6);
    z-index: 2;
    pointer-events: none;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.thumb-a {
    background: #b74b4b;
}

.thumb-b {
    background: #b74b4b;
}

.thumb-c {
    background: #b74b4b;
}

.product-body {
    padding: 1.4rem 1.5rem 1.6rem;
    height: calc(100% - 23rem);
    display: flex;
    flex-direction: column;
}

.tag {
    display: inline-block;
    width: fit-content;
    align-self: flex-start;
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 700;
    border: 1px solid rgba(168, 85, 247, 0.6);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.product-body h3 {
    font-size: 1.85rem;
    margin-bottom: 0.55rem;
}

.product-body p {
    font-size: 1.35rem;
    color: var(--text-soft);
    line-height: 1.45;
    min-height: 5.2rem;
}

.price-row {
    margin-top: 1.5rem;
    display: flex;
    align-items: baseline;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.price-row strong {
    font-size: 2rem;
    color: var(--text-main);
    background: var(--accent-gradient-text);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: accent-gradient-move 4s ease-in-out infinite;
}

.price-row small {
    font-size: 1.15rem;
    color: #9ca196;
    text-decoration: line-through;
    white-space: nowrap;
}

.sold-count {
    margin-left: auto;
    font-size: 1.1rem;
    color: #f0f0f5;
    border: 1px solid rgba(168, 85, 247, 0.3);
    background: rgba(168, 85, 247, 0.15);
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
    line-height: 1.2;
    transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.sold-count.pop-anim {
    animation: sold-count-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes sold-count-pop {
    0% { transform: scale(1); }
    40% { transform: scale(1.28); background: rgba(236, 72, 153, 0.4); border-color: #ec4899; color: #fff; box-shadow: 0 0 14px rgba(236, 72, 153, 0.6); }
    100% { transform: scale(1); }
}

.text-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.4rem;
    padding: 1rem 1.4rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.text-link i {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.text-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.5), 0 0 15px rgba(168, 85, 247, 0.4);
    background: linear-gradient(135deg, #ec4899, #06b6d4);
}

.text-link:hover i {
    transform: scale(1.15);
}

.tiktok-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.7rem;
    width: fit-content;
    font-size: 1.2rem;
    font-weight: 600;
    color: #06b6d4;
    transition: color 0.2s ease, transform 0.2s ease;
}

.tiktok-link i {
    font-size: 1.45rem;
}

.tiktok-link:hover {
    color: #22d3ee;
    transform: translateX(2px);
}

.sell-box {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: rgba(17, 17, 34, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 85, 247, 0.2);
    padding: 3.4rem;
    box-shadow: var(--shadow-soft);
}

.sell-box::before {
    content: "";
    position: absolute;
    width: 26rem;
    height: 26rem;
    border-radius: 50%;
    right: -8rem;
    top: -8rem;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(236, 72, 153, 0) 72%);
    pointer-events: none;
}

.sell-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.2rem;
    padding: 0.7rem 1.2rem;
    border-radius: 99px;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 1.3rem;
    font-weight: 700;
    background-color: rgba(168, 85, 247, 0.1);
}

.sell-box h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 2.8vw, 3.4rem);
    line-height: 1.15;
    margin-bottom: 1.4rem;
}

.sell-box p {
    font-size: 1.7rem;
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 2.2rem;
    max-width: 70ch;
}

.sell-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2.2rem;
}

.sell-points span {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: 1rem;
    background: rgba(168, 85, 247, 0.08);
    border-left: 2px solid var(--accent);
    color: #ececec;
    font-size: 1.35rem;
    padding: 1rem 1.2rem;
}

.sell-points i {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.sell-actions small {
    font-size: 1.35rem;
    color: #bfbfbf;
}

.site-footer {
    padding-top: 3rem;
    border-top: none;
    text-align: center;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-gradient);
}

.footer-head {
    max-width: 64rem;
    margin: 0 auto;
}

.contact-social {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.contact-social a {
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    background: rgba(168, 85, 247, 0.08);
    color: var(--accent);
    width: 4.2rem;
    height: 4.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin: 0 0.3rem;
    transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
}
.contact-social a:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent-deep);
    transform: translateY(-3px) scale(1.08);
}
.contact-social img {
    display: block;
    filter: grayscale(0.2) brightness(1.1);
}

.zalo-icon {
    width: 1.7rem;
    height: 1.7rem;
    vertical-align: middle;
}

.footer-head h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 2.8vw, 3.2rem);
    margin-bottom: 0.6rem;
}

.footer-head p {
    font-size: 1.7rem;
    color: var(--text-soft);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.social-icons a {
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: var(--text-main);
    transition: all 0.22s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    color: #ffffff;
    background: var(--accent-gradient);
}

.copyright {
    font-size: 1.4rem;
    color: var(--text-soft);
    opacity: 0.7;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.pagination-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.2rem;
    margin-bottom: 0.5rem;
}

.pagination-btn {
    min-width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    background: transparent;
    color: var(--accent);
    font-size: 1.45rem;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
    outline: none;
}

.pagination-btn:hover {
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
}

.pagination-btn.active,
.pagination-btn:focus {
    background: linear-gradient(90deg, #a855f7, #ec4899);
    color: #fff;
    border-color: transparent;
}

.pagination-btn[disabled] {
    opacity: 0.5;
    cursor: default;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #a855f7, #ec4899, #06b6d4);
    z-index: 9999;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.back-to-top {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: #fff;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(168, 85, 247, 0.6);
}

@media (max-width: 1030px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .photo-wrap img {
        max-height: 48rem;
    }

    .about-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-card {
        flex-basis: calc((100% - 1.8rem) / 2);
    }

    .product-thumb {
        height: 20rem;
    }
}

@media (max-width: 800px) {
    .site-header {
        border-radius: 2rem;
        align-items: flex-start;
    }

    .menu-btn {
        display: inline-flex;
    }

    .main-nav {
        position: absolute;
        right: 1.4rem;
        top: calc(100% + 0.8rem);
        flex-direction: column;
        min-width: 19rem;
        padding: 1rem;
        background: rgba(17, 17, 34, 0.9);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(168, 85, 247, 0.15);
        border-radius: 1.4rem;
        box-shadow: var(--shadow-soft);
        gap: 0.4rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s;
        display: flex;
    }

    .main-nav.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav a {
        font-size: 1.4rem;
        padding: 0.8rem 1rem;
        border-radius: 0.8rem;
        padding-bottom: 0.8rem;
    }

    .main-nav a:hover,
    .main-nav a.active {
        background-color: rgba(168, 85, 247, 0.2);
        background-image: none;
        -webkit-text-fill-color: initial;
        color: var(--accent);
    }

    .main-nav a::after {
        display: none;
    }

    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        flex-basis: 100%;
    }

    .product-thumb {
        height: 19rem;
    }

    .product-nav {
        width: 3.8rem;
        height: 3.8rem;
        font-size: 2rem;
    }

    .product-nav-prev {
        left: -0.8rem;
    }

    .product-nav-next {
        right: -0.8rem;
    }

    .swipe-hint {
        display: block;
    }

    .sell-box {
        padding: 2.4rem;
    }

    .sell-points {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .section {
        padding: 7.4rem 0;
    }

    .site-header {
        padding: 1rem 1.2rem;
    }

    .logo {
        font-size: 2.2rem;
    }

    .hero-desc,
    .sell-box p,
    .footer-head p {
        font-size: 1.6rem;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .products-guide {
        font-size: 1.2rem;
        padding: 0.6rem 1.1rem;
    }
}

/* Gradient text effect for accent color */
.text-accent, .logo span, .eyebrow, .stats strong, .tag, .sell-badge {
    background: var(--accent-gradient-text);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: accent-gradient-move 4s ease-in-out infinite;
}

/* === QUICK VIEW MODAL STYLES === */
.product-card {
    cursor: pointer;
}

.product-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(4, 4, 12, 0.85);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.product-modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.product-modal-content {
    background: rgba(17, 17, 34, 0.95);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: var(--radius-xl);
    width: min(88rem, 95vw);
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(168, 85, 247, 0.2);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-modal-backdrop.open .product-modal-content {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 1.6rem;
    right: 1.6rem;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.modal-close-btn:hover {
    background: rgba(236, 72, 153, 0.3);
    border-color: #ec4899;
    transform: rotate(90deg);
}

.modal-body-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.4rem;
    padding: 2.4rem;
}

.modal-video-wrap {
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 9 / 16;
    max-height: 70vh;
    margin: 0 auto;
    width: 100%;
}

.modal-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.modal-info-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 1rem;
}

.modal-info-wrap h2 {
    font-size: clamp(2.2rem, 2.5vw, 3rem);
    margin: 1rem 0;
    line-height: 1.25;
}

.modal-desc {
    font-size: 1.5rem;
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-price-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    margin-bottom: 2.4rem;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.modal-btn {
    width: 100%;
    font-size: 1.5rem;
    padding: 1.4rem;
    border-radius: var(--radius-md);
}

.tiktok-btn {
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.tiktok-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 800px) {
    .modal-body-grid {
        grid-template-columns: 1fr;
        padding: 2rem 1.6rem 2.4rem;
        gap: 1.8rem;
    }

    .modal-video-wrap {
        max-height: 50vh;
    }

    .modal-info-wrap {
        padding-right: 0;
    }
}

/* === ZALO TOAST NOTIFICATION === */
.zalo-toast {
    position: fixed;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(17, 17, 34, 0.95);
    border: 1.5px solid #a855f7;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(168, 85, 247, 0.35);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    padding: 1.2rem 1.8rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s ease;
    max-width: min(52rem, 94vw);
    width: max-content;
    pointer-events: auto;
}

.zalo-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.zalo-toast-icon {
    width: 3.8rem;
    height: 3.8rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.5);
}

.zalo-toast-content {
    flex: 1;
}

.zalo-toast-content strong {
    display: block;
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.zalo-toast-content p {
    font-size: 1.2rem;
    color: var(--text-soft);
    line-height: 1.35;
    margin: 0;
}

.zalo-toast-content b {
    color: #38bdf8;
    font-weight: 700;
}

.toast-copy-btn {
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.5);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.toast-copy-btn:hover,
.toast-copy-btn:active {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    border-color: #ec4899;
    transform: scale(1.04);
}

@media (max-width: 520px) {
    .zalo-toast {
        bottom: 1.6rem;
        padding: 1rem 1.2rem;
        gap: 0.9rem;
        width: 92vw;
    }

    .zalo-toast-icon {
        width: 3.2rem;
        height: 3.2rem;
        font-size: 1.7rem;
    }

    .zalo-toast-content strong {
        font-size: 1.25rem;
    }

    .zalo-toast-content p {
        font-size: 1.1rem;
    }

    .toast-copy-btn {
        font-size: 1.1rem;
        padding: 0.5rem 0.8rem;
    }
}