/* Deals Page Specific Styles */

.deals-hero {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(249, 115, 22, 0.05) 100%);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Fire animation background */
.deals-hero::before {
    content: '';
    position: absolute;
    bottom: -50px; left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(239, 68, 68, 0.2) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
    animation: pulseFire 3s infinite alternate;
}

@keyframes pulseFire {
    0% { transform: translateX(-50%) scale(1); opacity: 0.8; }
    100% { transform: translateX(-50%) scale(1.1); opacity: 1; }
}

.deals-hero-content {
    position: relative;
    z-index: 1;
}

.deals-hero-icon {
    font-size: 3.5rem;
    color: var(--danger);
    margin-bottom: 1rem;
    text-shadow: 0 0 25px rgba(239, 68, 68, 0.6);
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.deals-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, #fca5a5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.deals-hero p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 1.5rem;
}

/* Flash Countdown */
.flash-countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.timer-box {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    min-width: 80px;
    backdrop-filter: blur(10px);
}

.timer-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.timer-lbl {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 3-Column Deals Grid */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem;
}

@media (max-width: 1200px) {
    .deals-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .deals-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Deal Card Specific Overrides */
.deal-card {
    border-color: rgba(239, 68, 68, 0.2);
    position: relative;
}

.deal-card:hover {
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.15);
}

.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--danger);
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    transform: rotate(3deg);
}

.deal-card .p-card-price {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.deals-price-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.old-price-tag {
    color: var(--text-muted);
    font-size: 1.1rem;
    text-decoration: line-through;
    font-weight: 500;
}

.new-price-tag {
    color: var(--danger);
    font-size: 1.6rem;
    font-weight: 800;
}

.deal-seller-info {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed rgba(255,255,255,0.1);
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .flash-countdown {
        flex-wrap: wrap;
    }
    
    .deals-hero h1 {
        font-size: 2.2rem;
    }
}
