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

body {
    font-family: 'Inter', sans-serif;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Store Card Hover Effect */
.store-card {
    transition: all 0.3s ease;
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Coupon Card Styles */
.coupon-card {
    position: relative;
    transition: all 0.3s ease;
}

.coupon-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.coupon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #2563EB, #1E40AF);
    border-radius: 4px 0 0 4px;
}

/* Reveal Code Button */
.reveal-code {
    background: linear-gradient(135deg, #2563EB, #1E40AF);
    transition: all 0.3s ease;
}

.reveal-code:hover {
    background: linear-gradient(135deg, #1E40AF, #1E3A8A);
    transform: scale(1.05);
}

/* Pulse Animation for Deals */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Loading Spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2563EB;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Category Card */
.category-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    background: linear-gradient(135deg, #2563EB, #1E40AF);
    color: white;
    transform: translateY(-3px);
}

.category-card:hover i {
    color: white;
}

/* Verification Badge */
.verified-badge {
    background: linear-gradient(135deg, #10B981, #059669);
}

/* Discount Tag */
.discount-tag {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 50% 85%, 0% 100%);
    padding: 8px 12px 16px;
}

/* Responsive Table */
@media (max-width: 640px) {
    .responsive-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Print Styles */
@media print {
    header, footer, .no-print {
        display: none;
    }
}