body {
    background-color: #f0f2f5;
    font-family: 'Google Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #1c1e21;
}

/* Navbar Styling */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border-bottom: none;
    padding-top: 1.5rem;
    padding-bottom: 1.0rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Navbar Scroll Effect */
.navbar.navbar-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    background: linear-gradient(45deg, #ff429a, #e63b8a);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation Tabs */
.nav-tabs {
    border-bottom: none;
    gap: 10px;
}

.nav-tabs .nav-link {
    color: #65676b;
    border: none;
    border-radius: 0;
    padding: 8px 16px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nav-tabs .nav-link:hover {
    background-color: #e4e6eb;
    color: #050505;
}

.nav-tabs .nav-link.active {
    background-color: #fff0f0;
    color: #ff429a;
    font-weight: 700;
}

/* Card Styling */
.card {
    border: none;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.deal-card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0.6rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.deal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.deal-image-wrapper {
    width: 200px;
    min-height: 200px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 1rem;
}

.deal-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 12px;
}

/* Buttons & Inputs */
.btn {
    border-radius: 0;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    transition: all 0.2s;
    box-shadow: none !important;
}

.btn-primary {
    background-color: #ff429a;
    border-color: #ff429a;
    color: #fff;
    box-shadow: none;
}

.btn-primary:hover {
    background-color: #e63b8a;
    border-color: #e63b8a;
    transform: translateY(-1px);
    box-shadow: none;
}

.form-control,
.form-select {
    border-radius: 0;
    border: 1px solid #ced0d4;
    padding: 0.75rem 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #ff429a;
    box-shadow: 0 0 0 4px rgba(255, 66, 154, 0.1);
}

/* Temperature Badges */
.temperature-badge {
    font-weight: 800;
    font-size: 1.1rem;
}

/* custom */

.badge {
    border-radius: 0 !important;
}

.rounded-pill {
    border-radius: 0 !important;
}

.rounded {
    border-radius: 0 !important;
}

/* end custom */

.temp-hot {
    color: #ff429a;
}

.temp-warm {
    color: #ff8c00;
}

.temp-cold {
    color: #3b82f6;
}

.temp-neutral {
    color: #65676b;
}

/* Coupon Styling */
.coupon-wrapper {
    background-color: #f0f2f5;
    border: 1px dashed #bcc0c4;
    border-radius: 0;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 0 0 0 16px;
    transition: all 0.2s;
    overflow: hidden;
}

.coupon-wrapper:hover {
    background-color: #e4e6eb;
    border-color: #a0a3a7;
}

.coupon-code {
    font-family: 'Consolas', 'Monaco', 'Andale Mono', monospace;
    font-weight: 700;
    color: #1c1e21;
    font-size: 1.1rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.btn-coupon {
    background-color: #fff3e0;
    color: #e65100;
    border: none;
    border-left: 1px dashed #bcc0c4;
    border-radius: 0;
    padding: 0 24px;
    font-size: 0.9rem;
    box-shadow: none;
    display: flex;
    align-items: center;
    transition: background-color 0.2s;
}

.btn-coupon:hover {
    background-color: #ffe0b2;
    transform: none;
}

/* Vote Effects */
.vote-container {
    transition: all 0.3s ease;
}

.effect-freeze {
    background: linear-gradient(to right, #e0f2fe, #f0f9ff) !important;
    border-color: #7dd3fc !important;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

.effect-fire {
    background: linear-gradient(to right, #fef2f2, #fff1f2) !important;
    border-color: #fda4af !important;
    box-shadow: 0 0 8px rgba(244, 63, 94, 0.4);
}

@keyframes shiver {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-1px);
    }

    50% {
        transform: translateX(1px);
    }

    75% {
        transform: translateX(-1px);
    }

    100% {
        transform: translateX(0);
    }
}

.effect-freeze:hover {
    animation: shiver 0.3s ease-in-out;
}

@keyframes pulse-heat {
    0% {
        box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(244, 63, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(244, 63, 94, 0);
    }
}

.effect-fire:hover {
    animation: pulse-heat 1.5s infinite;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .deal-image-wrapper {
        width: 130px;
        min-height: 130px;
        padding: 0.5rem;
    }

    .deal-card .card-title {
        font-size: 1rem;
        line-height: 1.3;
    }

    .deal-card .position-absolute.top-0.end-0 {
        position: static !important;
        display: flex;
        margin-bottom: 0.5rem;
        margin-top: 0 !important;
        margin-right: 0 !important;
        flex-wrap: wrap;
    }

    .deal-card .col.p-3.position-relative {
        display: flex;
        flex-direction: column;
        padding: 1rem !important;
    }

    .deal-card .col.p-3.position-relative>div:first-child {
        order: -1;
        width: 100%;
    }

    .deal-footer {
        flex-wrap: wrap;
        gap: 10px;
    }

    .deal-footer .actions {
        width: 100%;
        margin-top: 0.5rem;
        flex: 0 0 100%;
    }

    .deal-footer .actions .btn {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0.75rem;
    }
}

/* Large Screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}

/* List Groups (Sidebar) */
.list-group-item {
    border: none;
    border-bottom: 1px solid #f0f2f5;
    padding: 1rem;
}

.list-group-item:last-child {
    border-bottom: none;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid #f0f2f5;
    padding: 1rem 1.25rem;
    border-radius: 0 !important;
}

/* Expired Deal Styling */
.expired-deal {
    filter: grayscale(100%);
    opacity: 0.8;
}

.expired-deal:hover {
    filter: grayscale(80%);
    /* Slightly less gray on hover to indicate interactivity */
    opacity: 0.9;
}