/* Bonus-specific styles */

/* Featured bonus - yellow border */
.bonus-card[data-featured="true"] {
    border-color: #fbbf24;
}

.bonus-card[data-featured="true"]:hover {
    box-shadow: 0 25px 50px -12px rgba(251, 191, 36, 0.35);
}

/* Expiring soon - warm orange theme with subtle urgency */
@keyframes border-glow {
    0%, 100% {
        border-color: #f97316;
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
    }
    50% {
        border-color: #ea580c;
        box-shadow: 0 0 12px 2px rgba(249, 115, 22, 0.15);
    }
}

@keyframes badge-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 4px 16px rgba(217, 119, 6, 0.4);
    }
}

.bonus-card[data-expiring-soon="true"] {
    border-color: #f97316;
    border-width: 2px;
    animation: border-glow 3s ease-in-out infinite;
}

.bonus-card[data-expiring-soon="true"]:hover {
    box-shadow: 0 25px 50px -12px rgba(249, 115, 22, 0.3);
}

.bonus-card[data-expiring-soon="true"] .expiring-badge {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    color: #78350f;
    border: none;
    font-weight: 600;
    animation: badge-pulse 2s ease-in-out infinite;
}

.bonus-card[data-expiring-soon="true"]:hover .expiring-badge {
    animation-duration: 1.5s;
}

/* Bonus value shimmer */
@keyframes bonus-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.bonus-card .bg-gradient-to-r.from-purple-100 {
    background-size: 200% 200%;
    animation: bonus-shimmer 3s ease-in-out infinite;
}

/* Promo code hover */
.bonus-card .bg-gray-100:has(.font-mono) {
    transition: all 0.3s ease;
    cursor: pointer;
}

.bonus-card .bg-gray-100:has(.font-mono):hover {
    background-color: #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
}

/* Claim button gradient animation */
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.claim-btn {
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
}

.claim-btn:hover {
    animation-duration: 1s;
}

/* Date info opacity */
.bonus-card .text-gray-500:has(i.fa-calendar) {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.bonus-card:hover .text-gray-500:has(i.fa-calendar) {
    opacity: 1;
}

/* Purple accent for focus states */
.bonus-card [class*="rounded-full"]:focus {
    outline: 2px solid #a855f7;
    outline-offset: 2px;
}

#brand-select:focus {
    outline: 2px solid #9333ea;
    outline-offset: 2px;
}

/* Purple hover shadow */
.bonus-card:hover {
    box-shadow: 0 25px 50px -12px rgba(147, 51, 234, 0.25);
}

/* Purple load more button */
#load-more-btn:hover {
    box-shadow: 0 10px 25px rgba(147, 51, 234, 0.3);
}

/* Hide filters on print */
@media print {
    .sticky.top-16 {
        display: none;
    }
}
