/* ============================================
   SHOPEE VOUCHER WEBSITE - COMPLETE CSS
   With Banners, UI Improvements & Animations
   ============================================ */

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

/* TÌM ĐOẠN NÀY TRONG FILE CSS */
body {
    /* Đổi dòng font-family cũ thành dòng này: */
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    
    /* Các thuộc tính khác giữ nguyên */
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Tinh chỉnh thêm cho Tiêu đề (Header) đậm đà giống Shopee */
h1, h2, h3, .voucher-discount-large {
    font-weight: 700; /* Độ đậm chuẩn Shopee */
    letter-spacing: -0.5px; /* Thu hẹp khoảng cách chữ xíu cho hiện đại */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ============================================
   HEADER NÂNG CẤP (STICKY + ANIMATION)
   ============================================ */

.header {
    /* Màu nền gradient động */
    background: linear-gradient(-45deg, #ee4d2d, #ff7350, #f05339, #d73211);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite; /* Hiệu ứng màu trôi nhẹ */
    color: white;
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(238, 77, 45, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Hiệu ứng Header dính chặt khi cuộn */
.sticky-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
}

/* Bố cục nội dung Header */
.header-content {
    display: flex;
    justify-content: space-between; /* Đẩy logo sang trái */
    align-items: center;
}

.logo h1 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 2px;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


/* Tem chữ VIP/HOT nhỏ bên cạnh logo */
.badge-hot {
    font-size: 10px;
    background: #ffe100; /* Màu vàng nổi bật */
    color: #d0011b;
    padding: 2px 6px;
    border-radius: 8px;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transform: rotate(10deg); /* Nghiêng nhẹ cho nghệ */
}

/* Dòng trạng thái "Vừa cập nhật" */
.live-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    opacity: 0.95;
    background: rgba(255, 255, 255, 0.2); /* Nền kính mờ */
    padding: 4px 10px;
    border-radius: 20px;
    width: fit-content;
    margin-top: 4px;
    backdrop-filter: blur(5px);
}

/* Chấm xanh nhấp nháy mô phỏng Live */
.pulsing-dot {
    width: 8px;
    height: 8px;
    background-color: #00ff88; /* Màu xanh lá dạ quang */
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
    animation: pulse-green 2s infinite;
}

/* --- CÁC KEYFRAMES CHUYỂN ĐỘNG --- */

/* Hiệu ứng nền trôi */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Hiệu ứng nhấp nháy chấm xanh */
@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(0, 255, 136, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
    }
}

/* Responsive cho điện thoại */
@media (max-width: 480px) {
    .logo h1 { font-size: 20px; }
    .header { padding: 12px 0; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    background: linear-gradient(135deg, #ee4d2d 0%, #f05339 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.hero h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero p {
    font-size: 16px;
    opacity: 0.95;
}

/* ============================================
   BỘ ĐẾM THỐNG KÊ (HERO STATS - PRO VERSION)
   ============================================ */
.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    /* Hiệu ứng kính mờ cao cấp */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 30px;
    border-radius: 50px;
    margin-top: 25px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15); /* Bóng đổ sâu */
    transition: transform 0.3s ease;
}

.hero-stats:hover {
    transform: translateY(-5px); /* Bay lên nhẹ khi di chuột vào */
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.8);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Icon nhảy nhót */
.stat-icon {
    font-size: 28px;
    filter: drop-shadow(0 0 8px rgba(255, 225, 0, 0.6));
    animation: bounceIcon 2s infinite ease-in-out;
}

.stat-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Con số mạ vàng/bạc lấp lánh */
.stat-number {
    font-size: 20px;
    font-weight: 900;
    /* Hiệu ứng màu chữ Gradient (Vàng kim loại) */
    background: linear-gradient(to bottom, #ffffff 0%, #ffe100 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-family: monospace; /* Dùng font này số nhảy sẽ không bị rung */
}

.stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 35px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.6), transparent);
}

@keyframes bounceIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Hiệu ứng khi số nhảy (Scale lên xíu) */
.number-pop {
    animation: popNumber 0.2s ease-out;
}

@keyframes popNumber {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); color: #fff; }
    100% { transform: scale(1); }
}

/* Mobile */
@media (max-width: 480px) {
    .hero-stats {
        width: 100%;
        flex-direction: row; /* Vẫn giữ hàng ngang nhưng nhỏ hơn */
        justify-content: space-around;
        padding: 10px;
        gap: 10px;
    }
    .stat-number { font-size: 16px; }
    .stat-icon { font-size: 20px; }
    .stat-divider { display: block; height: 25px; } 
}

/* ============================================
   BANNER SECTION
   ============================================ */
.banner-section {
    background: #f5f5f5;
    padding: 16px 0;
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: white;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}

.banner-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.banner-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    display: block;
    transition: transform 0.3s ease;
}

.banner-slide:hover img {
    transform: scale(1.02);
}

/* Banner Navigation Dots */
.banner-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dot.active {
    width: 24px;
    border-radius: 4px;
    background: #ee4d2d;
}

.banner-dot:hover {
    background: #ff9800;
}

/* ============================================
   FILTER TABS
   ============================================ */
.filter-section {
    background: white;
    padding: 20px 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.filter-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-tab {
    background: white;
    border: 2px solid #ee4d2d;
    color: #ee4d2d;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    background: #fff5f2;
    transform: translateY(-2px);
}

.filter-tab.active {
    background: #ee4d2d;
    color: white;
}

/* ============================================
   VOUCHERS SECTION
   ============================================ */
.vouchers-section {
    padding: 30px 0 60px;
}

.voucher-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(550px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

/* ============================================
   VOUCHER CARD - WITH ANIMATIONS
   ============================================ */
.voucher-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 140px;
    width: 100%;
}

.voucher-card:hover {
    box-shadow: 0 8px 24px rgba(238,77,45,0.2);
    transform: translateY(-4px) scale(1.02);
}

.voucher-card:hover .voucher-discount-large {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.voucher-card:hover .voucher-button {
    transform: translateX(4px);
}

.voucher-type-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(238,77,45,0.9);
    color: white;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 10;
    animation: pulse 2s ease-in-out infinite;
}

.voucher-card:hover .voucher-type-badge {
    animation: none;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.voucher-type-badge.platform {
    background: #e3b11d;
}

.voucher-type-badge.shop {
    background: #ff6b35;
}

.voucher-type-badge.collection {
    background: #ffa502;
}

/* LEFT SECTION - IMAGE */
.voucher-left {
    background: linear-gradient(135deg, #ee4d2d 0%, #f05339 100%);
    width: 140px;
    min-width: 140px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.voucher-left::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 0;
    bottom: 0;
    width: 10px;
    background-image: 
        radial-gradient(circle at 5px 10px, #ffffff 5px, transparent 5px),
        radial-gradient(circle at 5px 30px, #ffffff 5px, transparent 5px),
        radial-gradient(circle at 5px 50px, #ffffff 5px, transparent 5px),
        radial-gradient(circle at 5px 70px, #ffffff 5px, transparent 5px),
        radial-gradient(circle at 5px 90px, #ffffff 5px, transparent 5px),
        radial-gradient(circle at 5px 110px, #ffffff 5px, transparent 5px),
        radial-gradient(circle at 5px 130px, #ffffff 5px, transparent 5px),
        radial-gradient(circle at 5px 150px, #ffffff 5px, transparent 5px);
    background-repeat: no-repeat;
}

.voucher-image-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 15px;
}

.voucher-image-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.voucher-image-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ee4d2d 0%, #f05339 100%);
    color: white;
    font-size: 36px;
    font-weight: 700;
}

.voucher-shop-name {
    font-size: 11px;
    color: white;
    font-weight: 600;
    line-height: 1.2;
}

/* CENTER SECTION - CONTENT */
.voucher-center {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.voucher-main-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.voucher-detail {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.voucher-usage {
    font-size: 11px;
    color: #999;
    margin: 6px 0;
}

.voucher-usage.expired-text {
    color: #d32f2f;
    font-weight: 600;
}

.voucher-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #e8e8e8;
}

.voucher-conditions {
    font-size: 11px;
    color: #0066cc;
    text-decoration: none;
}

.voucher-conditions:hover {
    text-decoration: underline;
}

.voucher-conditions.disabled {
    color: #999;
    pointer-events: none;
}

.voucher-button {
    background: #ee4d2d;
    color: white;
    border: none;
    padding: 6px 20px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.voucher-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.voucher-button:hover::before {
    width: 300px;
    height: 300px;
}

.voucher-button:hover {
    background: #d73211;
}

.voucher-button:active {
    transform: scale(0.95);
}

.voucher-button.disabled {
    background: #ccc;
    cursor: not-allowed;
}

.voucher-button.disabled::before {
    display: none;
}

/* RIGHT SECTION - LARGE DISCOUNT */
.voucher-right {
    background: linear-gradient(135deg, #fff5f2 0%, #ffe8e2 100%);
    width: 120px;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.voucher-discount-large {
    font-size: 36px;
    font-weight: 700;
    color: #ee4d2d;
    text-align: center;
    line-height: 1;
    word-break: break-word;
}

/* ============================================
   EXPIRED & EXPIRING SOON STYLES
   ============================================ */
.voucher-card.expired {
    opacity: 0.65;
}

.voucher-card.expired .voucher-left {
    background: linear-gradient(135deg, #999 0%, #888 100%);
}

.voucher-card.expired .voucher-right {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.voucher-card.expired .voucher-discount-large {
    color: #999;
}

.voucher-card.expiring-soon {
    border: 2px solid #ff9800;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 152, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 152, 0, 0.8);
    }
}

.voucher-card.expiring-soon .voucher-usage {
    color: #ff9800;
    font-weight: 700;
}

.voucher-card.expiring-soon .voucher-usage::before {
    content: '🔥 ';
}

.voucher-status-stamp {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #999;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #999;
    z-index: 10;
}

/* ============================================
   LOADING, ERROR, EMPTY
   ============================================ */
.loading, .error, .empty {
    text-align: center;
    padding: 60px 20px;
}

/* Skeleton Loading */
.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(550px, 1fr));
    gap: 16px;
    padding: 20px 0;
}

.skeleton-card {
    height: 140px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f0f0f0;
    border-top: 4px solid #ee4d2d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error {
    color: #d32f2f;
}

.empty {
    color: #666;
}

/* ============================================
   TOAST
   ============================================ */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 16px 24px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: bottom 0.3s ease;
    min-width: 300px;
    text-align: center;
}

.toast.show {
    bottom: 30px;
}

.toast p {
    margin: 0;
    font-size: 14px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: white;
    border-top: 1px solid #e0e0e0;
    padding: 30px 0;
    text-align: center;
    margin-top: 40px;
}

.footer p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.disclaimer {
    font-size: 12px;
    color: #999;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .banner-section {
        padding: 12px 0;
    }
    
    .banner-slider {
        height: 180px;
        border-radius: 8px;
    }
    
    .voucher-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .voucher-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .voucher-left {
        width: 100%;
        min-width: 100%;
        padding: 12px;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }
    
    .voucher-left::after {
        display: none;
    }
    
    .voucher-left::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: -5px;
        height: 10px;
        background-image: 
            radial-gradient(circle at 10px 5px, #ffffff 5px, transparent 5px),
            radial-gradient(circle at 30px 5px, #ffffff 5px, transparent 5px),
            radial-gradient(circle at 50px 5px, #ffffff 5px, transparent 5px),
            radial-gradient(circle at 70px 5px, #ffffff 5px, transparent 5px),
            radial-gradient(circle at 90px 5px, #ffffff 5px, transparent 5px),
            radial-gradient(circle at 110px 5px, #ffffff 5px, transparent 5px),
            radial-gradient(circle at 130px 5px, #ffffff 5px, transparent 5px),
            radial-gradient(circle at 150px 5px, #ffffff 5px, transparent 5px),
            radial-gradient(circle at 170px 5px, #ffffff 5px, transparent 5px);
        background-repeat: no-repeat;
    }
    
    .voucher-image-circle {
        width: 60px;
        height: 60px;
        margin-bottom: 0;
        margin-right: 10px;
    }
    
    .voucher-shop-name {
        text-align: left;
        font-size: 10px;
    }
    
    .voucher-center {
        padding: 10px;
    }
    
    .voucher-main-title {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .voucher-detail {
        font-size: 11px;
    }
    
    .voucher-usage {
        font-size: 10px;
    }
    
    .voucher-right {
        width: 100%;
        min-width: 100%;
        padding: 10px;
    }
    
    .voucher-discount-large {
        font-size: 28px;
    }
    
    .voucher-footer {
        flex-direction: column;
        gap: 6px;
        align-items: stretch;
    }
    
    .voucher-button {
        width: 100%;
        padding: 8px;
        font-size: 12px;
    }
    
    .voucher-conditions {
        text-align: center;
        order: -1;
    }
    
    .hero h2 {
        font-size: 24px;
    }
    
    .filter-tabs {
        gap: 8px;
    }
    
    .filter-tab {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .logo h1 {
        font-size: 22px;
    }
    
    .skeleton-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .banner-slider {
        height: 120px;
    }
    
    .banner-dots {
        gap: 6px;
    }
    
    .banner-dot {
        width: 6px;
        height: 6px;
    }
    
    .banner-dot.active {
        width: 18px;
    }
    
    .voucher-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .voucher-card {
        font-size: 11px;
    }
    
    .voucher-main-title {
        font-size: 12px;
    }
    
    .voucher-detail {
        font-size: 10px;
    }
    
    .voucher-discount-large {
        font-size: 24px;
    }
}
/* ============================================
   ZALO WIDGET (Góc Trái Màn Hình)
   ============================================ */
.zalo-widget {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* 1. Bong bóng hội thoại */
.zalo-tooltip {
    background: white;
    padding: 6px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    font-size: 12px;
    color: #333;
    white-space: nowrap;
    position: relative;
    animation: floatTooltip 2s ease-in-out infinite; /* Bay lên bay xuống nhẹ */
    border: 1px solid #eee;
}

/* Mũi tên trỏ xuống của bong bóng */
.zalo-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px 6px 0;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

.zalo-tooltip b {
    color: #d0011b; /* Màu đỏ nhấn mạnh số tiền */
}

/* 2. Nút tròn Zalo */
.zalo-btn {
    width: 55px;
    height: 55px;
    background: #4a3bf5b5;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 104, 255, 0.4);
    position: relative;
    transition: transform 0.3s;
}

.zalo-btn:hover {
    transform: scale(1.1); /* Phóng to khi di chuột vào */
}

.zalo-btn img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    z-index: 2; /* Nằm trên lớp sóng */
}

/* 3. Hiệu ứng sóng lan tỏa (Pulse Animation) */
.zalo-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #0068FF;
    border-radius: 50%;
    z-index: 1;
    opacity: 0.6;
    animation: zalo-wave 2s infinite;
}

/* --- KEYFRAMES --- */
@keyframes zalo-wave {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; } /* Lan rộng ra và mờ dần */
}

@keyframes floatTooltip {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Mobile: Thu nhỏ lại xíu cho đỡ vướng */
@media (max-width: 480px) {
    .zalo-btn { width: 45px; height: 45px; }
    .zalo-btn img { width: 28px; height: 28px; }
    .zalo-tooltip { font-size: 11px; padding: 4px 10px; }
    .zalo-widget { bottom: 20px; left: 15px; }
}

/* Chỉnh icon trong Filter Tabs */
.filter-tab i {
    margin-right: 6px;
    font-size: 16px;
    vertical-align: middle;
}

/* Chỉnh icon trong Bộ đếm Hero */
.stat-icon i {
    font-size: 32px; /* To và rõ ràng */
    color: #ffe100; /* Màu vàng thương hiệu */
    filter: drop-shadow(0 0 10px rgba(255, 225, 0, 0.4));
}

/* Hiệu ứng khi tab active thì icon đổi màu hoặc nổi bật hơn */
.filter-tab.active i {
    color: #fff;
}

/* Responsive cho icon trên mobile */
@media (max-width: 480px) {
    .stat-icon i {
        font-size: 24px;
    }
}

/* Tinh chỉnh icon voucher cho bộ đếm */
.stat-icon i.ri-ticket-2-fill {
    color: #ffe100;
    /* Hiệu ứng phát sáng nhẹ */
    filter: drop-shadow(0 0 8px rgba(255, 225, 0, 0.5));
    /* Xoay nhẹ 1 chút cho năng động */
    display: inline-block;
    transform: rotate(-15deg);
}

/* Hiệu ứng khi số nhảy vẫn giữ nguyên như cũ để đồng bộ */

.shopee-progress-container {
    position: relative;
    width: 100%;
    height: 14px;
    background-color: #ffdbd1;
    border-radius: 10px;
    margin: 6px 0;
    overflow: hidden;
    border: 1px solid #ffbda6;
}

.shopee-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ee4d2d, #ff7350);
    border-radius: 10px;
}

.shopee-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9px;
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}


