/* CDM86 Promotions Interface */
:root {
    /* Brand Colors */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #64748b;
    --accent: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --success: #10b981;
    
    /* Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    
    /* Text */
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-tertiary: #94a3b8;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

/* Flip Animation */
@keyframes flipOut {
    0% {
        transform: perspective(400px) rotateY(0);
        opacity: 1;
    }
    100% {
        transform: perspective(400px) rotateY(90deg);
        opacity: 0;
    }
}

.promo-card.flipping {
    animation: flipOut 0.6s ease-in-out forwards;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 80px; /* Space for bottom nav on mobile */
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Top Navigation */
.top-nav {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--space-4) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.nav-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    padding: var(--space-3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.875rem;
    font-weight: 500;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.nav-btn-primary {
    background: white;
    color: var(--primary);
}

.nav-btn-primary:hover {
    background: #f1f5f9;
}

.nav-btn span {
    display: none;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--space-12) 0 var(--space-8);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(-15deg);
}

/* ========================================
   HERO SECTION UNIFIED (NEW)
   ======================================== */
.hero-section-unified {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--space-16) 0;
    position: relative;
    overflow: hidden;
}

.hero-section-unified::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: rotate(-15deg);
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
}

.highlight {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--space-8);
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    display: block;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* ========================================
   UNIFIED HERO STYLES
   ======================================== */
.hero-section-unified .hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    position: relative;
    z-index: 1;
}

.hero-section-unified .hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-section-unified .hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
}

.hero-section-unified .hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--space-6);
}

.hero-section-unified .hero-subtitle--large {
    font-size: clamp(1.2rem, 2.8vw, 1.7rem);
    font-weight: 600;
    opacity: 0.95;
}

.cta-promo-badge {
    margin-top: 14px;
    font-size: clamp(1.3rem, 3.5vw, 2rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cta-promo-highlight {
    color: #fbbf24;
}

.cta-promo-sub {
    color: #ffffff;
    font-weight: 700;
    text-transform: lowercase;
    font-size: 0.85em;
    letter-spacing: 0.01em;
}

.cta-block {
    margin-bottom: var(--space-12);
    padding: var(--space-8) 0;
}

.cta-text {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 400;
    color: white;
    line-height: 1.6;
    margin: 0;
}

.cta-text .cta-link {
    font-size: inherit;
    font-weight: 700;
    color: #fbbf24;
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
    text-decoration-color: #fbbf24;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-text .cta-link:hover {
    color: #f59e0b;
    text-decoration-color: #f59e0b;
    transform: scale(1.02);
}

.hero-section-unified .stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-8);
    flex-wrap: wrap;
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-section-unified .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.hero-section-unified .stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
}

.hero-section-unified .stat-number {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: white;
    line-height: 1;
}

.hero-section-unified .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Categories Section */
.categories-section {
    padding: var(--space-6) 0;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 72px;
    z-index: 90;
}

.categories-scroll {
    display: flex;
    gap: var(--space-3);
    overflow-x: auto;
    padding-bottom: var(--space-2);
    /* Hide scrollbar for Firefox */
    scrollbar-width: none;
    /* Hide scrollbar for IE/Edge legacy */
    -ms-overflow-style: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.categories-scroll::-webkit-scrollbar {
    display: none;
}

.category-chip {
    background: var(--bg-tertiary);
    border: none;
    padding: var(--space-3) var(--space-5);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    flex-shrink: 0;
}

.category-chip:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

.category-chip.active {
    background: var(--primary);
    color: white;
}

/* Promotions Section */
.promotions-section {
    padding: var(--space-8) 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
}

.view-toggle {
    display: flex;
    gap: var(--space-2);
}

.toggle-btn {
    background: white;
    border: 1px solid #e2e8f0;
    padding: var(--space-3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-secondary);
}

.toggle-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.toggle-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Promotions Grid */
.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-6);
}

/* Promotion Card */
.promo-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.12), 
                0 4px 16px rgba(139, 92, 246, 0.08),
                0 0 0 1px rgba(255, 255, 255, 0.5);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 28px;
    padding: 2px;
    background: linear-gradient(135deg, 
        #06b6d4 0%, 
        #3b82f6 25%, 
        #8b5cf6 50%, 
        #ec4899 75%, 
        #f59e0b 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s;
}

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

.promo-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 30px 80px rgba(37, 99, 235, 0.25),
                0 12px 40px rgba(139, 92, 246, 0.15),
                0 0 60px rgba(59, 130, 246, 0.2);
}

.promo-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(6, 182, 212, 0.03) 0%, 
        rgba(59, 130, 246, 0.03) 50%, 
        rgba(139, 92, 246, 0.03) 100%);
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 12px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.promo-card:hover .promo-image img {
    transform: scale(1.05);
}

.promo-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 50%, #be123c 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 900;
    font-size: 1rem;
    box-shadow: 0 8px 32px rgba(244, 63, 94, 0.5),
                0 0 0 3px rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    animation: pulse-badge-glow 3s ease-in-out infinite;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@keyframes pulse-badge-glow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(244, 63, 94, 0.5),
                    0 0 0 3px rgba(255, 255, 255, 0.3),
                    0 0 20px rgba(244, 63, 94, 0.3);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 12px 40px rgba(244, 63, 94, 0.7),
                    0 0 0 4px rgba(255, 255, 255, 0.5),
                    0 0 40px rgba(244, 63, 94, 0.6);
    }
}

.promo-favorite {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    font-size: 1.25rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.promo-favorite:hover {
    background: rgba(244, 63, 94, 0.9);
    color: white;
    transform: scale(1.2) rotate(15deg);
    box-shadow: 0 12px 32px rgba(244, 63, 94, 0.4),
                0 0 40px rgba(244, 63, 94, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

.promo-favorite.active {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: white;
    animation: heart-beat 0.6s ease-in-out;
    box-shadow: 0 8px 24px rgba(244, 63, 94, 0.5);
}

@keyframes heart-beat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.4); }
    50% { transform: scale(1.15); }
}

.promo-favorite.active i::before {
    content: "\f004"; /* Filled heart */
}

.promo-content {
    padding: 28px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.95) 100%);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    position: relative;
}

.promo-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(59, 130, 246, 0.3) 50%, 
        transparent 100%);
}

.promo-content h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.3;
    background: linear-gradient(135deg, 
        #0ea5e9 0%, 
        #3b82f6 30%, 
        #6366f1 60%, 
        #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.promo-card:hover .promo-content h3 {
    background: linear-gradient(135deg, 
        #06b6d4 0%, 
        #3b82f6 25%, 
        #8b5cf6 50%, 
        #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateX(4px);
}

.promo-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.promo-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 16px;
    border-radius: 12px;
}

.promo-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 500;
}

.promo-features li:not(:last-child) {
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.promo-features li i {
    color: #10b981;
    font-size: 1.1rem;
    flex-shrink: 0;
    background: rgba(16, 185, 129, 0.1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.promo-cta {
    padding: 0 24px 24px;
}

.cta-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    text-align: center;
    padding: 16px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.5);
}

.promo-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-3);
}

.promo-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    flex: 1;
}

.promo-category-badge {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, 
        rgba(6, 182, 212, 0.2) 0%, 
        rgba(59, 130, 246, 0.2) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0ea5e9;
    flex-shrink: 0;
    font-size: 1.25rem;
    box-shadow: 0 4px 16px rgba(6, 182, 212, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.promo-card:hover .promo-category-badge {
    transform: rotate(15deg) scale(1.15);
    background: linear-gradient(135deg, 
        rgba(6, 182, 212, 0.3) 0%, 
        rgba(139, 92, 246, 0.3) 100%);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.4),
                0 0 30px rgba(139, 92, 246, 0.3);
    color: #8b5cf6;
}

.promo-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.promo-partner {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: var(--space-5);
    padding: 10px 18px;
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.1) 0%, 
        rgba(6, 182, 212, 0.1) 100%);
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s;
}

.promo-card:hover .promo-partner {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.2) 0%, 
        rgba(6, 182, 212, 0.2) 100%);
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateX(4px);
}

.promo-partner i {
    color: #10b981;
    font-size: 1rem;
}

.promo-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-5);
    border-top: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(90deg, 
                    rgba(6, 182, 212, 0.3) 0%, 
                    rgba(139, 92, 246, 0.3) 100%) border-box;
}

.promo-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-original {
    font-size: 0.9375rem;
    color: var(--text-tertiary);
    text-decoration: line-through;
    font-weight: 500;
}

.price-final {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, 
        #0ea5e9 0%, 
        #3b82f6 30%, 
        #8b5cf6 70%, 
        #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.3));
    animation: price-glow 3s ease-in-out infinite;
}

@keyframes price-glow {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.4));
    }
}

.btn-promo {
    background: linear-gradient(135deg, 
        #0ea5e9 0%, 
        #3b82f6 50%, 
        #8b5cf6 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3),
                0 0 0 2px rgba(255, 255, 255, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    transition: left 0.6s;
}

.btn-promo:hover::before {
    left: 100%;
}

.btn-promo::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 2px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.5) 0%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.5) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-promo:hover::after {
    opacity: 1;
}

.btn-promo:hover {
    transform: translateX(6px) scale(1.05);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.5),
                0 0 60px rgba(59, 130, 246, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-promo i {
    transition: transform 0.4s;
}

.btn-promo:hover i {
    transform: translateX(6px) rotate(45deg);
}

.promo-meta {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-tertiary);
    font-size: 0.8125rem;
}

.meta-item i {
    color: var(--text-secondary);
}

/* Load More */
.load-more-section {
    margin-top: var(--space-8);
    text-align: center;
    display: flex;
    justify-content: center;
    width: 100%;
}

.btn-load-more {
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: var(--space-4) var(--space-8);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-weight: 600;
    font-size: 1rem;
}

.btn-load-more:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Bottom Navigation (Mobile) */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-around;
    padding: var(--space-3) 0;
    z-index: 100;
    box-shadow: 0 -4px 6px -1px rgb(0 0 0 / 0.1);
}

.bottom-nav-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    font-size: 0.75rem;
    padding: var(--space-2);
}

.bottom-nav-btn i {
    font-size: 1.25rem;
}

.bottom-nav-btn.active {
    color: var(--primary);
}

.bottom-nav-btn:hover {
    color: var(--primary);
}

/* Responsive Design */
@media (min-width: 640px) {
    .nav-btn span {
        display: inline;
    }
    
    .bottom-nav {
        display: none;
    }
    
    body {
        padding-bottom: 0;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .stat-divider {
        display: block;
    }
}

@media (max-width: 640px) {
    .promotions-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-4);
    }
    
    .view-toggle {
        display: none;
    }
    
    .stat-divider {
        display: none;
    }
}
/* ============================================
   LIST VIEW STYLES
   ============================================ */

.promotions-grid.list-view {
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

.promotions-grid.list-view .promo-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--space-5);
    height: auto;
}

.promotions-grid.list-view .promo-image {
    height: 150px;
    border-radius: 12px 0 0 12px;
}

.promotions-grid.list-view .promo-content {
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.promotions-grid.list-view .promo-header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: var(--space-3);
}

.promotions-grid.list-view .promo-title {
    font-size: 1.5rem;
}

.promotions-grid.list-view .promo-description {
    font-size: 1rem;
    margin-bottom: var(--space-4);
}

.promotions-grid.list-view .promo-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.promotions-grid.list-view .promo-meta {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .promotions-grid.list-view .promo-card {
        grid-template-columns: 1fr;
    }
    
    .promotions-grid.list-view .promo-image {
        height: 200px;
        border-radius: 12px 12px 0 0;
    }
}

/* Utility Classes for Favorites Page */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.flex-1 {
    flex: 1;
}

.padding-2rem {
    padding: 2rem;
}

.color-error {
    color: red;
}

.empty-state-container {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px 20px;
}

.empty-state-icon {
    font-size: 80px;
    color: #ddd;
    margin-bottom: 20px;
    display: block;
}

.empty-state-title {
    color: #666;
    margin-bottom: 10px;
    font-size: 24px;
}

.empty-state-text {
    color: #999;
    margin-bottom: 30px;
}

.dropdown-menu-item {
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.dropdown-menu-item:hover {
    background: #f8fafc;
}

.chevron-icon {
    font-size: 12px;
    margin-left: 5px;
}

.hidden {
    display: none !important;
}

.dropdown-menu-item.logout-item {
    color: #e74c3c;
    border-bottom: none;
    cursor: pointer;
}

/* ========================================
   CTA REFERRAL SECTION
   ======================================== */
.cta-referral-section {
    padding: var(--space-16) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-referral-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: float 15s ease-in-out infinite;
}

.cta-referral-card {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 var(--space-6);
}

.cta-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-6);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    animation: pulse 2s ease-in-out infinite;
}

.cta-icon i {
    font-size: 48px;
    color: white;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: white;
    line-height: 1.3;
    margin-bottom: var(--space-8);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cta-button-animated {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: 18px 40px;
    background: white;
    color: var(--primary);
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-button-animated::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

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

.cta-button-animated:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-icon {
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
}

.cta-button-animated:hover .btn-icon {
    transform: translateX(5px);
}

.cta-subtext {
    margin-top: var(--space-4);
    font-size: 1.125rem;
    color: white;
    opacity: 0.9;
    font-weight: 500;
}

/* ========================================
   STATISTICS SHOWCASE SECTION
   ======================================== */
.stats-showcase-section {
    padding: var(--space-16) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-4);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.stat-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: -1;
}

.stat-icon i {
    font-size: 36px;
    color: white;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

.stat-card .stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

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

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .hero-section-unified {
        padding: var(--space-12) 0;
    }
    
    .hero-section-unified .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: var(--space-4);
    }
    
    .cta-block {
        padding: var(--space-4) 0;
        margin-bottom: var(--space-8);
    }
    
    .cta-text {
        font-size: 1.125rem;
    }
    
    .hero-section-unified .stats-grid {
        gap: var(--space-6);
    }
    
    .hero-section-unified .stat-divider {
        display: none;
    }
    
    .hero-section-unified .stat-number {
        font-size: 1.75rem;
    }
    
    .hero-section-unified .stat-label {
        font-size: 0.8rem;
    }
    
    .cta-referral-section {
        padding: var(--space-12) 0;
    }
    
    .cta-icon {
        width: 80px;
        height: 80px;
    }
    
    .cta-icon i {
        font-size: 36px;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-button-animated {
        padding: 14px 32px;
        font-size: 1rem;
    }
    
    .stats-showcase-section {
        padding: var(--space-12) 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .stat-card {
        padding: var(--space-6);
    }
    
    .stat-icon {
        width: 64px;
        height: 64px;
    }
    
    .stat-icon i {
        font-size: 28px;
    }
    
    .stat-card .stat-number {
        font-size: 2rem;
    }
}
