/* =========================================
   DEALS GRID LAYOUT
========================================= */

.deals-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

/* =========================================
   DEAL CARD BASE STYLE
========================================= */

.deal-card {
    background: #ffffff;
    border: 3px solid #00aaff;
    border-radius: 18px;
    max-width: 360px;
    width: 100%;
    padding: 32px 26px 28px 26px;
    box-shadow: 0 4px 18px rgba(0, 140, 255, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    text-align: left;
}

/* Hover Tilt Effect */
.deal-card:hover {
    transform: translateY(-6px) rotateX(4deg) rotateY(-4deg);
    box-shadow: 0 10px 25px rgba(0, 140, 255, 0.28);
}

/* =========================================
   TITLES INSIDE CARDS
========================================= */

.deal-title,
.deal-card h3,
.deal-card h4 {
    font-weight: 900 !important;
    font-size: 20px !important;
    margin-bottom: 12px;
    color: #000;
}

/* Content text */
.deal-details {
    font-size: 14px;
    color: #333;
    margin-bottom: 22px;
    line-height: 1.5;
}

/* =========================================
   BADGES (Cheapest, Best Deal, Best for Gaming)
========================================= */

.deal-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 40px;
    color: #fff;
    letter-spacing: 0.3px;
    z-index: 20;
    text-transform: uppercase;
}

/* Green – Cheapest */
.deal-badge.cheapest {
    background: #00c851;
}

/* Orange – Best Deal */
.deal-badge.best-deal {
    background: #ff9800;
    padding: 7px 18px;
}

/* Purple – Best for Gaming */
.deal-badge.best-gaming {
    background: #8e24ff !important;
    color: #fff !important;
}

/* Add more space between badge + text */
.deal-card {
    padding-top: 48px !important;
}

/* =========================================
   VIEW DEAL BUTTON
========================================= */

.deal-btn {
    display: inline-block;
    background: linear-gradient(90deg, #00aaff, #0091f7);
    color: #fff !important;
    padding: 10px 26px;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.25s ease;
    border: none;
    font-size: 13px;
}

/* Button Hover Animation */
.deal-btn:hover {
    background: linear-gradient(90deg, #0091f7, #00aaff);
    transform: translateY(-2px);
}

/* =========================================
   SECTION TITLES
========================================= */

.deal-section-title {
    font-size: 32px;
    font-weight: 900;
    text-align: center;
    margin: 60px auto 20px;
    color: #000;
    position: relative;
}

/* Blue underline */
.deal-section-title::after {
    content: "";
    width: 90px;
    height: 4px;
    background: #00aaff;
    display: block;
    margin: 10px auto 0;
    border-radius: 10px;
}

/* =========================================
   RESPONSIVE FIXES
========================================= */

@media (max-width: 768px) {
    .deal-card {
        max-width: 90%;
    }
}
