.catalog-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1.5rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(255, 79, 163, 0.16), transparent 28%),
        radial-gradient(circle at bottom right, rgba(139, 92, 246, 0.14), transparent 24%),
        linear-gradient(180deg, rgba(20, 22, 32, 0.96), rgba(15, 17, 26, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.catalog-hero__content {
    flex: 1 1 420px;
    min-width: 280px;
}

.catalog-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.9rem;
    color: var(--secondary-pink);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.catalog-hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-pink), #ff89c6);
    box-shadow: 0 0 16px rgba(255, 79, 163, 0.5);
}

.catalog-hero__title {
    margin: 0;
    font-size: clamp(1.8rem, 3.4vw, 2.65rem);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.catalog-hero__subtitle {
    margin: 0.85rem 0 0;
    max-width: 680px;
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.6;
}

.catalog-sort-box {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.sort-label {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    white-space: nowrap;
}

.sort-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.sort-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
    white-space: nowrap;
}

.sort-link i {
    font-size: 0.92rem;
}

.sort-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 79, 163, 0.18);
    transform: translateY(-1px);
}

.sort-link.active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-pink), #ff6db8);
    border-color: transparent;
    box-shadow: 0 12px 30px rgba(255, 79, 163, 0.24);
}

.catalog-row {
    --bs-gutter-x: 1.4rem;
    --bs-gutter-y: 1.4rem;
}

.catalog-card-link {
    display: block;
    height: 100%;
    text-decoration: none;
}

.catalog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(18, 20, 30, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
    transition:
        transform 0.32s ease,
        box-shadow 0.32s ease,
        border-color 0.32s ease;
    isolation: isolate;
}

.catalog-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 79, 163, 0.14);
    border-color: rgba(255, 79, 163, 0.16);
}

.image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10.5;
    overflow: hidden;
    background: #0f1118;
}

.catalog-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.35s ease;
    display: block;
}

.catalog-card:hover img {
    transform: scale(1.06);
    filter: saturate(1.06);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(9, 10, 15, 0.08) 0%, rgba(9, 10, 15, 0.02) 35%, rgba(9, 10, 15, 0.58) 100%);
    pointer-events: none;
    z-index: 1;
}

.followers-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    background: rgba(20, 24, 34, 0.72);
    color: #fff;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    font-size: 0.78rem;
    font-weight: 700;
}

.followers-badge i {
    color: #ff4f6d;
    font-size: 0.82rem;
}

.online-status {
    position: absolute;
    right: 0.85rem;
    bottom: 0.85rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    background: rgba(20, 24, 34, 0.72);
    color: #6ce9ab;
    border: 1px solid rgba(50, 213, 131, 0.22);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: lowercase;
}

.online-status i {
    font-size: 0.55rem;
    color: #32d583;
    filter: drop-shadow(0 0 6px rgba(50, 213, 131, 0.6));
}

.card-info {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1rem 1.05rem;
    width: 100%;
    text-align: left;
    flex: 1;
}

.card-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
}

.card-title {
    margin: 0;
    color: #ff84c0;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    word-break: break-word;
}

.card-badges {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.4rem;
    flex-shrink: 0;
}

.age-badge,
.gender-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 0.7rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.age-badge {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.gender-badge {
    min-width: 28px;
    padding: 0 0.6rem;
}

.gender-badge-female {
    background: linear-gradient(135deg, #ff4fa3, #ff85c4);
}

.gender-badge-male {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.gender-badge-couple {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.gender-badge-trans {
    background: linear-gradient(135deg, #8b5cf6, #d946ef);
}

.gender-badge i {
    font-size: 0.88rem;
    line-height: 1;
}

.light-divider {
    width: 100%;
    height: 1px;
    margin: 0.85rem 0 0.75rem;
    background: linear-gradient(90deg, rgba(255, 79, 163, 0.24), rgba(255, 255, 255, 0.04), transparent);
}

.card-location {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.45;
}

.card-location i {
    color: var(--primary-pink);
    font-size: 0.88rem;
    flex-shrink: 0;
}

.card-small-text {
    margin: 0.72rem 0 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.6em;
}

.catalog-pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 2.35rem;
}

.pagination {
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
}

.pagination .page-item {
    display: flex;
}

.pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 0.95rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 600;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.pagination .page-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 79, 163, 0.14);
    transform: translateY(-1px);
}

.pagination .active .page-link {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-pink), #ff6db8);
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(255, 79, 163, 0.24);
}

.page-link-wide {
    gap: 0.45rem;
    min-width: auto;
    padding: 0 1rem;
}

@media (max-width: 991px) {
    .catalog-hero {
        align-items: stretch;
    }

    .catalog-sort-box {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .catalog-hero {
        padding: 1.2rem 1rem;
        border-radius: 24px;
        margin-bottom: 1.5rem;
    }

    .catalog-hero__title {
        font-size: clamp(1.55rem, 7vw, 2rem);
    }

    .catalog-hero__subtitle {
        font-size: 0.92rem;
    }

    .sort-links {
        width: 100%;
    }

    .sort-link {
        justify-content: center;
        flex: 1 1 auto;
    }

    .card-title {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .catalog-row {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }

    .image-wrapper {
        aspect-ratio: 16 / 11.5;
    }

    .card-info {
        padding: 0.95rem 0.9rem 1rem;
    }

    .followers-badge,
    .online-status {
        font-size: 0.72rem;
    }

    .pagination .page-link {
        min-width: 38px;
        height: 38px;
        font-size: 0.86rem;
        padding: 0 0.8rem;
    }

    .page-link-wide span {
        display: none;
    }
}