/* Enhanced Featured and Verified Coupon Styles */
/* Add this to your main CSS file on R2 */

/* Featured Coupon Styling */
.offer-card--featured {
    border: 2px solid #ff6b35;
    background: linear-gradient(135deg, #fff5f2 0%, #ffffff 100%);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
    position: relative;
}

.offer-card--featured::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
}

/* Verified Coupon Styling */
.offer-card--verified {
    border-left: 4px solid #28a745;
    background: linear-gradient(135deg, #f8fff9 0%, #ffffff 100%);
}

/* Combined Featured + Verified Styling */
.offer-card--featured.offer-card--verified {
    border: 2px solid #ff6b35;
    border-left: 4px solid #28a745;
    background: linear-gradient(135deg, #fff5f2 0%, #f8fff9 50%, #ffffff 100%);
}

/* Featured Tag Badge */
.offer-tag-featured {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    font-weight: bold;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 2px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

/* Verified Tag Badge */
.offer-tag-verified {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    font-weight: bold;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 2px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

/* Badge Container */
.offer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

/* Inline Badge Base Style */
.inline-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Featured Inline Badge */
.badge-featured {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    box-shadow: 0 3px 12px rgba(255, 107, 53, 0.3);
}

/* Verified Inline Badge */
.badge-verified {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 3px 12px rgba(40, 167, 69, 0.3);
}

/* Verified Statistics */
.verified-stat {
    color: #28a745;
    font-weight: 600;
}

/* Featured Coupon Title */
.offer-card--featured .offer-title {
    color: #d63031;
    font-weight: 700;
}

/* Verified Coupon Button */
.offer-card--verified .cta-button-main {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
}

/* Featured Coupon Button with Animation */
.offer-card--featured .cta-button-main {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border: none;
    animation: pulse-featured 2s infinite;
}

/* Pulse Animation for Featured Buttons */
@keyframes pulse-featured {
    0% { 
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7); 
    }
    70% { 
        box-shadow: 0 0 0 10px rgba(255, 107, 53, 0); 
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0); 
    }
}

/* Combined Featured + Verified Button */
.offer-card--featured.offer-card--verified .cta-button-main {
    background: linear-gradient(135deg, #ff6b35, #28a745);
}

/* Enhanced Statistics Styling */
.offer-stats .stat-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: 12px;
    font-size: 12px;
    color: #666;
}

.offer-stats .stat-item i {
    color: #007bff;
}

/* Added By Section */
.added-by {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #888;
    margin-top: 4px;
}

.added-by i {
    color: #007bff;
}

/* Featured Badge for Homepage */
.featured-badge {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

/* Verified Badge for Various Sections */
.verified-badge {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .offer-badges {
        margin: 8px 0;
        gap: 6px;
    }
    
    .inline-badge {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .offer-stats .stat-item {
        font-size: 11px;
        margin-right: 8px;
    }
    
    .added-by {
        font-size: 11px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .offer-card--featured {
        background: linear-gradient(135deg, #2a1810 0%, #1a1a1a 100%);
    }
    
    .offer-card--verified {
        background: linear-gradient(135deg, #0f1a0f 0%, #1a1a1a 100%);
    }
    
    .offer-card--featured.offer-card--verified {
        background: linear-gradient(135deg, #2a1810 0%, #0f1a0f 50%, #1a1a1a 100%);
    }
}