/**
 * LIT Monetization & Conversion CSS
 * - Sponsored content indicators
 * - Urgency elements
 * - Referral incentives
 * - Limited time offers
 */

/* =====================================================
   SPONSORED CONTENT BADGES
   ===================================================== */

/* Sponsored badge for event cards */
.badge-sponsored {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.badge-sponsored::before {
    content: '⭐ ';
}

/* Featured Partner designation */
.badge-featured-partner {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.badge-featured-partner::before {
    content: '🤝 ';
}

/* Sponsored event card styling */
.event-card.sponsored {
    border: 2px solid rgba(99, 102, 241, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f5f3ff 100%);
}

.event-card.sponsored:hover {
    border-color: #6366f1;
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
}

/* Featured restaurant card */
.restaurant-card.featured-partner {
    border: 2px solid rgba(245, 158, 11, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
}

.restaurant-card.featured-partner:hover {
    border-color: #f59e0b;
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.15);
}

/* Sponsored content disclosure */
.sponsored-disclosure {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--gray-500);
    padding: 4px 0;
}

.sponsored-disclosure::before {
    content: 'ℹ️';
    font-size: 0.7rem;
}

/* =====================================================
   URGENCY ELEMENTS
   ===================================================== */

/* Limited time offer banner */
.urgency-banner {
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
    color: white;
    padding: 12px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.urgency-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.05) 10px,
        rgba(255,255,255,0.05) 20px
    );
}

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

.urgency-banner .countdown-timer {
    display: inline-flex;
    gap: 4px;
    margin-left: 12px;
    font-weight: 800;
}

/* Spots left indicator */
.spots-left {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: pulse-subtle 2s ease-in-out infinite;
}

@keyframes pulse-subtle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.spots-left::before {
    content: '🔥';
}

/* Early bird pricing badge */
.early-bird-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.early-bird-badge::before {
    content: '🐤';
}

/* Limited time offer box */
.limited-time-offer {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px dashed #f59e0b;
    border-radius: 16px;
    padding: 20px 24px;
    text-align: center;
    margin: 24px 0;
}

.limited-time-offer h4 {
    color: #92400e;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.limited-time-offer .offer-text {
    color: #78350f;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.limited-time-offer .expires {
    color: #b45309;
    font-size: 0.85rem;
}

/* Price strikethrough */
.price-original {
    text-decoration: line-through;
    color: var(--gray-400);
    font-size: 0.9em;
    margin-right: 8px;
}

.price-current {
    color: var(--primary);
    font-weight: 800;
}

/* Savings callout */
.savings-callout {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #dcfce7;
    color: #166534;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* =====================================================
   REFERRAL & SHARING INCENTIVES
   ===================================================== */

/* Referral section */
.referral-section {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    margin: 40px 0;
    border: 2px solid #93c5fd;
}

.referral-section h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e40af;
    margin-bottom: 8px;
}

.referral-section p {
    color: #3b82f6;
    margin-bottom: 20px;
}

.referral-reward {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 16px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    color: #1e40af;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    margin-bottom: 16px;
}

.referral-reward .gift-emoji {
    font-size: 1.5rem;
}

.referral-steps {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.referral-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 100px;
}

.referral-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #3b82f6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.referral-step-text {
    font-size: 0.85rem;
    color: #1e40af;
    font-weight: 500;
}

/* Share CTA buttons */
.share-cta-section {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    margin: 24px 0;
}

.share-cta-section h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.share-cta-section p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.share-buttons-large {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
}

.share-btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-btn-facebook-large {
    background: #1877f2;
    color: white;
}

.share-btn-twitter-large {
    background: #1da1f2;
    color: white;
}

.share-btn-whatsapp-large {
    background: #25d366;
    color: white;
}

.share-btn-email-large {
    background: var(--gray-700);
    color: white;
}

.share-btn-copy-large {
    background: var(--gray-200);
    color: var(--gray-700);
}

/* =====================================================
   SOCIAL PROOF ENHANCEMENTS
   ===================================================== */

/* Live activity indicator */
.live-activity {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--gray-100);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--gray-700);
}

.live-activity .pulse-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Recent signup notification */
.recent-signup {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 300px;
    transform: translateX(-120%);
    transition: transform 0.4s ease;
    z-index: 1000;
}

.recent-signup.visible {
    transform: translateX(0);
}

.recent-signup .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.recent-signup .info h5 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.recent-signup .info p {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* =====================================================
   PRICING URGENCY ENHANCEMENTS
   ===================================================== */

/* Annual plan highlight */
.pricing-card.annual-highlight {
    position: relative;
    border: 3px solid var(--success);
}

.pricing-card.annual-highlight::before {
    content: '💰 BEST VALUE';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    white-space: nowrap;
}

/* Price comparison */
.price-comparison {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 16px;
    margin: 16px 0;
}

.price-comparison .monthly-cost {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
}

.price-comparison .monthly-cost span:last-child {
    font-weight: 700;
}

.price-comparison .savings-line {
    border-top: 1px dashed var(--gray-300);
    padding-top: 8px;
    margin-top: 8px;
    color: var(--success);
    font-weight: 700;
}

/* Countdown to price increase */
.price-increase-warning {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 2px solid #fca5a5;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    margin: 16px 0;
}

.price-increase-warning h5 {
    color: #991b1b;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.price-increase-warning p {
    color: #b91c1c;
    font-size: 0.85rem;
}

.price-increase-warning .timer {
    font-size: 1.25rem;
    font-weight: 800;
    color: #dc2626;
    margin-top: 8px;
}

/* =====================================================
   MOBILE OPTIMIZATIONS
   ===================================================== */

@media (max-width: 640px) {
    .urgency-banner {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    
    .referral-section {
        padding: 24px 20px;
    }
    
    .referral-reward {
        padding: 12px 18px;
        font-size: 0.9rem;
    }
    
    .referral-steps {
        gap: 16px;
    }
    
    .share-buttons-large {
        flex-direction: column;
    }
    
    .share-btn-large {
        width: 100%;
        justify-content: center;
    }
    
    .recent-signup {
        bottom: 16px;
        left: 16px;
        right: 16px;
        max-width: none;
    }
}

/* =====================================================
   ANIMATION UTILITIES
   ===================================================== */

.animate-bounce-subtle {
    animation: bounce-subtle 2s ease-in-out infinite;
}

@keyframes bounce-subtle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.animate-shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}
