/* ==========================================================
 *  PB Offers Page – Styles
 *  BEM prefix: .pb-offers__
 *  Extends pb-landing.css variables & base styles
 * ========================================================== */

/* --------------------------------------------------------
   Hero
   -------------------------------------------------------- */
.pb-offers__hero {
    padding: 180px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: url('../../../pb-landing-page/assets/img/hero-bg.jpg') top center / cover no-repeat;
}

.pb-offers__hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    /* background: linear-gradient(to bottom, transparent, #01061a); */
    pointer-events: none;
}

.pb-offers__hero-title {
    font-size: 5.5em;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: var(--pb-lp-text);
}

.pb-offers__hero-title span {
    background: var(--pb-lp-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pb-offers__hero-subtitle {
    font-size: 1.4rem;
    color: var(--pb-lp-text-muted);
    margin: 0 auto 40px;
    line-height: 1.2em;
}

/* --------------------------------------------------------
   Offers Section
   -------------------------------------------------------- */
.pb-offers__section {
    background: var(--pb-lp-bg);
    padding: 48px 0 100px;
}

/* --------------------------------------------------------
   Category Filter
   -------------------------------------------------------- */
.pb-offers__filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 48px;
}

.pb-offers__filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 100px;
    border: 1px solid var(--pb-lp-border);
    background: transparent;
    color: var(--pb-lp-text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all var(--pb-lp-transition);
    line-height: 1;
}

.pb-offers__filter-btn:hover {
    border-color: var(--pb-lp-primary);
    color: #fff;
    background: rgba(59, 130, 246, 0.1);
}

.pb-offers__filter-btn.active {
    background: var(--pb-lp-gradient-btn);
    border-color: transparent;
    color: #fff;
}

.pb-offers__filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
}

.pb-offers__filter-btn.active .pb-offers__filter-count {
    background: rgba(255, 255, 255, 0.25);
}

/* --------------------------------------------------------
   Cards Grid
   -------------------------------------------------------- */
.pb-offers__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

/* --------------------------------------------------------
   Empty State
   -------------------------------------------------------- */
.pb-offers__empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--pb-lp-text-muted);
}

.pb-offers__empty svg {
    margin-bottom: 16px;
    opacity: 0.4;
}

.pb-offers__empty p {
    font-size: 1rem;
    margin: 0;
}

/* --------------------------------------------------------
   Active navbar link
   -------------------------------------------------------- */
.pb-lp__navbar-link.active {
    color: #fff !important;
    font-weight: 600;
}

.pb-lp__mobile-nav-links a.active {
    color: #fff !important;
    font-weight: 600;
}

/* --------------------------------------------------------
   Responsive
   -------------------------------------------------------- */
@media (max-width: 991.98px) {
    .pb-offers__hero {
        padding: 140px 0 60px;
    }

    .pb-offers__hero-title {
        font-size: 3.5em;
    }

    .pb-offers__hero-subtitle {
        font-size: 1.15rem;
    }
}

@media (max-width: 767.98px) {
    .pb-offers__hero {
        padding: 120px 0 48px;
    }

    .pb-offers__hero-title {
        font-size: 2.5em;
        letter-spacing: -0.5px;
    }

    .pb-offers__hero-subtitle {
        font-size: 1rem;
    }

    .pb-offers__grid {
        grid-template-columns: 1fr;
    }

    .pb-offers__filter {
        gap: 8px;
    }

    .pb-offers__filter-btn {
        font-size: 0.8125rem;
        padding: 8px 14px;
    }
}

@media (max-width: 479.98px) {
    .pb-offers__hero {
        padding: 120px 0 0;
    }

    .pb-offers__section {
        padding: 20px 0 100px;
    }

    .pb-offers__hero-title {
        font-size: 2em;
    }
}

/* --------------------------------------------------------
   Widescreen
   -------------------------------------------------------- */
@media (min-width: 1400px) {
    .pb-offers__grid {
        grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    }
}

@media (min-width: 2200px) {
    .pb-offers__grid {
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    }
}
