/**
 * SMG Mall Hero Widget - Highlights
 * Stats Overlay, Featured Content Cards (Shop, Event, Offer, News, Service)
 * 
 * @package SMGMall
 * @version 2.0.0
 */

/* ========================================
   HIGHLIGHT OVERLAYS
   ======================================== */
.smg-widget.smg-hero-new .hero-highlight-overlay,
.smg-hero-new .hero-highlight-overlay,
.smg-widget.smg-hero-new .hero-stats-overlay,
.smg-hero-new .hero-stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* ========================================
   STAT CARDS
   ======================================== */
.smg-widget.smg-hero-new .hero-stat-card,
.smg-hero-new .hero-stat-card {
    position: absolute;
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--space-4) var(--space-5);
    border-radius: var(--space-3);
    text-align: center;
    box-shadow: var(--card-shadow);
    min-width: 100px;
    max-width: 120px;
    width: clamp(100px, 8vw, 120px);
    aspect-ratio: 1.1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: elegantFloat 6s ease-in-out infinite;
    cursor: pointer;
    z-index: 14;
}

.smg-widget.smg-hero-new .hero-stat-card:hover,
.smg-hero-new .hero-stat-card:hover {
    transform: translateY(-12px) scale(1.1) rotate(2deg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    background: rgba(255, 255, 255, 0.98);
    z-index: 10;
    animation-play-state: paused;
}

.smg-widget.smg-hero-new .stat-number,
.smg-hero-new .stat-number {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--smg-500);
    margin-bottom: var(--space-1);
}

.smg-widget.smg-hero-new .stat-label,
.smg-hero-new .stat-label {
    font-size: var(--text-xs);
    color: var(--smg-700);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Stat Card Positions */
.smg-widget.smg-hero-new .hero-stat-card:nth-child(1),
.smg-hero-new .hero-stat-card:nth-child(1) { top: 10%; right: 15%; animation-delay: 0s; }

.smg-widget.smg-hero-new .hero-stat-card:nth-child(2),
.smg-hero-new .hero-stat-card:nth-child(2) { top: 35%; right: 5%; animation-delay: 1s; }

.smg-widget.smg-hero-new .hero-stat-card:nth-child(3),
.smg-hero-new .hero-stat-card:nth-child(3) { bottom: 15%; right: 10%; animation-delay: 2s; }

/* ========================================
   FEATURED CONTENT CARDS (SHARED)
   ======================================== */
.smg-widget.smg-hero-new .hero-shop-card,
.smg-hero-new .hero-shop-card,
.smg-widget.smg-hero-new .hero-event-card,
.smg-hero-new .hero-event-card,
.smg-widget.smg-hero-new .hero-offer-card,
.smg-hero-new .hero-offer-card,
.smg-widget.smg-hero-new .hero-news-card,
.smg-hero-new .hero-news-card,
.smg-widget.smg-hero-new .hero-service-card,
.smg-hero-new .hero-service-card {
    position: absolute;
    top: 15%;
    right: 8%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: var(--space-4);
    padding: var(--space-5);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 280px;
    min-width: 240px;
    pointer-events: auto;
    animation: elegantFloat 8s ease-in-out infinite;
    transition: var(--transition-normal);
    cursor: pointer;
    z-index: 15;
}

.smg-widget.smg-hero-new .hero-shop-card:hover,
.smg-hero-new .hero-shop-card:hover,
.smg-widget.smg-hero-new .hero-event-card:hover,
.smg-hero-new .hero-event-card:hover,
.smg-widget.smg-hero-new .hero-offer-card:hover,
.smg-hero-new .hero-offer-card:hover,
.smg-widget.smg-hero-new .hero-news-card:hover,
.smg-hero-new .hero-news-card:hover,
.smg-widget.smg-hero-new .hero-service-card:hover,
.smg-hero-new .hero-service-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation-play-state: paused;
}

/* Card Badge */
.smg-widget.smg-hero-new .shop-badge,
.smg-hero-new .shop-badge,
.smg-widget.smg-hero-new .event-badge,
.smg-hero-new .event-badge,
.smg-widget.smg-hero-new .offer-badge,
.smg-hero-new .offer-badge {
    background: linear-gradient(135deg, var(--smg-600), var(--smg-700));
    color: white;
    padding: var(--space-1-5) var(--space-3);
    border-radius: var(--space-5);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-3);
    display: inline-block;
}

/* Card Titles */
.smg-widget.smg-hero-new .shop-name,
.smg-hero-new .shop-name,
.smg-widget.smg-hero-new .event-title,
.smg-hero-new .event-title,
.smg-widget.smg-hero-new .offer-title,
.smg-hero-new .offer-title,
.smg-widget.smg-hero-new .news-title,
.smg-hero-new .news-title,
.smg-widget.smg-hero-new .service-title,
.smg-hero-new .service-title {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    color: var(--smg-900);
    margin-bottom: var(--space-2);
}

/* Card Meta */
.smg-widget.smg-hero-new .shop-category,
.smg-hero-new .shop-category,
.smg-widget.smg-hero-new .event-date,
.smg-hero-new .event-date,
.smg-widget.smg-hero-new .offer-discount,
.smg-hero-new .offer-discount {
    font-size: var(--text-sm);
    color: var(--smg-500);
    margin-bottom: var(--space-3);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes elegantFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(1deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

/* ========================================
   RESPONSIVE - HIGHLIGHTS
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .smg-widget.smg-hero-new .hero-shop-card,
    .smg-hero-new .hero-shop-card,
    .smg-widget.smg-hero-new .hero-event-card,
    .smg-hero-new .hero-event-card,
    .smg-widget.smg-hero-new .hero-offer-card,
    .smg-hero-new .hero-offer-card {
        max-width: 240px;
        min-width: 200px;
        padding: var(--space-4);
    }
    
    .smg-widget.smg-hero-new .hero-stat-card,
    .smg-hero-new .hero-stat-card {
        min-width: 90px;
        max-width: 110px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Hide highlights on mobile for cleaner layout */
    .smg-widget.smg-hero-new .hero-stats-overlay,
    .smg-hero-new .hero-stats-overlay,
    .smg-widget.smg-hero-new .hero-shop-card,
    .smg-hero-new .hero-shop-card,
    .smg-widget.smg-hero-new .hero-event-card,
    .smg-hero-new .hero-event-card,
    .smg-widget.smg-hero-new .hero-offer-card,
    .smg-hero-new .hero-offer-card {
        display: none;
    }
}

